message: only create archive-schedule for production enviornments
diff: @@ -31,6 +31,7 @@ PROJECT=$(echo "$CONFIGMAP" | jq -r '.data.LAGOON_PROJECT')
  SAFE_PROJECT=$(echo "$CONFIGMAP" | jq -r '.data.LAGOON_SAFE_PROJECT')
  BRANCH=$(echo "$CONFIGMAP" | jq -r '.data.LAGOON_GIT_BRANCH')
  SAFE_BRANCH=$(echo "$CONFIGMAP" | jq -r '.data.LAGOON_GIT_SAFE_BRANCH')
  +ENVIRONMENT_TYPE=$(echo "$CONFIGMAP" | jq -r '.data.LAGOON_ENVIRONMENT_TYPE')
  LAGOON_GIT_SHA="00000000000000000000000000000000000000000"
  OPENSHIFT_REGISTRY="docker-registry.default.svc:5000"
  ROUTER_URL=""
  @@ -41,6 +42,9 @@ if oc get customresourcedefinition schedules.backup.appuio.ch > /dev/null; then
  # create archive only if there is a backup-schedule already existing for this project
  if oc -n ${OPENSHIFT_PROJECT} get schedule backup-schedule &> /dev/null; then
  +
  + # create archive only if this is a production environment
  + if [[ "${ENVIRONMENT_TYPE}" == "production" ]]; then
  TEMPLATE_PARAMETERS=()
  # Run Archive on Monday at 0300-0600
  @@ -54,6 +58,9 @@ if oc get customresourcedefinition schedules.backup.appuio.ch > /dev/null; then
  oc apply -n ${OPENSHIFT_PROJECT} -f /tmp/k8up-archive-initiate.yml
  rm /tmp/k8up-archive-initiate.yml
  + else
  + echo "${OPENSHIFT_PROJECT}: Not production environment, not creating an archive-schedule"
  + fi
  else
  echo "${OPENSHIFT_PROJECT}: No backup-schedule found for project, not creating an archive-schedule"
  fi
  