From 17bcdfed39aeb83f3604c82c18dd14fe7e7c61d5 Mon Sep 17 00:00:00 2001 From: mustafaStakater <101177975+mustafaStakater@users.noreply.github.com> Date: Tue, 26 Sep 2023 12:57:11 +0500 Subject: [PATCH 1/7] Update pull_request.yaml --- .github/workflows/pull_request.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 1188e9a6..744d3ebf 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -15,7 +15,7 @@ jobs: build: name: Build if: "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')" - runs-on: om-sno6-lcaas + runs-on: stakater-nonprod steps: From 57ba697f2fd7a58ffa4af44c65a155bb13b6116f Mon Sep 17 00:00:00 2001 From: mustafaStakater <101177975+mustafaStakater@users.noreply.github.com> Date: Tue, 26 Sep 2023 13:00:30 +0500 Subject: [PATCH 2/7] update label in push [skip ci] --- .github/workflows/push.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 914abaad..6e1919ae 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -19,7 +19,7 @@ jobs: helm-dry-run: name: helm-dry-run if: "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')" - runs-on: om-sno6-lcaas + runs-on: stakater-nonprod steps: - name: Check out code From 3befe061d97d9b361f56afd8b8ed59d7be0005b8 Mon Sep 17 00:00:00 2001 From: Mustafa Date: Tue, 26 Sep 2023 17:22:42 +0500 Subject: [PATCH 3/7] remove tilt file from ci --- .github/workflows/pull_request.yaml | 10 ---------- .github/workflows/push.yaml | 10 ---------- 2 files changed, 20 deletions(-) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 744d3ebf..4763e7c6 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -41,9 +41,6 @@ jobs: with: version: v1.26.0 - - name: Install tilt - run: curl -fsSL https://raw.githubusercontent.com/tilt-dev/tilt/master/scripts/install.sh | bash - - name: Install CLI tools from OpenShift Mirror uses: redhat-actions/openshift-tools-installer@v1 with: @@ -61,18 +58,11 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Tilt up - run: tilt ci --timeout 5m0s - # Dry run to ensure that manifests are generated successfully - name: Dry Run Chart run: | helm install ${CHART_NAME} ${CHART_NAME} -f ${CHART_NAME}/values-test.yaml -n stakater-chart-pipeline-test --dry-run --debug - - name: Tilt down - if: always() - run: tilt down --delete-namespaces --file ./Tiltfile-delete - - name: Comment on PR uses: mshick/add-pr-comment@v2 env: diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 6e1919ae..f5b10f23 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -44,9 +44,6 @@ jobs: with: version: v1.26.0 - - name: Install tilt - run: curl -fsSL https://raw.githubusercontent.com/tilt-dev/tilt/master/scripts/install.sh | bash - - name: Install CLI tools from OpenShift Mirror uses: redhat-actions/openshift-tools-installer@v1 with: @@ -64,18 +61,11 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Tilt up - run: tilt ci --timeout 5m0s - # Dry run to ensure that manifests are generated successfully - name: Dry Run Chart run: | helm install ${CHART_NAME} ${CHART_NAME} -f ${CHART_NAME}/values-test.yaml -n stakater-chart-pipeline-test --dry-run --debug - - name: Tilt down - if: always() - run: tilt down --delete-namespaces --file ./Tiltfile-delete - - name: Notify Slack uses: 8398a7/action-slack@v3 if: failure() # Pick up events only if the job fails From 6a2e299d7d8689d2abfe2e9ded8190b0b272bd25 Mon Sep 17 00:00:00 2001 From: Mustafa Date: Tue, 26 Sep 2023 17:24:44 +0500 Subject: [PATCH 4/7] remove wtspc [skip ci] --- .github/workflows/push.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index f5b10f23..069691b8 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -61,7 +61,7 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - # Dry run to ensure that manifests are generated successfully + # Dry run to ensure that manifests are generated successfully - name: Dry Run Chart run: | helm install ${CHART_NAME} ${CHART_NAME} -f ${CHART_NAME}/values-test.yaml -n stakater-chart-pipeline-test --dry-run --debug From d5861989b96215a23ad58ef45bf669e8402b921c Mon Sep 17 00:00:00 2001 From: mustafaStakater <101177975+mustafaStakater@users.noreply.github.com> Date: Tue, 26 Sep 2023 17:45:21 +0500 Subject: [PATCH 5/7] Update pull_request.yaml --- .github/workflows/pull_request.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 4763e7c6..fc12ef86 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -5,6 +5,7 @@ on: branches: - master paths-ignore: + - '.github/workflows/pull_request.yaml' - 'README.md' - 'LICENSE' From 43fc916f12a8ebca12d14202d0734ae9938e29c2 Mon Sep 17 00:00:00 2001 From: Mustafa Date: Tue, 26 Sep 2023 17:48:25 +0500 Subject: [PATCH 6/7] remove whtspc [skip ci] --- Tiltfile-delete | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Tiltfile-delete b/Tiltfile-delete index e928dcc4..8fa34303 100644 --- a/Tiltfile-delete +++ b/Tiltfile-delete @@ -2,15 +2,15 @@ include('Tiltfile') def delete_grafana_operator(): print('Deleting grafana operator') - local('helm uninstall grafana-operator -n grafana-operator') + local('helm uninstall grafana-operator -n grafana-operator || true') def delete_external_secrets_operator(): print('Deleting external-secrets operator') - local('helm uninstall external-secrets-operator -n external-secrets-operator') + local('helm uninstall external-secrets-operator -n external-secrets-operator || true') def delete_openshift_vertical_pod_autoscaler(): print('Uninstalling openshift-vertical-pod-autoscaler') - local('helm uninstall openshift-vertical-pod-autoscaler -n openshift-vertical-pod-autoscaler') + local('helm uninstall openshift-vertical-pod-autoscaler -n openshift-vertical-pod-autoscaler || true') def delete_imc_crds(): print('Deleting imc crds') @@ -22,7 +22,7 @@ def delete_forecastle_crds(): def delete_ss_crds(): print('Deleting sealedsecrets crds') - local('oc get crds -o name | grep \'bitnami\\.com\' | xargs -r -n 1 oc delete') + local('oc get crds -o name | grep \'bitnami\\.com\' | xargs -r -n 1 oc delete') def delete_es_crds(): print('Deleting externalsecrets crds') From fd3fb5555f93b74a51ad3aa8bc0ecbd0a4f1fb95 Mon Sep 17 00:00:00 2001 From: Mustafa Date: Tue, 26 Sep 2023 17:50:20 +0500 Subject: [PATCH 7/7] remove changes [skip ci] --- Tiltfile-delete | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tiltfile-delete b/Tiltfile-delete index 8fa34303..c6e374d7 100644 --- a/Tiltfile-delete +++ b/Tiltfile-delete @@ -2,15 +2,15 @@ include('Tiltfile') def delete_grafana_operator(): print('Deleting grafana operator') - local('helm uninstall grafana-operator -n grafana-operator || true') + local('helm uninstall grafana-operator -n grafana-operator') def delete_external_secrets_operator(): print('Deleting external-secrets operator') - local('helm uninstall external-secrets-operator -n external-secrets-operator || true') + local('helm uninstall external-secrets-operator -n external-secrets-operator') def delete_openshift_vertical_pod_autoscaler(): print('Uninstalling openshift-vertical-pod-autoscaler') - local('helm uninstall openshift-vertical-pod-autoscaler -n openshift-vertical-pod-autoscaler || true') + local('helm uninstall openshift-vertical-pod-autoscaler -n openshift-vertical-pod-autoscaler') def delete_imc_crds(): print('Deleting imc crds')