diff --git a/pipelines/j7s-os-pipeline.yaml b/pipelines/j7s-os-pipeline.yaml index b6915b8..d39968c 100644 --- a/pipelines/j7s-os-pipeline.yaml +++ b/pipelines/j7s-os-pipeline.yaml @@ -1,6 +1,6 @@ # A pipeline to build j7s-os images. # Steps: -# Clone the j7s-os repo from gitea. +# Clone the j7s-os repo from onedev. # Call make <> in the repo. # Build and push a new deployment container. # Deploy the deployment container as a service. @@ -18,6 +18,10 @@ spec: - 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 + description: branch of j7s-os image to build. workspaces: - name: shared-data description: Shared data. @@ -34,7 +38,7 @@ spec: - name: url value: ssh://git@git.jpace121.net:2222/public/j7s-os - name: branch - value: main + value: $(params.branch) taskRef: name: j7s-git-clone - name: image-build diff --git a/runs/dev-contain-debian.yaml b/runs/dev-contain-debian.yaml index b396056..af7f89c 100644 --- a/runs/dev-contain-debian.yaml +++ b/runs/dev-contain-debian.yaml @@ -24,4 +24,4 @@ spec: - name: branch value: "packaging/debian" - name: deploy - value: "false" \ No newline at end of file + value: "true" \ No newline at end of file diff --git a/runs/j7s-os-test.yaml b/runs/j7s-os-test.yaml index 4951ba9..f94c578 100644 --- a/runs/j7s-os-test.yaml +++ b/runs/j7s-os-test.yaml @@ -22,4 +22,6 @@ spec: value: cs9-qemu-minimal-ostree.x86_64.repo - name: short-name value: j7s-os + - name: branch + value: main serviceAccountName: internal-kubectl \ No newline at end of file