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

renames build jobs from cluster inventory to infrastructure manager #8894

Merged
merged 1 commit into from
Sep 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@


presubmits: # runs on PRs
kyma-project/cluster-inventory:
- name: pull-cluster-inventory-build
kyma-project/infrastructure-manager:
- name: pull-infrastructure-manager-build
annotations:
description: "run cluster-inventory build"
description: "run infrastructure-manager build"
owner: "framefrog"
labels:
prow.k8s.io/pubsub.project: "sap-kyma-prow"
prow.k8s.io/pubsub.runID: "pull-cluster-inventory-build"
prow.k8s.io/pubsub.runID: "pull-infrastructure-manager-build"
prow.k8s.io/pubsub.topic: "prowjobs"
preset-sa-kyma-push-images: "true"
always_run: true
Expand All @@ -28,7 +28,7 @@ presubmits: # runs on PRs
command:
- "/image-builder"
args:
- "--name=cluster-inventory"
- "--name=infrastructure-manager"
- "--config=/config/kaniko-build-config.yaml"
- "--dockerfile=Dockerfile"
resources:
Expand All @@ -51,14 +51,14 @@ presubmits: # runs on PRs
secretName: signify-dev-secret

postsubmits: # runs on main
kyma-project/cluster-inventory:
- name: main-cluster-inventory-build
kyma-project/infrastructure-manager:
- name: main-infrastructure-manager-build
annotations:
description: "build cluster-inventory"
description: "build infrastructure-manager"
owner: "framefrog"
labels:
prow.k8s.io/pubsub.project: "sap-kyma-prow"
prow.k8s.io/pubsub.runID: "main-cluster-inventory-build"
prow.k8s.io/pubsub.runID: "main-infrastructure-manager-build"
prow.k8s.io/pubsub.topic: "prowjobs"
preset-sa-kyma-push-images: "true"
preset-signify-prod-secret: "true"
Expand All @@ -80,7 +80,7 @@ postsubmits: # runs on main
command:
- "/image-builder"
args:
- "--name=cluster-inventory"
- "--name=infrastructure-manager"
- "--config=/config/kaniko-build-config.yaml"
- "--dockerfile=Dockerfile"
- "--tag=latest"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
templates:
- from: generic.tmpl
render:
- to: ../../prow/jobs/cluster-inventory/cluster-inventory.yaml
- to: ../../prow/jobs/infrastructure-manager/infrastructure-manager.yaml
localSets:
jobConfig_default:
imagePullPolicy: "Always"
jobConfigs:
- repoName: kyma-project/cluster-inventory
- repoName: kyma-project/infrastructure-manager
jobs:
- jobConfig:
name: pull-cluster-inventory-build
name: pull-infrastructure-manager-build
annotations:
owner: framefrog
description: run cluster-inventory build
description: run infrastructure-manager build
always_run: true
args:
- "--name=cluster-inventory"
- "--name=infrastructure-manager"
- "--config=/config/kaniko-build-config.yaml"
- "--dockerfile=Dockerfile"
inheritedConfigs:
global:
- kaniko_buildpack
- jobConfig_presubmit
- jobConfig:
name: main-cluster-inventory-build
name: main-infrastructure-manager-build
annotations:
owner: framefrog
description: build cluster-inventory
description: build infrastructure-manager
labels:
preset-signify-prod-secret: "true"
branches:
- ^main$ # any pr against main triggers this
always_run: true
args:
- "--name=cluster-inventory"
- "--name=infrastructure-manager"
- "--config=/config/kaniko-build-config.yaml"
- "--dockerfile=Dockerfile"
- "--tag=latest"
Expand Down