File tree 6 files changed +32
-17
lines changed
6 files changed +32
-17
lines changed Original file line number Diff line number Diff line change 17
17
18
18
jobs :
19
19
benchmark :
20
- runs-on : codebuild-soci-visualization-workflow -${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
20
+ runs-on : codebuild-soci-snapshotter-benchmark-visualization -${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
21
21
steps :
22
22
- name : Checkout main branch
23
23
uses : actions/checkout@v4
37
37
path : ${{github.workspace}}/benchmark/performanceTest/output/results.json
38
38
39
39
download-and-convert-benchmark-result-to-visualization-data :
40
- runs-on : codebuild-soci-visualization-workflow -${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
40
+ runs-on : codebuild-soci-snapshotter-benchmark-visualization -${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
41
41
needs : benchmark
42
42
steps :
43
43
- name : Checkout main branch
67
67
68
68
push-benchmark-result-gh-pages :
69
69
name : Push benchmark result to Github-pages
70
- runs-on : codebuild-soci-visualization-workflow -${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
70
+ runs-on : codebuild-soci-snapshotter-benchmark-visualization -${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
71
71
needs : download-and-convert-benchmark-result-to-visualization-data
72
72
strategy :
73
73
matrix :
Original file line number Diff line number Diff line change 23
23
GO_VERSION : ' 1.21.10'
24
24
25
25
jobs :
26
- test :
27
- runs-on : codebuild-soci-build-workflow-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
26
+ test-codebuild :
27
+ if : ${{ github.event.pull_request.head.repo.full_name == github.repository }}
28
+ runs-on : codebuild-soci-snapshotter-build-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
28
29
timeout-minutes : 15
29
30
steps :
30
31
- uses : actions/checkout@v4
33
34
go-version : ${{ env.GO_VERSION }}
34
35
- run : make
35
36
- run : make test
37
+
38
+ test-fork :
39
+ if : ${{ ! github.event.pull_request.head.repo.full_name == github.repository }}
40
+ runs-on : codebuild-soci-snapshotter-build-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
41
+ timeout-minutes : 15
42
+ steps :
43
+ - uses : actions/checkout@v4
44
+ - uses : actions/setup-go@v5
45
+ with :
46
+ go-version : ${{ env.GO_VERSION }}
47
+ - run : make
48
+ - run : make test
49
+
36
50
integration :
37
- runs-on : codebuild-soci-build-workflow -${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
51
+ runs-on : codebuild-soci-snapshotter-build -${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
38
52
timeout-minutes : 40
39
53
strategy :
40
54
fail-fast : false
47
61
- uses : actions/setup-go@v5
48
62
with :
49
63
go-version : ${{ env.GO_VERSION }}
50
- - run : make integration
64
+ - run : make integration
Original file line number Diff line number Diff line change 20
20
21
21
# Don't bother bumping deps on forks.
22
22
if : ${{ github.repository == 'awslabs/soci-snapshotter' || github.event_name == 'workflow_dispatch' }}
23
- runs-on : codebuild-soci-bump-dependencies-${{ github.run_id }}-${{ github.run_attempt }}- ubuntu-7.0-medium
23
+ runs-on : ubuntu-22.04
24
24
25
25
steps :
26
26
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
check :
12
- runs-on : codebuild-soci-comparision -test-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
12
+ runs-on : codebuild-soci-snapshotter-comparison -test-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
13
13
steps :
14
14
- uses : actions/checkout@v4
15
15
- uses : actions/setup-go@v5
Original file line number Diff line number Diff line change 12
12
13
13
jobs :
14
14
check :
15
- runs-on : codebuild-soci-prebuild-workflow-${{ github.run_id }}-${{ github.run_attempt }}- ubuntu-7.0-small
15
+ runs-on : ubuntu-22.04
16
16
steps :
17
17
- uses : actions/checkout@v4
18
18
with :
32
32
- run : PATH=$PATH:$(pwd) ./scripts/check-flatc.sh
33
33
34
34
git-secrets :
35
- runs-on : codebuild-soci-prebuild-workflow-${{ github.run_id }}-${{ github.run_attempt }}- ubuntu-7.0-small
35
+ runs-on : ubuntu-22.04
36
36
steps :
37
37
- name : Pull latest awslabs/git-secrets repo
38
38
uses : actions/checkout@v4
54
54
strategy :
55
55
matrix :
56
56
working_dir : ['.', 'cmd']
57
- runs-on : codebuild-soci-prebuild-workflow-${{ github.run_id }}-${{ github.run_attempt }}- ubuntu-7.0-small
57
+ runs-on : ubuntu-22.04
58
58
steps :
59
59
- uses : actions/checkout@v4
60
60
- uses : golangci/golangci-lint-action@v6
@@ -64,13 +64,14 @@ jobs:
64
64
65
65
yamllint :
66
66
name : yamllint-lint
67
- runs-on : codebuild-soci-prebuild-workflow-${{ github.run_id }}-${{ github.run_attempt }}- ubuntu-7.0-small
67
+ runs-on : ubuntu-22.04
68
68
steps :
69
69
- uses : actions/checkout@v4
70
+ - run : pip install yamllint
70
71
- run : yamllint .
71
72
72
73
shellcheck :
73
- runs-on : codebuild-soci-prebuild-workflow-${{ github.run_id }}-${{ github.run_attempt }}- ubuntu-7.0-small
74
+ runs-on : ubuntu-22.04
74
75
container : koalaman/shellcheck-alpine:v0.10.0
75
76
steps :
76
77
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ permissions:
20
20
21
21
jobs :
22
22
generate-artifacts :
23
- runs-on : codebuild-soci-release-workflow-${{ github.run_id }}-${{ github.run_attempt }}- ubuntu-7.0-xlarge
23
+ runs-on : ubuntu-22.04
24
24
env :
25
25
# Set during setup.
26
26
RELEASE_TAG : ' '
60
60
61
61
validate-artifacts :
62
62
needs : generate-artifacts
63
- runs-on : codebuild-soci-release-workflow-${{ github.run_id }}-${{ github.run_attempt }}- ubuntu-7.0-xlarge
63
+ runs-on : ubuntu-22.04
64
64
steps :
65
65
- uses : actions/checkout@v4
66
66
- uses : actions/download-artifact@v4
72
72
create-release :
73
73
if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
74
74
needs : [generate-artifacts, validate-artifacts]
75
- runs-on : codebuild-soci-release-workflow-${{ github.run_id }}-${{ github.run_attempt }}- ubuntu-7.0-xlarge
75
+ runs-on : ubuntu-22.04
76
76
steps :
77
77
- uses : actions/checkout@v4
78
78
- uses : actions/download-artifact@v4
You can’t perform that action at this time.
0 commit comments