OpenFn / apollo

GNU Lesser General Public License v2.1
0 stars 2 forks source link

How will versions work? #66

Open josephjclark opened 6 months ago

josephjclark commented 6 months ago

At the moment I'll use changesets manually to control versions.

But when an ML dev wants to release a new python service, I need the process to be as simple as merging to master.

I think we need to use the standard github action, which I think runs like this:

That second PR to manage the release is kind of a drag. I suppose users could run bun changeset manually, and we build and tag on merge to main if there's no new changesets.

We need to think about how this works with the deploy policy. At the moment, when a version tag is pushed, we build the image and push to docker hub. I told Taylor I'd also do this for the next tag on any merge to master. I don't think we currently have auto-deploy setup.

In the new changesets world, we should only dockerize when the version tag has been pushed, and we should auto-deploy each tag to staging after dockerizing. We should also maintain a rolling next.