simplify deployment tooling

This commit is contained in:
talksik
2026-04-01 09:06:32 -07:00
parent 0cda3b09ec
commit 8fc9643685
7 changed files with 101 additions and 66 deletions
+45 -19
View File
@@ -1,14 +1,12 @@
apiVersion: skaffold/v4beta11
kind: Config
metadata:
name: llink-services
name: migrations
build:
local: {}
tagPolicy:
gitCommit:
variant: AbbrevCommitSha
# NOTE: we use different profiles for a simpler mental model
profiles:
- name: migrations
build:
@@ -22,45 +20,73 @@ profiles:
- k8s/migrations.yaml
deploy:
kubectl: {}
---
apiVersion: skaffold/v4beta11
kind: Config
metadata:
name: orion
build:
local: {}
tagPolicy:
gitCommit:
variant: AbbrevCommitSha
profiles:
- name: dev
build:
hooks:
before:
# already run in make test
# - command: ["go", "test", "./..."]
artifacts:
- image: orion
context: .
docker:
dockerfile: Dockerfile
- image: particleprocessorworker
context: .
docker:
dockerfile: Dockerfile.particleprocessorworker
manifests:
rawYaml:
- k8s/dev/*
- k8s/dev/orion.yaml
deploy:
kubectl: {}
- name: prod
build:
hooks:
before:
# already run in make test
# - command: ["go", "test", "./..."]
artifacts:
- image: orion
context: .
docker:
dockerfile: Dockerfile
manifests:
rawYaml:
- k8s/prod/orion.yaml
deploy:
kubectl: {}
---
apiVersion: skaffold/v4beta11
kind: Config
metadata:
name: worker
build:
local: {}
tagPolicy:
gitCommit:
variant: AbbrevCommitSha
profiles:
- name: dev
build:
artifacts:
- image: particleprocessorworker
context: .
docker:
dockerfile: Dockerfile.particleprocessorworker
manifests:
rawYaml:
- k8s/prod/*
- k8s/dev/particleprocessorworker.yaml
deploy:
kubectl: {}
- name: prod
build:
artifacts:
- image: particleprocessorworker
context: .
docker:
dockerfile: Dockerfile.particleprocessorworker
manifests:
rawYaml:
- k8s/prod/particleprocessorworker.yaml
deploy:
kubectl: {}