Giter Club home page Giter Club logo

Comments (2)

bfjelds avatar bfjelds commented on June 9, 2024 1

I'm not super sure what to do about this. I see the problem for sure.

It seems like no matter what we do, people will have to change their Helm install command to include a specific image (via tag or digest).

Perhaps we could make things more apparent by changing Makefile so that people developing (the official builds and helm chart defaults would remain unchanged) would end up with a timestamped label (or some equivalent uniqueness).

PREFIX ?= $(REGISTRY)/$(UNIQUE_ID)
VERSION=$(shell cat version.txt)
TIMESTAMP=$(shell date +"%Y%m%d_%H%M%S")     # <-----
VERSION_LABEL=v$(VERSION)-$(TIMESTAMP)       # <-----
LABEL_PREFIX ?= $(VERSION_LABEL)

With this, we'd generate images with labels like v0.1.5-20210111_120445-amd64.

Then the development documentation could tell users to specify the tag/digest that aligns to what they want to test?

Does that sound like an approach that would improve things?

from akri.

DazWilkin avatar DazWilkin commented on June 9, 2024

I was thinking about this too recently.

I was going to propose more consistent versioning; I've been lazily reusing e.g. v0.0.44-amd64 incessantly

I think your approach is elegant.

from akri.

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.