-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔥 [#408] remove docker-compose-quickstart
- Loading branch information
1 parent
4549268
commit 696db69
Showing
3 changed files
with
9 additions
and
33 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,19 +6,15 @@ jobs: | |
run: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Download docker-compose file | ||
run: wget https://raw.githubusercontent.com/maykinmedia/objects-api/master/docker-compose-quickstart.yml -O docker-compose-qs.yml | ||
- name: Overwrite the docker-compose file to get the "current" one | ||
run: cp docker-compose-quickstart.yml docker-compose-qs.yml | ||
# todo replace branch name with master after the change is merge | ||
run: wget https://raw.githubusercontent.com/maykinmedia/objects-api/feature/merge-docker-composes/docker-compose.yml | ||
- name: Start docker containers | ||
run: docker-compose -f docker-compose-qs.yml up -d | ||
- name: Wait until DB container starts | ||
run: sleep 10 | ||
run: docker compose up -d --no-build | ||
- name: Load fixtures | ||
run: docker-compose -f docker-compose-qs.yml exec -T web src/manage.py loaddata demodata | ||
run: docker compose exec -T web src/manage.py loaddata demodata | ||
- name: Create superuser | ||
run: docker-compose -f docker-compose-qs.yml exec -T web src/manage.py createsuperuser --username admin --email [email protected] --no-input | ||
run: docker compose exec -T web src/manage.py createsuperuser --username admin --email [email protected] --no-input | ||
- name: Check main page | ||
run: | | ||
curl_status=$(curl -w '%{http_code}' -o /dev/null -s http://localhost:8000/) | ||
|
This file was deleted.
Oops, something went wrong.
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