Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions hack/e2e/e2e-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,28 @@ function run_test() {

echo "[dtm e2e test script] Start dtm e2e test locally!"
./dtm apply -f ${CONFIG_FILENAME} -y
if [ $? -ne 0 ]; then
echo "[dtm e2e test script] Execute dtm apply failed!"
clean_up
exit 1
fi

check_status

./dtm verify -f ${CONFIG_FILENAME}
if [ $? -ne 0 ]; then
echo "[dtm e2e test script] Execute dtm verify failed!"
clean_up
exit 1
fi

./dtm delete -f ${CONFIG_FILENAME} -y
if [ $? -ne 0 ]; then
echo "[dtm e2e test script] Execute dtm delete failed!"
clean_up
exit 1
fi

cd -
}

Expand Down
2 changes: 1 addition & 1 deletion test/e2e/yaml/e2e-test-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tools:
owner: [[ githubUsername ]]
repo: [[ repoName ]]
branch: [[ defaultBranch ]]
image_repo: [[ dockerRegistryUserName ]]/[[ repoName ]]
image_repo: "[[ dockerRegistryUserName ]]/[[ repoName ]]"
- name: githubactions-golang
instanceID: default
dependsOn: ["github-repo-scaffolding-golang.default"]
Expand Down