Commit dedfd76c authored by Jorge Moratinos's avatar Jorge Moratinos
Browse files

Added new functionality and solved some issues launching parallel environments

parent d3f44d22
Loading
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -11,7 +11,12 @@ source "$(dirname "$0")/variables.sh" "$ENVIRONMENT"
# source $(dirname "$(readlink -f "$0")")/variables.sh

help() {
  echo "Usage: $1 <options>"
  echo "Usage: $0 [environment] [options]"
  echo ""
  echo "  environment         Optional. Environment name to use (e.g. dev, prod)."
  echo "                      If not specified, 'dev' will be used by default."
  echo ""
  echo "Options:"
  echo "       -c : Clean capif services"
  echo "       -v : Clean vault service"
  echo "       -r : Clean register service"
+1 −1
Original line number Diff line number Diff line
#!/bin/bash

help() {
  echo "Usage: $1 <options>"
  echo "Usage: $0 <options>"
  echo "       -c : Clean capif services tmp files"
  echo "       -m : Clean monitoring service tmp files"
  echo "       -t : Clean robot-test service tmp files"
+6 −1
Original line number Diff line number Diff line
@@ -16,7 +16,12 @@ USERNAME_PREFIX=
USER_PASSWORD=

help() {
  echo "Usage: $1 <options>"
  echo "Usage: $0 [environment] [options]"
  echo ""
  echo "  environment         Optional. Environment name to use (e.g. dev, prod)."
  echo "                      If not specified, 'dev' will be used by default."
  echo ""
  echo "Options:"
  echo "       -u : User prefix to use"
  echo "       -p : Password to set for user"
  echo "       -l : Local usage of script (default true)"
+1 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ services:
      - fluent-bit:host-gateway
      - otel-collector:host-gateway
      - ${CAPIF_VAULT}:host-gateway
      - ${CAPIF_INTERCONNECTION_HOSTNAME:-capifcore-b}:host-gateway
    environment:
      - CAPIF_HOSTNAME=${CAPIF_HOSTNAME}
      - CONTAINER_NAME=${HELPER_CONTAINER_NAME}
+6 −1
Original line number Diff line number Diff line
@@ -14,7 +14,12 @@ source "$(dirname "$0")/variables.sh" "$ENVIRONMENT"
USERNAME_PREFIX=

help() {
  echo "Usage: $1 <options>"
  echo "Usage: $0 [environment] [options]"
  echo ""
  echo "  environment         Optional. Environment name to use (e.g. dev, prod)."
  echo "                      If not specified, 'dev' will be used by default."
  echo ""
  echo "Options:"
  echo "       -u : User prefix to use"
  echo "       -h : show this help"
  exit 1
Loading