diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 1188e9a6..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' @@ -15,7 +16,7 @@ jobs: build: name: Build if: "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')" - runs-on: om-sno6-lcaas + runs-on: stakater-nonprod steps: @@ -41,9 +42,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 +59,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 914abaad..069691b8 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 @@ -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 + # 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 diff --git a/Tiltfile-delete b/Tiltfile-delete index e928dcc4..c6e374d7 100644 --- a/Tiltfile-delete +++ b/Tiltfile-delete @@ -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')