Skip to content

shared-docker-linux-builders-updated #439

shared-docker-linux-builders-updated

shared-docker-linux-builders-updated #439

name: Linux ponyc update breakage test
on:
repository_dispatch:
types: [shared-docker-linux-builders-updated]
jobs:
rebuild-builder:
name: Update builder
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Docker login
run: "docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD"
env:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
- name: Build and push
run: bash .ci-dockerfiles/builder/build-and-push.bash
- name: Send alert on failure
if: ${{ failure() }}
uses: zulip/github-actions-zulip@35d7ad8e98444f894dcfe1d4e17332581d28ebeb
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.
vs-ponyc-main-linux:
name: Verify main against ponyc main on Linux
needs:
- rebuild-builder
runs-on: ubuntu-latest
container:
image: ponylang/pony-sync-helper-ci-builder:latest
steps:
- uses: actions/checkout@v2
- name: Test with a recent ponyc from main
run: |
corral fetch
corral run -- ponyc -Dopenssl_0.9.0
- name: Send alert on failure
if: ${{ failure() }}
uses: zulip/github-actions-zulip@35d7ad8e98444f894dcfe1d4e17332581d28ebeb
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.