Skip to content
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

Fix image replacement for builder stage in Installer #6433

Merged
merged 3 commits into from
Dec 17, 2019

Conversation

LorbusChris
Copy link
Member

@LorbusChris LorbusChris commented Dec 17, 2019

The references to the ocp/builder image were not replaced, because image replacement in installer is misconfigured:

The stage in the referenced Dockerfiles is builder, not build:

Here it says input as build (https://github.com/openshift/release/blob/master/ci-operator/config/openshift/installer/openshift-installer-master.yaml#L17)
but in the corresponding Dockerfile it is AS builder (https://github.com/openshift/installer/blob/master/images/installer/Dockerfile.ci#L4)

Also referencing
#6428 (comment)

The stage in the referenced Dockerfiles is `builder`, not `build`.
@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 17, 2019
@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 Dec 17, 2019
namespace: ocp
tag: base
machine-os-content:
name: machine-os-content
namespace: rhcos
tag: latest
build_root:
image_stream_tag:
cluster: https://api.ci.openshift.org
Copy link
Member Author

Choose a reason for hiding this comment

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

is the cluster ref explicitly needed here?

@abhinavdahiya
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 17, 2019
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhinavdahiya, LorbusChris

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 the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 17, 2019
@abhinavdahiya
Copy link
Contributor

No rehearsals were run on this change... https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/pr-logs/pull/openshift_release/6433/pull-ci-openshift-release-master-pj-rehearse/11564#1:build-log.txt%3A73

so hopefully this works. 🤞

@openshift-merge-robot openshift-merge-robot merged commit f3f8e0f into openshift:master Dec 17, 2019
@openshift-ci-robot
Copy link
Contributor

@LorbusChris: Updated the following 16 configmaps:

  • ci-operator-4.1-configs configmap in namespace ci at cluster default using the following files:
    • key openshift-installer-release-4.1.yaml using file ci-operator/config/openshift/installer/openshift-installer-release-4.1.yaml
  • ci-operator-4.2-configs configmap in namespace ci-stg at cluster default using the following files:
    • key openshift-installer-release-4.2.yaml using file ci-operator/config/openshift/installer/openshift-installer-release-4.2.yaml
  • ci-operator-master-configs configmap in namespace ci at cluster ci/api-build01-ci-devcluster-openshift-com:6443 using the following files:
    • key openshift-installer-master.yaml using file ci-operator/config/openshift/installer/openshift-installer-master.yaml
  • ci-operator-master-configs configmap in namespace ci-stg at cluster default using the following files:
    • key openshift-installer-master.yaml using file ci-operator/config/openshift/installer/openshift-installer-master.yaml
  • ci-operator-master-configs configmap in namespace ci at cluster default using the following files:
    • key openshift-installer-master.yaml using file ci-operator/config/openshift/installer/openshift-installer-master.yaml
  • ci-operator-4.2-configs configmap in namespace ci at cluster default using the following files:
    • key openshift-installer-release-4.2.yaml using file ci-operator/config/openshift/installer/openshift-installer-release-4.2.yaml
  • ci-operator-4.3-configs configmap in namespace ci-stg at cluster default using the following files:
    • key openshift-installer-release-4.3.yaml using file ci-operator/config/openshift/installer/openshift-installer-release-4.3.yaml
  • ci-operator-4.4-configs configmap in namespace ci-stg at cluster default using the following files:
    • key openshift-installer-release-4.4.yaml using file ci-operator/config/openshift/installer/openshift-installer-release-4.4.yaml
  • ci-operator-4.5-configs configmap in namespace ci at cluster default using the following files:
    • key openshift-installer-release-4.5.yaml using file ci-operator/config/openshift/installer/openshift-installer-release-4.5.yaml
  • ci-operator-4.5-configs configmap in namespace ci-stg at cluster default using the following files:
    • key openshift-installer-release-4.5.yaml using file ci-operator/config/openshift/installer/openshift-installer-release-4.5.yaml
  • ci-operator-misc-configs configmap in namespace ci at cluster default using the following files:
    • key openshift-installer-fcos.yaml using file ci-operator/config/openshift/installer/openshift-installer-fcos.yaml
  • ci-operator-misc-configs configmap in namespace ci-stg at cluster default using the following files:
    • key openshift-installer-fcos.yaml using file ci-operator/config/openshift/installer/openshift-installer-fcos.yaml
  • ci-operator-4.1-configs configmap in namespace ci-stg at cluster default using the following files:
    • key openshift-installer-release-4.1.yaml using file ci-operator/config/openshift/installer/openshift-installer-release-4.1.yaml
  • ci-operator-4.3-configs configmap in namespace ci at cluster default using the following files:
    • key openshift-installer-release-4.3.yaml using file ci-operator/config/openshift/installer/openshift-installer-release-4.3.yaml
  • ci-operator-4.4-configs configmap in namespace ci at cluster default using the following files:
    • key openshift-installer-release-4.4.yaml using file ci-operator/config/openshift/installer/openshift-installer-release-4.4.yaml
  • job-config-master configmap in namespace ci at cluster default using the following files:
    • key openshift-installer-master-presubmits.yaml using file ci-operator/jobs/openshift/installer/openshift-installer-master-presubmits.yaml

In response to this:

The references to the ocp/builder image were not replaced, because image replacement in installer is misconfigured:

The stage in the referenced Dockerfiles is builder, not build:

Here it says input as build (https://github.com/openshift/release/blob/master/ci-operator/config/openshift/installer/openshift-installer-master.yaml#L17)
but in the corresponding Dockerfile it is AS builder (https://github.com/openshift/installer/blob/master/images/installer/Dockerfile.ci#L4)

Also referencing
#6428 (comment)

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.

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/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.

4 participants