Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make existing RPM package GPG key configurable #814

Merged
merged 2 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hack/check/check-mdlint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ cd "$(dirname "${BASH_SOURCE[0]}")/../.."
# Additional configuration can be found in the .markdownlintrc file at
# the root of the repo.
docker run --rm -v "$(pwd)":/build \
gcr.io/cluster-api-provider-vsphere/extra/mdlint:0.23.2 /md/lint \
gcr.io/eminent-nation-87317/tanzu-cli/ci-images/mdlint:0.23.2 /md/lint \
-i docs/cli/commands \
-i **/CHANGELOG.md .
3 changes: 2 additions & 1 deletion hack/rpm/build_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ done

# Prepare the existing repository info so we can sync from it
RPM_METADATA_BASE_URI=${RPM_METADATA_BASE_URI:=https://storage.googleapis.com/tanzu-cli-os-packages}
RPM_REPO_GPG_PUBLIC_KEY_URI=${RPM_REPO_GPG_PUBLIC_KEY_URI:=https://packages-prod.broadcom.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub}
if [ "${RPM_METADATA_BASE_URI}" = "new" ]; then
echo
echo "Building a brand new repository"
Expand All @@ -111,7 +112,7 @@ baseurl=${RPM_METADATA_BASE_URI}/rpm/tanzu-cli
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://packages-prod.broadcom.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub
gpgkey=${RPM_REPO_GPG_PUBLIC_KEY_URI}
EOF

# Sync the metadata so we can update it
Expand Down
Loading