Skip to content

Conversation

@alexander-demicev
Copy link
Contributor

No description provided.

@openshift-ci openshift-ci bot requested review from Fedosin and JoelSpeed September 23, 2021 09:48
Copy link
Contributor

Choose a reason for hiding this comment

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

You don't need to specify the exact main file, the package will suffice and from what we've seen, causes fewer issues

Suggested change
binary_build_commands: go build -o bin/meta-cluster-api-operator cmd/meta-cluster-api-operator/main.go
binary_build_commands: go build -o bin/meta-cluster-api-operator cmd/meta-cluster-api-operator/

@alexander-demicev alexander-demicev force-pushed the metacapi branch 2 times, most recently from edf3d30 to b7598f1 Compare September 23, 2021 13:17
@alexander-demicev
Copy link
Contributor Author

/retest

@alexander-demicev
Copy link
Contributor Author

/assign @smarterclayton

@smarterclayton I added a new component that we are planning to release in 4.10 https://github.com/openshift/meta-cluster-api-operator

Copy link
Contributor

Choose a reason for hiding this comment

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

Naming review:

Ok, why is this called "meta"? From a naming perpective I don't understand what "meta" means, so if you can articulate that it'll help me review.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

openshift/enhancements#913 - enhancement that describes what this component does

@alexander-demicev alexander-demicev changed the title meta-cluster-api-operator: setup ci jobs cluster-capi-operator Oct 13, 2021
@openshift-ci openshift-ci bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 13, 2021
@openshift-ci openshift-ci bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 13, 2021
@alexander-demicev alexander-demicev force-pushed the metacapi branch 3 times, most recently from b7b8529 to a9b8051 Compare October 13, 2021 12:58
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 13, 2021

@alexander-demichev: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/rehearse/openshift/cluster-capi-operator/cluster-capi-operator-main/vendor 1c6583ca1d1cb957d473d4ae32bd77c8a7b70c37 link unknown /test pj-rehearse
ci/rehearse/openshift/cluster-capi-operator/cluster-capi-operator-main/unit 1c6583ca1d1cb957d473d4ae32bd77c8a7b70c37 link unknown /test pj-rehearse
ci/rehearse/openshift/cluster-capi-operator/cluster-capi-operator-main/lint 1c6583ca1d1cb957d473d4ae32bd77c8a7b70c37 link unknown /test pj-rehearse
ci/rehearse/openshift/cluster-capi-operator/cluster-capi-operator-main/images 1c6583ca1d1cb957d473d4ae32bd77c8a7b70c37 link unknown /test pj-rehearse
ci/rehearse/openshift/cluster-capi-operator/main/lint ac4976d link unknown /test pj-rehearse
ci/rehearse/openshift/cluster-capi-operator/main/unit ac4976d link unknown /test pj-rehearse
ci/prow/pj-rehearse ac4976d link false /test pj-rehearse

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

@alexander-demicev alexander-demicev changed the title cluster-capi-operator cluster-capi-operator: setup ci jobs Oct 13, 2021
@smarterclayton
Copy link
Contributor

/approve

naming

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 13, 2021
Copy link
Contributor

@JoelSpeed JoelSpeed left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Oct 14, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 14, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alexander-demichev, JoelSpeed, smarterclayton

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-merge-robot openshift-merge-robot merged commit dafc2d6 into openshift:master Oct 14, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 14, 2021

@alexander-demichev: Updated the following 6 configmaps:

  • ci-operator-master-configs configmap in namespace ci at cluster app.ci using the following files:
    • key openshift-cluster-capi-operator-main.yaml using file ci-operator/config/openshift/cluster-capi-operator/openshift-cluster-capi-operator-main.yaml
  • job-config-master-postsubmits configmap in namespace ci at cluster app.ci using the following files:
    • key openshift-cluster-capi-operator-main-postsubmits.yaml using file ci-operator/jobs/openshift/cluster-capi-operator/openshift-cluster-capi-operator-main-postsubmits.yaml
  • job-config-master-presubmits configmap in namespace ci at cluster app.ci using the following files:
    • key openshift-cluster-capi-operator-main-presubmits.yaml using file ci-operator/jobs/openshift/cluster-capi-operator/openshift-cluster-capi-operator-main-presubmits.yaml
  • image-mirror-mappings configmap in namespace ci at cluster app.ci using the following files:
    • key mapping_origin_4_10 using file core-services/image-mirroring/openshift/mapping_origin_4_10
  • plugins configmap in namespace ci at cluster app.ci using the following files:
    • key core-services-prow-02_config-openshift-meta-cluster-api-operator-_pluginconfig.yaml using file ``
    • key core-services-prow-02_config-openshift-cluster-capi-operator-_pluginconfig.yaml using file core-services/prow/02_config/openshift/cluster-capi-operator/_pluginconfig.yaml
  • config configmap in namespace ci at cluster app.ci using the following files:
    • key core-services-prow-02_config-openshift-meta-cluster-api-operator-_prowconfig.yaml using file ``
    • key core-services-prow-02_config-openshift-cluster-capi-operator-_prowconfig.yaml using file core-services/prow/02_config/openshift/cluster-capi-operator/_prowconfig.yaml
Details

In response to this:

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.

@alexander-demicev alexander-demicev deleted the metacapi branch October 14, 2021 13:29
registry.ci.openshift.org/origin/4.10:cluster-bootstrap quay.io/openshift/origin-cluster-bootstrap:4.10 quay.io/openshift/origin-cluster-bootstrap:4.10.0 quay.io/openshift/origin-cluster-bootstrap:latest
registry.ci.openshift.org/origin/4.10:cluster-capacity quay.io/openshift/origin-cluster-capacity:4.10 quay.io/openshift/origin-cluster-capacity:4.10.0 quay.io/openshift/origin-cluster-capacity:latest
registry.ci.openshift.org/origin/4.10:cluster-capi-operator quay.io/openshift/origin-cluster-capi-operator:4.10 quay.io/openshift/origin-cluster-capi-operator:4.10.0 quay.io/openshift/origin-cluster-capi-operator:latest
registry.ci.openshift.org/origin/4.10:cluster-capi-operator-src quay.io/openshift/origin-cluster-capi-operator-src:4.10 quay.io/openshift/origin-cluster-capi-operator-src:4.10.0 quay.io/openshift/origin-cluster-capi-operator-src:latest
Copy link
Contributor

Choose a reason for hiding this comment

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

i missed this during review, why are we publishing a source image like this? what does it enable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

wking added a commit to wking/openshift-release that referenced this pull request Nov 5, 2021
…-operator-src

We've been building it since ac4976d (cluster-capi-operator: setup
ci jobs, 2021-09-22, openshift#22180), and because of the generous 'promotion'
block, we've been pushing it into the CI ImageStream, where it's
feeding release images:

  $ oc adm release info --commits registry.ci.openshift.org/ocp/release:4.10.0-0.ci-2021-11-05-164015 | grep capi-operator
    cluster-capi-operator                          https://github.com/openshift/cluster-capi-operator                          e592380e9137abf1ad5cee475645f5d33848e7a3
    cluster-capi-operator-src                      https://github.com/openshift/cluster-capi-operator                          e592380e9137abf1ad5cee475645f5d33848e7a3

and creating redundant manifests:

  $ oc adm release extract --to manifests registry.ci.openshift.org/ocp/release:4.10.0-0.ci-2021-11-05-164015
  Extracted release payload from digest sha256:0e36c656e499209e018315b86f542cc6714ebb2952f9306860158854440dfb22 created at 2021-11-05T16:40:37Z
  $ grep -r 'name: cluster-api' manifests
  manifests/0000_30_capi-operator_12_clusteroperator_2.yaml:  name: cluster-api
  manifests/0000_30_capi-operator_12_clusteroperator_2.yaml:    name: cluster-api
  manifests/0000_30_capi-operator_12_clusteroperator.yaml:  name: cluster-api
  manifests/0000_30_capi-operator_12_clusteroperator.yaml:    name: cluster-api

All of the actual tests consume the local, default 'src' image, so
removing this image shouldn't break anything, and will allow us to
remove the published tag and clean the 4.10 CI releases back up.
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.

4 participants