Skip to content

Commit

Permalink
test: add workflow to test CodeBuild GitHub runner (#285)
Browse files Browse the repository at this point in the history
Add a simple test workflow to make sure the CodeBuild
runner can run workflows.

This will be deleted once testing is finished.
  • Loading branch information
patheard authored Feb 10, 2025
1 parent 48b2fcc commit cc0867c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/codebuild-runner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "Test CodeBuild runner"

on:
workflow_dispatch:

jobs:
workflow-events:
runs-on: codebuild-cds-snc-status-statut-${{ github.run_id }}-${{ github.run_attempt }}
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Curl endpoints
run: |
curl https://articles.alpha.canada.ca --verbose
curl https://notification.canada.ca --verbose
curl https://forms-formulaires.alpha.canada.ca --verbose
curl https://digital.canada.ca --verbose
curl https://scan-files.alpha.canada.ca/healthcheck --verbose

0 comments on commit cc0867c

Please sign in to comment.