Giter Site home page Giter Site logo

Comments (4)

gdubicki avatar gdubicki commented on June 23, 2024

Implemented in https://github.com/egnyte/gitlabform/releases/tag/v0.22.0 .

from gitlabform.

weakcamel avatar weakcamel commented on June 23, 2024

@gdubicki I struggle with using this feature for MR approvals; namely, I'm trying to add the group X to the approvers group for each processed project.

And I wonder, perhaps I misunderstood how this works? Are the tokens (project/group) supported generally in the YAML syntax or is it something used internally in GitlabForm while generating the JSON or with files only?

from gitlabform.

weakcamel avatar weakcamel commented on June 23, 2024

OK, I think I found the answer after browsing the code where this feature was introduced: tokens substitution is only performed while generating output files.

v0.21.2...v0.22.0

That's fair enough.. :) I was just hoping to use it to assign approver_groups and exploring whether this templating is powerful enough to inject extra content, e.g. secrets like passwords/API keys which I keep in Hashicorp Vault.

from gitlabform.

gdubicki avatar gdubicki commented on June 23, 2024

Yes, templating works only for files added to/updated in managed repositories using files config section.

from gitlabform.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.