Loading deploy_in_kubernetes.sh +5 −3 Original line number Diff line number Diff line Loading @@ -110,10 +110,12 @@ for COMPONENT in $COMPONENTS; do fi echo " Deploying '$COMPONENT' component to Kubernetes..." DEPLOY_LOG="$TMP_LOGS_FOLDER/push_${COMPONENT}.log" DEPLOY_LOG="$TMP_LOGS_FOLDER/deploy_${COMPONENT}.log" kubectl --namespace $K8S_NAMESPACE apply -f "$MANIFEST" > "$DEPLOY_LOG" kubectl --namespace $K8S_NAMESPACE scale deployment --replicas=0 ${COMPONENT}service >> "$DEPLOY_LOG" kubectl --namespace $K8S_NAMESPACE scale deployment --replicas=1 ${COMPONENT}service >> "$DEPLOY_LOG" COMPONENT_OBJNAME=$(echo "${COMPONENT}" | sed "s/\_/-/") kubectl --namespace $K8S_NAMESPACE scale deployment --replicas=0 ${COMPONENT_OBJNAME}service >> "$DEPLOY_LOG" kubectl --namespace $K8S_NAMESPACE scale deployment --replicas=1 ${COMPONENT_OBJNAME}service >> "$DEPLOY_LOG" printf "\n" done Loading src/compute/.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # Build, tag and push the Docker image to the GitLab registry # Build, tag, and push the Docker image to the GitLab Docker registry build compute: variables: IMAGE_NAME: 'compute' # name of the microservice Loading src/context/.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # Build, tag and push the Docker image to the GitLab registry # Build, tag, and push the Docker image to the GitLab Docker registry build context: variables: IMAGE_NAME: 'context' # name of the microservice Loading src/device/.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # Build, tag and push the Docker image to the GitLab registry # Build, tag, and push the Docker image to the GitLab Docker registry build device: variables: IMAGE_NAME: 'device' # name of the microservice Loading src/interdomain/.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # Build, tag and push the Docker image to the GitLab registry # Build, tag, and push the Docker image to the GitLab Docker registry build interdomain: variables: IMAGE_NAME: 'interdomain' # name of the microservice Loading Loading
deploy_in_kubernetes.sh +5 −3 Original line number Diff line number Diff line Loading @@ -110,10 +110,12 @@ for COMPONENT in $COMPONENTS; do fi echo " Deploying '$COMPONENT' component to Kubernetes..." DEPLOY_LOG="$TMP_LOGS_FOLDER/push_${COMPONENT}.log" DEPLOY_LOG="$TMP_LOGS_FOLDER/deploy_${COMPONENT}.log" kubectl --namespace $K8S_NAMESPACE apply -f "$MANIFEST" > "$DEPLOY_LOG" kubectl --namespace $K8S_NAMESPACE scale deployment --replicas=0 ${COMPONENT}service >> "$DEPLOY_LOG" kubectl --namespace $K8S_NAMESPACE scale deployment --replicas=1 ${COMPONENT}service >> "$DEPLOY_LOG" COMPONENT_OBJNAME=$(echo "${COMPONENT}" | sed "s/\_/-/") kubectl --namespace $K8S_NAMESPACE scale deployment --replicas=0 ${COMPONENT_OBJNAME}service >> "$DEPLOY_LOG" kubectl --namespace $K8S_NAMESPACE scale deployment --replicas=1 ${COMPONENT_OBJNAME}service >> "$DEPLOY_LOG" printf "\n" done Loading
src/compute/.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # Build, tag and push the Docker image to the GitLab registry # Build, tag, and push the Docker image to the GitLab Docker registry build compute: variables: IMAGE_NAME: 'compute' # name of the microservice Loading
src/context/.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # Build, tag and push the Docker image to the GitLab registry # Build, tag, and push the Docker image to the GitLab Docker registry build context: variables: IMAGE_NAME: 'context' # name of the microservice Loading
src/device/.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # Build, tag and push the Docker image to the GitLab registry # Build, tag, and push the Docker image to the GitLab Docker registry build device: variables: IMAGE_NAME: 'device' # name of the microservice Loading
src/interdomain/.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # Build, tag and push the Docker image to the GitLab registry # Build, tag, and push the Docker image to the GitLab Docker registry build interdomain: variables: IMAGE_NAME: 'interdomain' # name of the microservice Loading