Comments (8)
Good one! I've been releasing this by pushing a certain commit to the master branch that in turn triggered the release workflow. As we can't commit directly to master.
We should have a new mechanism of making releases. We could use the same one you guys use in renovatebot/renovate. What do you think and if the same as renovate, how does that work exactly cause I only saw the workflow with repository disptatch as trigger?
from github-action.
I think we should use the same idea as in our helm chart. So release for every renovate version and let them match.
from github-action.
I've took a quick look at helm-chart, but the way that is configured would mean that we make a release on every push to master right?
from github-action.
I don't see how that is set up to matching the Renovate version. If we release on every push to master, than how would the Renovate version be matched for commits other than Renovate. I think releasing for every version of Renovate is a great idea but am not sure about matching up the versions.
from github-action.
Yes, we can skip publish or overwrite existing versions.
My preference would be skip.
from github-action.
I'm strongly against overwriting tags as that could mess up repo's using this action and should IMHO be considered usecure.
What are you then suggesting exactly, the following as our release strategy?
- On a commit to master that is a Renovate update (i.e. commit message starts with
fix(deps): update renovate/renovate docker tag to
) we trigger the release workflow. - We get the version from the commit message (i.e.
v19.228.2
) and publish our release with that same version. - The release workflow updates the the changelog etc. and creates a release for this action, matching the Renovate version.
One thing that comes to mind, but is not a blocking issue IMHO is the following.
- When we make changes we have to wait for a new Renovate version to be released before the changes are released.
Based on how often I've seen Renovate being released in the past I don't think that should be a huge problem.
Did I understood this correctly? If so, I can agree with this strategy and think I can work up something like this fairly quickly :) BTW I'm currently working on converting this action to TypeScript!
from github-action.
Yes. For current docker action we can simply read the version from dockerfile and check if git tag exists.
from github-action.
That is a good one! I'll likely PR the conversion to TypeScript today, in which the Renovate version is in a TypeScript file (updated by a regex manager). I could just add a function to get the version, which we can use for making the releases.
Why should we check if a git tag exists? Do you mean whether the tag exists in the renovate repo, cause that tag must already exist since that would have triggered a version update here, right?
from github-action.
Related Issues (20)
- pull docker renovate image from ghcr.io and make registry configurable HOT 2
- Dependency Dashboard
- Update readme after "update Renovate version" regex preset is created HOT 2
- Please release newer versions to GitHub Actions Marketplace HOT 3
- How to pass command line arguments to docker run: Unable to use writeDiscoveredRepos HOT 2
- README should explicitely mention that Fine-grained PATs are not supported HOT 1
- Dependency Dashboard
- Copy pasted renovate job failed with token access HOT 2
- Add major-only tags and major-minor-only tags for easier GH action usage HOT 1
- Self hosted runner - FATAL: No custom config file found on disk HOT 3
- docker-cmd-file does not work as expected HOT 3
- docs: Update section about Fine-grained PATs HOT 2
- Does not work with a Github App, if run takes longer than 1 hour HOT 1
- migrate to pnpm HOT 2
- Artifact error for Golang repositories now 1.22 has been released HOT 3
- docker-cmd-file not working HOT 5
- Use `esbuild` instead of `@vercel/ncc`
- Add instructions using actions/cache to README HOT 3
- Using GitHub secrets for adding hostRules.token for Private Terraform Cloud Module HOT 1
- ### What would you like help with?username to [email protected]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-action.