furrer-lab / r-containers

GNU General Public License v3.0
1 stars 0 forks source link

create empty commit on scheduled upgrade of containers #20

Closed j-i-l closed 2 months ago

j-i-l commented 3 months ago

Check if the new release went out on the 2nd of the month.

j-i-l commented 2 months ago

If there are no changes since the last build of the docker images then the creation of a new git tag is skipped:

2024-04-02T02:20:18.3205673Z pre_release = false 2024-04-02T02:20:18.4648023Z No new commits since previous tag. Skipping... 2024-04-02T02:20:18.6043184Z Post job cleanup.

However, a new container is built, which is the desired behavior, as we do not know if any of the dependencies installed have updated.

This leads to the unfortunate situation that we have images for tags that are not git tags.

One option would be to check if since the last git tag there has been a commit and if not, we update a changelog file, commit this and create a new tag.

A nice approach would be to list all the dependencies with their specific versions in this changelog file.

j-i-l commented 2 months ago

We might use automated changelogs.

Some pot. helper software for this: