chore: Bump apache/skywalking-eyes from a790ab8dd23a7f861c18bd6aaa9b012e3a234bce to ee81ff786927ea6ffa48b1e29c48e5289f4753aa #1112
Workflow file for this run
This file contains 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: high-availability | |
on: | |
pull_request_target: | |
types: [labeled] | |
pull_request: | |
branches: | |
- main | |
- 1.0.0* | |
push: | |
branches: | |
- 1.0.0* | |
- main | |
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.11.1"] | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Set up Go 1.20 | |
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 | |
with: | |
go-version: '1.20' | |
- 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@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 | |
if: ${{ always() }} | |
with: | |
name: e2e-logs | |
path: | | |
logs-*.json |