sixfeetup / scaf

scaf provides developers and DevOps engineers with a complete blueprint for a new project using Kubernetes
BSD 3-Clause "New" or "Revised" License
86 stars 14 forks source link

CI pipeline for tests/linting and building/tagging image #73

Open clshaw01 opened 1 year ago

clshaw01 commented 1 year ago

Add config for bitbucket and GitHub actions with the following steps:

  1. Refactor test targets in the Makefile to use Dagger instead. This will enable us to test the pipeline locally and use the same configuration when running in various pipelines.
  2. Use ttl.sh, an ephemeral image registry, to test building and pushing images locally.
daveoconnor commented 10 months ago

When building container images we need to pass build information as a RELEASE arg to docker.

docker build --build-arg RELEASE=$commit_sha ...

This is to add release support distinction for sentry tracking/reporting.