Skip to content

Commit

Permalink
Consolidate build pre-requisite steps into generic_build command
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldiamant committed Aug 19, 2022
1 parent cbb4486 commit eca634d
Showing 1 changed file with 3 additions and 24 deletions.
27 changes: 3 additions & 24 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,9 @@ commands:
type: string
default: << pipeline.parameters.build_dir >>
steps:
- prepare_build_dir
- checkout
- prepare_go
- restore_libsodium
- restore_cache:
keys:
Expand Down Expand Up @@ -474,9 +477,6 @@ jobs:
working_directory: << pipeline.parameters.build_dir >>/project
parallelism: 4
steps:
- prepare_build_dir
- checkout
- prepare_go
- generic_build
- generic_test:
platform: << parameters.platform >>
Expand All @@ -492,9 +492,6 @@ jobs:
working_directory: << pipeline.parameters.build_dir >>/project
parallelism: 4
steps:
- prepare_build_dir
- checkout
- prepare_go
- generic_build
- generic_test:
platform: << parameters.platform >>
Expand All @@ -515,9 +512,6 @@ jobs:
environment:
E2E_TEST_FILTER: "GO"
steps:
- prepare_build_dir
- checkout
- prepare_go
- generic_build
- generic_integration:
platform: << parameters.platform >>
Expand All @@ -534,9 +528,6 @@ jobs:
environment:
E2E_TEST_FILTER: "GO"
steps:
- prepare_build_dir
- checkout
- prepare_go
- generic_build
- generic_integration:
platform: << parameters.platform >>
Expand All @@ -555,9 +546,6 @@ jobs:
environment:
E2E_TEST_FILTER: "EXPECT"
steps:
- prepare_build_dir
- checkout
- prepare_go
- generic_build
- generic_integration:
platform: << parameters.platform >>
Expand All @@ -574,9 +562,6 @@ jobs:
environment:
E2E_TEST_FILTER: "EXPECT"
steps:
- prepare_build_dir
- checkout
- prepare_go
- generic_build
- generic_integration:
platform: << parameters.platform >>
Expand All @@ -594,9 +579,6 @@ jobs:
environment:
E2E_TEST_FILTER: "SCRIPTS"
steps:
- prepare_build_dir
- checkout
- prepare_go
- generic_build
- generic_integration:
platform: << parameters.platform >>
Expand All @@ -616,9 +598,6 @@ jobs:
# one of the platforms in the matrix.
CI_KEEP_TEMP_PLATFORM: "amd64"
steps:
- prepare_build_dir
- checkout
- prepare_go
- generic_build
- generic_integration:
platform: << parameters.platform >>
Expand Down

0 comments on commit eca634d

Please sign in to comment.