Commit fb3919d5 authored by Guillermo Sanz López's avatar Guillermo Sanz López
Browse files

install yq

parent dbc177ce
Loading
Loading
Loading
Loading
Loading
+6 −6
Changes for ci_cd_test/prepare_capif_for_sdk.sh: 6 added lines, 6 removed lines.
Original line number Original line Diff line number Diff line
@@ -132,13 +132,13 @@ else
fi
fi


# 2) Entrar en /services y lanzar run.sh
# 2) Entrar en /services y lanzar run.sh
if ! command -v yq >/dev/null 2>&1; then
echo "== Installing yq locally (no sudo) =="
  echo "== Installing yq =="
YQ_BIN="$PWD/.bin"
  sudo curl -Ls -o /usr/local/bin/yq \
mkdir -p "$YQ_BIN"
    "https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64"
curl -Ls -o "$YQ_BIN/yq" "https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64"
  sudo chmod +x /usr/local/bin/yq
chmod +x "$YQ_BIN/yq"
export PATH="$YQ_BIN:$PATH"
yq --version
yq --version
fi


SERV_DIR="$CAPIF_DIR/$CAPIF_SERVICES_DIR"
SERV_DIR="$CAPIF_DIR/$CAPIF_SERVICES_DIR"
if [ ! -d "$SERV_DIR" ]; then
if [ ! -d "$SERV_DIR" ]; then