Skip to content

MCO: allow ssh #2817

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
merged 1 commit into from
Feb 8, 2019
Merged

Conversation

runcom
Copy link
Member

@runcom runcom commented Feb 8, 2019

We want to have tests in MCO which rely on ssh and a valid user in /etc/passwd to have ssh working (openshift/machine-config-operator#390)

Signed-off-by: Antonio Murdaca [email protected]

@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Feb 8, 2019
@runcom
Copy link
Member Author

runcom commented Feb 8, 2019

/cc @cgwalters @kikisdeliveryservice

Signed-off-by: Antonio Murdaca <[email protected]>
@smarterclayton
Copy link
Contributor

/lgtm

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: runcom, 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 the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 8, 2019
@openshift-merge-robot openshift-merge-robot merged commit f6f8f4f into openshift:master Feb 8, 2019
@openshift-ci-robot
Copy link
Contributor

@runcom: Updated the following 3 configmaps:

  • ci-operator-configs configmap in namespace ci using the following files:
    • key openshift-machine-config-operator-master.yaml using file ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-master.yaml
  • ci-operator-configs configmap in namespace ci-stg using the following files:
    • key openshift-machine-config-operator-master.yaml using file ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-master.yaml
  • job-config configmap in namespace ci using the following files:
    • key openshift-machine-config-operator-master-presubmits.yaml using file ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-master-presubmits.yaml

In response to this:

We want to have tests in MCO which rely on ssh and a valid user in /etc/passwd to have ssh working (openshift/machine-config-operator#390)

Signed-off-by: Antonio Murdaca [email protected]

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.

@runcom runcom deleted the mco-allow-ssh branch February 8, 2019 20:47
@runcom
Copy link
Member Author

runcom commented Feb 9, 2019

@@ -40,6 +40,7 @@ build_root:
name: release
namespace: openshift
tag: golang-1.10
test_binary_build_commands: chmod uga+w /etc/passwd
Copy link
Member Author

@runcom runcom Feb 9, 2019

Choose a reason for hiding this comment

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

ok, this was wrong, my understanding is that test_binary_build_commands is ran for the test-bin image but in e2e-aws-go we're not using test-bin (there's no container: from: test-bin). I don't believe we can use binary_build_commands as we don't seem to be using the bin image either afaict (just plan src) (for reference https://github.com/openshift/ci-operator/blob/master/CONFIGURATION.md#binary_build_commands)

not sure what to do actually, @stevekuznetsov @smarterclayton wdyt?

Copy link
Member Author

@runcom runcom Feb 9, 2019

Choose a reason for hiding this comment

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

ok we're using openshift_installer_src so we're using the src image by default anyway for e2e-aws-go, that's why chmod is not executed nor it would be using binary_build_commands.

Copy link
Member Author

Choose a reason for hiding this comment

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

Meanwhile, #2819

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/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants