Skip to content

Commit 055b5d2

Browse files
trop[bot]John Kleinschmidt
authored andcommitted
build: run publish jobs in the secure context and enable sccache (electron#20863)
1 parent 1841742 commit 055b5d2

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

.circleci/config.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,6 +1170,7 @@ jobs:
11701170
<<: *env-linux-2xlarge-release
11711171
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_boto=True --custom-var=checkout_requests=True'
11721172
<<: *env-release-build
1173+
<<: *env-enable-sccache
11731174
UPLOAD_TO_S3: << pipeline.parameters.upload-to-s3 >>
11741175
<<: *steps-electron-build-for-publish
11751176

@@ -1221,6 +1222,7 @@ jobs:
12211222
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_boto=True --custom-var=checkout_requests=True'
12221223
<<: *env-ia32
12231224
<<: *env-release-build
1225+
<<: *env-enable-sccache
12241226
UPLOAD_TO_S3: << pipeline.parameters.upload-to-s3 >>
12251227
<<: *steps-electron-build-for-publish
12261228

@@ -1272,6 +1274,7 @@ jobs:
12721274
<<: *env-linux-2xlarge-release
12731275
<<: *env-arm
12741276
<<: *env-release-build
1277+
<<: *env-enable-sccache
12751278
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_arm=True --custom-var=checkout_boto=True --custom-var=checkout_requests=True'
12761279
UPLOAD_TO_S3: << pipeline.parameters.upload-to-s3 >>
12771280
<<: *steps-electron-build-for-publish
@@ -1340,6 +1343,7 @@ jobs:
13401343
<<: *env-linux-2xlarge-release
13411344
<<: *env-arm64
13421345
<<: *env-release-build
1346+
<<: *env-enable-sccache
13431347
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_arm64=True --custom-var=checkout_boto=True --custom-var=checkout_requests=True'
13441348
UPLOAD_TO_S3: << pipeline.parameters.upload-to-s3 >>
13451349
<<: *steps-electron-build-for-publish
@@ -1399,6 +1403,7 @@ jobs:
13991403
environment:
14001404
<<: *env-mac-large-release
14011405
<<: *env-release-build
1406+
<<: *env-enable-sccache
14021407
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_boto=True --custom-var=checkout_requests=True'
14031408
UPLOAD_TO_S3: << pipeline.parameters.upload-to-s3 >>
14041409
<<: *steps-electron-build-for-publish
@@ -1464,6 +1469,7 @@ jobs:
14641469
<<: *env-mac-large-release
14651470
<<: *env-mas
14661471
<<: *env-release-build
1472+
<<: *env-enable-sccache
14671473
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_boto=True --custom-var=checkout_requests=True'
14681474
UPLOAD_TO_S3: << pipeline.parameters.upload-to-s3 >>
14691475
<<: *steps-electron-build-for-publish
@@ -1731,32 +1737,38 @@ workflows:
17311737
publish-x64-linux:
17321738
when: << pipeline.parameters.run-linux-x64-publish >>
17331739
jobs:
1734-
- linux-x64-publish
1740+
- linux-x64-publish:
1741+
context: release-env
17351742

17361743
publish-ia32-linux:
17371744
when: << pipeline.parameters.run-linux-ia32-publish >>
17381745
jobs:
1739-
- linux-ia32-publish
1746+
- linux-ia32-publish:
1747+
context: release-env
17401748

17411749
publish-arm-linux:
17421750
when: << pipeline.parameters.run-linux-arm-publish >>
17431751
jobs:
1744-
- linux-arm-publish
1752+
- linux-arm-publish:
1753+
context: release-env
17451754

17461755
publish-arm64-linux:
17471756
when: << pipeline.parameters.run-linux-arm64-publish >>
17481757
jobs:
1749-
- linux-arm64-publish
1758+
- linux-arm64-publish:
1759+
context: release-env
17501760

17511761
publish-osx:
17521762
when: << pipeline.parameters.run-osx-publish >>
17531763
jobs:
1754-
- osx-publish
1764+
- osx-publish:
1765+
context: release-env
17551766

17561767
publish-mas:
17571768
when: << pipeline.parameters.run-mas-publish >>
17581769
jobs:
1759-
- mas-publish
1770+
- mas-publish:
1771+
context: release-env
17601772

17611773
lint:
17621774
when: << pipeline.parameters.run-lint >>

0 commit comments

Comments
 (0)