-
Notifications
You must be signed in to change notification settings - Fork 13
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
Conversation
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
bb0185f
to
a2a1ece
Compare
Issues found with thew new linter should be fixed in a follow up PR
c78d4d2
to
05015c4
Compare
05015c4
to
98c2f8f
Compare
There was a problem hiding this 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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
- 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' |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating this!
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