Skip to content

Commit fe46df4

Browse files
committed
remove DEFANG_INTERNAL_TEST
1 parent 27c61b3 commit fe46df4

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ jobs:
3131
cwd: "./test"
3232
compose-files: "compose.yaml compose.prod.yaml"
3333
mode: "staging"
34+
command: "compose up --dry-run"
3435
env:
3536
DEFANG_GH_ACTION_TEST_MESSAGE: ${{ secrets.MESSAGE }}
36-
DEFANG_INTERNAL_TEST: dfng-test
3737

3838
- name: Deploy-Empty-Params
3939
uses: ./
@@ -44,8 +44,7 @@ jobs:
4444
cwd: "./test"
4545
compose-files: ""
4646
mode: ""
47-
env:
48-
DEFANG_INTERNAL_TEST: dfng-test
47+
command: "compose up --dry-run --project-name github-action-test"
4948

5049
- name: Teardown
5150
run: defang config rm DEFANG_GH_ACTION_TEST_MESSAGE

action.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,6 @@ runs:
9090
params+=("--mode=${{ inputs['mode'] }}")
9191
fi
9292
93-
if [[ "${DEFANG_INTERNAL_TEST}" == "dfng-test" ]]; then
94-
# `--dry-run` is used for testing as --mode flag is only available to the "compose up" command
95-
params+=("--dry-run")
96-
fi
97-
9893
echo defang $COMMAND "${params[@]}"
9994
defang $COMMAND "${params[@]}"
10095
env:

0 commit comments

Comments
 (0)