Skip to content

Commit

Permalink
Adjust example file organization
Browse files Browse the repository at this point in the history
  • Loading branch information
mallardduck committed Oct 10, 2024
1 parent cd289b6 commit 59579c9
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e/scripts/create-project-namespace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ cd $(dirname $0)/../../../..

USE_RANCHER=${USE_RANCHER:-"false"}
if [ "$USE_RANCHER" = "true" ]; then
kubectl apply -f ./examples/ci/project.yaml
kubectl apply -f ./examples/prometheus-federator/ci/project.yaml
fi

kubectl apply -f ./examples/ci/namespace.yaml
kubectl apply -f ./examples/prometheus-federator/ci/namespace.yaml

sleep "${DEFAULT_SLEEP_TIMEOUT_SECONDS}"
if ! kubectl get namespace cattle-project-p-example; then
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e/scripts/create-projecthelmchart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ source $(dirname $0)/entry
cd $(dirname $0)/../../../..

if [[ "${E2E_CI}" == "true" ]]; then
kubectl apply -f ./examples/ci/project-helm-chart.yaml
kubectl apply -f ./examples/prometheus-federator/ci/project-helm-chart.yaml
else
kubectl apply -f ./examples/project-helm-chart.yaml
kubectl apply -f ./examples/prometheus-federator/project-helm-chart.yaml
fi
sleep ${DEFAULT_SLEEP_TIMEOUT_SECONDS};

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e/scripts/delete-projecthelmchart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ source $(dirname $0)/entry
cd $(dirname $0)/../../../..

if [[ "${E2E_CI}" == "true" ]]; then
kubectl delete -f ./examples/ci/project-helm-chart.yaml
kubectl delete -f ./examples/prometheus-federator/ci/project-helm-chart.yaml
else
kubectl delete -f ./examples/project-helm-chart.yaml
kubectl delete -f ./examples/prometheus-federator/project-helm-chart.yaml
fi
if kubectl get -n cattle-monitoring-system job/helm-delete-cattle-project-p-example-monitoring --ignore-not-found; then
if ! kubectl wait --for=condition=complete --timeout="${KUBECTL_WAIT_TIMEOUT}" -n cattle-monitoring-system job/helm-delete-cattle-project-p-example-monitoring; then
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 59579c9

Please sign in to comment.