diff --git a/ci-operator/config/openshift/external-dns/OWNERS b/ci-operator/config/openshift/external-dns/OWNERS new file mode 100644 index 0000000000000..3fff7ec54bb5f --- /dev/null +++ b/ci-operator/config/openshift/external-dns/OWNERS @@ -0,0 +1,10 @@ +# DO NOT EDIT; this file is auto-generated using tools/populate-owners. +# from https://github.com/openshift/hive/blob/6b31677c041380d632b67d7bef7ddfde8cf34b68/OWNERS +# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md + +approvers: +- abutcher +- csrwng +- dgoodwin +- joelddiaz +- twiest diff --git a/ci-operator/config/openshift/external-dns/openshift-external-dns-openshift-4.0.yaml b/ci-operator/config/openshift/external-dns/openshift-external-dns-openshift-4.0.yaml new file mode 100644 index 0000000000000..e2e6edfdcc42e --- /dev/null +++ b/ci-operator/config/openshift/external-dns/openshift-external-dns-openshift-4.0.yaml @@ -0,0 +1,42 @@ +tag_specification: + name: '4.0' + namespace: ocp +promotion: + name: hive-v4.0 + namespace: openshift +base_images: + base: + name: '4.0' + namespace: ocp + tag: base +binary_build_commands: make build +canonical_go_repository: github.com/kubernetes-incubator/external-dns +images: +- dockerfile_path: Dockerfile.ci + from: base + to: external-dns +resources: + '*': + limits: + memory: 4Gi + requests: + cpu: 100m + memory: 200Mi + unit: + limits: + memory: 4Gi + requests: + cpu: 500m + memory: 1Gi + integration: + limits: + memory: 4Gi + requests: + cpu: 1000m + memory: 2Gi +build_root: + image_stream_tag: + cluster: https://api.ci.openshift.org + name: release + namespace: openshift + tag: golang-1.10 diff --git a/ci-operator/jobs/openshift/external-dns/OWNERS b/ci-operator/jobs/openshift/external-dns/OWNERS new file mode 100644 index 0000000000000..3fff7ec54bb5f --- /dev/null +++ b/ci-operator/jobs/openshift/external-dns/OWNERS @@ -0,0 +1,10 @@ +# DO NOT EDIT; this file is auto-generated using tools/populate-owners. +# from https://github.com/openshift/hive/blob/6b31677c041380d632b67d7bef7ddfde8cf34b68/OWNERS +# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md + +approvers: +- abutcher +- csrwng +- dgoodwin +- joelddiaz +- twiest diff --git a/ci-operator/jobs/openshift/external-dns/openshift-external-dns-openshift-4.0-postsubmits.yaml b/ci-operator/jobs/openshift/external-dns/openshift-external-dns-openshift-4.0-postsubmits.yaml new file mode 100644 index 0000000000000..c935891e58ed3 --- /dev/null +++ b/ci-operator/jobs/openshift/external-dns/openshift-external-dns-openshift-4.0-postsubmits.yaml @@ -0,0 +1,34 @@ +postsubmits: + openshift/external-dns: + - agent: kubernetes + branches: + - ^openshift-4\.0$ + context: "" + decorate: true + decoration_config: + skip_cloning: true + labels: + ci-operator.openshift.io/prowgen-controlled: "true" + name: branch-ci-openshift-external-dns-openshift-4.0-images + spec: + containers: + - args: + - --artifact-dir=$(ARTIFACTS) + - --give-pr-author-access-to-namespace=true + - --promote + - --target=[images] + command: + - ci-operator + env: + - name: CONFIG_SPEC + valueFrom: + configMapKeyRef: + key: openshift-external-dns-openshift-4.0.yaml + name: ci-operator-4.0-configs + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + serviceAccountName: ci-operator diff --git a/ci-operator/jobs/openshift/external-dns/openshift-external-dns-openshift-4.0-presubmits.yaml b/ci-operator/jobs/openshift/external-dns/openshift-external-dns-openshift-4.0-presubmits.yaml new file mode 100644 index 0000000000000..3b7351b0c44c5 --- /dev/null +++ b/ci-operator/jobs/openshift/external-dns/openshift-external-dns-openshift-4.0-presubmits.yaml @@ -0,0 +1,36 @@ +presubmits: + openshift/external-dns: + - agent: kubernetes + always_run: true + branches: + - openshift-4.0 + context: ci/prow/images + decorate: true + decoration_config: + skip_cloning: true + labels: + ci-operator.openshift.io/prowgen-controlled: "true" + name: pull-ci-openshift-external-dns-openshift-4.0-images + rerun_command: /test images + spec: + containers: + - args: + - --artifact-dir=$(ARTIFACTS) + - --give-pr-author-access-to-namespace=true + - --target=[images] + command: + - ci-operator + env: + - name: CONFIG_SPEC + valueFrom: + configMapKeyRef: + key: openshift-external-dns-openshift-4.0.yaml + name: ci-operator-4.0-configs + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + serviceAccountName: ci-operator + trigger: '(?m)^/test (?:.*? )?images(?: .*?)?$' diff --git a/cluster/ci/config/prow/config.yaml b/cluster/ci/config/prow/config.yaml index 422d5ab48ccac..3a7e9bf5422e7 100644 --- a/cluster/ci/config/prow/config.yaml +++ b/cluster/ci/config/prow/config.yaml @@ -205,6 +205,7 @@ tide: - openshift/images - kiegroup/kie-cloud-operator - openshift/hive + - openshift/external-dns - openshift/odo - openshift/odo-supervisord-image - openshift/external-storage @@ -429,6 +430,9 @@ branch-protection: hive: protect: true enforce_admins: true + external-dns: + protect: true + enforce_admins: true jenkins-client-plugin: protect: true enforce_admins: false diff --git a/cluster/ci/config/prow/plugins.yaml b/cluster/ci/config/prow/plugins.yaml index d05adb9561f7b..259b7760ed66e 100644 --- a/cluster/ci/config/prow/plugins.yaml +++ b/cluster/ci/config/prow/plugins.yaml @@ -523,6 +523,9 @@ plugins: openshift/hive: - approve + openshift/external-dns: + - approve + openshift/odo: - approve