-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix linting issues in github actions (#1637)
- Loading branch information
1 parent
42f155b
commit a1c0878
Showing
12 changed files
with
76 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
# | ||
name: "CodeQL" | ||
|
||
on: | ||
on: # yamllint disable-line rule:truthy | ||
push: | ||
branches: [main] | ||
pull_request: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
name: Deploy Azure TRE Resuable | ||
|
||
on: | ||
on: # yamllint disable-line rule:truthy | ||
workflow_call: | ||
inputs: | ||
prRef: | ||
|
@@ -23,58 +23,85 @@ on: | |
required: false | ||
secrets: | ||
AAD_TENANT_ID: | ||
description: "" | ||
required: true | ||
ACR_NAME: | ||
description: "" | ||
required: true | ||
ACTIONS_ACR_NAME: | ||
description: "" | ||
required: true | ||
ACTIONS_ACR_URI: | ||
description: "" | ||
required: true | ||
ACTIONS_ACR_PASSWORD: | ||
description: "" | ||
required: true | ||
ACTIONS_DEVCONTAINER_TAG: | ||
description: "" | ||
required: true | ||
API_CLIENT_ID: | ||
description: "" | ||
required: true | ||
API_CLIENT_SECRET: | ||
description: "" | ||
required: true | ||
ARM_CLIENT_ID: | ||
description: "" | ||
required: true | ||
ARM_CLIENT_SECRET: | ||
description: "" | ||
required: true | ||
ARM_SUBSCRIPTION_ID: | ||
description: "" | ||
required: true | ||
ARM_TENANT_ID: | ||
description: "" | ||
required: true | ||
CORE_ADDRESS_SPACE: | ||
description: "" | ||
required: true | ||
LOCATION: | ||
description: "" | ||
required: true | ||
MGMT_RESOURCE_GROUP: | ||
description: "" | ||
required: true | ||
MS_TEAMS_WEBHOOK_URI: | ||
description: "" | ||
required: true | ||
STATE_STORAGE_ACCOUNT_NAME: | ||
description: "" | ||
required: true | ||
SWAGGER_UI_CLIENT_ID: | ||
description: "" | ||
required: true | ||
TEST_APP_ID: | ||
description: "" | ||
required: true | ||
TEST_WORKSPACE_APP_ID: | ||
description: "" | ||
required: true | ||
TEST_ACCOUNT_CLIENT_ID: | ||
description: "" | ||
required: true | ||
TEST_ACCOUNT_CLIENT_SECRET: | ||
description: "" | ||
required: true | ||
TF_STATE_CONTAINER: | ||
description: "" | ||
required: true | ||
TRE_ADDRESS_SPACE: | ||
description: "" | ||
required: true | ||
TRE_ID: | ||
description: "" | ||
required: true | ||
CI_CACHE_ACR_NAME: | ||
description: "" | ||
required: false | ||
TF_LOG: | ||
description: "" | ||
required: false | ||
|
||
# This will prevent multiple runs of this entire workflow. | ||
|
@@ -116,7 +143,7 @@ jobs: | |
- name: Build new devcontainer | ||
shell: bash | ||
env: | ||
DOCKER_BUILDKIT: 1 | ||
DOCKER_BUILDKIT: 1 | ||
run: | | ||
set -e | ||
USER_UID=$(id -u) | ||
|
@@ -397,8 +424,7 @@ jobs: | |
strategy: | ||
matrix: | ||
include: | ||
# bundles type can be inferred from the bundle | ||
# dir (but this is more explicit) | ||
# bundles type can be inferred from the bundle dir (but this is more explicit) | ||
- {BUNDLE_TYPE: "workspace", | ||
BUNDLE_DIR: "./templates/workspaces/base"} | ||
- {BUNDLE_TYPE: "workspace", | ||
|
@@ -481,8 +507,7 @@ jobs: | |
strategy: | ||
matrix: | ||
include: | ||
# bundles type can be inferred from the bundle | ||
# dir (but this is more explicit) | ||
# bundles type can be inferred from the bundle dir (but this is more explicit) | ||
- {BUNDLE_TYPE: "workspace", | ||
BUNDLE_DIR: "./templates/workspaces/base"} | ||
- {BUNDLE_TYPE: "workspace", | ||
|
@@ -655,7 +680,7 @@ jobs: | |
- uses: technote-space/workflow-conclusion-action@v2 | ||
|
||
- name: Notify teams channel | ||
if: env.WORKFLOW_CONCLUSION == 'failure' # notify only if failure | ||
if: env.WORKFLOW_CONCLUSION == 'failure' # notify only if failure | ||
uses: sachinkundu/[email protected] | ||
with: | ||
github-token: ${{ github.token }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.