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:
Jose Diaz-Gonzalez
2024-11-03 14:27:09 -05:00
parent ef061ef32b
commit fd2cfe8080
10 changed files with 35 additions and 18 deletions

View File

@@ -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" {