Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP dockerd reproducible builds #60

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
5 changes: 4 additions & 1 deletion bin/y-build
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,10 @@ esac

[ -n "$SOURCE_DATE_EPOCH" ] || SOURCE_DATE_EPOCH=0

OUTPUT="type=image,name=$IMAGE,push=true,rewrite-timestamp=true"
OUTPUT="type=image,name=$IMAGE,push=true"

[ "$REWRITE_TIMESTAMP" != "true" ] || OUTPUT="$OUTPUT,rewrite-timestamp=true"
[ "$SOURCE_DATE_EPOCH" != "-1" ] || SOURCE_DATE_EPOCH=""

BUILD_TAG="$(echo $IMAGE | awk -F/ '{print $NF}' | awk -F@ '{print $1}' | awk -F: '{print $2}')"

Expand Down
4 changes: 2 additions & 2 deletions docker/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ kind: Kustomization
images:
- name: docker:dind
newName: docker
newTag: 24.0.6-dind@sha256:95c1bdb03ee2b92e2aeb682496928c61311aa63794fd5487922dfa81f704742e
newTag: 26.1.0-dind@sha256:308c63f771a0596e23f6007f537c8e1d77c8cf68864f0a5a6fc476c69b9b7416
- name: docker:dind-rootless
newName: docker
newTag: 24.0.6-dind-rootless@sha256:fbc42b5c40d5b381777728a79e3191e9add2296ebf762899c50f42f41192a360
newTag: 26.1.0-dind-rootless@sha256:b44f0792e9d62bedab00089885783a0e4e315efb8cb8265406f39d4c92bccdff

resources:
- dockerd-service.yaml
Expand Down
20 changes: 10 additions & 10 deletions tekton/dashboard-release/release-full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ subjects:
---
apiVersion: v1
data:
version: v0.43.0
version: v0.45.0
kind: ConfigMap
metadata:
labels:
Expand All @@ -289,9 +289,9 @@ metadata:
app.kubernetes.io/instance: default
app.kubernetes.io/name: dashboard
app.kubernetes.io/part-of: tekton-dashboard
app.kubernetes.io/version: v0.43.0
dashboard.tekton.dev/release: v0.43.0
version: v0.43.0
app.kubernetes.io/version: v0.45.0
dashboard.tekton.dev/release: v0.45.0
version: v0.45.0
name: tekton-dashboard
namespace: tekton-pipelines
spec:
Expand All @@ -315,9 +315,9 @@ metadata:
app.kubernetes.io/instance: default
app.kubernetes.io/name: dashboard
app.kubernetes.io/part-of: tekton-dashboard
app.kubernetes.io/version: v0.43.0
dashboard.tekton.dev/release: v0.43.0
version: v0.43.0
app.kubernetes.io/version: v0.45.0
dashboard.tekton.dev/release: v0.45.0
version: v0.45.0
name: tekton-dashboard
namespace: tekton-pipelines
spec:
Expand All @@ -336,7 +336,7 @@ spec:
app.kubernetes.io/instance: default
app.kubernetes.io/name: dashboard
app.kubernetes.io/part-of: tekton-dashboard
app.kubernetes.io/version: v0.43.0
app.kubernetes.io/version: v0.45.0
name: tekton-dashboard
spec:
containers:
Expand All @@ -348,7 +348,7 @@ spec:
- --read-only=false
- --log-level=info
- --log-format=json
- --namespace=
- --default-namespace=
- --namespaces=
- --stream-logs=true
- --external-logs=
Expand All @@ -357,7 +357,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: gcr.io/tekton-releases/github.com/tektoncd/dashboard/cmd/dashboard:v0.43.0@sha256:70ca3d57d795c38b5a16e7b69bde8550337b7b2ea3183d94b022f0388b0ee61d
image: gcr.io/tekton-releases/github.com/tektoncd/dashboard/cmd/dashboard:v0.45.0@sha256:5cd17db16f6b930e85d051a5669b032e5680ec80c2c87bc3a2f0134d55a53c38
livenessProbe:
httpGet:
path: /health
Expand Down
20 changes: 10 additions & 10 deletions tekton/release-resolvers/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -583,12 +583,12 @@ metadata:
app.kubernetes.io/name: resolvers
app.kubernetes.io/component: resolvers
app.kubernetes.io/instance: default
app.kubernetes.io/version: "v0.56.0"
app.kubernetes.io/version: "v0.59.0"
app.kubernetes.io/part-of: tekton-pipelines
# tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml
pipeline.tekton.dev/release: "v0.56.0"
pipeline.tekton.dev/release: "v0.59.0"
# labels below are related to istio and should not be used for resource lookup
version: "v0.56.0"
version: "v0.59.0"
spec:
replicas: 1
selector:
Expand All @@ -603,13 +603,13 @@ spec:
app.kubernetes.io/name: resolvers
app.kubernetes.io/component: resolvers
app.kubernetes.io/instance: default
app.kubernetes.io/version: "v0.56.0"
app.kubernetes.io/version: "v0.59.0"
app.kubernetes.io/part-of: tekton-pipelines
# tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml
pipeline.tekton.dev/release: "v0.56.0"
pipeline.tekton.dev/release: "v0.59.0"
# labels below are related to istio and should not be used for resource lookup
app: tekton-pipelines-resolvers
version: "v0.56.0"
version: "v0.59.0"
spec:
affinity:
podAntiAffinity:
Expand All @@ -626,7 +626,7 @@ spec:
serviceAccountName: tekton-pipelines-resolvers
containers:
- name: controller
image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/resolvers:v0.56.0@sha256:8c0598a04420caa0ee3aeb6fef7521f93f4c41f7308ccb0c616167dc1d5fa00a
image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/resolvers:v0.59.0@sha256:80015cd2b4bb73ea894733eec96befcf2e61670017cf579f4cd75a393ae7dd41
resources:
requests:
cpu: 100m
Expand Down Expand Up @@ -698,13 +698,13 @@ metadata:
app.kubernetes.io/name: resolvers
app.kubernetes.io/component: resolvers
app.kubernetes.io/instance: default
app.kubernetes.io/version: "v0.56.0"
app.kubernetes.io/version: "v0.59.0"
app.kubernetes.io/part-of: tekton-pipelines
# tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml
pipeline.tekton.dev/release: "v0.56.0"
pipeline.tekton.dev/release: "v0.59.0"
# labels below are related to istio and should not be used for resource lookup
app: tekton-pipelines-remote-resolvers
version: "v0.56.0"
version: "v0.59.0"
name: tekton-pipelines-remote-resolvers
namespace: tekton-pipelines-resolvers
spec:
Expand Down
Loading