@@ -50,7 +50,7 @@ check:lint:
50
50
needs : []
51
51
script :
52
52
- >
53
- nix-shell --run '
53
+ nix-shell --arg ci true -- run $ '
54
54
npm run lint;
55
55
npm run lint-shell;
56
56
'
@@ -82,8 +82,8 @@ check:test-generate:
82
82
needs : []
83
83
script :
84
84
- >
85
- nix-shell --run '
86
- ./scripts/check-test-generate.sh > ./tmp/check-test.yml
85
+ nix-shell --arg ci true -- run $ '
86
+ ./scripts/check-test-generate.sh > ./tmp/check-test.yml;
87
87
'
88
88
artifacts :
89
89
when : always
@@ -124,7 +124,7 @@ build:merge:
124
124
# Required for `gh pr create`
125
125
- git remote add upstream "$GH_PROJECT_URL"
126
126
- >
127
- nix-shell --run '
127
+ nix-shell --arg ci true -- run $ '
128
128
gh pr create \
129
129
--head staging \
130
130
--base master \
@@ -149,7 +149,7 @@ build:dist:
149
149
needs : []
150
150
script :
151
151
- >
152
- nix-shell --run '
152
+ nix-shell --arg ci true -- run $ '
153
153
npm run build --verbose;
154
154
'
155
155
artifacts :
@@ -167,8 +167,8 @@ build:platforms-generate:
167
167
needs : []
168
168
script :
169
169
- >
170
- nix-shell --run '
171
- ./scripts/build-platforms-generate.sh > ./tmp/build-platforms.yml
170
+ nix-shell --arg ci true -- run $ '
171
+ ./scripts/build-platforms-generate.sh > ./tmp/build-platforms.yml;
172
172
'
173
173
artifacts :
174
174
when : always
@@ -210,7 +210,7 @@ build:prerelease:
210
210
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ./.npmrc
211
211
- echo 'Publishing library prerelease'
212
212
- >
213
- nix-shell --run '
213
+ nix-shell --arg ci true -- run $ '
214
214
npm publish --tag prerelease --access public;
215
215
'
216
216
after_script :
@@ -391,10 +391,7 @@ integration:prerelease:
391
391
script :
392
392
- echo 'Publishing application prerelease'
393
393
- >
394
- nix-shell --run $'
395
- set -o errexit;
396
- set -o nounset;
397
- set -o pipefail;
394
+ nix-shell --arg ci true --run $'
398
395
if gh release view "$CI_COMMIT_TAG" --repo "$GH_PROJECT_PATH" >/dev/null; then \
399
396
gh release \
400
397
upload "$CI_COMMIT_TAG" \
@@ -422,10 +419,7 @@ integration:prerelease:
422
419
'
423
420
- echo 'Prereleasing container image'
424
421
- >
425
- nix-shell --run $'
426
- set -o errexit;
427
- set -o nounset;
428
- set -o pipefail;
422
+ nix-shell --arg ci true --run $'
429
423
skopeo login \
430
424
--username "$CI_REGISTRY_USER" \
431
425
--password "$CI_REGISTRY_PASSWORD" \
@@ -469,7 +463,7 @@ integration:merge:
469
463
GIT_DEPTH : 0
470
464
script :
471
465
- >
472
- nix-shell --run '
466
+ nix-shell --arg ci true -- run $ '
473
467
printf "Pipeline Succeeded on ${CI_PIPELINE_ID} for ${CI_COMMIT_SHA}\n\n${CI_PIPELINE_URL}" \
474
468
| gh pr comment staging \
475
469
--body-file - \
@@ -538,11 +532,11 @@ release:distribution:
538
532
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ./.npmrc
539
533
- echo 'Publishing library & application release'
540
534
- >
541
- nix-shell --run $'
535
+ nix-shell --arg ci true -- run $'
542
536
npm publish --access public;
543
537
'
544
538
- >
545
- nix-shell --run $'
539
+ nix-shell --arg ci true -- run $'
546
540
gh release \
547
541
create "$CI_COMMIT_TAG" \
548
542
builds/*.closure.gz \
@@ -557,7 +551,7 @@ release:distribution:
557
551
'
558
552
- echo 'Releasing container image'
559
553
- >
560
- nix-shell --run $'
554
+ nix-shell --arg ci true -- run $'
561
555
skopeo login \
562
556
--username "$CI_REGISTRY_USER" \
563
557
--password "$CI_REGISTRY_PASSWORD" \
0 commit comments