Skip to content

Commit eb098d5

Browse files
authored
acc: enable prod deployment in default-python/combinations (#3146)
1 parent cf14956 commit eb098d5

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

acceptance/bundle/templates/default-python/combinations/classic/output.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,8 @@ Validation OK!
3535
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/X[UNIQUE_NAME]/dev/files...
3636
Deploying resources...
3737
Deployment complete!
38+
39+
>>> [TESTROOT]/bundle/templates/default-python/combinations/classic/../check_output.py [CLI] bundle deploy -t prod
40+
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/X[UNIQUE_NAME]/prod/files...
41+
Deploying resources...
42+
Deployment complete!

acceptance/bundle/templates/default-python/combinations/classic/script

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ trace $CLI bundle validate -t prod
88

99
trace $TESTDIR/../check_output.py $CLI bundle deploy -t dev
1010

11-
# Fails on testserver with: Error: Method Not Allowed
12-
#trace ../check_output.py $CLI bundle deploy -t prod
11+
trace $TESTDIR/../check_output.py $CLI bundle deploy -t prod
1312

1413
cd ..
1514
rm -fr X*

acceptance/bundle/templates/default-python/combinations/serverless/output.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,8 @@ Validation OK!
3535
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/X[UNIQUE_NAME]/dev/files...
3636
Deploying resources...
3737
Deployment complete!
38+
39+
>>> [TESTROOT]/bundle/templates/default-python/combinations/serverless/../check_output.py [CLI] bundle deploy -t prod
40+
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/X[UNIQUE_NAME]/prod/files...
41+
Deploying resources...
42+
Deployment complete!

acceptance/bundle/templates/default-python/combinations/serverless/script

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ trace $CLI bundle validate -t prod
88

99
trace $TESTDIR/../check_output.py $CLI bundle deploy -t dev
1010

11-
# Fails on testserver with: Error: Method Not Allowed
12-
#trace ../check_output.py $CLI bundle deploy -t prod
11+
trace $TESTDIR/../check_output.py $CLI bundle deploy -t prod
1312

1413
cd ..
1514
rm -fr X*

acceptance/bundle/templates/default-python/combinations/test.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ EnvMatrix.DLT = ["yes", "no"]
1212
# INCLUDE_PYTHON
1313
EnvMatrix.PY = ["yes", "no"]
1414

15-
# SERVERLESS -- configured in subtest
16-
#EnvMatrix.S = ["yes", "no"]
15+
[[Server]]
16+
Pattern = "PUT /api/2.0/permissions/directories/0"
17+
Response.Body = '{}'
1718

1819
[[Repls]]
1920
Old = '202\d{5}.\d{5,}'

0 commit comments

Comments
 (0)