diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/vyos-rolling-nightly-build.yml | 12 |
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 |