bump remaining application versions to trigger new image builds #624
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: valkyrie | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- "apps/valkyrie/**" | |
- "mix.lock" | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
branches: | |
- master | |
paths: | |
- "apps/valkyrie/**" | |
- "mix.lock" | |
workflow_dispatch: | |
branches: | |
- master | |
jobs: | |
ci: | |
if: github.event.pull_request.draft == false | |
name: Verify Application | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: 21.3.8.24 | |
version-type: strict | |
elixir-version: 1.10.4 | |
- name: Get dependencies | |
run: | | |
bash scripts/gh-action-get-deps.sh | |
- name: Run static checks | |
run: | | |
bash scripts/gh-action-static-checks.sh ${GITHUB_WORKFLOW} | |
- name: Run unit tests | |
run: | | |
bash scripts/gh-action-unit-test.sh ${GITHUB_WORKFLOW} | |
- name: Run integration tests | |
run: | | |
bash scripts/gh-action-integration-test.sh ${GITHUB_WORKFLOW} | |
- name: Publish development image | |
run: | | |
bash scripts/gh-action-publish.sh ${GITHUB_WORKFLOW} | |
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' | |
env: | |
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Publish to Quay | |
run: | | |
bash scripts/gh-action-quay.sh ${GITHUB_WORKFLOW} development | |
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' | |
env: | |
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} | |
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }} | |
- if: always() && github.ref == 'refs/heads/master' | |
name: Report Status | |
uses: ravsamhq/notify-slack-action@v1 | |
with: | |
status: ${{ job.status }} | |
notify_when: "failure" | |
message_format: "{emoji} *{workflow}* {status_message} in <{repo_url}|{repo}>" | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }} |