Commit f9804df8 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Merge branch 'develop' of https://gitlab.com/teraflow-h2020/controller into...

Merge branch 'develop' of https://gitlab.com/teraflow-h2020/controller into feat/ecoc22-dc-interconnect-disjoint
parents 150e2476 57e16fed
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -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

+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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