From 65d67dba1082ed80abff19b375e698f7f1f87209 Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Wed, 14 Feb 2024 23:50:09 +0000 Subject: [PATCH] Fix k8s and enable it by default on PRs (#742) Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/742 Co-authored-by: Thomas E Lackey Co-committed-by: Thomas E Lackey --- .gitea/workflows/test-k8s-deploy.yml | 2 ++ tests/k8s-deploy/run-deploy-test.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test-k8s-deploy.yml b/.gitea/workflows/test-k8s-deploy.yml index 50315363..7df39132 100644 --- a/.gitea/workflows/test-k8s-deploy.yml +++ b/.gitea/workflows/test-k8s-deploy.yml @@ -1,6 +1,8 @@ name: K8s Deploy Test on: + pull_request: + branches: '*' push: branches: '*' paths: diff --git a/tests/k8s-deploy/run-deploy-test.sh b/tests/k8s-deploy/run-deploy-test.sh index ef257008..e482a5b7 100755 --- a/tests/k8s-deploy/run-deploy-test.sh +++ b/tests/k8s-deploy/run-deploy-test.sh @@ -103,7 +103,7 @@ if [ ! "$create_file_content" == "create-command-output-data" ]; then fi # Add a config file to be picked up by the ConfigMap before starting. -echo "dbfc7a4d-44a7-416d-b5f3-29842cc47650" > $test_deployment_dir/configmap/test-config/test_config +echo "dbfc7a4d-44a7-416d-b5f3-29842cc47650" > $test_deployment_dir/configmaps/test-config/test_config echo "deploy create output file test: passed" # Try to start the deployment