Skip to content

Deploy support-operator into all CI clusters to report live data #3951

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

Merged

Conversation

smarterclayton
Copy link
Contributor

Begin testing support-operator in CI by having all CI clusters push
to a specific insights account.

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: smarterclayton

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

The pull request process is described here

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 approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jun 4, 2019
@openshift-ci-robot
Copy link
Contributor

@smarterclayton: The following tests failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/rehearse/openshift/installer/master/e2e-aws-upi b887d20 link /test pj-rehearse
ci/rehearse/fabric8-services/toolchain-operator/master/e2e b887d20 link /test pj-rehearse
ci/rehearse/openshift/installer/master/e2e-vsphere b887d20 link /test pj-rehearse
ci/prow/pj-rehearse b887d20 link /test pj-rehearse

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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.

@smarterclayton
Copy link
Contributor Author

Verified secret was created safely, the upi/vsphere things are flakes.

@smarterclayton smarterclayton added lgtm Indicates that a PR is ready to be merged. and removed lgtm Indicates that a PR is ready to be merged. labels Jun 4, 2019
@openshift-merge-robot openshift-merge-robot merged commit bf1872c into openshift:master Jun 4, 2019
@openshift-ci-robot
Copy link
Contributor

@smarterclayton: Updated the following 12 configmaps:

  • prow-job-cluster-launch-installer-e2e configmap in namespace ci-stg using the following files:
    • key cluster-launch-installer-e2e.yaml using file ci-operator/templates/openshift/installer/cluster-launch-installer-e2e.yaml
  • prow-job-cluster-launch-installer-src configmap in namespace ci using the following files:
    • key cluster-launch-installer-src.yaml using file ci-operator/templates/openshift/installer/cluster-launch-installer-src.yaml
  • prow-job-cluster-launch-installer-src configmap in namespace ci-stg using the following files:
    • key cluster-launch-installer-src.yaml using file ci-operator/templates/openshift/installer/cluster-launch-installer-src.yaml
  • prow-job-cluster-launch-installer-upi-e2e configmap in namespace ci using the following files:
    • key cluster-launch-installer-upi-e2e.yaml using file ci-operator/templates/openshift/installer/cluster-launch-installer-upi-e2e.yaml
  • prow-job-cluster-launch-installer-upi-e2e configmap in namespace ci-stg using the following files:
    • key cluster-launch-installer-upi-e2e.yaml using file ci-operator/templates/openshift/installer/cluster-launch-installer-upi-e2e.yaml
  • prow-job-cluster-launch-installer-console configmap in namespace ci using the following files:
    • key cluster-launch-installer-console.yaml using file ci-operator/templates/openshift/installer/cluster-launch-installer-console.yaml
  • prow-job-cluster-launch-installer-console configmap in namespace ci-stg using the following files:
    • key cluster-launch-installer-console.yaml using file ci-operator/templates/openshift/installer/cluster-launch-installer-console.yaml
  • prow-job-cluster-launch-installer-e2e configmap in namespace ci using the following files:
    • key cluster-launch-installer-e2e.yaml using file ci-operator/templates/openshift/installer/cluster-launch-installer-e2e.yaml
  • prow-job-cluster-launch-installer-openstack-e2e configmap in namespace ci-stg using the following files:
    • key cluster-launch-installer-openstack-e2e.yaml using file ci-operator/templates/openshift/installer/cluster-launch-installer-openstack-e2e.yaml
  • prow-job-cluster-launch-installer-metal-e2e configmap in namespace ci using the following files:
    • key cluster-launch-installer-metal-e2e.yaml using file ci-operator/templates/openshift/installer/cluster-launch-installer-metal-e2e.yaml
  • prow-job-cluster-launch-installer-metal-e2e configmap in namespace ci-stg using the following files:
    • key cluster-launch-installer-metal-e2e.yaml using file ci-operator/templates/openshift/installer/cluster-launch-installer-metal-e2e.yaml
  • prow-job-cluster-launch-installer-openstack-e2e configmap in namespace ci using the following files:
    • key cluster-launch-installer-openstack-e2e.yaml using file ci-operator/templates/openshift/installer/cluster-launch-installer-openstack-e2e.yaml

In response to this:

Begin testing support-operator in CI by having all CI clusters push
to a specific insights account.

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.

wking added a commit to wking/openshift-release that referenced this pull request Jul 1, 2020
…step

These have been part of the e2e test step since that step landed in
a2fd8c3 (step-registry: add Origin E2E test step, 2020-01-31, openshift#6965).
But pushing manifests is more of an install thing than a test thing.
For example, if a user swaps in their own tests, we still want the
cluster to push insights if their cluster profile includes the token).

The logic I'm replacing was just handling the insights operator.  To
allow us to recycle the same logic for additional manifests, I've
carved out generic handling for ${CLUSTER_PROFILE_DIR} and
${SHARED_DIR}.  The day-2 naming avoids conflicts with the ipi/install
step that is already consuming ${SHARED_DIR}/manifest_*.yml

Glob expansion should have stable ordering; from POSIX [1]:

  If the pattern matches any existing filenames or pathnames, the
  pattern shall be replaced with those filenames and pathnames, sorted
  according to the collating sequence in effect in the current locale.

Ideally we'd update the cluster profiles themselves to store the
config in day-2-manifests-insights-live.yaml (via a
core-services/ci-secret-bootstrap/_config.yaml edit?).  But we can't
do that until we've removed or ported the old-style templates under
ci-operator/templates, so I'm leaving that off for now and keeping a
HACK check to copy the current profile's file into the newly-expected
target location.

The previous logic also used an error-ignoring '|| true' since at
least b887d20 (Deploy the insights secret for the support-operator
in all templates, 2019-06-04, openshift#3951).  That commit didn't motivate its
use, so I'm dropping it here.  If the step fails, figuring out the
culprit should be pretty straightforward.

[1]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_13_03
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. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants