Skip to content

Commit

Permalink
Make existing RPM package GPG key configurable (#814)
Browse files Browse the repository at this point in the history
* Make existing RPM package GPG key configurable

* Fix mdlint issue
  • Loading branch information
anujc25 authored Sep 17, 2024
1 parent add16b3 commit 505ad76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
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

0 comments on commit 505ad76

Please sign in to comment.