-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpublish.cfg
51 lines (44 loc) · 1.31 KB
/
publish.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 73713
keyname: "docuploader_service_account"
}
}
}
before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 73713
keyname: "google-cloud-npm-token-1"
}
}
}
env_vars: {
key: "SECRET_MANAGER_KEYS"
value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem"
}
# Download trampoline resources.
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
# Use the trampoline script to run in docker.
build_file: "teeny-request/.kokoro/trampoline_v2.sh"
# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/node:18-user"
}
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/teeny-request/.kokoro/publish.sh"
}
# Store the packages we uploaded to npmjs.org and their corresponding
# package-lock.jsons in Placer. That way, we have a record of exactly
# what we published, and which version of which tools we used to publish
# it, which we can use to generate SBOMs and attestations.
action {
define_artifacts {
regex: "github/**/*.tgz"
regex: "github/**/package-lock.json"
strip_prefix: "github"
}
}