Skip to content

Commit 6c8854f

Browse files
committed
Go back to echo
1 parent 28c31a3 commit 6c8854f

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

wercker.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,7 @@ integration-test179:
5656
code: |
5757
# Copy Docker file to OCI host and load into local Docker registry
5858
yum install -y openssh-clients
59-
cat <<EOF > /tmp/ssh_key
60-
$OCI_K8S_179_SSHKEY
61-
EOF
62-
59+
echo $OCI_K8S_179_SSHKEY > /tmp/ssh_key
6360
scp -i /tmp/ssh_key $WERCKER_OUTPUT_DIR/build.tar opc@$OCI_K8S_179_WORKER0_IP:/scratch/build.tar
6461
ssh -i /tmp/ssh_key opc@$OCI_K8S_179_WORKER0_IP "tar -xvf /scratch/operator.tar”
6562
ssh -i /tmp/ssh_key opc@$OCI_K8S_179_WORKER0_IP "sudo docker build -t weblogic-kubernetes-operator:$WERCKER_GIT_BRANCH --no-cache=true /scratch/”
@@ -137,10 +134,7 @@ integration-test185:
137134
code: |
138135
# Copy Docker file to OCI host and load into local Docker registry
139136
yum install -y openssh-clients
140-
cat <<EOF > /tmp/ssh_key
141-
$OCI_K8S_185_SSHKEY
142-
EOF
143-
137+
echo $OCI_K8S_185_SSHKEY > /tmp/ssh_key
144138
scp -i /tmp/ssh_key $WERCKER_OUTPUT_DIR/build.tar opc@$OCI_K8S_185_WORKER0_IP:/scratch/build.tar
145139
ssh -i /tmp/ssh_key opc@$OCI_K8S_185_WORKER0_IP "tar -xvf /scratch/operator.tar”
146140
ssh -i /tmp/ssh_key opc@$OCI_K8S_185_WORKER0_IP "sudo docker build -t weblogic-kubernetes-operator:$WERCKER_GIT_BRANCH --no-cache=true /scratch/”

0 commit comments

Comments
 (0)