Skip to content
Snippets Groups Projects

build: developer setup

Merged Lucas Briese requested to merge build/developer-setup into dev
All threads resolved!
Files
9
#!/bin/sh
#!/bin/bash
set -euo pipefail
INSTALL_DIR=/occmd
PROJ_PATH=${1}
PROJ_ID=${2}
USER_NAME=${3}
API_KEY=${4}
URL=${5}
export OC_GL_APIKEY="${API_KEY}" && export OC_GL_USER="${USER_NAME}" && export OC_GL_URL="${URL}" && cd "${INSTALL_DIR}" && ./occmd check -d "${PROJ_PATH}" -i "${PROJ_ID}"
exit 0
cd "${INSTALL_DIR}"
#shellcheck disable=SC1091
source venv/bin/activate
./occmd check -d "${PROJ_PATH}" -i "${PROJ_ID}"
Loading

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.