Skip to content

Commit

Permalink
fix: Add Suggestion into CI (#907)
Browse files Browse the repository at this point in the history
* fix: Add Suggestion into CI

Signed-off-by: Ce Gao <gaoce@caicloud.io>

* fix: Use 3.6

Signed-off-by: Ce Gao <gaoce@caicloud.io>

* fix: Fix Hyperband

Signed-off-by: Ce Gao <gaoce@caicloud.io>
  • Loading branch information
gaocegege authored and k8s-ci-robot committed Nov 2, 2019
1 parent 574c657 commit 975da72
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 15 deletions.
2 changes: 1 addition & 1 deletion cmd/suggestion/chocolate/v1alpha3/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3
FROM python:3.6

RUN if [ "$(uname -m)" = "ppc64le" ]; then \
apt-get -y update && \
Expand Down
2 changes: 1 addition & 1 deletion cmd/suggestion/hyperband/v1alpha3/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3
FROM python:3.6

RUN if [ "$(uname -m)" = "ppc64le" ]; then \
apt-get -y update && \
Expand Down
3 changes: 2 additions & 1 deletion cmd/suggestion/hyperopt/v1alpha3/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
FROM python:3
FROM python:3.6

RUN if [ "$(uname -m)" = "ppc64le" ]; then \
apt-get -y update && \
apt-get -y install gfortran libopenblas-dev liblapack-dev && \
pip install cython; \
fi

RUN GRPC_HEALTH_PROBE_VERSION=v0.3.0 && \
wget -qO/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-amd64 && \
chmod +x /bin/grpc_health_probe
Expand Down
2 changes: 1 addition & 1 deletion cmd/suggestion/nasrl/v1alpha3/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3
FROM python:3.6

RUN if [ "$(uname -m)" = "ppc64le" ]; then \
apt-get -y update && \
Expand Down
2 changes: 1 addition & 1 deletion cmd/suggestion/skopt/v1alpha3/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3
FROM python:3.6

RUN if [ "$(uname -m)" = "ppc64le" ]; then \
apt-get -y update && \
Expand Down
2 changes: 0 additions & 2 deletions test/scripts/v1alpha3/build-suggestion-chocolate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ set -o errexit
set -o nounset
set -o pipefail

exit 0

export PATH=${GOPATH}/bin:/usr/local/go/bin:${PATH}
REGISTRY="${GCP_REGISTRY}"
PROJECT="${GCP_PROJECT}"
Expand Down
2 changes: 0 additions & 2 deletions test/scripts/v1alpha3/build-suggestion-hyperband.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ set -o errexit
set -o nounset
set -o pipefail

exit 0

export PATH=${GOPATH}/bin:/usr/local/go/bin:${PATH}
REGISTRY="${GCP_REGISTRY}"
PROJECT="${GCP_PROJECT}"
Expand Down
2 changes: 0 additions & 2 deletions test/scripts/v1alpha3/build-suggestion-hyperopt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ set -o errexit
set -o nounset
set -o pipefail

exit 0

export PATH=${GOPATH}/bin:/usr/local/go/bin:${PATH}
REGISTRY="${GCP_REGISTRY}"
PROJECT="${GCP_PROJECT}"
Expand Down
2 changes: 0 additions & 2 deletions test/scripts/v1alpha3/build-suggestion-nasrl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ set -o errexit
set -o nounset
set -o pipefail

exit 0

export PATH=${GOPATH}/bin:/usr/local/go/bin:${PATH}
REGISTRY="${GCP_REGISTRY}"
PROJECT="${GCP_PROJECT}"
Expand Down
2 changes: 0 additions & 2 deletions test/scripts/v1alpha3/build-suggestion-skopt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ set -o errexit
set -o nounset
set -o pipefail

exit 0

export PATH=${GOPATH}/bin:/usr/local/go/bin:${PATH}
REGISTRY="${GCP_REGISTRY}"
PROJECT="${GCP_PROJECT}"
Expand Down

0 comments on commit 975da72

Please sign in to comment.