Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor some CI scripts #6276

Merged
merged 6 commits into from
Nov 14, 2024
Merged

Conversation

cognifloyd
Copy link
Member

This PR's commits were extracted from #6273 where I'm working on getting pants+pytest to run integration tests.

This PR just refactors some CI scripts to prepare for (a) running integration tests via pants, and (b) the PR where we enable configuring StackStorm via env vars (a new oslo_config feature). Since this is an internal-only change/refactor, I added the no changelog No Changelog.rst needed for this PR label.

It is probably easiest to review each commit+commit message of this PR as github's diff is confusing in at least one place.

conf/st2.dev.conf already sets [coordination].url, so we do not
need to use sed to enable it again.

It looks like the st2.dev.conf change happened shortly after the
sed logic was added to prepare-integration.sh.
@cognifloyd cognifloyd added this to the pants milestone Nov 12, 2024
@cognifloyd cognifloyd self-assigned this Nov 12, 2024
@pull-request-size pull-request-size bot added the size/M PR that changes 30-99 lines. Good size to review. label Nov 12, 2024
@cognifloyd cognifloyd requested a review from a team November 13, 2024 16:18
@cognifloyd cognifloyd merged commit 6ee7ed7 into master Nov 14, 2024
48 checks passed
@cognifloyd cognifloyd deleted the pants-itests-refactor-ci-scripts branch November 14, 2024 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure: ci/cd maintenance no changelog No Changelog.rst needed for this PR refactor size/M PR that changes 30-99 lines. Good size to review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants