Skip to content

feat: implement outbox pattern #102

feat: implement outbox pattern

feat: implement outbox pattern #102

Workflow file for this run

name: User service - CI
on:
push:
paths:
- '.github/workflows/reusable-general-quality-ci.yml'
- '.github/workflows/reusable-go-build-ci.yml'
- '.github/workflows/reusable-go-quality-ci.yml'
- '.github/workflows/service-user.yml'
- 'pkg/**'
- 'openapiv2/**'
- 'proto/**'
- 'tool/**'
- 'gateway/**'
- 'service/user/**'
pull_request:
paths:
- '.github/workflows/reusable-general-quality-ci.yml'
- '.github/workflows/reusable-go-build-ci.yml'
- '.github/workflows/reusable-go-quality-ci.yml'
- '.github/workflows/service-user.yml'
- 'pkg/**'
- 'openapiv2/**'
- 'proto/**'
- 'tool/**'
- 'gateway/**'
- 'service/user/**'
jobs:
general-quality-check:
name: General quality check
uses: indrasaputra/arjuna/.github/workflows/reusable-general-quality-ci.yml@main
go-code-quality:
name: Go code quality check
uses: indrasaputra/arjuna/.github/workflows/reusable-go-quality-ci.yml@main
with:
filters: |
changed:
- '.github/workflows/reusable-general-quality-ci.yml'
- '.github/workflows/reusable-go-build-ci.yml'
- '.github/workflows/reusable-go-quality-ci.yml'
- '.github/workflows/service-user.yml'
- 'pkg/**'
- 'openapiv2/**'
- 'proto/**'
- 'tool/**'
- 'gateway/**'
- 'service/user/**'
target: service/user
build-push-docker:
name: Build and push docker
needs: [general-quality-check, go-code-quality]
uses: indrasaputra/arjuna/.github/workflows/reusable-go-build-ci.yml@main
with:
filters: |
changed:
- '.github/workflows/reusable-general-quality-ci.yml'
- '.github/workflows/reusable-go-build-ci.yml'
- '.github/workflows/reusable-go-quality-ci.yml'
- '.github/workflows/service-user.yml'
- 'pkg/**'
- 'openapiv2/**'
- 'proto/**'
- 'tool/**'
- 'gateway/**'
- 'service/user/**'
target: service/user
service: user
dockerfile: ./service/user/dockerfile/user.dockerfile
need_go_binary: true
secrets:
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }}