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

Remove hardcoded version of ruby and puppet and replaced with values #104

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sooyean-hoo
Copy link

@sooyean-hoo sooyean-hoo commented Aug 19, 2024

Change to use values generated by matrix_from_metadata_v2

Summary

Replace Line 45 and 70 of https://github.com/puppetlabs/cat-github-actions/blob/b98f1f160644f6e81b14df7fda190dc2bd8b62a3/.github/workflows/module_acceptance.yml which are hardcoded. There are also some additional support line code, along with the changes.

Additional Context

Add any additional context about the problem here.

Related Issues (if any)

Runner should not contain hard-coded values, it should be derived from configuration files. #103

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified.

@sooyean-hoo sooyean-hoo added the enhancement New feature or request label Aug 19, 2024
@sooyean-hoo sooyean-hoo self-assigned this Aug 19, 2024
@sooyean-hoo sooyean-hoo requested a review from a team as a code owner August 19, 2024 03:20
@sooyean-hoo sooyean-hoo force-pushed the 103-runner-shows-not-contain-hard-coded-values-it-should-be-derived-from-configuration-files branch from aeb0bb3 to 488c7e3 Compare August 19, 2024 03:26
@@ -30,6 +30,8 @@ jobs:
runs-on: ${{ inputs.runs_on }}
outputs:
acceptance_matrix: ${{ steps.get-matrix.outputs.matrix }}
ruby_version: ${{ steps.get-puppet_ruby_version.outputs.ruby_version }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Not have much understanding about github actions so would like to know how we are going to get the ruby and puppet version?
is it via env variables or some other way?

Also I see ruby version is still hardcoded here https://github.com/puppetlabs/cat-github-actions/pull/104/files#diff-5fce77d76af8d0d3fa602998f1421a39b77dbe8d832a45718f521b729e1fb43fR47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Runner should not contain hard-coded values, it should be derived from configuration files.
2 participants