Skip to content

chore: synced file(s) with cds-snc/site-reliability-engineering #3137

chore: synced file(s) with cds-snc/site-reliability-engineering

chore: synced file(s) with cds-snc/site-reliability-engineering #3137

Workflow file for this run

name: Testing manifest
on:
- pull_request
env:
KUBECTL_VERSION: 1.23.6
jobs:
testing_manifest:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Install kubectl
run: |
curl -LO https://dl.k8s.io/release/v$KUBECTL_VERSION/bin/linux/amd64/kubectl
chmod +x kubectl
mv kubectl /usr/local/bin/
kubectl version --client
- name: Add fake .env
run: |
cp env.example env/staging/.env
cp env.example env/production/.env
- name: Test staging manifest build
uses: ./.github/actions/test-manifest
if: always()
with:
build-target: staging-debug
echo-manifest: true
- name: Test production manifest build
uses: ./.github/actions/test-manifest
if: always()
with:
build-target: production-debug