Skip to content

feat: add integration tests for htc example#3

Open
marcelorobj wants to merge 10 commits into
mainfrom
feat/add-integration-tests-htc
Open

feat: add integration tests for htc example#3
marcelorobj wants to merge 10 commits into
mainfrom
feat/add-integration-tests-htc

Conversation

@marcelorobj

Copy link
Copy Markdown
Owner

No description provided.

Comment thread build/int.cloudbuild.htc.yaml Outdated
[
"/bin/bash",
"-c",
"cft test run TestStandaloneHTCExample --stage verify --verbose || (cft test run TestStandaloneHTCExample --stage apply --verbose && cft test run TestStandaloneHTCExample --stage verify --verbose)",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we have an or condition here?

@marcelorobj marcelorobj Sep 16, 2025

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If i understand correctly, the apply step will be run again if the verify stage fails. The verify step is then retried after the apply.

I believe this was added because the apply step may fail before this one runs, making the entire run fail.

The same or condition can be seen in the verify stage of 3 out of the other 4 yaml files for CI, with the hpc pipeline being the only one missing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants