Skip to content

Commit

Permalink
Merge pull request #318 from RockefellerArchiveCenter/update-workflows
Browse files Browse the repository at this point in the history
Update docker commands
  • Loading branch information
p-galligan authored Aug 21, 2024
2 parents 595b25b + 9d26c60 commit 1cca84c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build:
runs-on: ubuntu-latest
environment:
name: ${{ vars.DEV_ENVIRONMENT }}
name: development

env:
APPLICATION_NAME: gemini
Expand Down Expand Up @@ -46,10 +46,10 @@ jobs:
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin

- name: Start Docker containers
run: docker-compose up -d
run: docker compose up -d

- name: Wait for services to be ready
run: ./wait-for-it.sh $CONTAINER:$APPLICATION_PORT -- docker-compose exec -T $CONTAINER pip install coverage
run: ./wait-for-it.sh $CONTAINER:$APPLICATION_PORT -- docker compose exec -T $CONTAINER pip install coverage

- name: Install pre-commit
run: |
Expand All @@ -60,7 +60,7 @@ jobs:
run: pre-commit run --all-files --show-diff-on-failure

- name: Run tests with coverage
run: docker-compose exec -T $CONTAINER coverage run manage.py test
run: docker compose exec -T $CONTAINER coverage run manage.py test

- name: Generate coverage report
run: docker-compose exec -T $CONTAINER coverage report --omit=*/migrations/* -m
run: docker compose exec -T $CONTAINER coverage report --omit=*/migrations/* -m
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# gemini
TEST
A microservice to store AIPs and DIPs in Fedora.

gemini is part of [Project Electron](https://github.com/RockefellerArchiveCenter/project_electron), an initiative to build sustainable, open and user-centered infrastructure for the archival management of digital records at the [Rockefeller Archive Center](http://rockarch.org/).
Expand Down

0 comments on commit 1cca84c

Please sign in to comment.