[WPB-11179] Fix logging sensitive data #110
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: CI | |
on: | |
push: | |
branches-ignore: | |
- master | |
- staging | |
pull_request: | |
jobs: | |
check: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11.0.6 | |
- name: Execute test with gradle | |
run: ./gradlew test | |
# Send webhook to Wire using Slack Bot | |
- name: Webhook to Wire | |
uses: 8398a7/action-slack@v2 | |
with: | |
status: ${{ job.status }} | |
author_name: Poll Bot bare metal CI pipeline | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.WEBHOOK_CI }} | |
# Send message only if previous step failed | |
if: failure() | |
docker-build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
# setup docker actions https://github.com/docker/build-push-action | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v1 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Build image | |
id: docker_build | |
uses: docker/build-push-action@v2 | |
with: | |
# https://github.com/docker/build-push-action/issues/220 | |
context: . | |
tags: wire/ci-test-image | |
push: false | |
# Send webhook to Wire using Slack Bot | |
- name: Webhook to Wire | |
uses: 8398a7/action-slack@v2 | |
with: | |
status: ${{ job.status }} | |
author_name: Docker CI pipeline | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.WEBHOOK_CI }} | |
# Send message only if previous step failed | |
if: failure() |