forked from RedHatInsights/uhc-auth-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pr_check.sh
executable file
·25 lines (18 loc) · 937 Bytes
/
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
#!/bin/bash
APP_NAME="uhc-auth-proxy" # name of app-sre "application" folder this component lives in
COMPONENT_NAME="uhc-auth-proxy" # name of app-sre "resourceTemplate" in deploy.yaml for this component
IMAGE="quay.io/cloudservices/uhc-auth-proxy" # image location on quay
IQE_PLUGINS="uhcproxy" # name of the IQE plugin for this app.
IQE_MARKER_EXPRESSION="uhcproxy_smoke" # This is the value passed to pytest -m
IQE_FILTER_EXPRESSION="" # This is the value passed to pytest -k
# 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
# Build image for testing
source $CICD_ROOT/build.sh
# Run unit tests
source $APP_ROOT/unit_test.sh
# Checkout and deploy an eph env for testing
#source $CICD_ROOT/deploy_ephemeral_env.sh
# Run smoke tests when ready
# source $CICD_ROOT/smoke_test.sh