Skip to content

Commit ec897a7

Browse files
committed
add codebuild hooks to workflow
Signed-off-by: Arjun Raja Yogidas <[email protected]>
1 parent 98f2fb4 commit ec897a7

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

.github/workflows/benchmark_visualization.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717

1818
jobs:
1919
benchmark:
20-
runs-on: ubuntu-20.04
20+
runs-on: codebuild-soci-visualization-workflow-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
2121
steps:
2222
- name: Checkout main branch
2323
uses: actions/checkout@v4
@@ -37,7 +37,7 @@ jobs:
3737
path: ${{github.workspace}}/benchmark/performanceTest/output/results.json
3838

3939
download-and-convert-benchmark-result-to-visualization-data:
40-
runs-on: ubuntu-20.04
40+
runs-on: codebuild-soci-visualization-workflow-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
4141
needs: benchmark
4242
steps:
4343
- name: Checkout main branch
@@ -67,7 +67,7 @@ jobs:
6767

6868
push-benchmark-result-gh-pages:
6969
name: Push benchmark result to Github-pages
70-
runs-on: ubuntu-20.04
70+
runs-on: codebuild-soci-visualization-workflow-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
7171
needs: download-and-convert-benchmark-result-to-visualization-data
7272
strategy:
7373
matrix:

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ env:
2424

2525
jobs:
2626
test:
27-
runs-on: ubuntu-20.04
27+
runs-on: codebuild-soci-build-workflow-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
2828
timeout-minutes: 15
2929
steps:
3030
- uses: actions/checkout@v4
@@ -34,7 +34,7 @@ jobs:
3434
- run: make
3535
- run: make test
3636
integration:
37-
runs-on: ubuntu-20.04
37+
runs-on: codebuild-soci-build-workflow-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
3838
timeout-minutes: 40
3939
strategy:
4040
fail-fast: false

.github/workflows/bump-deps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
# Don't bother bumping deps on forks.
2222
if: ${{ github.repository == 'awslabs/soci-snapshotter' || github.event_name == 'workflow_dispatch' }}
23-
runs-on: ubuntu-20.04
23+
runs-on: codebuild-soci-bump-dependencies-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-medium
2424

2525
steps:
2626
- uses: actions/checkout@v4

.github/workflows/comparision-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ env:
99

1010
jobs:
1111
check:
12-
runs-on: ubuntu-20.04
12+
runs-on: codebuild-soci-comparision-test-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
1313
steps:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-go@v5

.github/workflows/prebuild.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212

1313
jobs:
1414
check:
15-
runs-on: ubuntu-20.04
15+
runs-on: codebuild-soci-prebuild-workflow-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-small
1616
steps:
1717
- uses: actions/checkout@v4
1818
with:
@@ -32,7 +32,7 @@ jobs:
3232
- run: PATH=$PATH:$(pwd) ./scripts/check-flatc.sh
3333

3434
git-secrets:
35-
runs-on: ubuntu-20.04
35+
runs-on: codebuild-soci-prebuild-workflow-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-small
3636
steps:
3737
- name: Pull latest awslabs/git-secrets repo
3838
uses: actions/checkout@v4
@@ -54,7 +54,7 @@ jobs:
5454
strategy:
5555
matrix:
5656
working_dir: ['.', 'cmd']
57-
runs-on: ubuntu-20.04
57+
runs-on: codebuild-soci-prebuild-workflow-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-small
5858
steps:
5959
- uses: actions/checkout@v4
6060
- uses: golangci/golangci-lint-action@v6
@@ -64,13 +64,13 @@ jobs:
6464

6565
yamllint:
6666
name: yamllint-lint
67-
runs-on: ubuntu-20.04
67+
runs-on: codebuild-soci-prebuild-workflow-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-small
6868
steps:
6969
- uses: actions/checkout@v4
7070
- run: yamllint .
7171

7272
shellcheck:
73-
runs-on: ubuntu-20.04
73+
runs-on: codebuild-soci-prebuild-workflow-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-small
7474
container: koalaman/shellcheck-alpine:v0.10.0
7575
steps:
7676
- uses: actions/checkout@v4

.github/workflows/releases.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ permissions:
2020

2121
jobs:
2222
generate-artifacts:
23-
runs-on: ubuntu-20.04
23+
runs-on: codebuild-soci-release-workflow-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
2424
env:
2525
# Set during setup.
2626
RELEASE_TAG: ''
@@ -60,7 +60,7 @@ jobs:
6060

6161
validate-artifacts:
6262
needs: generate-artifacts
63-
runs-on: ubuntu-20.04
63+
runs-on: codebuild-soci-release-workflow-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
6464
steps:
6565
- uses: actions/checkout@v4
6666
- uses: actions/download-artifact@v4
@@ -72,7 +72,7 @@ jobs:
7272
create-release:
7373
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
7474
needs: [generate-artifacts, validate-artifacts]
75-
runs-on: ubuntu-20.04
75+
runs-on: codebuild-soci-release-workflow-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
7676
steps:
7777
- uses: actions/checkout@v4
7878
- uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)