Allow to use component.reference, component.sha, component.version and component.name - #1836
Conversation
components.reference or components.shacomponent.reference or component.sha
|
Apply cubic's |
|
I updated my pull request, also borrowing the better idea from #1839 It should be all good now. |
c72e5db to
2294253
Compare
component.reference or component.shacomponent.reference, component.sha, component.version and component.name
|
One behavior note (not blocking): |
Yes, a lazy version is preferable in that case. I see what I can manage to do it in typescript. If I can find a better solution, a lambda/arrow function will do it. [Edit] I think typescript have property, at least there is getter function in javascript, that could do the trick to compute it only when required. |
|
@firecow Do you want me to squash the last two commits with the first one? |
Nah, don't care.. I'll squash into master anyway |
|
So… what’s missing for merge? |
Like $[[ component.sha ]] Co-Author: nhoff <nils.hoff@inform-software.com>
Co-authored-by: Mads Jon Nielsen <madsjon@gmail.com>
|
Why no answer? Why not merge this? |
This MR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Adoption](https://docs.renovatebot.com/merge-confidence/) | [Passing](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---|---|---| | [npm:gitlab-ci-local](https://github.com/firecow/gitlab-ci-local) | `4.72.0` → `4.73.0` |  |  |  |  | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>firecow/gitlab-ci-local (npm:gitlab-ci-local)</summary> ### [`v4.73.0`](https://github.com/firecow/gitlab-ci-local/releases/tag/4.73.0) [Compare Source](firecow/gitlab-ci-local@4.72.0...4.73.0) #### What's Changed - fix: prevent ENAMETOOLONG crash for long parallel:matrix job names by [@​gyanranjan](https://github.com/gyanranjan) in [#​1865](firecow/gitlab-ci-local#1865) - fix: reject non-array needs with clear error by [@​firecow](https://github.com/firecow) in [#​1863](firecow/gitlab-ci-local#1863) - A support for GPU by [@​zapadinsky](https://github.com/zapadinsky) in [#​1866](firecow/gitlab-ci-local#1866) - fix: validate spec:inputs:regex instead of logging a no-op warning by [@​ApoorvaMohan](https://github.com/ApoorvaMohan) in [#​1869](firecow/gitlab-ci-local#1869) - feat: support image.docker.platform by [@​inistor](https://github.com/inistor) in [#​1856](firecow/gitlab-ci-local#1856) - Allow to use `component.reference`, `component.sha`, `component.version` and `component.name` by [@​jrd](https://github.com/jrd) in [#​1836](firecow/gitlab-ci-local#1836) #### New Contributors - [@​zapadinsky](https://github.com/zapadinsky) made their first contribution in [#​1866](firecow/gitlab-ci-local#1866) - [@​ApoorvaMohan](https://github.com/ApoorvaMohan) made their first contribution in [#​1869](firecow/gitlab-ci-local#1869) - [@​jrd](https://github.com/jrd) made their first contribution in [#​1836](firecow/gitlab-ci-local#1836) **Full Changelog**: <firecow/gitlab-ci-local@4.72.0...4.73.0> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNTYuMCIsInVwZGF0ZWRJblZlciI6IjQzLjI1Ni4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiLCJhdXRvbWF0aW9uOmJvdC1hdXRob3JlZCIsImRlcGVuZGVuY3ktdHlwZTo6bWlub3IiXX0=-->
When including another component B from a component A, allow to use
$[[ component.reference ]]notation for component B.