Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update tags for actions runner skip ci #273

Merged
merged 7 commits into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- master
paths-ignore:
- '.github/workflows/pull_request.yaml'
- 'README.md'
- 'LICENSE'

Expand All @@ -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:

Expand All @@ -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:
Expand All @@ -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:
Expand Down
14 changes: 2 additions & 12 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Tiltfile-delete
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down