Skip to content

Commit

Permalink
tasks/cosa-init: Drop workaround for yum repo gpgkeys
Browse files Browse the repository at this point in the history
With the inclusion of the `distribution-gpg-keys` rpm package in SCOS
in openshift/os#1032,
it is no longer required to fetch them from the internet.
  • Loading branch information
LorbusChris committed Feb 20, 2023
1 parent 1243fdd commit ff86d3a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions manifests/tekton/tasks/base/cosa-init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ spec:
# TODO: Upstream to openshift/os
sed -i 's/rhel-9.*-server-ose.*/artifacts/' $(readlink -f src/config/manifest.yaml)
# https://github.com/openshift/os/pull/1006
sed -i 's|file:///usr/share/distribution-gpg-keys/centos|https://www.centos.org/keys|g' src/config/c9s.repo
# tmp fix for replacing version labels in manifest
sed -i "s/\"4.13\"/\"$(params.version)\"/g" $(readlink -f src/config/manifest.yaml)
sed -i "s/\"413\.9./\"$(echo "$(params.version)" | sed 's/\.//')\.9./" $(readlink -f src/config/manifest.yaml)
Expand Down

0 comments on commit ff86d3a

Please sign in to comment.