Skip to content

chore: Bump actions/checkout from 4.1.4 to 4.1.5 #2164

chore: Bump actions/checkout from 4.1.4 to 4.1.5

chore: Bump actions/checkout from 4.1.4 to 4.1.5 #2164

name: high-availability
on:
pull_request_target:
types: [labeled]
pull_request:
branches:
- main
- dev
- 1.0.0*
push:
branches:
- 1.0.0*
- main
- dev
workflow_dispatch:
permissions: read-all
jobs:
build_test_replica:
name: "Build and run replica test"
runs-on: ubuntu-latest
timeout-minutes: 25
continue-on-error: true
permissions:
contents: read
strategy:
matrix:
DAPR_VERSION: ["1.13.2"]
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Set up Go 1.21
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: '1.21'
- name: Bootstrap e2e
run: |
mkdir -p $GITHUB_WORKSPACE/bin
echo "$GITHUB_WORKSPACE/bin" >> $GITHUB_PATH
make e2e-bootstrap
make generate-certs
- name: Run e2e
run: |
make e2e-deploy-gatekeeper
make e2e-helm-deploy-ratify-replica DAPR_VERSION=${{ matrix.DAPR_VERSION }}
make test-high-availability
- name: Save logs
if: ${{ always() }}
run: |
kubectl logs -n gatekeeper-system -l control-plane=controller-manager --tail=-1 > logs-externaldata-controller-${{ matrix.DAPR_VERSION }}.json
kubectl logs -n gatekeeper-system -l control-plane=audit-controller --tail=-1 > logs-externaldata-audit-${{ matrix.DAPR_VERSION }}.json
kubectl logs -n gatekeeper-system -l app=ratify --tail=-1 > logs-ratify-preinstall-${{ matrix.DAPR_VERSION }}.json
kubectl logs -n gatekeeper-system -l app.kubernetes.io/name=ratify --tail=-1 > logs-ratify-${{ matrix.DAPR_VERSION }}.json
- name: Upload artifacts
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
if: ${{ always() }}
with:
name: e2e-logs-${{ matrix.DAPR_VERSION }}
path: |
logs-*.json