Skip to content

Commit

Permalink
Remove building buildkit images (#11990)
Browse files Browse the repository at this point in the history
  • Loading branch information
KacperMalachowski authored Sep 26, 2024
1 parent 1d08a2f commit 8cedaf1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 108 deletions.
12 changes: 0 additions & 12 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,18 +200,6 @@ updates:
commit-message:
prefix: "image-builder"
include: "scope"
- package-ecosystem: "docker"
directory: "/cmd/image-builder/images/buildkit"
labels:
- "docker"
- "skip-review"
- "area/dependency"
- "kind/chore"
schedule:
interval: "daily"
commit-message:
prefix: "buildkit-image-builder"
include: "scope"
- package-ecosystem: "docker"
directory: "/images/unified-agent/nodejs"
labels:
Expand Down
96 changes: 0 additions & 96 deletions prow/jobs/kyma-project/test-infra/images.yaml
Original file line number Diff line number Diff line change
@@ -1,53 +1,5 @@
presubmits: # runs on PRs
kyma-project/test-infra:
- name: pull-build-buildkit-image-builder
annotations:
description: "build buildkit image-builder image"
owner: "neighbors"
labels:
prow.k8s.io/pubsub.project: "sap-kyma-prow"
prow.k8s.io/pubsub.runID: "pull-build-image-builder"
prow.k8s.io/pubsub.topic: "prowjobs"
run_if_changed: ^pkg/.*.go|cmd/image-builder/.*.go|^go.mod|cmd/image-builder/images/
branches:
- main
decorate: true
cluster: untrusted-workload
max_concurrency: 10
spec:
containers:
- image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240924-5679cab8"
securityContext:
privileged: false
seccompProfile:
type: RuntimeDefault
allowPrivilegeEscalation: false
env:
- name: "ADO_PAT"
valueFrom:
secretKeyRef:
name: "image-builder-ado-token"
key: "token"
command:
- "/image-builder"
args:
- "--name=buildkit-image-builder"
- "--config=/config/kaniko-build-config.yaml"
- "--context=."
- "--dockerfile=cmd/image-builder/images/buildkit/Dockerfile"
- "--build-in-ado=true"
resources:
requests:
memory: 500Mi
cpu: 500m
volumeMounts:
- name: config
mountPath: /config
readOnly: true
volumes:
- name: config
configMap:
name: kaniko-build-config
- name: pull-main-build-testimages
decorate: true
labels:
Expand Down Expand Up @@ -83,54 +35,6 @@ presubmits: # runs on PRs
allowPrivilegeEscalation: true
postsubmits:
kyma-project/test-infra:
- name: post-build-buildkit-image-builder
annotations:
description: "build buildkit image-builder image"
owner: "neighbors"
labels:
prow.k8s.io/pubsub.project: "sap-kyma-prow"
prow.k8s.io/pubsub.runID: "pull-build-image-builder"
prow.k8s.io/pubsub.topic: "prowjobs"
run_if_changed: ^pkg/.*.go|cmd/image-builder/.*.go|^go.mod|cmd/image-builder/images/
branches:
- main
decorate: true
cluster: trusted-workload
max_concurrency: 10
spec:
containers:
- image: "europe-docker.pkg.dev/kyma-project/prod/image-builder:v20240924-5679cab8"
securityContext:
privileged: false
seccompProfile:
type: RuntimeDefault
allowPrivilegeEscalation: false
env:
- name: "ADO_PAT"
valueFrom:
secretKeyRef:
name: "image-builder-ado-token"
key: "token"
command:
- "/image-builder"
args:
- "--name=buildkit-image-builder"
- "--config=/config/kaniko-build-config.yaml"
- "--context=."
- "--dockerfile=cmd/image-builder/images/buildkit/Dockerfile"
- "--build-in-ado=true"
resources:
requests:
memory: 500Mi
cpu: 500m
volumeMounts:
- name: config
mountPath: /config
readOnly: true
volumes:
- name: config
configMap:
name: kaniko-build-config
- name: post-main-build-testimages
decorate: true
labels:
Expand Down

0 comments on commit 8cedaf1

Please sign in to comment.