Copy Binaries and Announce Release #9
This file contains hidden or 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
| name: Binaries CI | |
| on: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| packages: write | |
| jobs: | |
| copy-binaries: | |
| runs-on: ubuntu-latest | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| GITHUB_REPO: ${{ github.repository }} | |
| GITHUB_ACTOR: ${{ github.actor }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up tools | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y curl jq skopeo make | |
| curl -fsSL -o /tmp/get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | |
| chmod 700 /tmp/get_helm.sh | |
| /tmp/get_helm.sh | |
| - name: Run the Script | |
| run: | | |
| chmod +x ./ci/gsf-copy-binaries.sh && ./ci/gsf-copy-binaries.sh | |
| - name: Get GSF Devnet Version | |
| run: | | |
| echo "GSF_DEVNET_VERSION=$(curl -s https://docs.dev.global.canton.network.sync.global/info | jq -r .sv.version)" >> $GITHUB_ENV | |
| - name: Announce the release to validator-operators | |
| uses: slackapi/slack-github-action@v2.0.0 | |
| with: | |
| webhook: ${{ secrets.SLACK_WEBHOOK_URL }} | |
| webhook-type: incoming-webhook | |
| payload: | | |
| text: "Splice release ${{ env.GSF_DEVNET_VERSION }} is ready for deployment on DevNet" | |
| blocks: | |
| - type: "section" | |
| text: | |
| type: "mrkdwn" | |
| text: | | |
| :tada: Splice release `${{ env.GSF_DEVNET_VERSION }}` is ready for deployment on DevNet, and is available from the GSF | |
| :partydocker: ⅔ of Super Validator nodes have upgraded to this release, including the GSF Super Validator node | |
| *SV node status here*: https://sync.global/sv-network | |
| *Release notes here*: https://docs.dev.sync.global/release_notes.html |