Skip to content

Commit

Permalink
fix: Resolve conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: Ce Gao <gaoce@caicloud.io>
  • Loading branch information
gaocegege committed May 29, 2019
1 parent de96df8 commit 7f5b0a4
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
14 changes: 7 additions & 7 deletions scripts/v1alpha2/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ SCRIPT_ROOT=$(dirname ${BASH_SOURCE})/../..
cd ${SCRIPT_ROOT}
kubectl apply -f manifests/v1alpha2
kubectl apply -f manifests/v1alpha2/katib-controller
kubectl apply -f manifests/v1alpha2/katib/manager
kubectl apply -f manifests/v1alpha2/katib/manager-rest
kubectl apply -f manifests/v1alpha2/katib/pv
kubectl apply -f manifests/v1alpha2/katib/db
kubectl apply -f manifests/v1alpha2/katib/ui
kubectl apply -f manifests/v1alpha2/katib/suggestion/random
kubectl apply -f manifests/v1alpha2/katib/suggestion/bayesianoptimization
kubectl apply -f manifests/v1alpha2/manager
kubectl apply -f manifests/v1alpha2/manager-rest
kubectl apply -f manifests/v1alpha2/pv
kubectl apply -f manifests/v1alpha2/db
kubectl apply -f manifests/v1alpha2/ui
kubectl apply -f manifests/v1alpha2/suggestion/random
kubectl apply -f manifests/v1alpha2/suggestion/bayesianoptimization
cd - > /dev/null
14 changes: 7 additions & 7 deletions scripts/v1alpha2/undeploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ SCRIPT_ROOT=$(dirname ${BASH_SOURCE})/../..

cd ${SCRIPT_ROOT}
kubectl delete -f manifests/v1alpha2/katib-controller
kubectl delete -f manifests/v1alpha2/katib/manager
kubectl delete -f manifests/v1alpha2/katib/manager-rest
kubectl delete -f manifests/v1alpha2/katib/db
kubectl delete -f manifests/v1alpha2/katib/ui
kubectl delete -f manifests/v1alpha2/katib/pv
kubectl delete -f manifests/v1alpha2/katib/suggestion/random
kubectl delete -f manifests/v1alpha2/katib/suggestion/bayesianoptimization
kubectl delete -f manifests/v1alpha2/manager
kubectl delete -f manifests/v1alpha2/manager-rest
kubectl delete -f manifests/v1alpha2/db
kubectl delete -f manifests/v1alpha2/ui
kubectl delete -f manifests/v1alpha2/pv
kubectl delete -f manifests/v1alpha2/suggestion/random
kubectl delete -f manifests/v1alpha2/suggestion/bayesianoptimization
kubectl delete -f manifests/v1alpha2
cd - > /dev/null
10 changes: 5 additions & 5 deletions test/scripts/v1alpha2/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ echo "REPO_NAME ${REPO_NAME}"
echo "VERSION ${VERSION}"

sed -i -e "s@image: katib\/v1alpha2\/katib-controller@image: ${REGISTRY}\/${REPO_NAME}\/v1alpha2\/katib-controller:${VERSION}@" manifests/v1alpha2/katib-controller/katib-controller.yaml
sed -i -e "s@image: katib\/v1alpha2\/katib-manager@image: ${REGISTRY}\/${REPO_NAME}\/v1alpha2\/katib-manager:${VERSION}@" manifests/v1alpha2/katib/manager/deployment.yaml
sed -i -e "s@image: katib\/v1alpha2\/katib-manager-rest@image: ${REGISTRY}\/${REPO_NAME}\/v1alpha2\/katib-manager-rest:${VERSION}@" manifests/v1alpha2/katib/manager-rest/deployment.yaml
sed -i -e "s@image: katib\/v1alpha2\/katib-ui@image: ${REGISTRY}\/${REPO_NAME}\/v1alpha2\/katib-ui:${VERSION}@" manifests/v1alpha2/katib/ui/deployment.yaml
sed -i -e "s@image: katib\/v1alpha2\/suggestion-random@image: ${REGISTRY}\/${REPO_NAME}\/v1alpha2\/suggestion-random:${VERSION}@" manifests/v1alpha2/katib/suggestion/random/deployment.yaml
sed -i -e "s@image: katib\/v1alpha2\/suggestion-bayesianoptimization@image: ${REGISTRY}\/${REPO_NAME}\/v1alpha2\/suggestion-bayesianoptimization:${VERSION}@" manifests/v1alpha2/katib/suggestion/bayesianoptimization/deployment.yaml
sed -i -e "s@image: katib\/v1alpha2\/katib-manager@image: ${REGISTRY}\/${REPO_NAME}\/v1alpha2\/katib-manager:${VERSION}@" manifests/v1alpha2/manager/deployment.yaml
sed -i -e "s@image: katib\/v1alpha2\/katib-manager-rest@image: ${REGISTRY}\/${REPO_NAME}\/v1alpha2\/katib-manager-rest:${VERSION}@" manifests/v1alpha2/manager-rest/deployment.yaml
sed -i -e "s@image: katib\/v1alpha2\/katib-ui@image: ${REGISTRY}\/${REPO_NAME}\/v1alpha2\/katib-ui:${VERSION}@" manifests/v1alpha2/ui/deployment.yaml
sed -i -e "s@image: katib\/v1alpha2\/suggestion-random@image: ${REGISTRY}\/${REPO_NAME}\/v1alpha2\/suggestion-random:${VERSION}@" manifests/v1alpha2/suggestion/random/deployment.yaml
sed -i -e "s@image: katib\/v1alpha2\/suggestion-bayesianoptimization@image: ${REGISTRY}\/${REPO_NAME}\/v1alpha2\/suggestion-bayesianoptimization:${VERSION}@" manifests/v1alpha2/suggestion/bayesianoptimization/deployment.yaml

./scripts/v1alpha2/deploy.sh

Expand Down

0 comments on commit 7f5b0a4

Please sign in to comment.