Compare commits
2 Commits
1fa6327511
...
no_add
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
99f97874ea
|
||
|
|
6c3df1d4cd
|
@@ -7,7 +7,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
timeouts:
|
timeouts:
|
||||||
pipeline: "2h0m0s"
|
pipeline: "2h0m0s"
|
||||||
tasks: "1h0m40s"
|
tasks: "1h0m0s"
|
||||||
finally: "0h30m0s"
|
finally: "0h30m0s"
|
||||||
taskRunTemplate:
|
taskRunTemplate:
|
||||||
serviceAccountName: build-bot
|
serviceAccountName: build-bot
|
||||||
@@ -103,39 +103,35 @@ spec:
|
|||||||
- name: url
|
- name: url
|
||||||
value: https://code.fizz.buzz/talexander/personal_tekton_catalog.git
|
value: https://code.fizz.buzz/talexander/personal_tekton_catalog.git
|
||||||
- name: revision
|
- name: revision
|
||||||
value: 9c6d3bc418dc2f54d73bdfa984bce3eb6c65fd60
|
value: dda7b690195b43e8b9859d1caf5dcbf48588ade1
|
||||||
- name: pathInRepo
|
- name: pathInRepo
|
||||||
value: task/buildah-rootless-daemonless/0.1/buildah-rootless-daemonless.yaml
|
value: task/buildkit-rootless-daemonless/0.1/buildkit-rootless-daemonless.yaml
|
||||||
params:
|
params:
|
||||||
- name: OUTPUT
|
- name: OUTPUT
|
||||||
value: >-
|
value: >-
|
||||||
$(params.image-name):$(tasks.fetch-repository.results.commit)
|
type=image,"name=$(params.image-name):latest,$(params.image-name):$(tasks.fetch-repository.results.commit)",push=true,compression=zstd,compression-level=22,oci-mediatypes=true
|
||||||
- name: CONTEXT
|
- name: CONTEXT
|
||||||
value: $(params.path-to-image-context)
|
value: $(params.path-to-image-context)
|
||||||
- name: DOCKERFILE
|
- name: DOCKERFILE
|
||||||
value: $(params.path-to-dockerfile)
|
value: $(params.path-to-dockerfile)
|
||||||
- name: EXTRA_ARGS
|
- name: EXTRA_ARGS
|
||||||
value:
|
value:
|
||||||
- "--target"
|
- "--opt"
|
||||||
- "$(params.target-name)"
|
- "target=$(params.target-name)"
|
||||||
- --cache-from
|
- --import-cache
|
||||||
- "$(params.image-name)-buildcache"
|
- "type=registry,ref=$(params.image-name):buildcache"
|
||||||
- --cache-to
|
- --export-cache
|
||||||
- "$(params.image-name)-buildcache"
|
- "type=registry,ref=$(params.image-name):buildcache,mode=max,compression=zstd,compression-level=22,rewrite-timestamp=true,image-manifest=true,oci-mediatypes=true"
|
||||||
- name: REGISTRIES_CONF
|
- --opt
|
||||||
|
- build-arg:SOURCE_DATE_EPOCH=$(tasks.get-git-commit-time.results.unix-time)
|
||||||
|
- name: BUILDKITD_TOML
|
||||||
value: |
|
value: |
|
||||||
unqualified-search-registries = ["docker.io"]
|
debug = true
|
||||||
|
[registry."docker.io"]
|
||||||
[[registry]]
|
mirrors = ["dockerhub.dockerhub.svc.cluster.local"]
|
||||||
location = "dockerhub.dockerhub.svc.cluster.local"
|
[registry."dockerhub.dockerhub.svc.cluster.local"]
|
||||||
insecure = true
|
http = true
|
||||||
|
insecure = true
|
||||||
[[registry]]
|
|
||||||
location = "docker.io"
|
|
||||||
|
|
||||||
[[registry.mirror]]
|
|
||||||
location = "dockerhub.dockerhub.svc.cluster.local" # Replace with your mirror URL
|
|
||||||
insecure = true
|
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: source
|
- name: source
|
||||||
workspace: git-source
|
workspace: git-source
|
||||||
@@ -157,7 +153,7 @@ spec:
|
|||||||
computeResources:
|
computeResources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
memory: 600Mi
|
memory: 60Mi
|
||||||
workingDir: /workspace/source
|
workingDir: /workspace/source
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: source
|
- name: source
|
||||||
@@ -186,7 +182,7 @@ spec:
|
|||||||
- build-image
|
- build-image
|
||||||
params:
|
params:
|
||||||
- name: docker-image
|
- name: docker-image
|
||||||
value: "$(tasks.build-image.results.IMAGE_URL[0])"
|
value: "$(tasks.build-image.results.IMAGE_URL[1])"
|
||||||
#############
|
#############
|
||||||
- name: run-image-tracing
|
- name: run-image-tracing
|
||||||
taskSpec:
|
taskSpec:
|
||||||
@@ -201,7 +197,7 @@ spec:
|
|||||||
computeResources:
|
computeResources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
memory: 600Mi
|
memory: 60Mi
|
||||||
workingDir: /workspace/source
|
workingDir: /workspace/source
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: source
|
- name: source
|
||||||
@@ -230,7 +226,7 @@ spec:
|
|||||||
- run-image-none
|
- run-image-none
|
||||||
params:
|
params:
|
||||||
- name: docker-image
|
- name: docker-image
|
||||||
value: "$(tasks.build-image.results.IMAGE_URL[0])"
|
value: "$(tasks.build-image.results.IMAGE_URL[1])"
|
||||||
#############
|
#############
|
||||||
- name: run-image-compare
|
- name: run-image-compare
|
||||||
taskSpec:
|
taskSpec:
|
||||||
@@ -245,7 +241,7 @@ spec:
|
|||||||
computeResources:
|
computeResources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
memory: 600Mi
|
memory: 60Mi
|
||||||
workingDir: /workspace/source
|
workingDir: /workspace/source
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: source
|
- name: source
|
||||||
@@ -274,7 +270,7 @@ spec:
|
|||||||
- run-image-tracing
|
- run-image-tracing
|
||||||
params:
|
params:
|
||||||
- name: docker-image
|
- name: docker-image
|
||||||
value: "$(tasks.build-image.results.IMAGE_URL[0])"
|
value: "$(tasks.build-image.results.IMAGE_URL[1])"
|
||||||
#############
|
#############
|
||||||
- name: run-image-default
|
- name: run-image-default
|
||||||
taskSpec:
|
taskSpec:
|
||||||
@@ -289,7 +285,7 @@ spec:
|
|||||||
computeResources:
|
computeResources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
memory: 600Mi
|
memory: 60Mi
|
||||||
workingDir: /workspace/source
|
workingDir: /workspace/source
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: source
|
- name: source
|
||||||
@@ -318,7 +314,7 @@ spec:
|
|||||||
- run-image-compare
|
- run-image-compare
|
||||||
params:
|
params:
|
||||||
- name: docker-image
|
- name: docker-image
|
||||||
value: "$(tasks.build-image.results.IMAGE_URL[0])"
|
value: "$(tasks.build-image.results.IMAGE_URL[1])"
|
||||||
#############
|
#############
|
||||||
- name: run-image-tracing-compare
|
- name: run-image-tracing-compare
|
||||||
taskSpec:
|
taskSpec:
|
||||||
@@ -333,7 +329,7 @@ spec:
|
|||||||
computeResources:
|
computeResources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
memory: 600Mi
|
memory: 60Mi
|
||||||
workingDir: /workspace/source
|
workingDir: /workspace/source
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: source
|
- name: source
|
||||||
@@ -362,7 +358,7 @@ spec:
|
|||||||
- run-image-default
|
- run-image-default
|
||||||
params:
|
params:
|
||||||
- name: docker-image
|
- name: docker-image
|
||||||
value: "$(tasks.build-image.results.IMAGE_URL[0])"
|
value: "$(tasks.build-image.results.IMAGE_URL[1])"
|
||||||
#############
|
#############
|
||||||
- name: run-image-compare-foreign
|
- name: run-image-compare-foreign
|
||||||
taskSpec:
|
taskSpec:
|
||||||
@@ -377,7 +373,7 @@ spec:
|
|||||||
computeResources:
|
computeResources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
memory: 600Mi
|
memory: 60Mi
|
||||||
workingDir: /workspace/source
|
workingDir: /workspace/source
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: source
|
- name: source
|
||||||
@@ -411,7 +407,7 @@ spec:
|
|||||||
- run-image-tracing-compare
|
- run-image-tracing-compare
|
||||||
params:
|
params:
|
||||||
- name: docker-image
|
- name: docker-image
|
||||||
value: "$(tasks.build-image.results.IMAGE_URL[0])"
|
value: "$(tasks.build-image.results.IMAGE_URL[1])"
|
||||||
#############
|
#############
|
||||||
- name: run-image-all
|
- name: run-image-all
|
||||||
taskSpec:
|
taskSpec:
|
||||||
@@ -426,7 +422,7 @@ spec:
|
|||||||
computeResources:
|
computeResources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
memory: 600Mi
|
memory: 60Mi
|
||||||
workingDir: /workspace/source
|
workingDir: /workspace/source
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: source
|
- name: source
|
||||||
@@ -460,7 +456,7 @@ spec:
|
|||||||
- run-image-compare-foreign
|
- run-image-compare-foreign
|
||||||
params:
|
params:
|
||||||
- name: docker-image
|
- name: docker-image
|
||||||
value: "$(tasks.build-image.results.IMAGE_URL[0])"
|
value: "$(tasks.build-image.results.IMAGE_URL[1])"
|
||||||
#############
|
#############
|
||||||
- name: run-image-wasm
|
- name: run-image-wasm
|
||||||
taskSpec:
|
taskSpec:
|
||||||
@@ -475,7 +471,7 @@ spec:
|
|||||||
computeResources:
|
computeResources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
memory: 600Mi
|
memory: 60Mi
|
||||||
workingDir: /workspace/source
|
workingDir: /workspace/source
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: source
|
- name: source
|
||||||
@@ -515,7 +511,7 @@ spec:
|
|||||||
- run-image-all
|
- run-image-all
|
||||||
params:
|
params:
|
||||||
- name: docker-image
|
- name: docker-image
|
||||||
value: "$(tasks.build-image.results.IMAGE_URL[0])"
|
value: "$(tasks.build-image.results.IMAGE_URL[1])"
|
||||||
#############
|
#############
|
||||||
- name: run-image-wasm-test
|
- name: run-image-wasm-test
|
||||||
taskSpec:
|
taskSpec:
|
||||||
@@ -530,7 +526,7 @@ spec:
|
|||||||
computeResources:
|
computeResources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
memory: 600Mi
|
memory: 60Mi
|
||||||
workingDir: /workspace/source
|
workingDir: /workspace/source
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: source
|
- name: source
|
||||||
@@ -566,7 +562,8 @@ spec:
|
|||||||
- run-image-wasm
|
- run-image-wasm
|
||||||
params:
|
params:
|
||||||
- name: docker-image
|
- name: docker-image
|
||||||
value: "$(tasks.build-image.results.IMAGE_URL[0])"
|
value: "$(tasks.build-image.results.IMAGE_URL[1])"
|
||||||
|
#############
|
||||||
finally:
|
finally:
|
||||||
- name: report-success
|
- name: report-success
|
||||||
when:
|
when:
|
||||||
@@ -663,7 +660,20 @@ spec:
|
|||||||
workspace: cargo-cache
|
workspace: cargo-cache
|
||||||
params:
|
params:
|
||||||
- name: docker-image
|
- name: docker-image
|
||||||
value: "$(tasks.build-image.results.IMAGE_URL[0])"
|
value: "$(tasks.build-image.results.IMAGE_URL[1])"
|
||||||
|
# matrix:
|
||||||
|
# params:
|
||||||
|
# - name: cache-subdir
|
||||||
|
# value:
|
||||||
|
# - none
|
||||||
|
# - tracing
|
||||||
|
# - compare
|
||||||
|
# - default
|
||||||
|
# - tracing-compare
|
||||||
|
# - compare-foreign
|
||||||
|
# - all
|
||||||
|
# - wasm
|
||||||
|
# - wasm-test
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: git-source
|
- name: git-source
|
||||||
- name: docker-credentials
|
- name: docker-credentials
|
||||||
@@ -693,4 +703,4 @@ spec:
|
|||||||
- name: path-to-image-context
|
- name: path-to-image-context
|
||||||
value: .
|
value: .
|
||||||
- name: path-to-dockerfile
|
- name: path-to-dockerfile
|
||||||
value: docker/organic_development/Dockerfile
|
value: docker/organic_development/
|
||||||
|
|||||||
@@ -103,39 +103,35 @@ spec:
|
|||||||
- name: url
|
- name: url
|
||||||
value: https://code.fizz.buzz/talexander/personal_tekton_catalog.git
|
value: https://code.fizz.buzz/talexander/personal_tekton_catalog.git
|
||||||
- name: revision
|
- name: revision
|
||||||
value: 9c6d3bc418dc2f54d73bdfa984bce3eb6c65fd60
|
value: dda7b690195b43e8b9859d1caf5dcbf48588ade1
|
||||||
- name: pathInRepo
|
- name: pathInRepo
|
||||||
value: task/buildah-rootless-daemonless/0.1/buildah-rootless-daemonless.yaml
|
value: task/buildkit-rootless-daemonless/0.1/buildkit-rootless-daemonless.yaml
|
||||||
params:
|
params:
|
||||||
- name: OUTPUT
|
- name: OUTPUT
|
||||||
value: >-
|
value: >-
|
||||||
$(params.image-name):$(tasks.fetch-repository.results.commit)
|
type=image,"name=$(params.image-name):latest,$(params.image-name):$(tasks.fetch-repository.results.commit)",push=true,compression=zstd,compression-level=22,oci-mediatypes=true
|
||||||
- name: CONTEXT
|
- name: CONTEXT
|
||||||
value: $(params.path-to-image-context)
|
value: $(params.path-to-image-context)
|
||||||
- name: DOCKERFILE
|
- name: DOCKERFILE
|
||||||
value: $(params.path-to-dockerfile)
|
value: $(params.path-to-dockerfile)
|
||||||
- name: EXTRA_ARGS
|
- name: EXTRA_ARGS
|
||||||
value:
|
value:
|
||||||
- "--target"
|
- "--opt"
|
||||||
- "$(params.target-name)"
|
- "target=$(params.target-name)"
|
||||||
- --cache-from
|
- --import-cache
|
||||||
- "$(params.image-name)-buildcache"
|
- "type=registry,ref=$(params.image-name):buildcache"
|
||||||
- --cache-to
|
- --export-cache
|
||||||
- "$(params.image-name)-buildcache"
|
- "type=registry,ref=$(params.image-name):buildcache,mode=max,compression=zstd,compression-level=22,rewrite-timestamp=true,image-manifest=true,oci-mediatypes=true"
|
||||||
- name: REGISTRIES_CONF
|
- --opt
|
||||||
|
- build-arg:SOURCE_DATE_EPOCH=$(tasks.get-git-commit-time.results.unix-time)
|
||||||
|
- name: BUILDKITD_TOML
|
||||||
value: |
|
value: |
|
||||||
unqualified-search-registries = ["docker.io"]
|
debug = true
|
||||||
|
[registry."docker.io"]
|
||||||
[[registry]]
|
mirrors = ["dockerhub.dockerhub.svc.cluster.local"]
|
||||||
location = "dockerhub.dockerhub.svc.cluster.local"
|
[registry."dockerhub.dockerhub.svc.cluster.local"]
|
||||||
insecure = true
|
http = true
|
||||||
|
insecure = true
|
||||||
[[registry]]
|
|
||||||
location = "docker.io"
|
|
||||||
|
|
||||||
[[registry.mirror]]
|
|
||||||
location = "dockerhub.dockerhub.svc.cluster.local" # Replace with your mirror URL
|
|
||||||
insecure = true
|
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: source
|
- name: source
|
||||||
workspace: git-source
|
workspace: git-source
|
||||||
@@ -182,7 +178,7 @@ spec:
|
|||||||
- build-image
|
- build-image
|
||||||
params:
|
params:
|
||||||
- name: docker-image
|
- name: docker-image
|
||||||
value: "$(tasks.build-image.results.IMAGE_URL[0])"
|
value: "$(tasks.build-image.results.IMAGE_URL[1])"
|
||||||
finally:
|
finally:
|
||||||
- name: report-success
|
- name: report-success
|
||||||
when:
|
when:
|
||||||
@@ -279,7 +275,7 @@ spec:
|
|||||||
workspace: cargo-cache
|
workspace: cargo-cache
|
||||||
params:
|
params:
|
||||||
- name: docker-image
|
- name: docker-image
|
||||||
value: "$(tasks.build-image.results.IMAGE_URL[0])"
|
value: "$(tasks.build-image.results.IMAGE_URL[1])"
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: git-source
|
- name: git-source
|
||||||
- name: docker-credentials
|
- name: docker-credentials
|
||||||
@@ -309,4 +305,4 @@ spec:
|
|||||||
- name: path-to-image-context
|
- name: path-to-image-context
|
||||||
value: docker/organic_test/
|
value: docker/organic_test/
|
||||||
- name: path-to-dockerfile
|
- name: path-to-dockerfile
|
||||||
value: docker/organic_test/Dockerfile
|
value: docker/organic_test/
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
timeouts:
|
timeouts:
|
||||||
pipeline: "2h0m0s"
|
pipeline: "2h0m0s"
|
||||||
tasks: "1h0m40s"
|
tasks: "1h0m0s"
|
||||||
finally: "0h30m0s"
|
finally: "0h30m0s"
|
||||||
taskRunTemplate:
|
taskRunTemplate:
|
||||||
serviceAccountName: build-bot
|
serviceAccountName: build-bot
|
||||||
@@ -103,39 +103,35 @@ spec:
|
|||||||
- name: url
|
- name: url
|
||||||
value: https://code.fizz.buzz/talexander/personal_tekton_catalog.git
|
value: https://code.fizz.buzz/talexander/personal_tekton_catalog.git
|
||||||
- name: revision
|
- name: revision
|
||||||
value: 9c6d3bc418dc2f54d73bdfa984bce3eb6c65fd60
|
value: dda7b690195b43e8b9859d1caf5dcbf48588ade1
|
||||||
- name: pathInRepo
|
- name: pathInRepo
|
||||||
value: task/buildah-rootless-daemonless/0.1/buildah-rootless-daemonless.yaml
|
value: task/buildkit-rootless-daemonless/0.1/buildkit-rootless-daemonless.yaml
|
||||||
params:
|
params:
|
||||||
- name: OUTPUT
|
- name: OUTPUT
|
||||||
value: >-
|
value: >-
|
||||||
$(params.image-name):$(tasks.fetch-repository.results.commit)
|
type=image,"name=$(params.image-name):latest,$(params.image-name):$(tasks.fetch-repository.results.commit)",push=true,compression=zstd,compression-level=22,oci-mediatypes=true
|
||||||
- name: CONTEXT
|
- name: CONTEXT
|
||||||
value: $(params.path-to-image-context)
|
value: $(params.path-to-image-context)
|
||||||
- name: DOCKERFILE
|
- name: DOCKERFILE
|
||||||
value: $(params.path-to-dockerfile)
|
value: $(params.path-to-dockerfile)
|
||||||
- name: EXTRA_ARGS
|
- name: EXTRA_ARGS
|
||||||
value:
|
value:
|
||||||
- "--target"
|
- "--opt"
|
||||||
- "$(params.target-name)"
|
- "target=$(params.target-name)"
|
||||||
- --cache-from
|
- --import-cache
|
||||||
- "$(params.image-name)-buildcache"
|
- "type=registry,ref=$(params.image-name):buildcache"
|
||||||
- --cache-to
|
- --export-cache
|
||||||
- "$(params.image-name)-buildcache"
|
- "type=registry,ref=$(params.image-name):buildcache,mode=max,compression=zstd,compression-level=22,rewrite-timestamp=true,image-manifest=true,oci-mediatypes=true"
|
||||||
- name: REGISTRIES_CONF
|
- --opt
|
||||||
|
- build-arg:SOURCE_DATE_EPOCH=$(tasks.get-git-commit-time.results.unix-time)
|
||||||
|
- name: BUILDKITD_TOML
|
||||||
value: |
|
value: |
|
||||||
unqualified-search-registries = ["docker.io"]
|
debug = true
|
||||||
|
[registry."docker.io"]
|
||||||
[[registry]]
|
mirrors = ["dockerhub.dockerhub.svc.cluster.local"]
|
||||||
location = "dockerhub.dockerhub.svc.cluster.local"
|
[registry."dockerhub.dockerhub.svc.cluster.local"]
|
||||||
insecure = true
|
http = true
|
||||||
|
insecure = true
|
||||||
[[registry]]
|
|
||||||
location = "docker.io"
|
|
||||||
|
|
||||||
[[registry.mirror]]
|
|
||||||
location = "dockerhub.dockerhub.svc.cluster.local" # Replace with your mirror URL
|
|
||||||
insecure = true
|
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: source
|
- name: source
|
||||||
workspace: git-source
|
workspace: git-source
|
||||||
@@ -184,7 +180,7 @@ spec:
|
|||||||
- build-image
|
- build-image
|
||||||
params:
|
params:
|
||||||
- name: docker-image
|
- name: docker-image
|
||||||
value: "$(tasks.build-image.results.IMAGE_URL[0])"
|
value: "$(tasks.build-image.results.IMAGE_URL[1])"
|
||||||
- name: commit-changes
|
- name: commit-changes
|
||||||
taskRef:
|
taskRef:
|
||||||
resolver: git
|
resolver: git
|
||||||
@@ -312,7 +308,7 @@ spec:
|
|||||||
workspace: cargo-cache
|
workspace: cargo-cache
|
||||||
params:
|
params:
|
||||||
- name: docker-image
|
- name: docker-image
|
||||||
value: "$(tasks.build-image.results.IMAGE_URL[0])"
|
value: "$(tasks.build-image.results.IMAGE_URL[1])"
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: git-source
|
- name: git-source
|
||||||
- name: docker-credentials
|
- name: docker-credentials
|
||||||
@@ -342,4 +338,4 @@ spec:
|
|||||||
- name: path-to-image-context
|
- name: path-to-image-context
|
||||||
value: docker/organic_development/
|
value: docker/organic_development/
|
||||||
- name: path-to-dockerfile
|
- name: path-to-dockerfile
|
||||||
value: docker/organic_development/Dockerfile
|
value: docker/organic_development/
|
||||||
|
|||||||
@@ -5,12 +5,12 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
pdb: protect
|
pdb: protect
|
||||||
spec:
|
spec:
|
||||||
|
taskRunTemplate:
|
||||||
|
serviceAccountName: build-bot
|
||||||
timeouts:
|
timeouts:
|
||||||
pipeline: "2h0m0s"
|
pipeline: "2h0m0s"
|
||||||
tasks: "1h0m40s"
|
tasks: "1h0m40s"
|
||||||
finally: "0h30m0s"
|
finally: "0h30m0s"
|
||||||
taskRunTemplate:
|
|
||||||
serviceAccountName: build-bot
|
|
||||||
pipelineSpec:
|
pipelineSpec:
|
||||||
params:
|
params:
|
||||||
- name: image-name
|
- name: image-name
|
||||||
@@ -103,39 +103,35 @@ spec:
|
|||||||
- name: url
|
- name: url
|
||||||
value: https://code.fizz.buzz/talexander/personal_tekton_catalog.git
|
value: https://code.fizz.buzz/talexander/personal_tekton_catalog.git
|
||||||
- name: revision
|
- name: revision
|
||||||
value: 9c6d3bc418dc2f54d73bdfa984bce3eb6c65fd60
|
value: dda7b690195b43e8b9859d1caf5dcbf48588ade1
|
||||||
- name: pathInRepo
|
- name: pathInRepo
|
||||||
value: task/buildah-rootless-daemonless/0.1/buildah-rootless-daemonless.yaml
|
value: task/buildkit-rootless-daemonless/0.1/buildkit-rootless-daemonless.yaml
|
||||||
params:
|
params:
|
||||||
- name: OUTPUT
|
- name: OUTPUT
|
||||||
value: >-
|
value: >-
|
||||||
$(params.image-name):$(tasks.fetch-repository.results.commit)
|
type=image,"name=$(params.image-name):latest,$(params.image-name):$(tasks.fetch-repository.results.commit)",push=true,compression=zstd,compression-level=22,oci-mediatypes=true
|
||||||
- name: CONTEXT
|
- name: CONTEXT
|
||||||
value: $(params.path-to-image-context)
|
value: $(params.path-to-image-context)
|
||||||
- name: DOCKERFILE
|
- name: DOCKERFILE
|
||||||
value: $(params.path-to-dockerfile)
|
value: $(params.path-to-dockerfile)
|
||||||
- name: EXTRA_ARGS
|
- name: EXTRA_ARGS
|
||||||
value:
|
value:
|
||||||
- "--target"
|
- "--opt"
|
||||||
- "$(params.target-name)"
|
- "target=$(params.target-name)"
|
||||||
- --cache-from
|
- --import-cache
|
||||||
- "$(params.image-name)-buildcache"
|
- "type=registry,ref=$(params.image-name):buildcache"
|
||||||
- --cache-to
|
- --export-cache
|
||||||
- "$(params.image-name)-buildcache"
|
- "type=registry,ref=$(params.image-name):buildcache,mode=max,compression=zstd,compression-level=22,rewrite-timestamp=true,image-manifest=true,oci-mediatypes=true"
|
||||||
- name: REGISTRIES_CONF
|
- --opt
|
||||||
|
- build-arg:SOURCE_DATE_EPOCH=$(tasks.get-git-commit-time.results.unix-time)
|
||||||
|
- name: BUILDKITD_TOML
|
||||||
value: |
|
value: |
|
||||||
unqualified-search-registries = ["docker.io"]
|
debug = true
|
||||||
|
[registry."docker.io"]
|
||||||
[[registry]]
|
mirrors = ["dockerhub.dockerhub.svc.cluster.local"]
|
||||||
location = "dockerhub.dockerhub.svc.cluster.local"
|
[registry."dockerhub.dockerhub.svc.cluster.local"]
|
||||||
insecure = true
|
http = true
|
||||||
|
insecure = true
|
||||||
[[registry]]
|
|
||||||
location = "docker.io"
|
|
||||||
|
|
||||||
[[registry.mirror]]
|
|
||||||
location = "dockerhub.dockerhub.svc.cluster.local" # Replace with your mirror URL
|
|
||||||
insecure = true
|
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: source
|
- name: source
|
||||||
workspace: git-source
|
workspace: git-source
|
||||||
@@ -143,7 +139,7 @@ spec:
|
|||||||
workspace: docker-credentials
|
workspace: docker-credentials
|
||||||
runAfter:
|
runAfter:
|
||||||
- fetch-repository
|
- fetch-repository
|
||||||
- name: run-test
|
- name: run-cargo-clippy
|
||||||
taskSpec:
|
taskSpec:
|
||||||
metadata: {}
|
metadata: {}
|
||||||
params:
|
params:
|
||||||
@@ -194,7 +190,7 @@ spec:
|
|||||||
- build-image
|
- build-image
|
||||||
params:
|
params:
|
||||||
- name: docker-image
|
- name: docker-image
|
||||||
value: "$(tasks.build-image.results.IMAGE_URL[0])"
|
value: "$(tasks.build-image.results.IMAGE_URL[1])"
|
||||||
finally:
|
finally:
|
||||||
- name: report-success
|
- name: report-success
|
||||||
when:
|
when:
|
||||||
@@ -291,7 +287,7 @@ spec:
|
|||||||
workspace: cargo-cache
|
workspace: cargo-cache
|
||||||
params:
|
params:
|
||||||
- name: docker-image
|
- name: docker-image
|
||||||
value: "$(tasks.build-image.results.IMAGE_URL[0])"
|
value: "$(tasks.build-image.results.IMAGE_URL[1])"
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: git-source
|
- name: git-source
|
||||||
- name: docker-credentials
|
- name: docker-credentials
|
||||||
@@ -321,4 +317,4 @@ spec:
|
|||||||
- name: path-to-image-context
|
- name: path-to-image-context
|
||||||
value: docker/organic_development/
|
value: docker/organic_development/
|
||||||
- name: path-to-dockerfile
|
- name: path-to-dockerfile
|
||||||
value: docker/organic_development/Dockerfile
|
value: docker/organic_development/
|
||||||
|
|||||||
@@ -103,39 +103,35 @@ spec:
|
|||||||
- name: url
|
- name: url
|
||||||
value: https://code.fizz.buzz/talexander/personal_tekton_catalog.git
|
value: https://code.fizz.buzz/talexander/personal_tekton_catalog.git
|
||||||
- name: revision
|
- name: revision
|
||||||
value: 9c6d3bc418dc2f54d73bdfa984bce3eb6c65fd60
|
value: dda7b690195b43e8b9859d1caf5dcbf48588ade1
|
||||||
- name: pathInRepo
|
- name: pathInRepo
|
||||||
value: task/buildah-rootless-daemonless/0.1/buildah-rootless-daemonless.yaml
|
value: task/buildkit-rootless-daemonless/0.1/buildkit-rootless-daemonless.yaml
|
||||||
params:
|
params:
|
||||||
- name: OUTPUT
|
- name: OUTPUT
|
||||||
value: >-
|
value: >-
|
||||||
$(params.image-name):$(tasks.fetch-repository.results.commit)
|
type=image,"name=$(params.image-name):latest,$(params.image-name):$(tasks.fetch-repository.results.commit)",push=true,compression=zstd,compression-level=22,oci-mediatypes=true
|
||||||
- name: CONTEXT
|
- name: CONTEXT
|
||||||
value: $(params.path-to-image-context)
|
value: $(params.path-to-image-context)
|
||||||
- name: DOCKERFILE
|
- name: DOCKERFILE
|
||||||
value: $(params.path-to-dockerfile)
|
value: $(params.path-to-dockerfile)
|
||||||
- name: EXTRA_ARGS
|
- name: EXTRA_ARGS
|
||||||
value:
|
value:
|
||||||
- "--target"
|
- "--opt"
|
||||||
- "$(params.target-name)"
|
- "target=$(params.target-name)"
|
||||||
- --cache-from
|
- --import-cache
|
||||||
- "$(params.image-name)-buildcache"
|
- "type=registry,ref=$(params.image-name):buildcache"
|
||||||
- --cache-to
|
- --export-cache
|
||||||
- "$(params.image-name)-buildcache"
|
- "type=registry,ref=$(params.image-name):buildcache,mode=max,compression=zstd,compression-level=22,rewrite-timestamp=true,image-manifest=true,oci-mediatypes=true"
|
||||||
- name: REGISTRIES_CONF
|
- --opt
|
||||||
|
- build-arg:SOURCE_DATE_EPOCH=$(tasks.get-git-commit-time.results.unix-time)
|
||||||
|
- name: BUILDKITD_TOML
|
||||||
value: |
|
value: |
|
||||||
unqualified-search-registries = ["docker.io"]
|
debug = true
|
||||||
|
[registry."docker.io"]
|
||||||
[[registry]]
|
mirrors = ["dockerhub.dockerhub.svc.cluster.local"]
|
||||||
location = "dockerhub.dockerhub.svc.cluster.local"
|
[registry."dockerhub.dockerhub.svc.cluster.local"]
|
||||||
insecure = true
|
http = true
|
||||||
|
insecure = true
|
||||||
[[registry]]
|
|
||||||
location = "docker.io"
|
|
||||||
|
|
||||||
[[registry.mirror]]
|
|
||||||
location = "dockerhub.dockerhub.svc.cluster.local" # Replace with your mirror URL
|
|
||||||
insecure = true
|
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: source
|
- name: source
|
||||||
workspace: git-source
|
workspace: git-source
|
||||||
@@ -143,7 +139,7 @@ spec:
|
|||||||
workspace: docker-credentials
|
workspace: docker-credentials
|
||||||
runAfter:
|
runAfter:
|
||||||
- fetch-repository
|
- fetch-repository
|
||||||
- name: run-test
|
- name: run-cargo-test
|
||||||
taskSpec:
|
taskSpec:
|
||||||
metadata: {}
|
metadata: {}
|
||||||
params:
|
params:
|
||||||
@@ -193,7 +189,7 @@ spec:
|
|||||||
- build-image
|
- build-image
|
||||||
params:
|
params:
|
||||||
- name: docker-image
|
- name: docker-image
|
||||||
value: "$(tasks.build-image.results.IMAGE_URL[0])"
|
value: "$(tasks.build-image.results.IMAGE_URL[1])"
|
||||||
finally:
|
finally:
|
||||||
- name: report-success
|
- name: report-success
|
||||||
when:
|
when:
|
||||||
@@ -290,7 +286,7 @@ spec:
|
|||||||
workspace: cargo-cache
|
workspace: cargo-cache
|
||||||
params:
|
params:
|
||||||
- name: docker-image
|
- name: docker-image
|
||||||
value: "$(tasks.build-image.results.IMAGE_URL[0])"
|
value: "$(tasks.build-image.results.IMAGE_URL[1])"
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: git-source
|
- name: git-source
|
||||||
- name: docker-credentials
|
- name: docker-credentials
|
||||||
@@ -320,4 +316,4 @@ spec:
|
|||||||
- name: path-to-image-context
|
- name: path-to-image-context
|
||||||
value: docker/organic_test/
|
value: docker/organic_test/
|
||||||
- name: path-to-dockerfile
|
- name: path-to-dockerfile
|
||||||
value: docker/organic_test/Dockerfile
|
value: docker/organic_test/
|
||||||
|
|||||||
@@ -1,31 +1,31 @@
|
|||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
|
|
||||||
[[push]]
|
# [[push]]
|
||||||
name = "rust-test"
|
# name = "rust-test"
|
||||||
source = "pipeline-rust-test.yaml"
|
# source = "pipeline-rust-test.yaml"
|
||||||
clone_uri = "git@code.fizz.buzz:talexander/organic.git"
|
# clone_uri = "git@code.fizz.buzz:talexander/organic.git"
|
||||||
skip_branches = [ "^v[0-9]+\\.[0-9]+\\.[0-9]+$" ]
|
# skip_branches = [ "^v[0-9]+\\.[0-9]+\\.[0-9]+$" ]
|
||||||
|
|
||||||
[[push]]
|
[[push]]
|
||||||
name = "foreign-document-test"
|
name = "foreign-document-test"
|
||||||
source = "pipeline-foreign-document-test.yaml"
|
source = "pipeline-foreign-document-test.yaml"
|
||||||
clone_uri = "git@code.fizz.buzz:talexander/organic.git"
|
clone_uri = "git@code.fizz.buzz:talexander/organic.git"
|
||||||
branches = [ "^main$", "^master$" ]
|
branches = [ "^main$", "^master$", "^no_add$" ]
|
||||||
|
|
||||||
[[push]]
|
# [[push]]
|
||||||
name = "clippy"
|
# name = "clippy"
|
||||||
source = "pipeline-rust-clippy.yaml"
|
# source = "pipeline-rust-clippy.yaml"
|
||||||
clone_uri = "git@code.fizz.buzz:talexander/organic.git"
|
# clone_uri = "git@code.fizz.buzz:talexander/organic.git"
|
||||||
skip_branches = [ "^v[0-9]+\\.[0-9]+\\.[0-9]+$" ]
|
# skip_branches = [ "^v[0-9]+\\.[0-9]+\\.[0-9]+$" ]
|
||||||
|
|
||||||
[[push]]
|
# [[push]]
|
||||||
name = "format"
|
# name = "format"
|
||||||
source = "pipeline-format.yaml"
|
# source = "pipeline-format.yaml"
|
||||||
clone_uri = "git@code.fizz.buzz:talexander/organic.git"
|
# clone_uri = "git@code.fizz.buzz:talexander/organic.git"
|
||||||
skip_branches = [ "^v[0-9]+\\.[0-9]+\\.[0-9]+$" ]
|
# skip_branches = [ "^v[0-9]+\\.[0-9]+\\.[0-9]+$" ]
|
||||||
|
|
||||||
[[push]]
|
# [[push]]
|
||||||
name = "build"
|
# name = "build"
|
||||||
source = "pipeline-build-hash.yaml"
|
# source = "pipeline-build-hash.yaml"
|
||||||
clone_uri = "git@code.fizz.buzz:talexander/organic.git"
|
# clone_uri = "git@code.fizz.buzz:talexander/organic.git"
|
||||||
branches = [ "^main$", "^master$" ]
|
# branches = [ "^main$", "^master$" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user