forked from RedHatInsights/export-service-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pr_check.sh
executable file
·29 lines (23 loc) · 1.01 KB
/
pr_check.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
# --------------------------------------------
# Options that must be configured by app owner
# --------------------------------------------
APP_NAME="export-service" # name of app-sre "application" folder this component lives in
COMPONENT_NAME="$APP_NAME" # name of app-sre "resourceTemplate" in deploy.yaml for this component
IMAGE="quay.io/cloudservices/export-service"
IQE_PLUGINS="export_service"
#IQE_IMAGE_TAG="export-service-b4619e78"
#IQE_MARKER_EXPRESSION="smoke"
IQE_FILTER_EXPRESSION=""
IQE_CJI_TIMEOUT="30m"
IQE_ENV="clowder_smoke"
IQE_ENV_VARS="DYNACONF_USER_PROVIDER__rbac_enabled=false"
# Install bonfire repo/initialize
CICD_URL=https://raw.githubusercontent.com/RedHatInsights/bonfire/master/cicd
curl -s $CICD_URL/bootstrap.sh > .cicd_bootstrap.sh && source .cicd_bootstrap.sh
mkdir -p $WORKSPACE/artifacts
source $CICD_ROOT/build.sh
# source $APP_ROOT/unit_test.sh
source "${CICD_ROOT}/deploy_ephemeral_env.sh"
source "${CICD_ROOT}/cji_smoke_test.sh"
source "${CICD_ROOT}/post_test_results.sh"