Skip to content

Commit 8c00b9e

Browse files
committed
Merge remote-tracking branch 'origin/main' into dl-kokoro
2 parents 8b0a703 + f360b87 commit 8c00b9e

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.kokoro/build.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ cd "$KOKORO_ARTIFACTS_DIR/git/serverless/functions-framework-nodejs"
77
### Configure Airlock
88
# APT
99
rm -f /etc/apt/sources.list.d/* /etc/apt/sources.list
10-
echo 'deb https://us-apt.pkg.dev/remote/artifact-foundry-prod/debian-3p-remote-bookworm bookworm main' | \
11-
tee -a /etc/apt/sources.list.d/artifact-registry.list
10+
echo 'deb https://us-apt.pkg.dev/remote/artifact-foundry-prod/debian-3p-remote-bookworm bookworm main' |
11+
tee -a /etc/apt/sources.list.d/artifact-registry.list
1212

1313
# NPM
14-
cat > .npmrc <<EOF
14+
cat >.npmrc <<EOF
1515
registry=https://us-npm.pkg.dev/artifact-foundry-prod/npm-3p-trusted/
1616
//us-npm.pkg.dev/artifact-foundry-prod/npm-3p-trusted/:always-auth=true
1717
EOF
@@ -27,11 +27,9 @@ npm ci
2727
# artifacts will be stored locally for attestation generation.
2828
npm pack --pack-destination="${ARTIFACTS}"
2929

30-
31-
3230
### Authenticate to OSS Exit Gate
3331
# Replace default registry with OSS Exit Gate
34-
cat > .npmrc <<EOF
32+
cat >.npmrc <<EOF
3533
registry=https://us-npm.pkg.dev/oss-exit-gate-prod/ff-releases--npm/
3634
//us-npm.pkg.dev/oss-exit-gate-prod/ff-releases--npm/:always-auth=true
3735
EOF

0 commit comments

Comments
 (0)