Skip to content

dms-op: Standardize prow config per boilerplate - #13004

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
2uasimojo:openshift-deadmanssnitch-operator-master-boilerplate-prow-config
Nov 4, 2020
Merged

openshift-merge-robot merged 1 commit into
openshift:masterfrom
2uasimojo:openshift-deadmanssnitch-operator-master-boilerplate-prow-config

Conversation

@2uasimojo

Copy link
Copy Markdown
Member

The contents of this commit were generated by boilerplate's prow-config tool

@2uasimojo
2uasimojo force-pushed the openshift-deadmanssnitch-operator-master-boilerplate-prow-config branch from d1916d9 to 82d34ba Compare October 22, 2020 13:43
@2uasimojo

Copy link
Copy Markdown
Member Author

/retest

My namespace expired :(

@2uasimojo
2uasimojo force-pushed the openshift-deadmanssnitch-operator-master-boilerplate-prow-config branch from 82d34ba to 3bba07f Compare October 22, 2020 16:16
@2uasimojo

Copy link
Copy Markdown
Member Author

I find it odd that merge conflicts keep appearing. On files that should only be touched by this PR.

@2uasimojo

Copy link
Copy Markdown
Member Author

/retest

I keep missing my window :(

@2uasimojo
2uasimojo force-pushed the openshift-deadmanssnitch-operator-master-boilerplate-prow-config branch from 3bba07f to fdba4cc Compare October 28, 2020 23:17
@2uasimojo
2uasimojo force-pushed the openshift-deadmanssnitch-operator-master-boilerplate-prow-config branch from fdba4cc to d27ef41 Compare November 2, 2020 15:58
@2uasimojo

Copy link
Copy Markdown
Member Author

@2uasimojo

Copy link
Copy Markdown
Member Author

/retest

Generated by `make prow-config`.
@2uasimojo
2uasimojo force-pushed the openshift-deadmanssnitch-operator-master-boilerplate-prow-config branch from d27ef41 to ebee1ee Compare November 2, 2020 19:06
@2uasimojo

Copy link
Copy Markdown
Member Author

Missed the postsubmits file, which was new. Fixed.

@2uasimojo

Copy link
Copy Markdown
Member Author

/retest

...after openshift/deadmanssnitch-operator#88

@2uasimojo

Copy link
Copy Markdown
Member Author

/retest

@jewzaam

jewzaam commented Nov 4, 2020

Copy link
Copy Markdown
Member

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 4, 2020
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 2uasimojo, jewzaam

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 4, 2020
export CODECOV_TOKEN=$(cat /tmp/secret/CODECOV_TOKEN)
make coverage
container:
from: src

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.

Do you mind explaining what src is here? I never figured it out.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yeah, it's confusing.

  • src is created automatically by the CI pipeline. It's root plus a clone of the source repository, sitting on a merge commit from the proposed PR.
  • root comes from build_root, which we're defining such that it gets the config from the source repository's .ci-operator.yaml.

Clear as mud?

- dockerfile_path: build/Dockerfile
from: base
to: deadmanssnitch-operator
to: unused

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.

If this is going to unused then how is src determined?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

See above for where src comes from.

This stanza exists solely to test the docker build, so we don't end up with surprise failures after merge when the appsre pipeline runs. The resulting image isn't actually needed for any other presubmit testing, since all the other tests need to run directly on src -- i.e. "the boilerplate backing image, with the consumer repo cloned into it at the appropriate commit".

And actually, the docker build needs to run from the same starting point. But we're already keeping the Dockerfile in sync with what ends up in src. So we don't need to use from src here. (We could, but it actually complicates the process because it makes the pipeline mess with our Dockerfile in ways that turn out to be difficult to predict/manage consistently. It's also slower.)

Some day we may have integration/e2e tests that would need to deploy the built image to a real cluster. At that point, we would rename it appropriately and consume it from those (new) test cases.

@openshift-merge-robot
openshift-merge-robot merged commit 2484a77 into openshift:master Nov 4, 2020
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@2uasimojo: Updated the following 3 configmaps:

  • job-config-master configmap in namespace ci at cluster api.ci using the following files:
    • key openshift-deadmanssnitch-operator-master-postsubmits.yaml using file ci-operator/jobs/openshift/deadmanssnitch-operator/openshift-deadmanssnitch-operator-master-postsubmits.yaml
    • key openshift-deadmanssnitch-operator-master-presubmits.yaml using file ci-operator/jobs/openshift/deadmanssnitch-operator/openshift-deadmanssnitch-operator-master-presubmits.yaml
  • job-config-master configmap in namespace ci at cluster app.ci using the following files:
    • key openshift-deadmanssnitch-operator-master-postsubmits.yaml using file ci-operator/jobs/openshift/deadmanssnitch-operator/openshift-deadmanssnitch-operator-master-postsubmits.yaml
    • key openshift-deadmanssnitch-operator-master-presubmits.yaml using file ci-operator/jobs/openshift/deadmanssnitch-operator/openshift-deadmanssnitch-operator-master-presubmits.yaml
  • ci-operator-master-configs configmap in namespace ci at cluster app.ci using the following files:
    • key openshift-deadmanssnitch-operator-master.yaml using file ci-operator/config/openshift/deadmanssnitch-operator/openshift-deadmanssnitch-operator-master.yaml
Details

In response to this:

The contents of this commit were generated by boilerplate's prow-config tool

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.

@2uasimojo
2uasimojo deleted the openshift-deadmanssnitch-operator-master-boilerplate-prow-config branch November 4, 2020 16:25
@2uasimojo
2uasimojo restored the openshift-deadmanssnitch-operator-master-boilerplate-prow-config branch December 2, 2020 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants