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 Openshift Github Actions #4130

Closed
1 task
andrewsignori-aot opened this issue Dec 17, 2024 · 0 comments
Closed
1 task

Update Openshift Github Actions #4130

andrewsignori-aot opened this issue Dec 17, 2024 · 0 comments

Comments

@andrewsignori-aot
Copy link
Collaborator

andrewsignori-aot commented Dec 17, 2024

Github updated its Ubuntu version to 24.04 and the Openshift CLI is no longer part of it (reference).

image.png

  • Update all Github Actions interacting with OpenShift using the OC CLI to have the CLI installed before executing the commands.
@andrewsignori-aot andrewsignori-aot self-assigned this Dec 17, 2024
github-merge-queue bot pushed a commit that referenced this issue Dec 17, 2024
- Added the
[openshift-tools-installer](https://github.com/redhat-actions/openshift-tools-installer)
to all action steps that require some OC iteration.
- Using the [default
options](https://github.com/redhat-actions/openshift-tools-installer?tab=readme-ov-file#inputs).
- Using the fixed version "4". The current version printed is `OC CLI
Version: Client Version: 4.17.9`.

Please note, for steps printing the `OC version`, the new action was
added before the print step. For steps not printing the `OC version`,
the new step was added right before the "Log in to OpenShift".

Sample workflow execution with the new step working:
https://github.com/bcgov/SIMS/actions/runs/12378896945/job/34551860119
bidyashish pushed a commit that referenced this issue Dec 20, 2024
- Added the
[openshift-tools-installer](https://github.com/redhat-actions/openshift-tools-installer)
to all action steps that require some OC iteration.
- Using the [default
options](https://github.com/redhat-actions/openshift-tools-installer?tab=readme-ov-file#inputs).
- Using the fixed version "4". The current version printed is `OC CLI
Version: Client Version: 4.17.9`.

Please note, for steps printing the `OC version`, the new action was
added before the print step. For steps not printing the `OC version`,
the new step was added right before the "Log in to OpenShift".

Sample workflow execution with the new step working:
https://github.com/bcgov/SIMS/actions/runs/12378896945/job/34551860119
bidyashish pushed a commit that referenced this issue Dec 20, 2024
- Added the
[openshift-tools-installer](https://github.com/redhat-actions/openshift-tools-installer)
to all action steps that require some OC iteration.
- Using the [default
options](https://github.com/redhat-actions/openshift-tools-installer?tab=readme-ov-file#inputs).
- Using the fixed version "4". The current version printed is `OC CLI
Version: Client Version: 4.17.9`.

Please note, for steps printing the `OC version`, the new action was
added before the print step. For steps not printing the `OC version`,
the new step was added right before the "Log in to OpenShift".

Sample workflow execution with the new step working:
https://github.com/bcgov/SIMS/actions/runs/12378896945/job/34551860119
bidyashish added a commit that referenced this issue Dec 20, 2024
- Added the
[openshift-tools-installer](https://github.com/redhat-actions/openshift-tools-installer)
to all action steps that require some OC iteration.
- Using the [default
options](https://github.com/redhat-actions/openshift-tools-installer?tab=readme-ov-file#inputs).
- Using the fixed version "4". The current version printed is `OC CLI
Version: Client Version: 4.17.9`.

Please note, for steps printing the `OC version`, the new action was
added before the print step. For steps not printing the `OC version`,
the new step was added right before the "Log in to OpenShift".

Sample workflow execution with the new step working:
https://github.com/bcgov/SIMS/actions/runs/12378896945/job/34551860119
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants