fix: correctly pull the deployment id from an app's helm values when executing dokku run under the k3s scheduler
- Fix the internal identifier of deployment_id -> deployment_id - Add tests for both enter and run.
This commit is contained in:
@@ -148,6 +148,18 @@ teardown_() {
|
||||
echo "status: $status"
|
||||
assert_success
|
||||
assert_output "512Mi"
|
||||
|
||||
# include run tests
|
||||
run /bin/bash -c "dokku run $TEST_APP ls -lah"
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
assert_success
|
||||
|
||||
# include enter tests
|
||||
run /bin/bash -c "dokku enter $TEST_APP web ls -lah"
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
assert_success
|
||||
}
|
||||
|
||||
@test "(scheduler-k3s) deploy nginx" {
|
||||
|
||||
Reference in New Issue
Block a user