Skip to content

Commit

Permalink
temp fix for intel-cloud/cosbench#320. However, hashchecks do not wor…
Browse files Browse the repository at this point in the history
  • Loading branch information
karasjoh000 committed Feb 11, 2021
1 parent 0514897 commit a4bd65a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion images/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ COPY driver.conf ${COSBENCH_DIR}/conf
# DOCKER STARTUP
#-------------------------------------
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD java -Dcosbench.tomcat.config=conf/controller-tomcat-server.xml -server -cp main/* org.eclipse.equinox.launcher.Main -configuration controller.conf -console 19089
CMD java -Dcom.amazonaws.services.s3.disableGetObjectMD5Validation=true -Dcosbench.tomcat.config=conf/controller-tomcat-server.xml -server -cp main/* org.eclipse.equinox.launcher.Main -configuration controller.conf -console 19089
8 changes: 5 additions & 3 deletions images/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@

BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
VCS_REF=$(git rev-parse --verify HEAD)
VERSION=0.0.6
VERSION=0.0.1

docker build \
-t "zenko/zenko-cosbench:${VERSION}" \
-t "jkarasev/cosbench:${VERSION}" \
--build-arg "COSBENCH_VERSION=${COSBENCH_VERSION}" \
--build-arg "BUILD_DATE=${BUILD_DATE}" \
--build-arg "VCS_REF=${VCS_REF}" \
--build-arg "VERSION=${VERSION}" \
--build-arg http_proxy=$http_proxy \
--build-arg https_proxy=$http_proxy \
.

echo "Built zenko-cosbench:${VERSION}"
echo "jkarasev/cosbench:${VERSION}"
2 changes: 1 addition & 1 deletion templates/controller-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ spec:
value: "{{ .Values.controller.logLevel }}"
- name: DRIVERS
value: "{{ template "cosbench.driversList" . }}"
args: ['java','-Dcosbench.tomcat.config=conf/controller-tomcat-server.xml','-server','-cp','main/*','org.eclipse.equinox.launcher.Main','-configuration','conf/.controller','-console','19089']
args: ['java', '-Dcom.amazonaws.services.s3.disableGetObjectMD5Validation=true', '-Dcosbench.tomcat.config=conf/controller-tomcat-server.xml','-server','-cp','main/*','org.eclipse.equinox.launcher.Main','-configuration','conf/.controller','-console','19089']
2 changes: 1 addition & 1 deletion templates/driver-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
env:
- name: LOG_LEVEL
value: "{{ .Values.driver.logLevel }}"
args: ['java','-Dcosbench.tomcat.config=conf/driver-tomcat-server.xml','-server','-cp','main/*','org.eclipse.equinox.launcher.Main','-configuration','conf/.driver','-console','18089']
args: ['java', '-Dcom.amazonaws.services.s3.disableGetObjectMD5Validation=true', '-Dcosbench.tomcat.config=conf/driver-tomcat-server.xml','-server','-cp','main/*','org.eclipse.equinox.launcher.Main','-configuration','conf/.driver','-console','18089']
resources:
{{ toYaml .Values.driver.resources | indent 12 }}
affinity:
Expand Down
10 changes: 5 additions & 5 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ controller:
## controller container image
##
image:
repository: zenko/zenko-cosbench
tag: 0.0.6
repository: jkarasev/cosbench
tag: 0.0.1
pullPolicy: IfNotPresent

service:
type: ClusterIP
type: LoadBalancer
port: 19088

ingress:
Expand All @@ -49,8 +49,8 @@ driver:
## driver container image
##
image:
repository: zenko/zenko-cosbench
tag: 0.0.6
repository: jkarasev/cosbench
tag: 0.0.1
pullPolicy: IfNotPresent

service:
Expand Down

0 comments on commit a4bd65a

Please sign in to comment.