Skip to content
This repository was archived by the owner on Oct 30, 2023. It is now read-only.

Commit 9a8207a

Browse files
committedJul 13, 2023
commenting out the azure deployment pieces from the CICD
Signed-off-by: Yesenia Yser <107970777+CyberJiteira@users.noreply.github.com>
1 parent 263d29f commit 9a8207a

File tree

3 files changed

+55
-52
lines changed

3 files changed

+55
-52
lines changed
 

‎.github/workflows/deploy-to-azure.yml

+21-21
Original file line numberDiff line numberDiff line change
@@ -84,24 +84,24 @@ jobs:
8484
cache-from: type=gha
8585
cache-to: type=gha,mode=max
8686

87-
deploy-dev:
88-
permissions:
89-
contents: none
90-
runs-on: ubuntu-latest
91-
needs: build-dev
92-
environment:
93-
name: 'Development'
94-
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
95-
96-
steps:
97-
- name: Deploy Dev to Azure Web App
98-
run: |
99-
echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
100-
101-
- name: Deploy to Azure Web App
102-
id: deploy-to-webapp
103-
uses: azure/webapps-deploy@v2
104-
with:
105-
app-name: ${{ env.AZURE_WEBAPP_NAME }}
106-
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
107-
images: 'ghcr.io/${{ env.REPO }}:${{ github.sha }}'
87+
# deploy-dev:
88+
# permissions:
89+
# contents: none
90+
# runs-on: ubuntu-latest
91+
# needs: build-dev
92+
# environment:
93+
# name: 'Development'
94+
# url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
95+
#
96+
# steps:
97+
# - name: Deploy Dev to Azure Web App
98+
# run: |
99+
# echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
100+
#
101+
# - name: Deploy to Azure Web App
102+
# id: deploy-to-webapp
103+
# uses: azure/webapps-deploy@v2
104+
# with:
105+
# app-name: ${{ env.AZURE_WEBAPP_NAME }}
106+
# publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
107+
# images: 'ghcr.io/${{ env.REPO }}:${{ github.sha }}'

‎.github/workflows/publish.yml

+13-13
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,16 @@ jobs:
4545
push: true
4646
files: docker-compose.yml, docker-compose.ghcr.yml
4747

48-
- name: Login to Azure Container Registry
49-
uses: docker/login-action@v2
50-
with:
51-
registry: omegatriagecontainerreg.azurecr.io
52-
username: ${{ secrets.AZURE_CLIENT_ID }}
53-
password: ${{ secrets.AZURE_CLIENT_SECRET }}
54-
55-
- name: Build and Push to Azure Container Registry
56-
uses: docker/bake-action@v1.1.3
57-
with:
58-
builder: ${{ steps.buildx.outputs.name }}
59-
push: true
60-
files: docker-compose.yml, docker-compose.azure.yml
48+
# - name: Login to Azure Container Registry
49+
# uses: docker/login-action@v2
50+
# with:
51+
# registry: omegatriagecontainerreg.azurecr.io
52+
# username: ${{ secrets.AZURE_CLIENT_ID }}
53+
# password: ${{ secrets.AZURE_CLIENT_SECRET }}
54+
#
55+
# - name: Build and Push to Azure Container Registry
56+
# uses: docker/bake-action@v1.1.3
57+
# with:
58+
# builder: ${{ steps.buildx.outputs.name }}
59+
# push: true
60+
# files: docker-compose.yml, docker-compose.azure.yml

‎docker-compose.azure.yml

+21-18
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
1-
version: '3.9'
2-
3-
services:
4-
redis:
5-
image: omegatriagecontainerreg.azurecr.io/redis
6-
restart: unless-stopped
7-
volumes:
8-
- redis-data:/data
9-
10-
triage-portal:
11-
image: omegatriagecontainerreg.azurecr.io/omega-triage-portal
12-
13-
volumes:
14-
redis-data:
15-
driver: azure_file
16-
driver_opts:
17-
share_name: triage-redis-data
18-
storage_account_name: ${AZURE_STORAGE_ACCOUNT_NAME:-alphaomegaoafdev2}
1+
# NOTE:Azure CICD deploy no longer in use.
2+
# Commenting out section in the event we return to Azure deployment
3+
#
4+
#version: '3.9'
5+
#
6+
#services:
7+
# redis:
8+
# image: omegatriagecontainerreg.azurecr.io/redis
9+
# restart: unless-stopped
10+
# volumes:
11+
# - redis-data:/data
12+
#
13+
# triage-portal:
14+
# image: omegatriagecontainerreg.azurecr.io/omega-triage-portal
15+
#
16+
#volumes:
17+
# redis-data:
18+
# driver: azure_file
19+
# driver_opts:
20+
# share_name: triage-redis-data
21+
# storage_account_name: ${AZURE_STORAGE_ACCOUNT_NAME:-alphaomegaoafdev2}

0 commit comments

Comments
 (0)
This repository has been archived.