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

Added -y to repoquery command so el8 imports GPG keys #191

Merged
merged 1 commit into from
Oct 20, 2020

Conversation

nmaludy
Copy link
Member

@nmaludy nmaludy commented Oct 20, 2020

Added -y to the repoquery command because it was getting stuck being prompted to import a GPG key from PackageCloud when testing out the EL8 upgrade e2e test.

This error was shown in the command output:

StackStorm_staging-stable                        22 kB/s | 3.9 kB     00:00    
Importing GPG key 0x0A38E96F:
 Userid     : "https://packagecloud.io/StackStorm/staging-stable (https://packagecloud.io/docs#gpg_signing) <[email protected]>"
 Fingerprint: A7FF A8B7 8DED 1ADC 2CDD A026 B1B9 A6E8 0A38 E96F
 From       : https://packagecloud.io/StackStorm/staging-stable/gpgkey
expand

When trying to run yum makecache the following was displayed:

StackStorm_staging-stable                       1.3 kB/s | 833  B     00:00    
StackStorm_staging-stable                        22 kB/s | 3.9 kB     00:00    
Importing GPG key 0x0A38E96F:
 Userid     : "https://packagecloud.io/StackStorm/staging-stable (https://packagecloud.io/docs#gpg_signing) <[email protected]>"
 Fingerprint: A7FF A8B7 8DED 1ADC 2CDD A026 B1B9 A6E8 0A38 E96F
 From       : https://packagecloud.io/StackStorm/staging-stable/gpgkey
expand
Is this ok [y/N]: 

Adding a simple -y allows the key to be imported and repoquery to run successfully.

@nmaludy nmaludy force-pushed the bugfix/el8-gpgkey-import branch from c5b3aa9 to 3ddbd1f Compare October 20, 2020 01:23
Copy link
Contributor

@m4dcoder m4dcoder left a comment

Choose a reason for hiding this comment

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

LGTM

@nmaludy nmaludy merged commit 56eced0 into master Oct 20, 2020
@nmaludy nmaludy deleted the bugfix/el8-gpgkey-import branch October 20, 2020 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants