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

Naming: rename setup and cleanup tasks #2184

Merged
merged 1 commit into from
Jan 7, 2025
Merged

Conversation

kosstennbl
Copy link
Collaborator

@kosstennbl kosstennbl commented Nov 29, 2024

Description

Rename cnf_setup, cnf_cleanup and setup tasks to cnf_install, cnf_uninstall, install_dependencies
Change documentation, specs and code accordingly

Issues:

Refs: #2181

@kosstennbl kosstennbl marked this pull request as draft November 29, 2024 09:47
@kosstennbl
Copy link
Collaborator Author

kosstennbl commented Nov 29, 2024

Based on #2182, should be merged only after it or rebased

@kosstennbl kosstennbl force-pushed the #2181-rename-setup-tasks branch 2 times, most recently from 9739fb9 to a41b684 Compare December 3, 2024 09:39
Copy link
Collaborator

@svteb svteb left a comment

Choose a reason for hiding this comment

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

Needs some small changes

spec/setup_spec.cr Outdated Show resolved Hide resolved
src/tasks/utils/cnf_installation/install_common.cr Outdated Show resolved Hide resolved
src/tasks/utils/cnf_manager.cr Outdated Show resolved Hide resolved
src/tasks/workload/compatibility.cr Outdated Show resolved Hide resolved
src/tasks/workload/observability.cr Outdated Show resolved Hide resolved
@svteb svteb force-pushed the #2181-rename-setup-tasks branch from a41b684 to ace6b29 Compare December 19, 2024 15:59
@svteb svteb marked this pull request as ready for review December 19, 2024 16:03
Copy link
Collaborator

@svteb svteb left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Collaborator

@collivier collivier left a comment

Choose a reason for hiding this comment

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

I see uninstallation was already in the docs, but maybe, removal is better.
Up to you

CNF_TESTSUITE_YML_USAGE.md Outdated Show resolved Hide resolved
INSTALL.md Show resolved Hide resolved
INSTALL.md Show resolved Hide resolved
SOURCE_INSTALL.md Show resolved Hide resolved
SOURCE_INSTALL.md Show resolved Hide resolved
@svteb svteb requested a review from martin-mat December 23, 2024 20:55
Refs: #2181

Rename cnf_setup, cnf_cleanup and cluster_api_setup, cluster_api_cleanup tasks to
cnf_install, cnf_uninstall and cluster_api_install, cluster_api_uninstall.
Change documentation, specs and code accordingly.

Signed-off-by: Konstantin Yarovoy <[email protected]>
@svteb svteb force-pushed the #2181-rename-setup-tasks branch from ace6b29 to 5e02b43 Compare January 7, 2025 08:09
@martin-mat martin-mat merged commit bb16348 into main Jan 7, 2025
94 of 160 checks passed
@collivier
Copy link
Collaborator

@svteb @martin-mat this may raise some side effects. I see some jobs can't pass now both on my PR and on main. More to come

@collivier collivier deleted the #2181-rename-setup-tasks branch January 7, 2025 18:08
@svteb
Copy link
Collaborator

svteb commented Jan 8, 2025

@svteb @martin-mat this may raise some side effects. I see some jobs can't pass now both on my PR and on main. More to come

Some more info on this? I don;t quite understand why.

@collivier
Copy link
Collaborator

@svteb right now just by observation: all the same jobs fail after multiple tries vs main and the PR about PSS. I'm on it (it could be also the previous commit).

svteb added a commit that referenced this pull request Jan 9, 2025
- GH actions tag discovery command requires that there is a space between
colon and the left bracket.
- This has gone unnoticed in the #2184 pull request.

Signed-off-by: svteb <[email protected]>
svteb added a commit that referenced this pull request Jan 9, 2025
- GH actions tag discovery command requires that there is a space between
  colon and the left bracket, this wasn't discovered and the skip started
  occuring in #2184.
- Additionally there was an undiscovered error due to this test being
  skipped, which is now resolved (a message that is to be checked was
  changed).

Signed-off-by: svteb <[email protected]>
svteb added a commit that referenced this pull request Jan 16, 2025
Refs: #2209
- The "uninstall_all" was broken during development of #2120,
to fix the issue a failure when there is no CNF to uninstall
has been relegated to a warning and exit 1 was removed.
- Two spec tests have been added to avoid this scenario
in the future.
- Additionally some renaming was left-over from #2184 that
was resolved.

Signed-off-by: svteb <[email protected]>
@svteb svteb mentioned this pull request Jan 16, 2025
20 tasks
collivier pushed a commit that referenced this pull request Jan 16, 2025
Refs: #2209
- The "uninstall_all" was broken during development of #2120,
to fix the issue a failure when there is no CNF to uninstall
has been relegated to a warning and exit 1 was removed.
- Two spec tests have been added to avoid this scenario
in the future.
- Additionally some renaming was left-over from #2184 that
was resolved.

Signed-off-by: svteb <[email protected]>
svteb added a commit that referenced this pull request Jan 17, 2025
Refs: #2209
- The "uninstall_all" was broken during development of #2120,
to fix the issue a failure when there is no CNF to uninstall
has been relegated to a warning and exit 1 was removed.
- Two spec tests have been added to avoid this scenario
in the future.
- Additionally some renaming was left-over from #2184 that
was resolved.

Signed-off-by: svteb <[email protected]>
svteb added a commit that referenced this pull request Jan 17, 2025
Refs: #2209
- The "uninstall_all" was broken during development of #2120,
to fix the issue a failure when there is no CNF to uninstall
has been relegated to a warning and exit 1 was removed.
- Two spec tests have been added to avoid this scenario
in the future.
- Additionally some renaming was left-over from #2184 that
was resolved.

Signed-off-by: svteb <[email protected]>
svteb added a commit that referenced this pull request Jan 17, 2025
Refs: #2209
- The "uninstall_all" was broken during development of #2120,
to fix the issue a failure when there is no CNF to uninstall
has been relegated to a warning and exit 1 was removed.
- Two spec tests have been added to avoid this scenario
in the future.
- Additionally some renaming was left-over from #2184 that
was resolved.

Signed-off-by: svteb <[email protected]>
svteb added a commit that referenced this pull request Jan 17, 2025
Refs: #2209
- The "uninstall_all" was broken during development of #2120,
to fix the issue a failure when there is no CNF to uninstall
has been relegated to a warning and exit 1 was removed.
- Two spec tests have been added to avoid this scenario
in the future.
- Additionally some renaming was left-over from #2184 that
was resolved.

Signed-off-by: svteb <[email protected]>
svteb added a commit that referenced this pull request Jan 17, 2025
Refs: #2209
- The "uninstall_all" was broken during development of #2120,
to fix the issue a failure when there is no CNF to uninstall
has been relegated to a warning and exit 1 was removed.
- Two spec tests have been added to avoid this scenario
in the future.
- Additionally some renaming was left-over from #2184 that
was resolved.

Signed-off-by: svteb <[email protected]>
martin-mat pushed a commit that referenced this pull request Jan 17, 2025
Refs: #2209
- The "uninstall_all" was broken during development of #2120,
to fix the issue a failure when there is no CNF to uninstall
has been relegated to a warning and exit 1 was removed.
- Two spec tests have been added to avoid this scenario
in the future.
- Additionally some renaming was left-over from #2184 that
was resolved.

Signed-off-by: svteb <[email protected]>
svteb added a commit that referenced this pull request Jan 17, 2025
- GH actions tag discovery command requires that there is a space between
  colon and the left bracket, this wasn't discovered and the skip started
  occuring in #2184.
- Additionally there was an undiscovered error due to this test being
  skipped, which is now resolved (a message that is to be checked was
  changed).

Signed-off-by: svteb <[email protected]>
martin-mat pushed a commit that referenced this pull request Jan 17, 2025
- GH actions tag discovery command requires that there is a space between
  colon and the left bracket, this wasn't discovered and the skip started
  occuring in #2184.
- Additionally there was an undiscovered error due to this test being
  skipped, which is now resolved (a message that is to be checked was
  changed).

Signed-off-by: svteb <[email protected]>
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.

4 participants