Skip to content

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

Merged
jiasli merged 3 commits into
Azure:devfrom
jiasli:test-yum
Feb 7, 2022
Merged

{Packaging} Fix CI job "Test Yum Package" by using centos7#21207
jiasli merged 3 commits into
Azure:devfrom
jiasli:test-yum

Conversation

@jiasli

@jiasli jiasli commented Feb 7, 2022

Copy link
Copy Markdown
Contributor

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

yonzhan commented Feb 7, 2022

Copy link
Copy Markdown
Collaborator

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.

4 participants