mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-02-14 18:09:57 +00:00
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Failing after 2m2s
Post / coverage (push) Failing after 39m59s
Post / images (amd64, addon-manager) (push) Failing after 8m42s
Post / images (amd64, placement) (push) Failing after 7m45s
Post / images (amd64, registration) (push) Failing after 7m51s
Post / images (amd64, registration-operator) (push) Failing after 7m38s
Post / images (amd64, work) (push) Failing after 7m44s
Post / images (arm64, addon-manager) (push) Failing after 7m51s
Post / images (arm64, placement) (push) Failing after 7m48s
Post / images (arm64, registration) (push) Failing after 7m55s
Post / images (arm64, registration-operator) (push) Failing after 7m49s
Post / images (arm64, work) (push) Failing after 7m50s
Post / image manifest (addon-manager) (push) Has been skipped
Post / image manifest (placement) (push) Has been skipped
Post / image manifest (registration) (push) Has been skipped
Post / image manifest (registration-operator) (push) Has been skipped
Post / image manifest (work) (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 54s
Signed-off-by: Wei Liu <liuweixa@redhat.com>
26 lines
732 B
Bash
Executable File
26 lines
732 B
Bash
Executable File
#!/bin/bash
|
|
|
|
source "$(dirname "${BASH_SOURCE}")/init.sh"
|
|
|
|
BASE_DIR=$(dirname $(readlink -f $0))
|
|
|
|
for f in $HUB_CRD_FILES
|
|
do
|
|
if [ -f "$BASE_DIR/$(basename $f).yaml-patch" ];
|
|
then
|
|
"$1" -o "$BASE_DIR/$(basename "$f").yaml-patch" < "$f" > "./manifests/cluster-manager/hub/crds/$(basename "$f")"
|
|
else
|
|
cp $f ./manifests/cluster-manager/hub/crds
|
|
fi
|
|
done
|
|
|
|
for f in $SPOKE_CRD_FILES
|
|
do
|
|
cp $f ./manifests/klusterlet/managed/
|
|
done
|
|
|
|
cp $CLUSTER_MANAGER_CRD_FILE ./deploy/cluster-manager/config/crds/
|
|
cp $CLUSTER_MANAGER_CRD_FILE ./deploy/cluster-manager/chart/cluster-manager/crds/
|
|
cp $KLUSTERLET_CRD_FILE ./deploy/klusterlet/config/crds/
|
|
cp $KLUSTERLET_CRD_FILE ./deploy/klusterlet/chart/klusterlet/crds/
|