Skip to content

Commit a5dea5c

Browse files
committed
actions: test builer-api 1
1 parent 644f998 commit a5dea5c

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.github/workflows/devbox-deploy-builder-api.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ name: 'Build and Deploy Builder API to Cloud Run'
66
on:
77
push:
88
branches:
9-
# - 157-offline-dev
10-
- main
9+
- 157-offline-dev
1110
paths:
1211
- 'builder-api/**'
1312
- 'devbox.json'
@@ -47,19 +46,16 @@ jobs:
4746
service_account: cicd-build-deploy-api@benefit-decision-toolkit-play.iam.gserviceaccount.com
4847
project_id: ${{ env.PROJECT_ID }}
4948

50-
- name: 'Set up Cloud SDK'
51-
uses: 'google-github-actions/setup-gcloud@v2'
52-
53-
# Configure Docker to use gcloud as a credential helper
49+
# Configure Docker to use gcloud as a credential helper (using devbox gcloud)
5450
- name: 'Configure Docker'
5551
run: |
56-
gcloud auth configure-docker ${{ env.REGION }}-docker.pkg.dev
52+
devbox run -- gcloud auth configure-docker ${{ env.REGION }}-docker.pkg.dev
5753
5854
# Build the Quarkus app with Maven using devbox environment
5955
- name: 'Build Quarkus App'
6056
working-directory: builder-api
6157
run: |
62-
devbox run -- ./mvnw package -DskipTests
58+
devbox run -- quarkus build --no-tests
6359
6460
- name: 'Build and Push Container'
6561
working-directory: builder-api

.github/workflows/test-devbox.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Testing with devbox
33
on:
44
push:
55
branches:
6-
- 157-offline-dev
6+
- foo
77

88
permissions:
99
id-token: write

0 commit comments

Comments
 (0)