mirror of
https://github.com/vcscsvcscs/GenerationsHeritage.git
synced 2025-08-12 22:09:07 +02:00
move backend to new structure
This commit is contained in:
5
.github/workflows/backend-cd.yml
vendored
5
.github/workflows/backend-cd.yml
vendored
@@ -3,7 +3,8 @@ name: Release Backend service to Docker Hub and Deploy to Kubernetes
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "backend/**"
|
||||
- "cmd/backend/**"
|
||||
- "pkg/**"
|
||||
- "deployment/backend/**"
|
||||
- ".github/workflows/backend-cd.yml"
|
||||
|
||||
@@ -46,6 +47,6 @@ jobs:
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
push: true
|
||||
context: "{{defaultContext}}:backend"
|
||||
context: "{{defaultContext}}:cmd/backend"
|
||||
tags: vcscsvcscs/gheritage-backend-service:${{steps.create_image_tag.outputs.result}}
|
||||
platforms: linux/arm64
|
||||
|
9
.github/workflows/backend-ci.yml
vendored
9
.github/workflows/backend-ci.yml
vendored
@@ -2,19 +2,20 @@ name: Backend Continuous Integration
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "backend/**"
|
||||
- "cmd/backend/**"
|
||||
- "pkg/**"
|
||||
jobs:
|
||||
lint:
|
||||
uses: ./.github/workflows/go_lint.yml
|
||||
with:
|
||||
working-directory: 'backend'
|
||||
working-directory: 'cmd/backend'
|
||||
build:
|
||||
needs: lint
|
||||
uses: ./.github/workflows/go_build.yml
|
||||
with:
|
||||
working-directory: 'backend'
|
||||
working-directory: 'cmd/backend'
|
||||
test:
|
||||
needs: build
|
||||
uses: ./.github/workflows/go_test.yml
|
||||
with:
|
||||
working-directory: 'backend'
|
||||
working-directory: 'cmd/backend'
|
Reference in New Issue
Block a user