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 GH actions to use ubuntu-latest #653

Merged
merged 9 commits into from
Feb 14, 2025
Merged

Conversation

vkmc
Copy link
Collaborator

@vkmc vkmc commented Feb 13, 2025

The Ubuntu 20.04 runner image will be fully unsupported by April 1, 2025.

Actions need to be updated to a newer version.

For some jobs we are already using ubuntu-latest, so use the same for the jobs using ubuntu20.04

vkmc added 5 commits February 13, 2025 14:08
The Ubuntu 20.04 runner image will be fully
unsupported by April 1, 2025.

Actions need to be updated to a newer version.

For some jobs we are already using ubuntu-latest,
so use the same for the jobs using ubuntu20.04
@vkmc vkmc force-pushed the gh-actions-to-ubuntu-latest branch from bb0185f to a2a1ece Compare February 13, 2025 13:51
@vkmc vkmc force-pushed the gh-actions-to-ubuntu-latest branch from c78d4d2 to 05015c4 Compare February 13, 2025 14:28
@vkmc vkmc force-pushed the gh-actions-to-ubuntu-latest branch from 05015c4 to 98c2f8f Compare February 13, 2025 14:28
Copy link
Contributor

@ayefimov-1 ayefimov-1 left a comment

Choose a reason for hiding this comment

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

Looks okay.

@@ -0,0 +1,83 @@
# This file contains ignores rule violations for ansible-lint
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think you can update the ansible-lint config to skip linting the roles/servicetelemetry/ directoty

Same for the build/run-stf-ci/ directory., although I think that the effort to update those is safer.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Indeed, we can work on fixing the linting issues or configuring ansible-lint in a follow up patch.

Comment on lines +13 to +18
- name: Set up Python
# This is the version of the action for setting up Python, not the Python version.
uses: actions/setup-python@v5
with:
# Set exact version of a Python version or can use '3.x'.
python-version: '3.12.8'
Copy link
Collaborator

Choose a reason for hiding this comment

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

oooh, very nice

@@ -65,7 +80,7 @@ jobs:

build-operator-check:
name: Build Operator check
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks for updating this!

@vkmc vkmc merged commit b4ad111 into master Feb 14, 2025
9 checks passed
@vkmc vkmc deleted the gh-actions-to-ubuntu-latest branch February 14, 2025 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants