Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes PR checks #389

Merged
merged 4 commits into from
Sep 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions pr_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ COMPONENT_NAME="playbook-dispatcher" # name of app-sre "resourceTemplate" in de
CONNECT_COMPONENT_NAME="playbook-dispatcher-connect"
IMAGE="quay.io/cloudservices/playbook-dispatcher"
IQE_CJI_TIMEOUT="30m"
IQE_ENV_VARS="DYNACONF_USER_PROVIDER__rbac_enabled=false"
REF_ENV="insights-stage"

# Install bonfire repository/initialize
Expand Down Expand Up @@ -35,14 +36,9 @@ EXTRA_DEPLOY_ARGS="--set-image-tag ${IMAGE_DISPATCHER}=${IMAGE_TAG} --set-templa
# Deploy to an ephemeral environment
source $CICD_ROOT/deploy_ephemeral_env.sh

# Run Playbook Dispatcher isolated tests
IQE_PLUGINS="playbook-dispatcher"
IQE_MARKER_EXPRESSION="smoke"
source $CICD_ROOT/cji_smoke_test.sh

# Re-deploy Playbook Dispatcher to an ephemeral environment, this time enabling the communication with Cloud Connector
# The connect image template is overridden to make use of the connect.yaml file from before managed kafka was put in place
bonfire deploy playbook-dispatcher cloud-connector \
bonfire deploy playbook-dispatcher cloud-connector host-inventory \
--source=appsre \
--ref-env ${REF_ENV} \
--set-template-ref ${COMPONENT_NAME}=${GIT_COMMIT} \
Expand All @@ -53,6 +49,11 @@ bonfire deploy playbook-dispatcher cloud-connector \
--timeout ${DEPLOY_TIMEOUT} \
--set-parameter playbook-dispatcher/CLOUD_CONNECTOR_IMPL=impl

# Run Playbook Dispatcher isolated tests
IQE_PLUGINS="playbook-dispatcher"
IQE_MARKER_EXPRESSION="smoke"
source $CICD_ROOT/cji_smoke_test.sh

# Run RHC Contract integration tests
COMPONENT_NAME="cloud-connector"
IQE_PLUGINS="rhc-contract"
Expand Down
Loading