From bbdd61e999c9243913a8c1984831c221a575ec44 Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Fri, 8 Feb 2019 21:08:59 +0100 Subject: [PATCH] MCO: allow ssh Signed-off-by: Antonio Murdaca --- .../openshift-machine-config-operator-master.yaml | 4 +++- .../openshift-machine-config-operator-master-presubmits.yaml | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-master.yaml b/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-master.yaml index ba995716ae728..9e3a4e1802384 100644 --- a/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-master.yaml +++ b/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-master.yaml @@ -40,6 +40,7 @@ build_root: name: release namespace: openshift tag: golang-1.10 +test_binary_build_commands: chmod uga+w /etc/passwd tests: - as: unit commands: make test-unit @@ -50,6 +51,7 @@ tests: openshift_installer: cluster_profile: aws - as: e2e-aws-op - commands: make test-e2e + commands: echo "${USER:-default}:x:$(id -u):$(id -g):Default User:$HOME:/sbin/nologin" + >> /etc/passwd; make test-e2e openshift_installer_src: cluster_profile: aws diff --git a/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-master-presubmits.yaml b/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-master-presubmits.yaml index 797f10038601f..e911a8c672f05 100644 --- a/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-master-presubmits.yaml +++ b/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-master-presubmits.yaml @@ -90,7 +90,8 @@ presubmits: - name: JOB_NAME_SAFE value: e2e-aws-op - name: TEST_COMMAND - value: make test-e2e + value: echo "${USER:-default}:x:$(id -u):$(id -g):Default User:$HOME:/sbin/nologin" + >> /etc/passwd; make test-e2e image: ci-operator:latest imagePullPolicy: Always name: ""