Skip to content

Commit

Permalink
💚 [maykinmedia/objects-api#509] Use master branch in quickstart job
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenbal committed Jan 3, 2025
1 parent 88daa70 commit 9628c57
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/quick_start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download docker-compose file
# todo replace branch name with master after the change is merge
run: wget https://raw.githubusercontent.com/maykinmedia/objecttypes-api/feature/merge-docker-composes/docker-compose.yml
run: wget https://raw.githubusercontent.com/maykinmedia/objecttypes-api/master/docker-compose.yml
- name: Download setup-configuration data file
run: wget -P docker/setup_configuration https://raw.githubusercontent.com/maykinmedia/objecttypes-api/master/docker/setup_configuration/data.yaml
- name: Start docker containers
run: docker compose up -d --no-build
- name: Wait for migrations to finish
Expand All @@ -18,6 +19,8 @@ jobs:
echo "Migrations not finished, waiting..."
sleep 3
done
- name: Show web-init logs
run: docker compose logs web-init
- name: Load fixtures
run: docker compose exec -T web src/manage.py loaddata demodata
- name: Create superuser
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ services:
condition: service_completed_successfully

web-init:
image: maykinmedia/objecttypes-api:latest
build: .
environment:
<<: *app-env
Expand Down

0 comments on commit 9628c57

Please sign in to comment.