Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/run-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,43 @@ jobs:
resourceGroup: ${{ vars.TEST_RESOURCE_GROUP_NAME }}
disableTelemetry: ${{ vars.TEST_DISABLE_TELEMETRY }}

update-using-image-and-env-variables:

name: 'Update app using image and environment variables'
runs-on: ubuntu-latest
timeout-minutes: 10

env:
TEST_IMAGE_TAG: 'fd-${{ github.run_id }}'
TEST_CONTAINER_APP_NAME: 'update-using-image-app'

steps:
- name: Checkout action repository
uses: actions/checkout@v3

- name: Clone Oryx repository
uses: actions/checkout@v3
with:
repository: microsoft/Oryx
path: oryx

- name: Log in to Azure
uses: azure/login@v1
with:
creds: ${{ secrets.TEST_AZURE_CREDENTIALS }}

- name: Execute Azure Container Apps Build and Deploy Action
uses: ./
with:
appSourcePath: ${{ github.workspace }}/oryx/tests/SampleApps/DotNetCore/NetCore6PreviewWebApp
acrName: ${{ vars.TEST_ACR_NAME }}
imageToBuild: ${{ env.TEST_FULL_ACR_NAME }}/${{ env.TEST_IMAGE_REPOSITORY }}:${{ env.TEST_IMAGE_TAG }}
targetPort: 80
containerAppName: ${{ env.TEST_CONTAINER_APP_NAME }}
environmentVariables: 'TEST_ENV_VAR_1=TEST_ENV_VAR_1_VALUE,TEST_ENV_VAR_2=TEST_ENV_VAR_2_VALUE'
resourceGroup: ${{ vars.TEST_RESOURCE_GROUP_NAME }}
disableTelemetry: ${{ vars.TEST_DISABLE_TELEMETRY }}

update-using-image-yaml:

name: 'Update app using image with YAML configuration'
Expand Down