Skip to content

Bump github.com/ethereum/go-ethereum from 1.15.0 to 1.17.6 in /seth #2127

Bump github.com/ethereum/go-ethereum from 1.15.0 to 1.17.6 in /seth

Bump github.com/ethereum/go-ethereum from 1.15.0 to 1.17.6 in /seth #2127

name: Framework Docker Compose Tests
on:
push:
jobs:
changes:
runs-on: ubuntu-latest
permissions:
contents: read
outputs:
src: ${{ steps.changes.outputs.src }}
steps:
- name: Checkout repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Check for changes in Docker Components
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
with:
filters: |
src:
- 'framework/components/dockercompose/**'
- '.github/workflows/framework-components-tests.yml'
- 'framework/examples/chip_ingress'
- 'framework/examples/chip_router'
- 'framework/components/chiprouter'
test:
if: needs.changes.outputs.src == 'true'
needs: changes
defaults:
run:
working-directory: ${{ matrix.test.directory }}
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
strategy:
fail-fast: false
matrix:
test:
- name: TestChipIngressSmoke
config: smoke_chip_ingress.toml
count: 1
directory: framework/examples/chip_ingress
timeout: 3m
- name: TestChipRouterDynamicPortsSmoke
config: smoke_chip_router.toml
count: 1
directory: framework/examples/chip_router
timeout: 3m
- name: TestChipRouterStaticPortsSmoke
config: smoke_chip_router.toml
count: 1
directory: framework/examples/chip_router
timeout: 3m
name: ${{ matrix.test.name }}
steps:
- name: Checkout repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Configure AWS credentials using OIDC
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
with:
role-to-assume: ${{ secrets.AWS_CTF_READ_ACCESS_ROLE_ARN }}
aws-region: us-west-2
- name: Login to Amazon ECR
id: login-ecr-private
uses: aws-actions/amazon-ecr-login@062b18b96a7aff071d4dc91bc00c4c1a7945b076 # v2.0.1
with:
registries: ${{ format('{0},{1}', secrets.AWS_ACCOUNT_ID_SDLC, secrets.AWS_ACCOUNT_ID_PROD) }}
env:
AWS_REGION: us-west-2
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.24.0'
- name: Cache Go modules
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: go-modules-${{ hashFiles(format('{0}/go.sum', matrix.test.directory)) }}-${{ runner.os }}-${{ matrix.test.name }}
restore-keys: |
go-modules-${{ runner.os }}-${{ matrix.test.name }}
go-modules-${{ runner.os }}
- name: Install dependencies
run: go mod download
- name: Run Docker Compose Tests
env:
CTF_CONFIGS: ${{ matrix.test.config }}
CTF_CHIP_INGRESS_IMAGE: ${{ secrets.AWS_ACCOUNT_ID_PROD }}.dkr.ecr.us-west-2.amazonaws.com/atlas-chip-ingress:da84cb72d3a160e02896247d46ab4b9806ebee2f
CTF_CHIP_CONFIG_IMAGE: ${{ secrets.AWS_ACCOUNT_ID_PROD }}.dkr.ecr.us-west-2.amazonaws.com/atlas-chip-config:7b4e9ee68fd1c737dd3480b5a3ced0188f29b969
CTF_CHIP_ROUTER_IMAGE: "${{secrets.AWS_ACCOUNT_ID_SDLC}}.dkr.ecr.us-west-2.amazonaws.com/local-cre-chip-router:v1.0.1"
CTF_LOG_LEVEL: debug
run: |
go test -timeout ${{ matrix.test.timeout }} -v -count ${{ matrix.test.count }} -run ${{ matrix.test.name }}
- name: Upload Logs
if: always()
uses: actions/upload-artifact@v4
with:
name: container-logs-${{ matrix.test.name }}
path: ${{ matrix.test.directory }}/logs
retention-days: 1