Skip to content

Commit ad1c449

Browse files
committed
Build and deploy connectors during PR checks
1 parent 050526f commit ad1c449

File tree

1 file changed

+10
-17
lines changed

1 file changed

+10
-17
lines changed

.rhcicd/pr_check.sh

+10-17
Original file line numberDiff line numberDiff line change
@@ -17,33 +17,26 @@ export DOCKERFILE=docker/Dockerfile.notifications-engine.jvm
1717
source $CICD_ROOT/build.sh
1818

1919
# Build the notifications-connector-google-chat image and push it to Quay
20-
# TODO Uncomment the lines below when the ClowdApp is declared in app-interface
21-
#export IMAGE="quay.io/cloudservices/notifications-connector-google-chat"
22-
#export DOCKERFILE=docker/Dockerfile.notifications-connector-google-chat.jvm
23-
#source $CICD_ROOT/build.sh
20+
export IMAGE="quay.io/cloudservices/notifications-connector-google-chat"
21+
export DOCKERFILE=docker/Dockerfile.notifications-connector-google-chat.jvm
22+
source $CICD_ROOT/build.sh
2423

2524
# Build the notifications-connector-microsoft-teams image and push it to Quay
26-
# TODO Uncomment the lines below when the ClowdApp is declared in app-interface
27-
#export IMAGE="quay.io/cloudservices/notifications-connector-microsoft-teams"
28-
#export DOCKERFILE=docker/Dockerfile.notifications-connector-microsoft-teams.jvm
29-
#source $CICD_ROOT/build.sh
25+
export IMAGE="quay.io/cloudservices/notifications-connector-microsoft-teams"
26+
export DOCKERFILE=docker/Dockerfile.notifications-connector-microsoft-teams.jvm
27+
source $CICD_ROOT/build.sh
3028

3129
# Build the notifications-connector-slack image and push it to Quay
32-
# TODO Uncomment the lines below when the ClowdApp is declared in app-interface
33-
#export IMAGE="quay.io/cloudservices/notifications-connector-slack"
34-
#export DOCKERFILE=docker/Dockerfile.notifications-connector-slack.jvm
35-
#source $CICD_ROOT/build.sh
30+
export IMAGE="quay.io/cloudservices/notifications-connector-slack"
31+
export DOCKERFILE=docker/Dockerfile.notifications-connector-slack.jvm
32+
source $CICD_ROOT/build.sh
3633

3734
# Deploy both images on ephemeral
3835
export APP_NAME="notifications"
3936
export COMPONENT_NAME="notifications-backend"
4037
export IMAGE="quay.io/cloudservices/notifications-backend"
4138
export DEPLOY_TIMEOUT="900"
42-
export EXTRA_DEPLOY_ARGS="--set-parameter notifications-engine/IMAGE_TAG=${IMAGE_TAG}"
43-
# TODO Uncomment the lines below when the ClowdApps are declared in app-interface
44-
#export EXTRA_DEPLOY_ARGS="--set-parameter notifications-connector-google-chat/IMAGE_TAG=${IMAGE_TAG}"
45-
#export EXTRA_DEPLOY_ARGS="--set-parameter notifications-connector-microsoft-teams/IMAGE_TAG=${IMAGE_TAG}"
46-
#export EXTRA_DEPLOY_ARGS="--set-parameter notifications-connector-slack/IMAGE_TAG=${IMAGE_TAG}"
39+
export EXTRA_DEPLOY_ARGS="--set-parameter notifications-engine/IMAGE_TAG=${IMAGE_TAG} --set-parameter notifications-connector-google-chat/IMAGE_TAG=${IMAGE_TAG} --set-parameter notifications-connector-microsoft-teams/IMAGE_TAG=${IMAGE_TAG} --set-parameter notifications-connector-slack/IMAGE_TAG=${IMAGE_TAG}"
4740
source $CICD_ROOT/deploy_ephemeral_env.sh
4841

4942
# Run IQE tests

0 commit comments

Comments
 (0)