|
51 | 51 | continue-on-error: true
|
52 | 52 | run: |
|
53 | 53 | kubectl -n source-system logs -l app=source-controller
|
54 |
| -
|
55 |
| - kind-linux-arm64: |
56 |
| - # Hosted on Equinix |
57 |
| - # Docs: https://github.com/fluxcd/flux2/tree/main/.github/runners |
58 |
| - runs-on: [self-hosted, Linux, ARM64, equinix] |
59 |
| - if: (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) && github.actor != 'dependabot[bot]' |
60 |
| - steps: |
61 |
| - - name: Checkout |
62 |
| - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 |
63 |
| - - name: Setup Go |
64 |
| - uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1 |
65 |
| - with: |
66 |
| - go-version-file: 'go.mod' |
67 |
| - cache-dependency-path: | |
68 |
| - **/go.sum |
69 |
| - **/go.mod |
70 |
| - - name: Enable integration tests |
71 |
| - # Only run integration tests for main and release branches |
72 |
| - if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') |
73 |
| - run: | |
74 |
| - echo 'GO_TAGS=integration' >> $GITHUB_ENV |
75 |
| - - name: Prepare |
76 |
| - id: prep |
77 |
| - run: | |
78 |
| - echo "CLUSTER=arm64-${GITHUB_SHA:0:7}-$(date +%s)" >> $GITHUB_OUTPUT |
79 |
| - echo "CONTEXT=kind-arm64-${GITHUB_SHA:0:7}-$(date +%s)" >> $GITHUB_OUTPUT |
80 |
| - - name: Setup Kubernetes Kind |
81 |
| - run: | |
82 |
| - kind create cluster --name ${{ steps.prep.outputs.CLUSTER }} --kubeconfig=/tmp/${{ steps.prep.outputs.CLUSTER }} |
83 |
| - - name: Run e2e tests |
84 |
| - env: |
85 |
| - SKIP_COSIGN_VERIFICATION: true |
86 |
| - KIND_CLUSTER_NAME: ${{ steps.prep.outputs.CLUSTER }} |
87 |
| - KUBECONFIG: /tmp/${{ steps.prep.outputs.CLUSTER }} |
88 |
| - CREATE_CLUSTER: false |
89 |
| - BUILD_PLATFORM: linux/arm64 |
90 |
| - MINIO_TAG: RELEASE.2020-09-17T04-49-20Z-arm64 |
91 |
| - run: make e2e |
92 |
| - - name: Cleanup |
93 |
| - if: always() |
94 |
| - run: | |
95 |
| - kind delete cluster --name ${{ steps.prep.outputs.CLUSTER }} |
96 |
| - rm /tmp/${{ steps.prep.outputs.CLUSTER }} |
0 commit comments