fix: do not include log option details in Docker logs #5
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: Integration tests - Docker | |
on: | |
workflow_dispatch: {} | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
integration-tests-docker-raw: | |
name: Backup raw data | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.14 | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: Build docker image | |
run: docker build --build-arg GO_VERSION=1.14 --build-arg GOOS=linux --build-arg GOARCH=amd64 -t bivac-testing . | |
- name: Run raw data test case | |
run: ./tests/raw | |
working-directory: ./test/integration/docker/ | |
integration-tests-docker-mysql: | |
name: Backup MySQL database | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.14 | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: Build docker image | |
run: docker build --build-arg GO_VERSION=1.14 --build-arg GOOS=linux --build-arg GOARCH=amd64 -t bivac-testing . | |
- name: Run MySQL test case | |
run: ./tests/mysql | |
working-directory: ./test/integration/docker/ | |
integration-tests-docker-postgres: | |
name: Backup PostgreSQL database | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.14 | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: Build docker image | |
run: docker build --build-arg GO_VERSION=1.14 --build-arg GOOS=linux --build-arg GOARCH=amd64 -t bivac-testing . | |
- name: Run PostgreSQL test case | |
run: ./tests/postgres | |
working-directory: ./test/integration/docker/ |