Skip to content

Enable ci-operator image-registry job - #862

Merged
smarterclayton merged 1 commit into
openshift:masterfrom
smarterclayton:launch2
May 17, 2018
Merged

smarterclayton merged 1 commit into
openshift:masterfrom
smarterclayton:launch2

Conversation

@smarterclayton

@smarterclayton smarterclayton commented May 16, 2018 •

Copy link
Copy Markdown
Contributor

Hold for soaking

@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label May 16, 2018
@smarterclayton

Copy link
Copy Markdown
Contributor Author

Also reorder the containers so the test container is first.

@smarterclayton smarterclayton added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 16, 2018
@smarterclayton smarterclayton changed the title Update job to run in a temporary directory Enable ci-operator image-registry job May 16, 2018
@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 16, 2018
@smarterclayton
smarterclayton force-pushed the launch2 branch 5 times, most recently from 1e735f6 to 054cce8 Compare May 16, 2018 04:05
@smarterclayton

Copy link
Copy Markdown
Contributor Author

Testing in openshift/image-registry#82

Comment thread Makefile Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This way of creating config for jobs will end up being problematic. We need to come up with something else (eg. a service that knows where to look for config based on which repos in the prow config use the ci-operator).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

That sounds complicated. I'd prefer to move config.json to the target repos, but that's blocked on changing ci-operator to accept the mapping of external images to internal references (basically remove the "from" parts of config.json and move them to a separate file). If we do that then each team just has the canonical config.json in their repo.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

My proposal here: openshift/ci-operator#17

@0xmichalis

Copy link
Copy Markdown
Contributor

How is the ci operator using cluster/ci/config/prow/jobs/cluster-launch-e2e.yaml?

@0xmichalis

Copy link
Copy Markdown
Contributor

How is the ci operator using cluster/ci/config/prow/jobs/cluster-launch-e2e.yaml?

To answer my own question, cluster/ci/config/prow/jobs/cluster-launch-e2e.yaml is mounted in the ci-operator via a config map and then presumably the ci-operator knows how to process and apply the template. What moves the template inside the configmap?

@0xmichalis

Copy link
Copy Markdown
Contributor

What moves the template inside the configmap?

oc create configmap prow-job-cluster-launch-e2e --from-file=cluster/ci/config/prow/jobs/cluster-launch-e2e.yaml -o yaml --dry-run | oc apply -f -

Make image-registry e2e job part of cluster
@smarterclayton

Copy link
Copy Markdown
Contributor Author

Enabled artifacts, make these always_run: false for now.

@smarterclayton smarterclayton removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 17, 2018
@smarterclayton
smarterclayton merged commit 0da4061 into openshift:master May 17, 2018
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@smarterclayton: Updated the config configmap from file cluster/ci/config/prow/config.yaml

Details

In response to this:

Hold for soaking

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@smarterclayton
smarterclayton deleted the launch2 branch April 24, 2019 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants