Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Adopt Flux OCI for production #24

Closed
6 tasks done
kingdonb opened this issue Jun 23, 2023 · 1 comment
Closed
6 tasks done

Adopt Flux OCI for production #24

kingdonb opened this issue Jun 23, 2023 · 1 comment

Comments

@kingdonb
Copy link
Owner

kingdonb commented Jun 23, 2023

  • GHA workflow that releases manifests when a Git tag is sent up. (landed in Release 0.1.0 #32)
  • GHA workflow that releases a Docker image when a Git tag is sent up. (landed in Release 0.0.1 #26)

The new release workflow should make use as much as possible of our existing development builds from the main branch, in terms of reusing existing steps, and cache if possible.

We can borrow parts of the release workflow from podinfo and we can look to Flux itself for more examples of how the ideal production release workflow should look, on the leading edge of today's security trends. 🦖🔥👩‍🍳💋🤌

We should publish a Flux OCI release artifact for each tag, and it should match roughly the filesystem structure of podinfo, where there are different overlays, and it can support different environments with each release. We can adopt the OCI artifact for use in Dev, Test, and Prod, and make that the Flux delivery infrastructure for this project in each environment where it's currently hosted.

@kingdonb
Copy link
Owner Author

I'm comfortable leaving the "assessment" parts of this incomplete until we have a few more eyes on this.

There are signatures, and OCI artifacts are deployed as "production" and "dev" environments, here:

We're not using any containers for the GitHub Actions "prod-lite", and there's nothing tracking that, I'm not sure it's needed.

We might eventually adopt containers for "prod-lite 2.0" when it's implemented on top of KEDA, but right now it's actually cheaper for us to spin up a GHA with kind cluster every time we need to take a measurement, as GitHub is paying for it (vs. a dev cluster which either needs to consume a bit of electricity in my own homelab or in the cloud, both costing some money).

Converting #35 and #36 to issues which can live their own lives after this one closes.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant