ponyc-nightly-image-pushed #273
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: Rebuild ponyc based images | |
| on: | |
| repository_dispatch: | |
| types: | |
| - ponyc-nightly-image-pushed | |
| - ponyc-release-image-pushed | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| packages: write | |
| jobs: | |
| standard-builder: | |
| name: Update standard builder | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: standard-builder | |
| cancel-in-progress: true | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6.0.2 | |
| - name: Set up Docker Buildx | |
| # v3.10.0 | |
| uses: docker/setup-buildx-action@v4 | |
| - name: Login to GitHub Container Registry | |
| # v2.2.0 | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and push | |
| run: bash standard-builder/build-and-push.bash | |
| - name: Send alert on failure | |
| if: ${{ failure() }} | |
| uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa | |
| with: | |
| api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} | |
| email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} | |
| organization-url: 'https://ponylang.zulipchat.com/' | |
| to: notifications | |
| type: stream | |
| topic: ${{ github.repository }} scheduled job failure | |
| content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed. | |
| standard-builder-with-pcre: | |
| name: Update standard builder with pcre | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: standard-builder-with-pcre | |
| cancel-in-progress: true | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6.0.2 | |
| - name: Set up Docker Buildx | |
| # v3.10.0 | |
| uses: docker/setup-buildx-action@v4 | |
| - name: Login to GitHub Container Registry | |
| # v2.2.0 | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and push | |
| run: bash standard-builder-with-pcre/build-and-push.bash | |
| - name: Send alert on failure | |
| if: ${{ failure() }} | |
| uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa | |
| with: | |
| api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} | |
| email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} | |
| organization-url: 'https://ponylang.zulipchat.com/' | |
| to: notifications | |
| type: stream | |
| topic: ${{ github.repository }} scheduled job failure | |
| content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed. | |
| standard-builder-with-libressl_4_2_0-amd64: | |
| needs: | |
| - standard-builder | |
| name: Update standard-builder-with-libressl-4.2.0 on amd64 | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: standard-builder-with-libressl_4_2_0-amd64 | |
| cancel-in-progress: true | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Login to GitHub Container Registry | |
| # v2.2.0 | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and push | |
| run: bash standard-builder-with-libressl-4.2.0/build-and-push.bash | |
| - name: Send alert on failure | |
| if: ${{ failure() }} | |
| uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa | |
| with: | |
| api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} | |
| email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} | |
| organization-url: 'https://ponylang.zulipchat.com/' | |
| to: notifications | |
| type: stream | |
| topic: ${{ github.repository }} scheduled job failure | |
| content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed. | |
| standard-builder-with-libressl_4_2_0-arm64: | |
| needs: | |
| - standard-builder | |
| name: Update standard-builder-with-libressl-4.2.0 on arm64 | |
| runs-on: ubuntu-24.04-arm | |
| concurrency: | |
| group: standard-builder-with-libressl_4_2_0-arm | |
| cancel-in-progress: true | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Login to GitHub Container Registry | |
| # v2.2.0 | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and push | |
| run: bash standard-builder-with-libressl-4.2.0/build-and-push.bash | |
| - name: Send alert on failure | |
| if: ${{ failure() }} | |
| uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa | |
| with: | |
| api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} | |
| email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} | |
| organization-url: 'https://ponylang.zulipchat.com/' | |
| to: notifications | |
| type: stream | |
| topic: ${{ github.repository }} scheduled job failure | |
| content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed. | |
| merge-standard-builder-with-libressl_4_2_0: | |
| needs: | |
| - standard-builder-with-libressl_4_2_0-amd64 | |
| - standard-builder-with-libressl_4_2_0-arm64 | |
| name: Create merged standard-builder-with-libressl-4.2.0 | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: merge-standard-builder-with-libressl_4_2_0 | |
| cancel-in-progress: true | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Login to GitHub Container Registry | |
| # v2.2.0 | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Merge | |
| run: bash standard-builder-with-libressl-4.2.0/combine-images.bash | |
| - name: Send alert on failure | |
| if: ${{ failure() }} | |
| uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa | |
| with: | |
| api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} | |
| email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} | |
| organization-url: 'https://ponylang.zulipchat.com/' | |
| to: notifications | |
| type: stream | |
| topic: ${{ github.repository }} scheduled job failure | |
| content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed. | |
| standard-builder-with-libressl_4_2_1-amd64: | |
| needs: | |
| - standard-builder | |
| name: Update standard-builder-with-libressl-4.2.1 on amd64 | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: standard-builder-with-libressl_4_2_1-amd64 | |
| cancel-in-progress: true | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Login to GitHub Container Registry | |
| # v2.2.0 | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and push | |
| run: bash standard-builder-with-libressl-4.2.1/build-and-push.bash | |
| - name: Send alert on failure | |
| if: ${{ failure() }} | |
| uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa | |
| with: | |
| api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} | |
| email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} | |
| organization-url: 'https://ponylang.zulipchat.com/' | |
| to: notifications | |
| type: stream | |
| topic: ${{ github.repository }} scheduled job failure | |
| content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed. | |
| standard-builder-with-libressl_4_2_1-arm64: | |
| needs: | |
| - standard-builder | |
| name: Update standard-builder-with-libressl-4.2.1 on arm64 | |
| runs-on: ubuntu-24.04-arm | |
| concurrency: | |
| group: standard-builder-with-libressl_4_2_1-arm64 | |
| cancel-in-progress: true | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Login to GitHub Container Registry | |
| # v2.2.0 | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and push | |
| run: bash standard-builder-with-libressl-4.2.1/build-and-push.bash | |
| - name: Send alert on failure | |
| if: ${{ failure() }} | |
| uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa | |
| with: | |
| api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} | |
| email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} | |
| organization-url: 'https://ponylang.zulipchat.com/' | |
| to: notifications | |
| type: stream | |
| topic: ${{ github.repository }} scheduled job failure | |
| content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed. | |
| merge-standard-builder-with-libressl_4_2_1: | |
| needs: | |
| - standard-builder-with-libressl_4_2_1-amd64 | |
| - standard-builder-with-libressl_4_2_1-arm64 | |
| name: Create merged standard-builder-with-libressl-4.2.1 | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: merge-standard-builder-with-libressl_4_2_1 | |
| cancel-in-progress: true | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Login to GitHub Container Registry | |
| # v2.2.0 | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Merge | |
| run: bash standard-builder-with-libressl-4.2.1/combine-images.bash | |
| - name: Send alert on failure | |
| if: ${{ failure() }} | |
| uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa | |
| with: | |
| api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} | |
| email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} | |
| organization-url: 'https://ponylang.zulipchat.com/' | |
| to: notifications | |
| type: stream | |
| topic: ${{ github.repository }} scheduled job failure | |
| content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed. | |
| standard-builder-with-openssl_3_6_0-amd64: | |
| needs: | |
| - standard-builder | |
| name: Update standard-builder-with-openssl-3.6.0 on amd64 | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: standard-builder-with-openssl_3_6_0-amd64 | |
| cancel-in-progress: true | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Login to GitHub Container Registry | |
| # v2.2.0 | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and push | |
| run: bash standard-builder-with-openssl-3.6.0/build-and-push.bash | |
| - name: Send alert on failure | |
| if: ${{ failure() }} | |
| uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa | |
| with: | |
| api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} | |
| email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} | |
| organization-url: 'https://ponylang.zulipchat.com/' | |
| to: notifications | |
| type: stream | |
| topic: ${{ github.repository }} scheduled job failure | |
| content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed. | |
| standard-builder-with-openssl_3_6_0-arm64: | |
| needs: | |
| - standard-builder | |
| name: Update standard-builder-with-openssl-3.6.0 on arm64 | |
| runs-on: ubuntu-24.04-arm | |
| concurrency: | |
| group: standard-builder-with-openssl_3_6_0-arm64 | |
| cancel-in-progress: true | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Login to GitHub Container Registry | |
| # v2.2.0 | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and push | |
| run: bash standard-builder-with-openssl-3.6.0/build-and-push.bash | |
| - name: Send alert on failure | |
| if: ${{ failure() }} | |
| uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa | |
| with: | |
| api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} | |
| email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} | |
| organization-url: 'https://ponylang.zulipchat.com/' | |
| to: notifications | |
| type: stream | |
| topic: ${{ github.repository }} scheduled job failure | |
| content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed. | |
| merge-standard-builder-with-openssl_3_6_0: | |
| needs: | |
| - standard-builder-with-openssl_3_6_0-amd64 | |
| - standard-builder-with-openssl_3_6_0-arm64 | |
| name: Create merged standard-builder-with-openssl-3.6.0 | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: merge-standard-builder-with-openssl_3_6_0 | |
| cancel-in-progress: true | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Login to GitHub Container Registry | |
| # v2.2.0 | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Merge | |
| run: bash standard-builder-with-openssl-3.6.0/combine-images.bash | |
| - name: Send alert on failure | |
| if: ${{ failure() }} | |
| uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa | |
| with: | |
| api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} | |
| email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} | |
| organization-url: 'https://ponylang.zulipchat.com/' | |
| to: notifications | |
| type: stream | |
| topic: ${{ github.repository }} scheduled job failure | |
| content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed. | |
| standard-builder-with-openssl_3_6_2-amd64: | |
| needs: | |
| - standard-builder | |
| name: Update standard-builder-with-openssl-3.6.2 on amd64 | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: standard-builder-with-openssl_3_6_2-amd64 | |
| cancel-in-progress: true | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Login to GitHub Container Registry | |
| # v2.2.0 | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and push | |
| run: bash standard-builder-with-openssl-3.6.2/build-and-push.bash | |
| - name: Send alert on failure | |
| if: ${{ failure() }} | |
| uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa | |
| with: | |
| api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} | |
| email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} | |
| organization-url: 'https://ponylang.zulipchat.com/' | |
| to: notifications | |
| type: stream | |
| topic: ${{ github.repository }} scheduled job failure | |
| content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed. | |
| standard-builder-with-openssl_3_6_2-arm64: | |
| needs: | |
| - standard-builder | |
| name: Update standard-builder-with-openssl-3.6.2 on arm64 | |
| runs-on: ubuntu-24.04-arm | |
| concurrency: | |
| group: standard-builder-with-openssl_3_6_2-arm64 | |
| cancel-in-progress: true | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Login to GitHub Container Registry | |
| # v2.2.0 | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and push | |
| run: bash standard-builder-with-openssl-3.6.2/build-and-push.bash | |
| - name: Send alert on failure | |
| if: ${{ failure() }} | |
| uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa | |
| with: | |
| api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} | |
| email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} | |
| organization-url: 'https://ponylang.zulipchat.com/' | |
| to: notifications | |
| type: stream | |
| topic: ${{ github.repository }} scheduled job failure | |
| content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed. | |
| merge-standard-builder-with-openssl_3_6_2: | |
| needs: | |
| - standard-builder-with-openssl_3_6_2-amd64 | |
| - standard-builder-with-openssl_3_6_2-arm64 | |
| name: Create merged standard-builder-with-openssl-3.6.2 | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: merge-standard-builder-with-openssl_3_6_2 | |
| cancel-in-progress: true | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Login to GitHub Container Registry | |
| # v2.2.0 | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Merge | |
| run: bash standard-builder-with-openssl-3.6.2/combine-images.bash | |
| - name: Send alert on failure | |
| if: ${{ failure() }} | |
| uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa | |
| with: | |
| api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} | |
| email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} | |
| organization-url: 'https://ponylang.zulipchat.com/' | |
| to: notifications | |
| type: stream | |
| topic: ${{ github.repository }} scheduled job failure | |
| content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed. | |
| standard-builder-with-openssl_4_0_0-amd64: | |
| needs: | |
| - standard-builder | |
| name: Update standard-builder-with-openssl-4.0.0 on amd64 | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: standard-builder-with-openssl_4_0_0-amd64 | |
| cancel-in-progress: true | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Login to GitHub Container Registry | |
| # v2.2.0 | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and push | |
| run: bash standard-builder-with-openssl-4.0.0/build-and-push.bash | |
| - name: Send alert on failure | |
| if: ${{ failure() }} | |
| uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa | |
| with: | |
| api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} | |
| email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} | |
| organization-url: 'https://ponylang.zulipchat.com/' | |
| to: notifications | |
| type: stream | |
| topic: ${{ github.repository }} scheduled job failure | |
| content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed. | |
| standard-builder-with-openssl_4_0_0-arm64: | |
| needs: | |
| - standard-builder | |
| name: Update standard-builder-with-openssl-4.0.0 on arm64 | |
| runs-on: ubuntu-24.04-arm | |
| concurrency: | |
| group: standard-builder-with-openssl_4_0_0-arm64 | |
| cancel-in-progress: true | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Login to GitHub Container Registry | |
| # v2.2.0 | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and push | |
| run: bash standard-builder-with-openssl-4.0.0/build-and-push.bash | |
| - name: Send alert on failure | |
| if: ${{ failure() }} | |
| uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa | |
| with: | |
| api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} | |
| email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} | |
| organization-url: 'https://ponylang.zulipchat.com/' | |
| to: notifications | |
| type: stream | |
| topic: ${{ github.repository }} scheduled job failure | |
| content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed. | |
| merge-standard-builder-with-openssl_4_0_0: | |
| needs: | |
| - standard-builder-with-openssl_4_0_0-amd64 | |
| - standard-builder-with-openssl_4_0_0-arm64 | |
| name: Create merged standard-builder-with-openssl-4.0.0 | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: merge-standard-builder-with-openssl_4_0_0 | |
| cancel-in-progress: true | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Login to GitHub Container Registry | |
| # v2.2.0 | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Merge | |
| run: bash standard-builder-with-openssl-4.0.0/combine-images.bash | |
| - name: Send alert on failure | |
| if: ${{ failure() }} | |
| uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa | |
| with: | |
| api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} | |
| email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} | |
| organization-url: 'https://ponylang.zulipchat.com/' | |
| to: notifications | |
| type: stream | |
| topic: ${{ github.repository }} scheduled job failure | |
| content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed. | |
| x86-64-unknown-linux-builder-with-libressl_3_9_2: | |
| needs: | |
| - standard-builder | |
| name: Update x86-64-unknown-linux-builder-with-libressl-3.9.2 | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: x86-64-unknown-linux-builder-with-libressl_3_9_2 | |
| cancel-in-progress: true | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Login to GitHub Container Registry | |
| # v2.2.0 | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and push | |
| run: bash x86-64-unknown-linux-builder-with-libressl-3.9.2/build-and-push.bash | |
| - name: Send alert on failure | |
| if: ${{ failure() }} | |
| uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa | |
| with: | |
| api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} | |
| email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} | |
| organization-url: 'https://ponylang.zulipchat.com/' | |
| to: notifications | |
| type: stream | |
| topic: ${{ github.repository }} scheduled job failure | |
| content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed. | |
| x86-64-unknown-linux-builder-with-openssl_1_1_1w: | |
| needs: | |
| - standard-builder | |
| name: Update x86-64-unknown-linux-builder-with-openssl_1.1.1w | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: x86-64-unknown-linux-builder-with-openssl_1_1_1w | |
| cancel-in-progress: true | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Login to GitHub Container Registry | |
| # v2.2.0 | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and push | |
| run: bash x86-64-unknown-linux-builder-with-openssl_1.1.1w/build-and-push.bash | |
| - name: Send alert on failure | |
| if: ${{ failure() }} | |
| uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa | |
| with: | |
| api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} | |
| email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} | |
| organization-url: 'https://ponylang.zulipchat.com/' | |
| to: notifications | |
| type: stream | |
| topic: ${{ github.repository }} scheduled job failure | |
| content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed. | |
| send-builders-updated-event: | |
| needs: | |
| - standard-builder | |
| - standard-builder-with-pcre | |
| - merge-standard-builder-with-libressl_4_2_0 | |
| - merge-standard-builder-with-libressl_4_2_1 | |
| - merge-standard-builder-with-openssl_3_6_0 | |
| - merge-standard-builder-with-openssl_3_6_2 | |
| - merge-standard-builder-with-openssl_4_0_0 | |
| - x86-64-unknown-linux-builder-with-libressl_3_9_2 | |
| - x86-64-unknown-linux-builder-with-openssl_1_1_1w | |
| name: Send 'shared-docker-linux-builders-updated' event | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| repo: | |
| - ergl/pony-protobuf | |
| - ponylang/appdirs | |
| - ponylang/changelog-tool | |
| - ponylang/corral | |
| - ponylang/courier | |
| - ponylang/crdt | |
| - ponylang/fork_join | |
| - ponylang/github_rest_api | |
| - ponylang/glob | |
| - ponylang/hobby | |
| - ponylang/livery | |
| - ponylang/logger | |
| - ponylang/lori | |
| - ponylang/mare | |
| - ponylang/multipart_mime | |
| - ponylang/peg | |
| - ponylang/pony-sync-helper | |
| - ponylang/ponyup | |
| - ponylang/postgres | |
| - ponylang/reactive_streams | |
| - ponylang/redis | |
| - ponylang/regex | |
| - ponylang/rfc-tool | |
| - ponylang/semver | |
| - ponylang/ssl | |
| - ponylang/templates | |
| - ponylang/stallion | |
| - ponylang/uri | |
| - ponylang/valbytes | |
| - ponylang/web_link | |
| - seantallen-org/msgpack | |
| steps: | |
| - name: Send | |
| # v2.1.1 | |
| uses: peter-evans/repository-dispatch@8324ecf35877f9b02961dd5aaf43ed7be7db9373 | |
| with: | |
| token: ${{ secrets.PONYLANG_MAIN_API_TOKEN }} | |
| repository: ${{ matrix.repo }} | |
| event-type: shared-docker-builders-updated | |
| client-payload: '{}' | |
| - name: Send alert on failure | |
| if: ${{ failure() }} | |
| uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa | |
| with: | |
| api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} | |
| email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} | |
| organization-url: 'https://ponylang.zulipchat.com/' | |
| to: notifications | |
| type: stream | |
| topic: ${{ github.repository }} scheduled job failure | |
| content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed. | |
| # prune multiplatform images | |
| prune-untagged-multiplatform-images: | |
| needs: | |
| - send-builders-updated-event | |
| name: Prune untagged multiplatform images | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| image: | |
| - shared-docker-ci-standard-builder | |
| - shared-docker-ci-standard-builder-with-pcre | |
| - shared-docker-ci-standard-builder-with-libressl-4.2.0 | |
| - shared-docker-ci-standard-builder-with-libressl-4.2.1 | |
| - shared-docker-ci-standard-builder-with-openssl-3.6.0 | |
| - shared-docker-ci-standard-builder-with-openssl-3.6.2 | |
| - shared-docker-ci-standard-builder-with-openssl-4.0.0 | |
| steps: | |
| - name: Login to GitHub Container Registry | |
| # v2.2.0 | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Fetch multi-platform image SHAs to preserve | |
| id: multi-arch-digests | |
| run: | | |
| shas="" | |
| for tag in nightly release; do | |
| digests=$(docker manifest inspect "ghcr.io/ponylang/${{ matrix.image }}:${tag}" 2>/dev/null | jq -r '.manifests[].digest' | paste -s -d ',' - || true) | |
| if [ -n "$digests" ]; then | |
| shas="${shas:+${shas},}${digests}" | |
| fi | |
| done | |
| echo "skip-shas=${shas}" >> $GITHUB_OUTPUT | |
| - name: Prune | |
| # v3.0.1 | |
| uses: snok/container-retention-policy@3b0972b2276b171b212f8c4efbca59ebba26eceb | |
| with: | |
| account: ponylang | |
| token: ${{ secrets.DELETE_PACKAGES_TOKEN }} | |
| image-names: ${{ matrix.image }} | |
| tag-selection: untagged | |
| cut-off: 1d | |
| skip-shas: ${{ steps.multi-arch-digests.outputs.skip-shas }} | |
| - name: Send alert on failure | |
| if: ${{ failure() }} | |
| uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa | |
| with: | |
| api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} | |
| email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} | |
| organization-url: 'https://ponylang.zulipchat.com/' | |
| to: notifications | |
| type: stream | |
| topic: ${{ github.repository }} scheduled job failure | |
| content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed. | |
| # prune legacy images | |
| prune-untagged-builder-images: | |
| needs: | |
| - send-builders-updated-event | |
| name: Prune untagged builder images | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| image: | |
| - shared-docker-ci-x86-64-unknown-linux-builder-with-libressl-3.9.2 | |
| - shared-docker-ci-x86-64-unknown-linux-builder-with-openssl_1.1.1w | |
| steps: | |
| - name: Prune | |
| # v3.0.1 | |
| uses: snok/container-retention-policy@3b0972b2276b171b212f8c4efbca59ebba26eceb | |
| with: | |
| account: ponylang | |
| token: ${{ secrets.DELETE_PACKAGES_TOKEN }} | |
| image-names: ${{ matrix.image }} | |
| tag-selection: untagged | |
| cut-off: 1d | |
| - name: Send alert on failure | |
| if: ${{ failure() }} | |
| uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa | |
| with: | |
| api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} | |
| email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} | |
| organization-url: 'https://ponylang.zulipchat.com/' | |
| to: notifications | |
| type: stream | |
| topic: ${{ github.repository }} scheduled job failure | |
| content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed. |