--- kind: pipeline type: docker name: ci trigger: event: [ push, pull_request ] steps: - name: test-auth image: python:3.12 environment: PYTHONPATH: services/auth/src commands: - python -V - pip install --no-cache-dir -r services/auth/requirements.txt - python -m pytest -q services/auth/tests - name: test-profiles image: python:3.12 environment: PYTHONPATH: services/profiles/src commands: - python -V - pip install --no-cache-dir -r services/profiles/requirements.txt - python -m pytest -q services/profiles/tests - name: test-match image: python:3.12 environment: PYTHONPATH: services/match/src commands: - python -V - pip install --no-cache-dir -r services/match/requirements.txt - python -m pytest -q services/match/tests - name: test-chat image: python:3.12 environment: PYTHONPATH: services/chat/src commands: - python -V - pip install --no-cache-dir -r services/chat/requirements.txt - python -m pytest -q services/chat/tests - name: test-payments image: python:3.12 environment: PYTHONPATH: services/payments/src commands: - python -V - pip install --no-cache-dir -r services/payments/requirements.txt - python -m pytest -q services/payments/tests - name: build-auth image: plugins/docker privileged: true settings: context: services/auth dockerfile: services/auth/Dockerfile repo: registry.example.com/your-namespace/marriage-auth tags: [ latest ] username: from_secret: docker_username password: from_secret: docker_password when: event: [ push ] - name: build-profiles image: plugins/docker privileged: true settings: context: services/profiles dockerfile: services/profiles/Dockerfile repo: registry.example.com/your-namespace/marriage-profiles tags: [ latest ] username: from_secret: docker_username password: from_secret: docker_password when: event: [ push ] - name: build-match image: plugins/docker privileged: true settings: context: services/match dockerfile: services/match/Dockerfile repo: registry.example.com/your-namespace/marriage-match tags: [ latest ] username: from_secret: docker_username password: from_secret: docker_password when: event: [ push ] - name: build-chat image: plugins/docker privileged: true settings: context: services/chat dockerfile: services/chat/Dockerfile repo: registry.example.com/your-namespace/marriage-chat tags: [ latest ] username: from_secret: docker_username password: from_secret: docker_password when: event: [ push ] - name: build-payments image: plugins/docker privileged: true settings: context: services/payments dockerfile: services/payments/Dockerfile repo: registry.example.com/your-namespace/marriage-payments tags: [ latest ] username: from_secret: docker_username password: from_secret: docker_password when: event: [ push ]