Skip to content

Commit cb96037

Browse files
chingor13parthea
andauthored
chore: store artifacts in placer (#1821)
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent c515453 commit cb96037

File tree

1 file changed

+9
-0
lines changed
  • synthtool/gcp/templates/python_library/.kokoro/release

1 file changed

+9
-0
lines changed

synthtool/gcp/templates/python_library/.kokoro/release/common.cfg

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,12 @@ env_vars: {
3838
key: "SECRET_MANAGER_KEYS"
3939
value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem"
4040
}
41+
42+
# Store the packages we uploaded to PyPI. That way, we have a record of exactly
43+
# what we published, which we can use to generate SBOMs and attestations.
44+
action {
45+
define_artifacts {
46+
regex: "github/{{ metadata['repo']['repo'].split('/')[1] }}/**/*.tar.gz"
47+
strip_prefix: "github/{{ metadata['repo']['repo'].split('/')[1] }}"
48+
}
49+
}

0 commit comments

Comments
 (0)