skip flaky build

This commit is contained in:
Rajesh Rajendran 2022-11-25 15:01:34 +00:00 committed by GitHub
parent a903d5c1b7
commit 8ef3403073
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,13 +26,13 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# - name: Checkout - name: Checkout
# uses: actions/checkout@v2 uses: actions/checkout@v2
# with: with:
# # We need to diff with old commit # We need to diff with old commit
# # to see which workers got changed. # to see which workers got changed.
# fetch-depth: 2 fetch-depth: 2
# # ref: staging # ref: staging
- name: Docker login - name: Docker login
run: | run: |
@ -161,16 +161,16 @@ jobs:
# Deploy command # Deploy command
helm template openreplay -n app openreplay -f vars.yaml -f /tmp/image_override.yaml --set ingress-nginx.enabled=false --set skipMigration=true | kubectl apply -f - helm template openreplay -n app openreplay -f vars.yaml -f /tmp/image_override.yaml --set ingress-nginx.enabled=false --set skipMigration=true | kubectl apply -f -
- name: Alert slack #- name: Alert slack
if: ${{ failure() }} # if: ${{ failure() }}
uses: rtCamp/action-slack-notify@v2 # uses: rtCamp/action-slack-notify@v2
env: # env:
SLACK_CHANNEL: ee # SLACK_CHANNEL: ee
SLACK_TITLE: "Failed ${{ github.workflow }}" # SLACK_TITLE: "Failed ${{ github.workflow }}"
SLACK_COLOR: ${{ job.status }} # or a specific color like 'good' or '#ff00ff' # SLACK_COLOR: ${{ job.status }} # or a specific color like 'good' or '#ff00ff'
SLACK_WEBHOOK: ${{ secrets.SLACK_WEB_HOOK }} # SLACK_WEBHOOK: ${{ secrets.SLACK_WEB_HOOK }}
SLACK_USERNAME: "OR Bot" # SLACK_USERNAME: "OR Bot"
SLACK_MESSAGE: 'Build failed :bomb:' # SLACK_MESSAGE: 'Build failed :bomb:'
# - name: Debug Job # - name: Debug Job