Skip to content

Commit

Permalink
Remove docker-compose test due to db race condition issue.
Browse files Browse the repository at this point in the history
This issue is described in issue #23
  • Loading branch information
mrzzy committed Apr 19, 2020
1 parent 823ad4a commit be1967a
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,32 +32,6 @@ jobs:
name: containers
path: build/containers

## testing pipeline
# tests containers run using the docker compose setup without exiting
test-docker-compose-up:
runs-on: ubuntu-18.04
needs: [ build-containers ]
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v1
with:
name: containers
path: build/containers

# tests containers run by running the docker-compose
# stack and making sure none of them exit unexpectly
- name: "Test Docker Compose up"
env:
DOTENV: "${{ secrets.DOTENV }}"
run: |
make load
echo $DOTENV >.env
# required to run cms-db first as a workaround for issue #23
# the database has to complete its initdb operation before the stack
# would work properly.
docker-compose run -d cms-db && sleep 60 && docker-compose down
timeout --preserve-status -sTERM 120s docker-compose up --abort-on-container-exit --no-build
## helm chart
# lints helm chart
lint-helm-chart:
Expand Down

0 comments on commit be1967a

Please sign in to comment.