Skip to content

Commit 5c91271

Browse files
committed
Run backend only
1 parent ffe1d14 commit 5c91271

1 file changed

Lines changed: 83 additions & 83 deletions

File tree

.github/workflows/build-and-deploy-dev.yml

Lines changed: 83 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -94,69 +94,69 @@ jobs:
9494
platforms: linux/amd64,linux/arm64
9595
tags: ${{ steps.backend_meta.outputs.tags }}
9696

97-
# Build and push frontend
98-
- name: Extract frontend Docker metadata
99-
id: frontend_meta
100-
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
101-
with:
102-
images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/frontend
103-
tags: |
104-
type=raw,value=${{ env.IMAGE_TAG }}
105-
type=raw,value=${{ github.sha }}
106-
type=raw,value=${{ env.RUN_TIMESTAMP }}
107-
108-
- name: Build and push frontend image
109-
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
110-
with:
111-
context: ./app/next-client-app
112-
file: ./app/next-client-app/Dockerfile
113-
push: true
114-
platforms: linux/amd64,linux/arm64
115-
tags: ${{ steps.frontend_meta.outputs.tags }}
116-
cache-from: type=gha
117-
cache-to: type=gha,mode=max
118-
119-
# Build and push Airflow webserver
120-
- name: Extract Airflow webserver Docker metadata
121-
id: airflow_webserver_meta
122-
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
123-
with:
124-
images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/airflow-webserver
125-
tags: |
126-
type=raw,value=${{ env.IMAGE_TAG }}
127-
type=raw,value=${{ github.sha }}
128-
type=raw,value=${{ env.RUN_TIMESTAMP }}
129-
130-
- name: Build and push Airflow webserver image
131-
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
132-
with:
133-
context: ./app/airflow
134-
file: ./app/airflow/Dockerfile
135-
build-args: AIRFLOW_COMPONENT=webserver
136-
push: true
137-
platforms: linux/amd64,linux/arm64
138-
tags: ${{ steps.airflow_webserver_meta.outputs.tags }}
139-
140-
# Build and push Airflow scheduler
141-
- name: Extract Airflow scheduler Docker metadata
142-
id: airflow_scheduler_meta
143-
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
144-
with:
145-
images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/airflow-scheduler
146-
tags: |
147-
type=raw,value=${{ env.IMAGE_TAG }}
148-
type=raw,value=${{ github.sha }}
149-
type=raw,value=${{ env.RUN_TIMESTAMP }}
150-
151-
- name: Build and push Airflow scheduler image
152-
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
153-
with:
154-
context: ./app/airflow
155-
file: ./app/airflow/Dockerfile
156-
build-args: AIRFLOW_COMPONENT=scheduler
157-
push: true
158-
platforms: linux/amd64,linux/arm64
159-
tags: ${{ steps.airflow_scheduler_meta.outputs.tags }}
97+
# # Build and push frontend
98+
# - name: Extract frontend Docker metadata
99+
# id: frontend_meta
100+
# uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
101+
# with:
102+
# images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/frontend
103+
# tags: |
104+
# type=raw,value=${{ env.IMAGE_TAG }}
105+
# type=raw,value=${{ github.sha }}
106+
# type=raw,value=${{ env.RUN_TIMESTAMP }}
107+
108+
# - name: Build and push frontend image
109+
# uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
110+
# with:
111+
# context: ./app/next-client-app
112+
# file: ./app/next-client-app/Dockerfile
113+
# push: true
114+
# platforms: linux/amd64,linux/arm64
115+
# tags: ${{ steps.frontend_meta.outputs.tags }}
116+
# cache-from: type=gha
117+
# cache-to: type=gha,mode=max
118+
119+
# # Build and push Airflow webserver
120+
# - name: Extract Airflow webserver Docker metadata
121+
# id: airflow_webserver_meta
122+
# uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
123+
# with:
124+
# images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/airflow-webserver
125+
# tags: |
126+
# type=raw,value=${{ env.IMAGE_TAG }}
127+
# type=raw,value=${{ github.sha }}
128+
# type=raw,value=${{ env.RUN_TIMESTAMP }}
129+
130+
# - name: Build and push Airflow webserver image
131+
# uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
132+
# with:
133+
# context: ./app/airflow
134+
# file: ./app/airflow/Dockerfile
135+
# build-args: AIRFLOW_COMPONENT=webserver
136+
# push: true
137+
# platforms: linux/amd64,linux/arm64
138+
# tags: ${{ steps.airflow_webserver_meta.outputs.tags }}
139+
140+
# # Build and push Airflow scheduler
141+
# - name: Extract Airflow scheduler Docker metadata
142+
# id: airflow_scheduler_meta
143+
# uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
144+
# with:
145+
# images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/airflow-scheduler
146+
# tags: |
147+
# type=raw,value=${{ env.IMAGE_TAG }}
148+
# type=raw,value=${{ github.sha }}
149+
# type=raw,value=${{ env.RUN_TIMESTAMP }}
150+
151+
# - name: Build and push Airflow scheduler image
152+
# uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
153+
# with:
154+
# context: ./app/airflow
155+
# file: ./app/airflow/Dockerfile
156+
# build-args: AIRFLOW_COMPONENT=scheduler
157+
# push: true
158+
# platforms: linux/amd64,linux/arm64
159+
# tags: ${{ steps.airflow_scheduler_meta.outputs.tags }}
160160

161161
# =============================================================================
162162
# DEPLOY TO DEV ENVIRONMENT
@@ -169,23 +169,23 @@ jobs:
169169
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
170170
images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/backend:${{ env.IMAGE_TAG }}
171171

172-
- name: Deploy Frontend to Dev
173-
uses: azure/webapps-deploy@2fdd5c3ebb4e540834e86ecc1f6fdcd5539023ee # v3.0.2
174-
with:
175-
app-name: ${{ vars.AZURE_WEBAPP_NEXT_NAME }}
176-
publish-profile: ${{ secrets.AZURE_WEBAPP_NEXT_PUBLISH_PROFILE }}
177-
images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/frontend:${{ env.IMAGE_TAG }}
178-
179-
- name: Deploy Airflow Webserver to Dev
180-
uses: azure/webapps-deploy@2fdd5c3ebb4e540834e86ecc1f6fdcd5539023ee # v3.0.2
181-
with:
182-
app-name: ${{ vars.AIRFLOW_WEBSERVER_NAME }}
183-
publish-profile: ${{ secrets.AIRFLOW_WEBSERVER_PUBLISH_PROFILE }}
184-
images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/airflow-webserver:${{ env.IMAGE_TAG }}
185-
186-
- name: Deploy Airflow Scheduler to Dev
187-
uses: azure/webapps-deploy@2fdd5c3ebb4e540834e86ecc1f6fdcd5539023ee # v3.0.2
188-
with:
189-
app-name: ${{ vars.AIRFLOW_SCHEDULER_NAME }}
190-
publish-profile: ${{ secrets.AIRFLOW_SCHEDULER_PUBLISH_PROFILE }}
191-
images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/airflow-scheduler:${{ env.IMAGE_TAG }}
172+
# - name: Deploy Frontend to Dev
173+
# uses: azure/webapps-deploy@2fdd5c3ebb4e540834e86ecc1f6fdcd5539023ee # v3.0.2
174+
# with:
175+
# app-name: ${{ vars.AZURE_WEBAPP_NEXT_NAME }}
176+
# publish-profile: ${{ secrets.AZURE_WEBAPP_NEXT_PUBLISH_PROFILE }}
177+
# images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/frontend:${{ env.IMAGE_TAG }}
178+
179+
# - name: Deploy Airflow Webserver to Dev
180+
# uses: azure/webapps-deploy@2fdd5c3ebb4e540834e86ecc1f6fdcd5539023ee # v3.0.2
181+
# with:
182+
# app-name: ${{ vars.AIRFLOW_WEBSERVER_NAME }}
183+
# publish-profile: ${{ secrets.AIRFLOW_WEBSERVER_PUBLISH_PROFILE }}
184+
# images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/airflow-webserver:${{ env.IMAGE_TAG }}
185+
186+
# - name: Deploy Airflow Scheduler to Dev
187+
# uses: azure/webapps-deploy@2fdd5c3ebb4e540834e86ecc1f6fdcd5539023ee # v3.0.2
188+
# with:
189+
# app-name: ${{ vars.AIRFLOW_SCHEDULER_NAME }}
190+
# publish-profile: ${{ secrets.AIRFLOW_SCHEDULER_PUBLISH_PROFILE }}
191+
# images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/airflow-scheduler:${{ env.IMAGE_TAG }}

0 commit comments

Comments
 (0)