-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now that the _tour is ready we can deploy it to tour.awwan.org. The website is updated to include link to tour domain. Implements: https://todo.sr.ht/~shulhan/awwan/4
- Loading branch information
Showing
10 changed files
with
71 additions
and
40 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Host awwan.org | ||
Hostname awwan.internal | ||
|
||
Host tour.awwan.org | ||
Hostname tour.awwan.internal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
sudo mkdir -p /data/awwan/src | ||
sudo chown -R {{.SSHUser}} /data/awwan | ||
|
||
git -C /data/awwan/src clone https://git.sr.ht/~shulhan/awwan . \ | ||
|| git -C /data/awwan/src fetch --all --tags --prune | ||
|
||
git -C /data/awwan/src submodule update --init | ||
|
||
## Currently we use the dev branch for quick fixes. | ||
|
||
git -C /data/awwan/src checkout -B dev | ||
git -C /data/awwan/src reset --hard origin/dev | ||
CGO_ENABLED=0 make -C /data/awwan/src build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
sudo pacman -Sy --noconfirm mkosi | ||
|
||
make -C /data/awwan/src build-tour | ||
|
||
sudo machinectl --force import-tar /data/awwan/awwan-tour.tar | ||
sudo cp /data/awwan/awwan-tour.nspawn /etc/systemd/nspawn/awwan-tour.nspawn | ||
sudo machinectl start awwan-tour | ||
|
||
sudo machinectl -l |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.