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

Add jobs and config for gardener-extension-provider-equinix-metal #2536

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 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
@@ -0,0 +1,24 @@
presubmits:
gardener/gardener-extension-provider-equinix-metal:
- name: pull-gardener-extension-provider-equinix-metal-verify-image-build
cluster: gardener-prow-build
always_run: true
annotations:
description: Verify Gardener extension registry-cache image build on pull requests
decorate: true
spec:
containers:
- name: kaniko
image: gcr.io/kaniko-project/executor:v1.23.2
command:
- /kaniko/executor
args:
- --context=/home/prow/go/src/github.com/gardener/gardener-extension-provider-equinix-metal
- --dockerfile=Dockerfile
- --no-push
- --registry-mirror=registry-docker-io.kube-system.svc.cluster.local:5000
- --insecure-registry=registry-docker-io.kube-system.svc.cluster.local:5000
resources:
requests:
cpu: 6
memory: 2Gi
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
presubmits:
gardener/gardener-extension-provider-equinix-metal:
- name: pull-gardener-extension-provider-equinix-metal-unit
cluster: gardener-prow-build
always_run: true
decorate: true
decoration_config:
timeout: 40m
grace_period: 10m
annotations:
description: Runs unit tests for Gardener extension registry-cache developments in pull requests
spec:
containers:
- image: europe-docker.pkg.dev/gardener-project/releases/ci-infra/golang-test:v20241015-6e96a7c-1.23
command:
- make
args:
- verify-extended
resources:
limits:
memory: 3Gi
requests:
cpu: 2
memory: 1Gi
periodics:
- name: ci-gardener-extension-provider-equinix-metal-unit
cluster: gardener-prow-build
interval: 4h
extra_refs:
- org: gardener
repo: gardener-extension-provider-equinix-metal
base_ref: main
decorate: true
decoration_config:
timeout: 40m
grace_period: 10m
annotations:
description: Runs unit tests for Gardener extension registry-cache developments periodically
testgrid-dashboards: gardener-extension-provider-equinix-metal
testgrid-days-of-results: "60"
spec:
containers:
- image: europe-docker.pkg.dev/gardener-project/releases/ci-infra/golang-test:v20241015-6e96a7c-1.23
command:
- make
args:
- verify-extended
resources:
limits:
memory: 3Gi
requests:
cpu: 2
memory: 1Gi
18 changes: 18 additions & 0 deletions config/prow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,23 @@ tide:
- do-not-merge/work-in-progress
- needs-rebase
- "cla: no"
- repos:
- gardener/gardener-extension-provider-equinix-metal
labels:
- lgtm
- approved
- "cla: yes"
missingLabels:
- do-not-merge/blocked-paths
- do-not-merge/contains-merge-commits
- do-not-merge/hold
- do-not-merge/invalid-commit-message
- do-not-merge/invalid-owners-file
- do-not-merge/needs-kind
- do-not-merge/release-note-label-needed
- do-not-merge/work-in-progress
- needs-rebase
- "cla: no"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you rebase please, because we deduplicated the tide config with #2609


context_options:
# Use branch protection options to define required and optional contexts
Expand All @@ -385,6 +402,7 @@ tide:
gardener/gardener-extension-shoot-rsyslog-relp: squash
gardener/gardener-discovery-server: squash
gardener/cert-management: squash
gardener/gardener-extension-provider-equinix-metal: squash
pr_status_base_urls:
'*': https://prow.gardener.cloud/pr
blocker_label: tide/merge-blocker
Expand Down
34 changes: 34 additions & 0 deletions config/prow/plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ triggers:
- gardener/gardener-discovery-server
- gardener/landscaper
- gardener/cert-management
- gardener/gardener-extension-provider-equinix-metal

approve:
- repos:
Expand All @@ -26,6 +27,7 @@ approve:
- gardener/gardener-extension-shoot-rsyslog-relp
- gardener/gardener-discovery-server
- gardener/cert-management
- gardener/gardener-extension-provider-equinix-metal
lgtm_acts_as_approve: false
require_self_approval: true
commandHelpLink: "https://prow.gardener.cloud/command-help"
Expand Down Expand Up @@ -58,6 +60,7 @@ lgtm:
- gardener/gardener-extension-shoot-rsyslog-relp
- gardener/gardener-discovery-server
- gardener/cert-management
- gardener/gardener-extension-provider-equinix-metal
review_acts_as_lgtm: true
store_tree_hash: true

Expand Down Expand Up @@ -195,6 +198,7 @@ welcome:
- gardener/gardener-extension-shoot-rsyslog-relp
- gardener/gardener-discovery-server
- gardener/cert-management
- gardener/gardener-extension-provider-equinix-metal
message_template: "Welcome @{{.AuthorLogin}}! <br><br>It looks like this is your first PR to <a href='https://github.com/{{.Org}}/{{.Repo}}'>{{.Org}}/{{.Repo}}</a> 🎉. Please refer to our [pull request process documentation](https://gardener.cloud/docs/contribute/#pull-request-checklist) to help your PR have a smooth ride to approval. <br><br>You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. [Here is the bot commands documentation](https://prow.gardener.cloud/command-help). <br><br>You can also check if {{.Org}}/{{.Repo}} has [its own contribution guidelines](https://github.com/{{.Org}}/{{.Repo}}/tree/master/CONTRIBUTING.md). <br><br>Thank you, and welcome to Gardener. :smiley:"

require_matching_label:
Expand Down Expand Up @@ -489,6 +493,36 @@ plugins:
- welcome
- wip
- yuks
gardener/gardener-extension-provider-equinix-metal:
plugins:
- approve
- assign
- blunderbuss
- dog
- golint
- heart
- help
- hold
- invalidcommitmsg
- label
- lgtm
- lifecycle
- mergecommitblocker
- milestone
- override
- owners-label
- require-matching-label
- retitle
- shrug
- size
- skip
- transfer-issue
- trick-or-treat
- trigger
- verify-owners
- welcome
- wip
- yuks

external_plugins:
gardener/ci-infra:
Expand Down
2 changes: 2 additions & 0 deletions config/testgrids/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ dashboard_groups:
- gardener-extension-shoot-rsyslog-relp
- gardener-discovery-server
- cert-management
- gardener-extension-provider-equinix-metal

dashboards:
- name: gardener-gardener
Expand All @@ -27,3 +28,4 @@ dashboards:
- name: gardener-extension-shoot-rsyslog-relp
- name: gardener-discovery-server
- name: cert-management
- name: gardener-extension-provider-equinix-metal