Skip to content

Commit 2af3a7c

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

File tree

1 file changed

+12
-16
lines changed

1 file changed

+12
-16
lines changed

Diff for: .rhcicd/pr_check.sh

+12-16
Original file line numberDiff line numberDiff line change
@@ -17,33 +17,29 @@ 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"
4239
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}"
40+
export EXTRA_DEPLOY_ARGS="--set-parameter notifications-connector-google-chat/IMAGE_TAG=${IMAGE_TAG}"
41+
export EXTRA_DEPLOY_ARGS="--set-parameter notifications-connector-microsoft-teams/IMAGE_TAG=${IMAGE_TAG}"
42+
export EXTRA_DEPLOY_ARGS="--set-parameter notifications-connector-slack/IMAGE_TAG=${IMAGE_TAG}"
4743
source $CICD_ROOT/deploy_ephemeral_env.sh
4844

4945
# Run IQE tests

0 commit comments

Comments
 (0)