Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💚 [maykinmedia/objects-api#509] Use master branch in quickstart job #144

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading