Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling re-building of binaries in circleci during upload stage #3112

Merged
merged 35 commits into from
Oct 26, 2021
Merged
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
ac7b00d
Checking workspace attachment
algojack Oct 18, 2021
aaf3445
Disabled more tests
algojack Oct 18, 2021
fb2db3f
Tunning machine sizes
algojack Oct 18, 2021
cafc639
searching for bin folder
algojack Oct 18, 2021
dfd115b
commented out more test filters
algojack Oct 18, 2021
ff7b354
searching for bin files
algojack Oct 18, 2021
97aeec1
Re-enabling nightly tests to check machine sizes and parallelism
algojack Oct 18, 2021
6d144ff
Cleaning up for machine size pr
algojack Oct 18, 2021
01037ec
Merge branch 'master' into optimize-circleci-upload-stage
algojack Oct 18, 2021
be57128
Revert "Cleaning up for machine size pr"
algojack Oct 19, 2021
cca84b3
Added gopath
algojack Oct 19, 2021
5255433
skipping all tests
algojack Oct 19, 2021
e9b71a8
creating build dir manually and skipping prep
algojack Oct 19, 2021
9fa3c38
removed debug statements
algojack Oct 19, 2021
01ae40f
added prep go
algojack Oct 19, 2021
2325321
added go image
algojack Oct 19, 2021
7d38291
Switched to python image and added a bunch of env vars
algojack Oct 19, 2021
79473b4
Switched to medium machine
algojack Oct 19, 2021
c424850
Switched to medium machine part 2
algojack Oct 19, 2021
79e8bd7
Enabling all archs
algojack Oct 19, 2021
d30557b
Filtering out unneeded flags
algojack Oct 20, 2021
3cb62bf
Reenabling tests
algojack Oct 20, 2021
b485b62
Revert "Reenabling tests"
algojack Oct 20, 2021
f8bf685
Fixed typo
algojack Oct 20, 2021
4ad4964
Reenabling tests
algojack Oct 20, 2021
3a4c320
restoring everything to before testing state
algojack Oct 20, 2021
f56c418
Merge branch 'master' into optimize-circleci-upload-stage
algojack Oct 20, 2021
4ae79f1
Fixed branch setting
algojack Oct 20, 2021
9458729
Moved executor
algojack Oct 20, 2021
015e8f2
Testing one more time
algojack Oct 21, 2021
d8869c4
Adding Gimme config back in
algojack Oct 21, 2021
413864a
Fixing no_build check
algojack Oct 21, 2021
91f1579
Removing gimme
algojack Oct 21, 2021
fbb70f3
Restoring all temporarily disabled steps
algojack Oct 21, 2021
6a5753d
Adjusting a check for NO_BUILD
algojack Oct 25, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,14 @@ commands:
type: string
default: << pipeline.parameters.build_dir >>
steps:
- attach_workspace:
at: << parameters.build_dir >>
- run:
name: Upload binaries << parameters.platform >>
command: |
export PATH=$(echo "$PATH" | sed -e "s|:${HOME}/\.go_workspace/bin||g" | sed -e 's|:/usr/local/go/bin||g')
export GOPATH="<< parameters.build_dir >>/go"
export NO_BUILD=true
export TRAVIS_BRANCH=${CIRCLE_BRANCH}
scripts/travis/deploy_packages.sh
- when:
Expand Down Expand Up @@ -644,7 +649,6 @@ jobs:
executor: << parameters.platform >>_medium
steps:
- prepare_build_dir
- checkout
- prepare_go
- upload_binaries_command:
platform: << parameters.platform >>
Expand Down
4 changes: 3 additions & 1 deletion scripts/travis/deploy_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ then
exit 1
fi

scripts/travis/build.sh
if [ -z "${NO_BUILD}" ]; then
scripts/travis/build.sh
fi

export RELEASE_GENESIS_PROCESS=true
export NO_BUILD=true
Expand Down