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

Do not generate docker configuration on pubcloud #270

Merged
merged 3 commits into from
Oct 28, 2024

Conversation

mssola
Copy link
Contributor

@mssola mssola commented Oct 8, 2024

Fixes bsc#1231185

How to test

If you use SUSEConnect on Glue, the configuration should happen, otherwise it won't be generated.

@mssola mssola requested a review from felixsch October 8, 2024 08:03
@mssola mssola force-pushed the suseconnect-do-not-generate-docker-on-pubcloud branch from b1827de to 86a79cd Compare October 8, 2024 08:14
@mssola
Copy link
Contributor Author

mssola commented Oct 9, 2024

@mssola mssola force-pushed the suseconnect-do-not-generate-docker-on-pubcloud branch from 86a79cd to 78c1112 Compare October 14, 2024 13:42
Copy link
Contributor

@felixsch felixsch left a comment

Choose a reason for hiding this comment

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

lgtm 👍

How I reviewed this merge request:

  • Checked the code changes to suggest improvements
  • Built connect and ran against a RMT and SCC to checked that the credentials are set accordingly

As always, if you think I missed something, I should look into, please let me know!🚀

cheers,

@mssola mssola force-pushed the suseconnect-do-not-generate-docker-on-pubcloud branch from c1461c7 to d13d099 Compare October 25, 2024 14:15
This allows the internal configuration of SUSEConnect to understand on
which kind of server it's trying to connect. This is relevant in case we
want to perform some operations on SCC and some others on RMT.

Signed-off-by: Miquel Sabaté Solà <[email protected]>
Fixes bsc#1231185

Signed-off-by: Miquel Sabaté Solà <[email protected]>
@mssola mssola force-pushed the suseconnect-do-not-generate-docker-on-pubcloud branch from d13d099 to 77d734f Compare October 25, 2024 14:17
@mssola
Copy link
Contributor Author

mssola commented Oct 25, 2024

@felixsch check again. Now tests are passing. Note that I have added a couple of other paths in which to double check the "server type". I have tested it locally and it appears to work, but double check just to be sure 😉

@felixsch
Copy link
Contributor

@felixsch check again. Now tests are passing. Note that I have added a couple of other paths in which to double check the "server type". I have tested it locally and it appears to work, but double check just to be sure 😉

Nice will do. Do you mind adding it to labels as well? Then I do not need to do another PR :)

Signed-off-by: Miquel Sabaté Solà <[email protected]>
Copy link
Contributor

@felixsch felixsch left a comment

Choose a reason for hiding this comment

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

lgtm 👍

How I reviewed this merge request:

  • Checked the code changes and see it working when:
    • Running against SCC and check if the file is placed and labels are set
    • Running against RMT and check that the file is not placed and labels are not sent
  • Checked the changes and added improvements if I think they would make sense

As always, if you think I missed something I should test please let me know!🚀

cheers,

@mssola mssola merged commit 4b63a24 into main Oct 28, 2024
2 checks passed
@mssola mssola deleted the suseconnect-do-not-generate-docker-on-pubcloud branch October 28, 2024 13:20
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