Skip to content

Commit

Permalink
update gh actions to refactored paths
Browse files Browse the repository at this point in the history
  • Loading branch information
thegovind committed Jul 15, 2023
1 parent f17d276 commit ce69915
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/expense-service-container-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
paths:
- 'python/expense-service/**'
- 'services/expense-service/python/**'
workflow_dispatch:

env:
Expand Down Expand Up @@ -36,6 +36,6 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: python/expense-service
context: services/expense-service/python
push: true
tags: ${{ env.REGISTRY }}/${{ env.REPOSITORY }}/expense-service:${{ env.short_sha }}
4 changes: 2 additions & 2 deletions .github/workflows/frontend-container-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
paths:
- 'typescript/frontend/**'
- 'ui/typescript/**'
workflow_dispatch:

env:
Expand Down Expand Up @@ -38,6 +38,6 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: typescript/frontend
context: ui/typescript
push: true
tags: ${{ env.REGISTRY }}/${{ env.REPOSITORY }}/frontend-service:${{ env.short_sha }}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- name: Run Helm
shell: bash
run: ./infrastructure/kubernetes/manifests/10-infrastructure/ingress-nginx/install.sh
run: ./deploy/infrastructure/kubernetes/manifests/10-infrastructure/ingress-nginx/install.sh

- name: Initialize Terraform
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/order-service-container-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
paths:
- 'dotnet/order-service/**'
- 'services/order-service/dotnet/**'
workflow_dispatch:

env:
Expand Down Expand Up @@ -36,6 +36,6 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: dotnet/order-service
context: services/order-service/dotnet
push: true
tags: ${{ env.REGISTRY }}/${{ env.REPOSITORY }}/order-service:${{ env.short_sha }}
6 changes: 3 additions & 3 deletions .github/workflows/user-service-container-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
paths:
- 'java/user-service/**'
- 'services/user-service/java/**'
workflow_dispatch:

env:
Expand Down Expand Up @@ -47,10 +47,10 @@ jobs:
with:
maven-version: 3.8.2
- name: Build with Maven
run: mvn -B package --file ./java/user-service/pom.xml -DskipTests
run: mvn -B package --file ./services/user-service/java/pom.xml -DskipTests
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: java/user-service
context: services/user-service/java
push: true
tags: ${{ env.REGISTRY }}/${{ env.REPOSITORY }}/user-service:${{ env.short_sha }}
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

0 comments on commit ce69915

Please sign in to comment.