chore(deps): Bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.97.3 to 1.106.1 #39
Workflow file for this run
This file contains hidden or 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: Kitchen | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'config/**' | |
| - 'internal/**' | |
| - 'cmd/**' | |
| - 'lib/**' | |
| - '.kitchen.yml' | |
| - 'examples/**/.kitchen.yml' | |
| - 'examples/**/config/**' | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| inputs: | |
| platform: | |
| description: 'Platform filter (leave empty for all)' | |
| required: false | |
| default: '' | |
| jobs: | |
| kitchen: | |
| name: Kitchen (${{ matrix.platform }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| platform: | |
| - ubuntu-22.04 | |
| - debian-12 | |
| - rockylinux-9 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-go@v7 | |
| with: | |
| go-version: "1.26.x" | |
| cache: true | |
| # Build the gomnibus binary that will be copied into each container. | |
| - name: Build gomnibus | |
| run: CGO_ENABLED=0 go build -o gomnibus ./cmd/gomnibus | |
| # Pull the Docker image before running kitchen so network failures | |
| # don't count as kitchen test failures. | |
| - name: Pull Docker image | |
| run: | | |
| case "${{ matrix.platform }}" in | |
| ubuntu-22.04) docker pull ubuntu:22.04 ;; | |
| debian-12) docker pull debian:12 ;; | |
| rockylinux-9) docker pull rockylinux:9 ;; | |
| esac | |
| - name: kitchen test ${{ matrix.platform }} | |
| working-directory: examples/myapp | |
| run: | | |
| ../../gomnibus kitchen test "${{ matrix.platform }}" \ | |
| --output ../../pkg/kitchen \ | |
| --log-level info | |
| env: | |
| # Pass through any S3 cache credentials if configured. | |
| AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
| AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
| AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }} | |
| # Always destroy the container, even if the build failed. | |
| - name: kitchen destroy ${{ matrix.platform }} | |
| working-directory: examples/myapp | |
| if: always() | |
| run: | | |
| ../../gomnibus kitchen destroy "${{ matrix.platform }}" \ | |
| --log-level warn || true | |
| - name: Upload packages | |
| if: success() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: packages-${{ matrix.platform }} | |
| path: pkg/kitchen/${{ matrix.platform }}/ | |
| if-no-files-found: warn | |
| retention-days: 7 | |
| kitchen-summary: | |
| name: Kitchen Summary | |
| runs-on: ubuntu-latest | |
| needs: kitchen | |
| if: always() | |
| steps: | |
| - name: Check matrix status | |
| run: | | |
| if [ "${{ needs.kitchen.result }}" = "failure" ]; then | |
| echo "One or more kitchen platform builds failed" | |
| exit 1 | |
| fi | |
| echo "All kitchen platforms passed" |