Skip to content

Commit

Permalink
Merge pull request #273 from stakater/add-arc-tag
Browse files Browse the repository at this point in the history
update tags for actions runner skip ci
  • Loading branch information
mustafaStakater authored Sep 26, 2023
2 parents 876fcfa + fd3fb55 commit ef85f85
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 24 deletions.
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

0 comments on commit ef85f85

Please sign in to comment.