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

{Packaging} Fix CI job "Test Yum Package" by using centos7 #21207

Merged
merged 3 commits into from
Feb 7, 2022

Conversation

jiasli
Copy link
Member

@jiasli jiasli commented Feb 7, 2022

Description

Since CentOS 8 has been deprecated, centos8 image no longer works:

https://dev.azure.com/azure-sdk/public/_build/results?buildId=1348614&view=logs&j=1e6fba43-bdcf-51f0-a062-3712c33fbb51&t=a1e787eb-ec67-5c3d-79ec-0c68f4f59d65

yum --nogpgcheck localinstall /mnt/yum/$YUM_NAME -y
+ yum --nogpgcheck localinstall /mnt/yum/azure-cli-2.33.0-1.el7.x86_64.rpm -y
CentOS Linux 8 - AppStream                      445  B/s |  38  B     00:00    
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist

This PR is only a quick fix to unblock CI by reverting to centos7 which is still supported. (However, centos7 has its own complication.)

See https://forums.centos.org/viewtopic.php?f=54&t=78708

@yonzhan
Copy link
Collaborator

yonzhan commented Feb 7, 2022

Packaging

@yonzhan yonzhan added this to the Feb 2022 (2022-03-01) milestone Feb 7, 2022
@jiasli jiasli merged commit 6016ffd into Azure:dev Feb 7, 2022
@jiasli jiasli deleted the test-yum branch February 7, 2022 09:04
zhoxing-ms pushed a commit to zhoxing-ms/azure-cli that referenced this pull request Feb 14, 2022
zhoxing-ms added a commit that referenced this pull request Feb 14, 2022
* [Packaging] BREAKING CHANGE: Drop `jmespath-terminal` from docker image (#21206)

* {Packaging} Fix CI job "Test Yum Package" by using `centos7` (#21207)

* Update azure-pipelines.yml for Azure Pipelines (#21230)

Pin version for cred scan

Co-authored-by: Jiashuo Li <4003950+jiasli@users.noreply.github.com>
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.

None yet

4 participants