build: run publish jobs in the secure context and enable sccache (#20326)
This commit is contained in:
parent
7f0ec3091e
commit
c32bea5ae0
1 changed files with 18 additions and 6 deletions
|
@ -1233,6 +1233,7 @@ jobs:
|
||||||
<<: *env-linux-2xlarge-release
|
<<: *env-linux-2xlarge-release
|
||||||
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_boto=True --custom-var=checkout_requests=True'
|
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_boto=True --custom-var=checkout_requests=True'
|
||||||
<<: *env-release-build
|
<<: *env-release-build
|
||||||
|
<<: *env-enable-sccache
|
||||||
UPLOAD_TO_S3: << pipeline.parameters.upload-to-s3 >>
|
UPLOAD_TO_S3: << pipeline.parameters.upload-to-s3 >>
|
||||||
<<: *steps-electron-build-for-publish
|
<<: *steps-electron-build-for-publish
|
||||||
|
|
||||||
|
@ -1286,6 +1287,7 @@ jobs:
|
||||||
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_boto=True --custom-var=checkout_requests=True'
|
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_boto=True --custom-var=checkout_requests=True'
|
||||||
<<: *env-ia32
|
<<: *env-ia32
|
||||||
<<: *env-release-build
|
<<: *env-release-build
|
||||||
|
<<: *env-enable-sccache
|
||||||
UPLOAD_TO_S3: << pipeline.parameters.upload-to-s3 >>
|
UPLOAD_TO_S3: << pipeline.parameters.upload-to-s3 >>
|
||||||
<<: *steps-electron-build-for-publish
|
<<: *steps-electron-build-for-publish
|
||||||
|
|
||||||
|
@ -1339,6 +1341,7 @@ jobs:
|
||||||
<<: *env-linux-2xlarge-release
|
<<: *env-linux-2xlarge-release
|
||||||
<<: *env-arm
|
<<: *env-arm
|
||||||
<<: *env-release-build
|
<<: *env-release-build
|
||||||
|
<<: *env-enable-sccache
|
||||||
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_arm=True --custom-var=checkout_boto=True --custom-var=checkout_requests=True'
|
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_arm=True --custom-var=checkout_boto=True --custom-var=checkout_requests=True'
|
||||||
UPLOAD_TO_S3: << pipeline.parameters.upload-to-s3 >>
|
UPLOAD_TO_S3: << pipeline.parameters.upload-to-s3 >>
|
||||||
<<: *steps-electron-build-for-publish
|
<<: *steps-electron-build-for-publish
|
||||||
|
@ -1409,6 +1412,7 @@ jobs:
|
||||||
<<: *env-linux-2xlarge-release
|
<<: *env-linux-2xlarge-release
|
||||||
<<: *env-arm64
|
<<: *env-arm64
|
||||||
<<: *env-release-build
|
<<: *env-release-build
|
||||||
|
<<: *env-enable-sccache
|
||||||
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_arm64=True --custom-var=checkout_boto=True --custom-var=checkout_requests=True'
|
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_arm64=True --custom-var=checkout_boto=True --custom-var=checkout_requests=True'
|
||||||
UPLOAD_TO_S3: << pipeline.parameters.upload-to-s3 >>
|
UPLOAD_TO_S3: << pipeline.parameters.upload-to-s3 >>
|
||||||
<<: *steps-electron-build-for-publish
|
<<: *steps-electron-build-for-publish
|
||||||
|
@ -1468,6 +1472,7 @@ jobs:
|
||||||
environment:
|
environment:
|
||||||
<<: *env-mac-large-release
|
<<: *env-mac-large-release
|
||||||
<<: *env-release-build
|
<<: *env-release-build
|
||||||
|
<<: *env-enable-sccache
|
||||||
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_boto=True --custom-var=checkout_requests=True'
|
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_boto=True --custom-var=checkout_requests=True'
|
||||||
UPLOAD_TO_S3: << pipeline.parameters.upload-to-s3 >>
|
UPLOAD_TO_S3: << pipeline.parameters.upload-to-s3 >>
|
||||||
<<: *steps-electron-build-for-publish
|
<<: *steps-electron-build-for-publish
|
||||||
|
@ -1533,6 +1538,7 @@ jobs:
|
||||||
<<: *env-mac-large-release
|
<<: *env-mac-large-release
|
||||||
<<: *env-mas
|
<<: *env-mas
|
||||||
<<: *env-release-build
|
<<: *env-release-build
|
||||||
|
<<: *env-enable-sccache
|
||||||
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_boto=True --custom-var=checkout_requests=True'
|
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_boto=True --custom-var=checkout_requests=True'
|
||||||
UPLOAD_TO_S3: << pipeline.parameters.upload-to-s3 >>
|
UPLOAD_TO_S3: << pipeline.parameters.upload-to-s3 >>
|
||||||
<<: *steps-electron-build-for-publish
|
<<: *steps-electron-build-for-publish
|
||||||
|
@ -1800,32 +1806,38 @@ workflows:
|
||||||
publish-x64-linux:
|
publish-x64-linux:
|
||||||
when: << pipeline.parameters.run-linux-x64-publish >>
|
when: << pipeline.parameters.run-linux-x64-publish >>
|
||||||
jobs:
|
jobs:
|
||||||
- linux-x64-publish
|
- linux-x64-publish:
|
||||||
|
context: release-env
|
||||||
|
|
||||||
publish-ia32-linux:
|
publish-ia32-linux:
|
||||||
when: << pipeline.parameters.run-linux-ia32-publish >>
|
when: << pipeline.parameters.run-linux-ia32-publish >>
|
||||||
jobs:
|
jobs:
|
||||||
- linux-ia32-publish
|
- linux-ia32-publish:
|
||||||
|
context: release-env
|
||||||
|
|
||||||
publish-arm-linux:
|
publish-arm-linux:
|
||||||
when: << pipeline.parameters.run-linux-arm-publish >>
|
when: << pipeline.parameters.run-linux-arm-publish >>
|
||||||
jobs:
|
jobs:
|
||||||
- linux-arm-publish
|
- linux-arm-publish:
|
||||||
|
context: release-env
|
||||||
|
|
||||||
publish-arm64-linux:
|
publish-arm64-linux:
|
||||||
when: << pipeline.parameters.run-linux-arm64-publish >>
|
when: << pipeline.parameters.run-linux-arm64-publish >>
|
||||||
jobs:
|
jobs:
|
||||||
- linux-arm64-publish
|
- linux-arm64-publish:
|
||||||
|
context: release-env
|
||||||
|
|
||||||
publish-osx:
|
publish-osx:
|
||||||
when: << pipeline.parameters.run-osx-publish >>
|
when: << pipeline.parameters.run-osx-publish >>
|
||||||
jobs:
|
jobs:
|
||||||
- osx-publish
|
- osx-publish:
|
||||||
|
context: release-env
|
||||||
|
|
||||||
publish-mas:
|
publish-mas:
|
||||||
when: << pipeline.parameters.run-mas-publish >>
|
when: << pipeline.parameters.run-mas-publish >>
|
||||||
jobs:
|
jobs:
|
||||||
- mas-publish
|
- mas-publish:
|
||||||
|
context: release-env
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
when: << pipeline.parameters.run-lint >>
|
when: << pipeline.parameters.run-lint >>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue