Giter VIP home page Giter VIP logo

Comments (5)

arxange1 avatar arxange1 commented on June 16, 2024 1

Yes, you can configure one single storage for all 250 repos, and configure the HTTP header using the placeholder like in the example below:

x-amz-tagging: repository={{ repositoryName }}

the "{{ repositoryName }}" placeholder will be replaced with the name of repository that is being processed.

But please wait until we implement that placeholder and release it to production.

from issue-tracker.

arxange1 avatar arxange1 commented on June 16, 2024

Dear @m477r1x,
There is an in-buit customization of HTTP headers for that purpose. You can add a new x-amz-tagging HTTP header into your storage configuration, for example:

x-amz-tagging: repository=<thing>

The only issue is to get the name of repository that is being processed. We currently doesn't support that. The proposal it to implement it using templating, like in the example below:

x-amz-tagging: repository={{ repositoryName }}

Screenshot for reference:
image

from issue-tracker.

m477r1x avatar m477r1x commented on June 16, 2024

Amazing! I didn't know about this feature, sorry to have logged a feature request for something which is already implemented 🙂

Any chance I can parametarise it as a bulk action? Instead of setting the tag individually accross 250 repos 😅

from issue-tracker.

arxange1 avatar arxange1 commented on June 16, 2024

Dear @m477r1x,

We released it to the production environment. Please try the following format and let us know if it works for you:

x-amz-tagging: repository={{ context.RepositoryName }}

Reference:

from issue-tracker.

arxange1 avatar arxange1 commented on June 16, 2024

@m477r1x please note, that you need to grant s3:PutObjectTagging permission at a bucket level and at an access point level if you use access points.

from issue-tracker.

Related Issues (17)

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.