summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrii Andrieiev <a.andrieiev@sentrium.io>2024-01-09 19:11:28 +0200
committerAndrii Andrieiev <a.andrieiev@sentrium.io>2024-01-09 19:11:28 +0200
commit9705a703773b136f1e239f4a825dc2e5a6c39166 (patch)
tree8a2ea9d74da890754f983cee9c91a9faf20621f4
parentd84b9a828f3f3378344c45e54e1a35418ff20843 (diff)
downloadvyos-rolling-nightly-builds-9705a703773b136f1e239f4a825dc2e5a6c39166.tar.gz
vyos-rolling-nightly-builds-9705a703773b136f1e239f4a825dc2e5a6c39166.zip
sections formatting
-rw-r--r--.github/workflows/vyos-rolling-nightly-build.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/vyos-rolling-nightly-build.yml b/.github/workflows/vyos-rolling-nightly-build.yml
index 254223e..538a8b2 100644
--- a/.github/workflows/vyos-rolling-nightly-build.yml
+++ b/.github/workflows/vyos-rolling-nightly-build.yml
@@ -52,6 +52,8 @@ jobs:
VYOS_MIRROR: https://rolling-packages.vyos.net/current/
steps:
+ ### Initialization ###
+
- uses: actions/checkout@v3
- name: Set env variables
@@ -77,6 +79,8 @@ jobs:
- name: Git clone vyos-1x
run: git clone -b current --single-branch https://github.com/vyos/vyos-1x
+ ### Smoketest ###
+
- name: Build ISO (for Smoketest)
if: ${{ !inputs.SKIP_SMOKETEST_ALL }}
run: |
@@ -125,6 +129,8 @@ jobs:
rm -rf ~/vyos-build
timeout-minutes: 300
+ ### Building ISO ###
+
- name: Build ISO
run: |
docker run --rm --privileged -v ./vyos-build/:/vyos -w /vyos vyos/vyos-build:current sudo --preserve-env ./build-vyos-image \
@@ -151,6 +157,8 @@ jobs:
minisign_key: ${{ secrets.minisign_key }}
minisign_password: ${{ secrets.minisign_password }}
+ ### Uploading artifacts ###
+
- name: Upload ISO to S3 Glacier
if: ${{ !inputs.SKIP_SNAPSHOT_UPLOAD }}
uses: keithweaver/aws-s3-github-action@v1.0.0
@@ -194,6 +202,8 @@ jobs:
# If someone pushes commit to this repo while building process the workflow would fall on autocommit step. There is a fix:
- uses: actions/checkout@v3
+ ### Release publishing ###
+
- name: Create version.json
if: ${{ !inputs.SKIP_RELEASE_PUBLISHING }}
id: create-json
@@ -291,6 +301,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
+ ### Slack notification ###
+
- name: Send Slack notification on workflow failure to Sentrium
if: failure() && !inputs.SKIP_SLACK_NOTIFICATIONS
uses: slackapi/slack-github-action@v1.24.0