Integrate j7s-os deployment with flux.

This commit is contained in:
jimmy committed 2023-01-30 22:27:50 -05:00
1 parent 8663653ec3
commit c5d15bcaa6
4 files changed
+60 -7

No files matched your search

+14 -5
View File
@@ -16,9 +16,6 @@ spec:
- name: make-image-name
type: string
description: The name of image to make in the os repo.
- name: short-name
type: string
description: A short name for this image from which other names a derived. (aka j7-os)
- name: branch
type: string
default: main
@@ -61,10 +58,22 @@ spec:
- name: commit
value: $(params.make-image-name)
- name: image
value: $(params.short-name)-deploy
value: j7s-os-deploy
- name: registry
value: 192.168.1.128:8443
- name: version
value: $(tasks.image-build.results.version-string)
taskRef:
name: j7s-os-buildah
name: j7s-os-buildah
- name: deploy-image
runAfter: ["build-deploy-image"]
workspaces:
- name: ssh-directory
workspace: git-credentials
params:
- name: image
value: 192.168.1.128:8443/j7s-os-deploy
- name: version
value: $(tasks.image-build.results.version-string)
taskRef:
name: j7s-os-k8s-deploy