@@ -1526,6 +1526,38 @@ tags: []
15261526</details>
15271527<details><summary>Positive test num. 47 - dockerfile file</summary>
15281528
1529+ ` ` ` dockerfile hl_lines="4"
1530+ FROM baseImage
1531+
1532+ ENV ARTEMIS_USER artemis
1533+ ENV ARTEMIS_PASSWORD artemis
1534+
1535+ RUN apk add --no-cache git \
1536+ && git config \
1537+ --global \
1538+ url."https://${GIT_USER}:${GIT_TOKEN}@github.com".insteadOf \
1539+ " https://github.com"
1540+
1541+ ```
1542+ </details >
1543+ <details ><summary >Positive test num. 48 - dockerfile file</summary >
1544+
1545+ ``` dockerfile hl_lines="4"
1546+ FROM baseImage
1547+
1548+ ENV ARTEMIS_USER=artemis
1549+ ENV ARTEMIS_PASSWORD=artemis
1550+
1551+ RUN apk add --no-cache git \
1552+ && git config \
1553+ --global \
1554+ url."https://${GIT_USER}:${GIT_TOKEN}@github.com" .insteadOf \
1555+ "https://github.com"
1556+
1557+ ```
1558+ </details >
1559+ <details ><summary >Positive test num. 49 - dockerfile file</summary >
1560+
15291561``` dockerfile hl_lines="3 7"
15301562FROM baseImage
15311563
@@ -1537,7 +1569,7 @@ ARG password=pass!1213Fs
15371569
15381570```
15391571</details >
1540- <details ><summary >Positive test num. 48 - tf file</summary >
1572+ <details ><summary >Positive test num. 50 - tf file</summary >
15411573
15421574``` tf hl_lines="8"
15431575resource "google_container_cluster" "primary2" {
@@ -1562,7 +1594,7 @@ resource "google_container_cluster" "primary2" {
15621594
15631595```
15641596</details >
1565- <details ><summary >Positive test num. 49 - json file</summary >
1597+ <details ><summary >Positive test num. 51 - json file</summary >
15661598
15671599``` json hl_lines="4 7"
15681600{
@@ -1578,7 +1610,7 @@ resource "google_container_cluster" "primary2" {
15781610
15791611```
15801612</details >
1581- <details ><summary >Positive test num. 50 - tf file</summary >
1613+ <details ><summary >Positive test num. 52 - tf file</summary >
15821614
15831615``` tf hl_lines="8"
15841616resource "google_container_cluster" "primary4" {
@@ -2794,11 +2826,115 @@ data "template_file" "sci_integration_app_properties_secret_template" {
27942826``` dockerfile
27952827FROM baseImage
27962828
2829+ ENV ARTEMIS_USER artemis
2830+
2831+ RUN apk add --no-cache git \
2832+ && git config \
2833+ --global \
2834+ url."https://${GIT_USER}:${GIT_TOKEN}@github.com" .insteadOf \
2835+ "https://github.com"
2836+
2837+
2838+ ```
2839+ </details >
2840+ <details ><summary >Negative test num. 45 - dockerfile file</summary >
2841+
2842+ ``` dockerfile
2843+ FROM baseImage
2844+
27972845RUN command
27982846
27992847```
28002848</details >
2801- <details ><summary >Negative test num. 45 - json file</summary >
2849+ <details ><summary >Negative test num. 46 - dockerfile file</summary >
2850+
2851+ ``` dockerfile
2852+ FROM baseImage
2853+
2854+ ENV ARTEMIS_USER=artemis
2855+
2856+ RUN apk add --no-cache git \
2857+ && git config \
2858+ --global \
2859+ url."https://${GIT_USER}:${GIT_TOKEN}@github.com" .insteadOf \
2860+ "https://github.com"
2861+
2862+
2863+ ```
2864+ </details >
2865+ <details ><summary >Negative test num. 47 - yml file</summary >
2866+
2867+ ``` yml
2868+ stages :
2869+ - template : templates/main-stage.yml
2870+ parameters :
2871+ environment : ' foo'
2872+ isSm9ChangeRequired : true
2873+
2874+ isDedicatedSubscription : ' true'
2875+ setResourceLock : ' true'
2876+ nameResourceLock : ' PrdPreventAccidentalDeletion'
2877+ isDevelopment : ' false'
2878+ # example 1 (placeholders)
2879+ vmAdminPassword : ' $(VM_ADMIN_PASSWORD)' # SET IN PIPELINE
2880+ sqlAdminPassword : ' $(SQL_ADMIN_PASSWORD)' # SET IN PIPELINE
2881+ yetanotherAdminPassword : ' ${{SQL_ADMIN_PASSWORD}}' # SET IN PIPELINE
2882+ andyetanotherAdminPassword : ' ${{ SQL_ADMIN_PASSWORD }}' # SET IN PIPELINE
2883+
2884+ # example 2 (empty string value)
2885+ anotherAdminPassword : ' ' # SET IN PIPELINE
2886+
2887+ serviceConnectionName : ' foo'
2888+ subscriptionId : ' foo'
2889+ organisationalGroup : ' foo' # Replace this with your own Organisational Group name.
2890+ devOrganisationalGroup : ' foo' # should be empty for none DEV env
2891+ sm9ApplicationCi : ' foo' # Replace this with your own SM9 Application CI name.
2892+ resourceGroupBaseName : ' foo' # This is used to construct a Resource Group name. Replace this with your desired resource group name.
2893+ resourceGroupNameSuffix : ' foo' # This is suffixed to the Resource Group name in a Shared subscription (must be an integer). Can be left as-is.
2894+ location : ' foo' # Replace this with your desired Azure region.
2895+ linuxAgentPoolName : ' foo' # Agent pool name of Linux agents. Can be left as-is.
2896+ windowsAgentPoolName : ' foo' # Agent pool name of Windows agents. Can be left as-is.
2897+ System.Debug : ' foo' # Set to 'foo' to enable debug logging. Can be left as-is.
2898+
2899+ skipAdditionalResources : ' foo' # if true skip creating additional resources
2900+ skipSQL : ' foo'
2901+
2902+ # ####################################################################################
2903+ # ADF #
2904+ # ####################################################################################
2905+ adfName : ' foo'
2906+ adfDeveloperGroup : ' foo' # Group has access to ADF
2907+ irName : ' foo'
2908+ irDescription : ' foo'
2909+
2910+
2911+
2912+ ```
2913+ </details >
2914+ <details ><summary >Negative test num. 48 - yml file</summary >
2915+
2916+ ``` yml
2917+ version : ' 3.7'
2918+
2919+ services :
2920+ apis :
2921+ image : " "
2922+ env_file :
2923+ - .env
2924+ environment :
2925+ env : " dev"
2926+
2927+ # this value is a Docker Compose secrets path, its contents are not exposed
2928+ PrivateKey : /run/secrets/SOME_AUTHORIZATION_PRIVATE_KEY
2929+
2930+ secrets :
2931+ SOME_AUTHORIZATION_PRIVATE_KEY :
2932+ external : true
2933+
2934+
2935+ ```
2936+ </details >
2937+ <details ><summary >Negative test num. 49 - json file</summary >
28022938
28032939``` json
28042940{
@@ -2818,7 +2954,7 @@ RUN command
28182954
28192955```
28202956</details >
2821- <details ><summary >Negative test num. 46 - tf file</summary >
2957+ <details ><summary >Negative test num. 50 - tf file</summary >
28222958
28232959``` tf
28242960resource "google_container_cluster" "primary3" {
@@ -2843,7 +2979,7 @@ resource "google_container_cluster" "primary3" {
28432979
28442980```
28452981</details >
2846- <details ><summary >Negative test num. 47 - tf file</summary >
2982+ <details ><summary >Negative test num. 51 - tf file</summary >
28472983
28482984``` tf
28492985resource "google_container_cluster" "primary5" {
@@ -2868,7 +3004,7 @@ resource "google_container_cluster" "primary5" {
28683004
28693005```
28703006</details >
2871- <details ><summary >Negative test num. 48 - tf file</summary >
3007+ <details ><summary >Negative test num. 52 - tf file</summary >
28723008
28733009``` tf
28743010resource "google_secret_manager_secret" "secret-basic" {
0 commit comments