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 correct branch in quickstart job #510

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
15 changes: 11 additions & 4 deletions .github/workflows/quick-start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,18 @@ jobs:
run:
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/objects-api/deps/oaf-0.8.0/docker-compose.yml
- uses: actions/checkout@v4
- name: Start docker containers
run: docker compose up -d --no-build
run: docker compose up -d --build
- name: Wait for migrations to finish
run: |
echo "Waiting for migrations to complete..."
until ! docker compose exec -T web src/manage.py showmigrations | grep -q '\[ \]'; do
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
11 changes: 6 additions & 5 deletions docker/setup_configuration/data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sites_config:
- domain: example.com
name: Example site


zgw_consumers_config_enable: true
zgw_consumers:
services:
Expand Down Expand Up @@ -58,17 +58,18 @@ tokenauth:
application: Application 1
administration: Administration 1
permissions:
- object_type: b427ef84-189d-43aa-9efd-7bb2c459e281
mode: read_and_write
- object_type: b0e8553f-8b1a-4d55-ab90-6d02f1bcf2c2
mode: read_only
use_fields: true
fields:
'1':
- record__data__leeftijd
- record__data__kiemjaar


# additional permissions can be added like this:
# - object_type: b427ef84-189d-43aa-9efd-7bb2c459e281
# mode: read_and_write


oidc_db_config_enable: true
oidc_db_config_admin_auth:
items:
Expand Down
Loading