forked from RedHatInsights/cloud-connector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pr_check.sh
executable file
·29 lines (24 loc) · 1.06 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
29
#!/bin/bash
# --------------------------------------------
# Options that must be configured by app owner
# --------------------------------------------
APP_NAME="cloud-connector" # name of app-sre "application" folder this component lives in
COMPONENT_NAME="cloud-connector-api" # name of app-sre "resourceTemplate" in deploy.yaml for this component
IMAGE="quay.io/cloudservices/cloud-connector"
IQE_CJI_TIMEOUT="10m"
EXTRA_DEPLOY_ARGS="-p playbook-dispatcher/CLOUD_CONNECTOR_IMPL=impl"
REF_ENV="insights-stage"
# 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
source $CICD_ROOT/build.sh
source $CICD_ROOT/deploy_ephemeral_env.sh
# Run Cloud Connector isolated tests
COMPONENT_NAME="cloud-connector"
IQE_PLUGINS="cloud-connector"
source $CICD_ROOT/cji_smoke_test.sh
# Run RHC Contract integration tests
COMPONENT_NAME="playbook-dispatcher"
IQE_PLUGINS="rhc-contract"
IQE_IMAGE_TAG="rhc-contract"
source $CICD_ROOT/cji_smoke_test.sh