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

Update Ubuntu images to 1ES-hosted Ubuntu 22.04 in many places #4996

Merged
merged 2 commits into from
Jan 4, 2023

Conversation

konrad-jamrozik
Copy link
Contributor

@konrad-jamrozik konrad-jamrozik commented Dec 20, 2022

Contributes to addressing:

which is part of work to address:

As a secondary change, gets rid of all #ubuntu-2004 hyperlink anchors.

I found the places to migrate by doing full-text search for following strings, and then manually reviewing the found matches:
1604, 16.04, 1804, 18.04, 2004, 20.04.

I didn't migrate the following Ubuntu image usages:

@konrad-jamrozik konrad-jamrozik self-assigned this Dec 20, 2022
@konrad-jamrozik konrad-jamrozik added the Central-EngSys This issue is owned by the Engineering System team. label Dec 20, 2022
@konrad-jamrozik konrad-jamrozik changed the title Migrate to 1ES-hosted Ubuntu 22.04 in many places Migrate used Ubuntu images to 1ES-hosted Ubuntu 22.04 in many places Dec 20, 2022
@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@@ -31,7 +31,7 @@ RUN apt install python3-pip -y && apt install python3-venv -y && pip3 install --
RUN add-apt-repository ppa:deadsnakes/ppa -y && apt-get install python3.10 -y && apt-get install python3.10-venv -y

# install powershell
RUN wget -q https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb
RUN wget -q https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb
Copy link
Member

Choose a reason for hiding this comment

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

Please revert it because our docker image is based on ubuntu 20.04 now.

Copy link
Contributor Author

@konrad-jamrozik konrad-jamrozik Dec 20, 2022

Choose a reason for hiding this comment

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

@dw511214992 I have reverted all the changes to tools/sdk-generation-pipeline, but I kindly ask you to review this PR:

I left some questions there for you in the PR description.

Thank you!

Copy link
Member

Choose a reason for hiding this comment

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

@konrad-jamrozik I have added comment to your PR. thanks

@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@benbp
Copy link
Member

benbp commented Dec 20, 2022

Changes look good to me, but I think we should hold off on merging until after the holidays when we're better equipped to deal with any failures that result in our tooling/pipelines from the OS upgrade.

@konrad-jamrozik konrad-jamrozik force-pushed the users/kojamroz/iss_4967 branch 2 times, most recently from 7145170 to ea4e783 Compare December 20, 2022 22:56
@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@konrad-jamrozik konrad-jamrozik changed the title Migrate used Ubuntu images to 1ES-hosted Ubuntu 22.04 in many places Update used Ubuntu images to 1ES-hosted Ubuntu 22.04 in many places Dec 21, 2022
@konrad-jamrozik konrad-jamrozik changed the title Update used Ubuntu images to 1ES-hosted Ubuntu 22.04 in many places Update Ubuntu images to 1ES-hosted Ubuntu 22.04 in many places Dec 21, 2022
@dw511214992 dw511214992 self-requested a review December 22, 2022 02:42
dw511214992
dw511214992 previously approved these changes Dec 22, 2022
@dw511214992 dw511214992 self-requested a review December 22, 2022 02:44
Copy link
Member

@dw511214992 dw511214992 left a comment

Choose a reason for hiding this comment

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

LGTM. I think you can merge the following changes in #5004 to this PR:

  1. tools/sdk-generation-pipeline/.github/workflows/ci.yml
  2. tools/sdk-generation-pipeline/ci.yml
  3. tools/sdk-generation-pipeline/sdk-generation-pipeline.yml

If you want to merge them in separate PR, it's fine too.
Thanks

@dw511214992 dw511214992 dismissed their stale review December 22, 2022 02:48

approve by mistake

@konrad-jamrozik konrad-jamrozik merged commit 2bcb4d6 into main Jan 4, 2023
@konrad-jamrozik konrad-jamrozik deleted the users/kojamroz/iss_4967 branch January 4, 2023 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Central-EngSys This issue is owned by the Engineering System team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants