This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.54.3 to 1.57.1 #413
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: Pull Request Integ Tests | |
on: | |
pull_request_target: | |
types: [opened, labeled] | |
branches: [main] | |
workflow_dispatch: {} | |
jobs: | |
integ_tests: | |
name: Run Pull Request Integration Tests | |
runs-on: ubuntu-latest | |
if: contains(github.event.pull_request.labels.*.name, 'safe-to-test') | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Configure git | |
run: | | |
git config --global user.name "github-actions[bot]" | |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
- name: Restore Go cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20.x | |
- name: Setup Kind | |
uses: engineerd/[email protected] | |
with: | |
version: v0.17.0 | |
image: kindest/node:v1.28.0 | |
- name: Setup Kustomize | |
uses: fluxcd/pkg/actions/kustomize@main | |
- name: Setup Kubectl | |
uses: fluxcd/pkg/actions/kubectl@main | |
- name: Setup Flux CLI | |
uses: fluxcd/flux2/action@main | |
- name: Install tools | |
run: make install-tools | |
- name: Configure AWS Credentials | |
uses: aws-actions/configure-aws-credentials@v2 | |
with: | |
role-to-assume: ${{ secrets.INTEG_TEST_ROLE_ARN }} | |
aws-region: ${{ secrets.INTEG_TEST_REGION }} | |
- name: Bootstrap local test cluster | |
run: make bootstrap-local-cluster | |
- name: Deploy into local test cluster | |
run: make deploy-local | |
- name: Run tests | |
run: make integ-test | |
- name: Debug failure | |
if: failure() | |
run: | | |
kubectl get all -n flux-system | |
kubectl describe pods -l app=cfn-controller -n flux-system || true | |
kubectl describe cfnstack -n flux-system || true | |
kubectl logs deployment/cfn-controller -n flux-system || true |