Skip to content

Commit

Permalink
Merge pull request #108 from eolinker/release/v0.12.7
Browse files Browse the repository at this point in the history
修改docker打包脚本
  • Loading branch information
Dot-Liu authored May 15, 2023
2 parents cdf0182 + 508cefc commit f026ac7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 92 deletions.
91 changes: 0 additions & 91 deletions .gitlab-ci.yml~gitlab_feature_fix-cert

This file was deleted.

2 changes: 2 additions & 0 deletions build/cmd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
FROM centos:7.9.2009
MAINTAINER eolink

RUN yum install -y wget && wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && rpm -ivh epel-release-latest-7.noarch.rpm && yum install -y jq

#声明端口
EXPOSE 9400 8099

Expand Down
1 change: 1 addition & 0 deletions build/resources/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
FROM centos:7.9.2009
MAINTAINER eolink

RUN yum install -y wget && wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && rpm -ivh epel-release-latest-7.noarch.rpm && yum install -y jq
#声明端口
EXPOSE 9400 8099

Expand Down
2 changes: 1 addition & 1 deletion build/resources/join.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e
sleep 5s

#Gets the IP addresses of all pods under the target service
response=$(curl -s GET "https://kubernetes.default.svc:443/api/v1/namespaces/${SVC_NAMESPACE}/endpoints/${SVC_NAME}" -k -H "Authorization: ${SVC_TOKEN}")
response=$(curl -s "https://kubernetes.default.svc:443/api/v1/namespaces/${SVC_NAMESPACE}/endpoints/${SVC_NAME}" -k -H "Authorization: Bearer ${SVC_TOKEN}")

#Determines whether the request was successful
if [[ ${response} =~ 'Failure' ]]
Expand Down

0 comments on commit f026ac7

Please sign in to comment.