Skip to content

Commit

Permalink
correct HPO e2e paths
Browse files Browse the repository at this point in the history
  • Loading branch information
mallardduck committed Oct 11, 2024
1 parent e473057 commit 109b5f6
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash
set -e

source $(dirname $0)/../entry
source $(dirname $0)/entry

cd $(dirname $0)/../../../../..
cd $(dirname $0)/../../../..

USE_RANCHER=${USE_RANCHER:-"false"}
if [ "$USE_RANCHER" = "true" ]; then
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash
set -e

source $(dirname $0)/../entry
source $(dirname $0)/entry

cd $(dirname $0)/../../../../..
cd $(dirname $0)/../../../..

kubectl apply -f ./examples/helm-project-operator/ci/project-helm-chart.yaml
sleep ${DEFAULT_SLEEP_TIMEOUT_SECONDS};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash
set -e

source $(dirname $0)/../entry
source $(dirname $0)/entry

cd $(dirname $0)/../../../../..
cd $(dirname $0)/../../../..

kubectl delete -f ./examples/helm-project-operator/ci/project-helm-chart.yaml
if kubectl get -n cattle-helm-system job/helm-delete-project-operator-example-chart-dummy --ignore-not-found; then
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash
set -e

source $(dirname $0)/../entry
source $(dirname $0)/entry

cd $(dirname $0)/../../../../..
cd $(dirname $0)/../../../..

latest_chart=./charts/helm-project-operator
latest_chart=./packages/helm-project-operator/charts

case "${KUBERNETES_DISTRIBUTION_TYPE}" in
"k3s")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash
set -e

source $(dirname $0)/../entry
source $(dirname $0)/entry

cd $(dirname $0)/../../../../..
cd $(dirname $0)/../../../..

helm uninstall --wait -n cattle-helm-system helm-project-operator

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash
set -e

source $(dirname $0)/../entry
source $(dirname $0)/entry

cd $(dirname $0)/../../../../..
cd $(dirname $0)/../../../..

if ! kubectl -n cattle-helm-system rollout status deployment helm-project-operator --timeout="${KUBECTL_WAIT_TIMEOUT}"; then
echo "ERROR: Helm Project Operator did not roll out"
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/hpo-e2e-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,22 +85,22 @@ jobs:
with:
limit-access-to-actor: true
- name: Install Helm Project Operator
run: ./.github/workflows/e2e/scripts/hpo/install-helm-project-operator.sh;
run: ./.github/workflows/e2e/scripts/hpo-install-helm-project-operator.sh;

- name: Check if Helm Project Operator is up
run: ./.github/workflows/e2e/scripts/hpo/validate-helm-project-operator.sh;
run: ./.github/workflows/e2e/scripts/hpo-validate-helm-project-operator.sh;

- name: Check if Project Registration Namespace is auto-created on namespace detection
run: ./.github/workflows/e2e/scripts/hpo/create-project-namespace.sh;
run: ./.github/workflows/e2e/scripts/hpo-create-project-namespace.sh;

- name: Deploy Example Chart via ProjectHelmChart CR
run: ./.github/workflows/e2e/scripts/hpo/create-projecthelmchart.sh;
run: ./.github/workflows/e2e/scripts/hpo-create-projecthelmchart.sh;

- name: Delete Example Chart
run: ./.github/workflows/e2e/scripts/hpo/delete-projecthelmchart.sh;
run: ./.github/workflows/e2e/scripts/hpo-delete-projecthelmchart.sh;

- name: Uninstall Helm Project Operator
run: ./.github/workflows/e2e/scripts/hpo/uninstall-helm-project-operator.sh;
run: ./.github/workflows/e2e/scripts/hpo-uninstall-helm-project-operator.sh;

- name: Delete k3d cluster
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prom-fed-e2e-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
-
name: Perform pre-e2e image build
run: |
EMBEDDED_CHART_VERSION=0.3.4 REPO=${REPO} TAG=${TAG} make build;
EMBEDED_CHART_VERSION=0.3.4 REPO=${REPO} TAG=${TAG} make build;
REPO=${REPO} TAG=${TAG} make package;
-
name : Install k3d
Expand Down

0 comments on commit 109b5f6

Please sign in to comment.