Commit 7bbbebe0 authored by Alberto Gonzalez Barneo's avatar Alberto Gonzalez Barneo
Browse files

Fixed wrong identation in yaml

parent 0ed94dd6
Loading
Loading
Loading
Loading
+31 −25
Original line number Diff line number Diff line
@@ -12,6 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

stages:
  - build
  - prepare
  - unit_test

# Build, tag, and push the Docker image to the GitLab Docker registry
build_device:
  variables:
@@ -49,7 +54,7 @@ deploy_mock_qkd_nodes:
      else
        docker network create -d bridge teraflowbridge;
      fi
    - >
    - |
      for port in 11111 22222 33333; do
        if lsof -i:$port >/dev/null 2>&1; then
          echo "Freeing up port $port...";
@@ -57,7 +62,8 @@ deploy_mock_qkd_nodes:
        fi
      done
    - MOCK_NODES_DIR="/home/cttc-docker/tfs-ctrl/src/tests/tools/mock_qkd_nodes"
    - if [ -d "$MOCK_NODES_DIR" ]; then
    - |
      if [ -d "$MOCK_NODES_DIR" ]; then
        cd "$MOCK_NODES_DIR" && ./start.sh &
      else
        echo "Error: Mock QKD nodes directory '$MOCK_NODES_DIR' not found." && exit 1;