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

Use apt::source keyring to fix apt-key deprecated warnings #885

Open
wants to merge 38 commits into
base: main
Choose a base branch
from

Conversation

vegaaz
Copy link

@vegaaz vegaaz commented Jan 2, 2023

This PR could possibly resolve #884

@vegaaz vegaaz requested a review from a team as a code owner January 2, 2023 15:30
@CLAassistant
Copy link

CLAassistant commented Jan 2, 2023

CLA assistant check
All committers have signed the CLA.

@puppet-community-rangefinder
Copy link

docker is a class

Breaking changes to this file WILL impact these 18 modules (exact match):
Breaking changes to this file MAY impact these 24 modules (near match):

docker::params is a class

that may have no external impact to Forge modules.

docker::repos is a class

that may have no external impact to Forge modules.

This module is declared in 6 of 580 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

manifests/init.pp Outdated Show resolved Hide resolved
manifests/init.pp Show resolved Hide resolved
manifests/repos.pp Show resolved Hide resolved
manifests/repos.pp Outdated Show resolved Hide resolved
manifests/repos.pp Outdated Show resolved Hide resolved
@vegaaz
Copy link
Author

vegaaz commented Jan 3, 2023

Thanks for your contribution and good suggestions @bastelfreak @kenyon !
Can someone take a look at the unit/acceptance tests?

In my opinion at least spec/shared_examples/repos.rb line 24-29 need some adjustment.

@kenyon
Copy link
Contributor

kenyon commented Jan 3, 2023

Yes, tests should be added or updated to test this new code.

@vegaaz
Copy link
Author

vegaaz commented Jan 4, 2023

Added some working unit-tests with 5373dea
Since I am not very familiar with rspec there are probably cleaner solutions.
Please feel free to suggest! :)

Since acceptance tests already check if installation of docker is working (and using sources is a part of it) I think there are no additional acceptance tests needed.

@vegaaz
Copy link
Author

vegaaz commented Jan 4, 2023

@kenyon @bastelfreak for some reason the PR Test / Windows 2022, puppet6-nightly keeps failing.
Do you have any idea? 😄

manifests/repos.pp Outdated Show resolved Hide resolved
kenyon
kenyon previously approved these changes Feb 18, 2023
Copy link
Contributor

@kenyon kenyon left a comment

Choose a reason for hiding this comment

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

I haven't tested this, but if it works for you in production, then 👍

I don't have merge ability in this repo.

@puppet-community-rangefinder
Copy link

docker is a class

Breaking changes to this file WILL impact these 19 modules (exact match):
Breaking changes to this file MAY impact these 24 modules (near match):

docker::params is a class

that may have no external impact to Forge modules.

docker::repos is a class

that may have no external impact to Forge modules.

This module is declared in 6 of 580 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

@vegaaz
Copy link
Author

vegaaz commented Mar 6, 2023

#rebased
@bastelfreak @david22swan
Please run tests and feel free to review + merge.

@vegaaz
Copy link
Author

vegaaz commented Mar 23, 2023

@bastelfreak can you approve the workflows?

@vegaaz
Copy link
Author

vegaaz commented Mar 23, 2023

@bastelfreak can you approve the workflows?

Failed tests are not related to Puppet code.
Can we merge this ?

@jordanbreen28
Copy link
Contributor

Apologies for the delay in response @vegaaz!
There is a fix currently being worked that should resolve the test failures present, so once thats merged in we can rekick these tests and ensure they are green before continuing.

Thanks for all the work on this one!

@vegaaz
Copy link
Author

vegaaz commented Apr 7, 2023

Branch rebased
Could you please run tests @bastelfreak @jordanbreen28 ? :)

@vegaaz
Copy link
Author

vegaaz commented Apr 7, 2023

Windows 2022 nightly tests are failing because of:
„Timeout after 10 seconds connecting“

@bastelfreak @jordanbreen28 how do we handle this ? Try again ?

@vegaaz
Copy link
Author

vegaaz commented Apr 26, 2023

Bump @jordanbreen28 @bastelfreak

@jordanbreen28
Copy link
Contributor

Sorry for the delay @vegaaz..
The timeout errors is a known issue to us & not related to your code changes.

There are some bits of work ongoing in this module that we'd like to get in first before moving on with this (like support for Puppet 8), but I've made a note so this PR doesn't sit idle waiting for a response on us like it has done. (Apologies again..)

@jordanbreen28
Copy link
Contributor

Hey @vegaaz!
The work I mentioned above has been merged in now, do you want to resolve this branches conflicts and we will think about progressing this?
Thanks

@vegaaz vegaaz reopened this May 4, 2023
@puppet-community-rangefinder
Copy link

docker is a class

Breaking changes to this file WILL impact these 19 modules (exact match):
Breaking changes to this file MAY impact these 24 modules (near match):

docker::params is a class

that may have no external impact to Forge modules.

docker::repos is a class

that may have no external impact to Forge modules.

This module is declared in 6 of 580 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

@vegaaz
Copy link
Author

vegaaz commented May 4, 2023

Hey @vegaaz! The work I mentioned above has been merged in now, do you want to resolve this branches conflicts and we will think about progressing this? Thanks

Hi @jordanbreen28 I rebased the Branch.
Lets take a look! :)

metadata.json Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] debian 11/ubuntu 22.04 need to handle apt-source differently
8 participants