This repository has been archived by the owner on May 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from edcdavid/build-plugins
Upgrade to latest ACM Generator plugin version
- Loading branch information
Showing
8 changed files
with
54 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-7.14 MB
(77%)
kustomize/policy.open-cluster-management.io/v1/policygenerator/PolicyGenerator
Binary file not shown.
Binary file modified
BIN
+99.2 KB
(100%)
kustomize/ran.openshift.io/v1/policygentemplate/PolicyGenTemplate
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
ROOT=$(pwd) | ||
POLICY_GENERATOR_TAG=release-2.10 | ||
|
||
rm -rf build || true | ||
mkdir build | ||
cd build || exit 1 | ||
# Download ACM Policy Generator plugin repo | ||
git clone --branch="$POLICY_GENERATOR_TAG" --depth 1 https://github.com/stolostron/policy-generator-plugin | ||
# Download PGT repo | ||
git clone --depth 1 https://github.com/openshift-kni/cnf-features-deploy.git | ||
# Build latest Policy Generator Template plugin executable | ||
cd cnf-features-deploy/ztp/policygenerator || exit 1 | ||
make build | ||
cp policygenerator "$ROOT"/kustomize/ran.openshift.io/v1/policygentemplate/PolicyGenTemplate | ||
cd - || exit 1 | ||
|
||
# Build ACM Policy Generator plugin executable | ||
cd policy-generator-plugin/ || exit 1 | ||
API_PLUGIN_PATH="." make build | ||
cp PolicyGenerator "$ROOT"/kustomize/policy.open-cluster-management.io/v1/policygenerator/PolicyGenerator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
test/acmgen-expected-output/group-du-standard-latest-config-policy-placement.yaml
This file was deleted.
Oops, something went wrong.