From b3f46d96efd9fa368316d9d4f2d139587eb775c2 Mon Sep 17 00:00:00 2001 From: Patrick Hoolboom Date: Mon, 25 Jul 2016 10:19:30 -0700 Subject: [PATCH 1/2] Updating build url --- actions/workflows/mistral_release_candidate.yaml | 2 +- rules/st2cd_slack_docs.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/workflows/mistral_release_candidate.yaml b/actions/workflows/mistral_release_candidate.yaml index 4fd7dd4c..909a8442 100644 --- a/actions/workflows/mistral_release_candidate.yaml +++ b/actions/workflows/mistral_release_candidate.yaml @@ -26,7 +26,7 @@ st2cd.mistral_release_candidate: init_vars: action: core.local cmd="hostname" publish: - webui_base_url: http://<% task(init_vars).result.stdout %>:8080 + webui_base_url: https://<% task(init_vars).result.stdout %> on-success: - test test: diff --git a/rules/st2cd_slack_docs.yaml b/rules/st2cd_slack_docs.yaml index 6711d025..81478e24 100644 --- a/rules/st2cd_slack_docs.yaml +++ b/rules/st2cd_slack_docs.yaml @@ -28,6 +28,6 @@ {% endif %} BRANCH: {{trigger.parameters.branch}} ```` - http://st2build002:8080/#/history/{{trigger.execution_id}}/general + https://st2-build/#/history/{{trigger.execution_id}}/general From 5250a0f1684f133815745c356a98c2a0370dd7af Mon Sep 17 00:00:00 2001 From: Patrick Hoolboom Date: Mon, 25 Jul 2016 10:31:19 -0700 Subject: [PATCH 2/2] Removed init_vars and set default for webui_base_url --- actions/workflows/mistral_release_candidate.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/actions/workflows/mistral_release_candidate.yaml b/actions/workflows/mistral_release_candidate.yaml index 909a8442..4afc4815 100644 --- a/actions/workflows/mistral_release_candidate.yaml +++ b/actions/workflows/mistral_release_candidate.yaml @@ -17,18 +17,13 @@ st2cd.mistral_release_candidate: - notify_failure_channels: - "#thunderdome" - "#stackstorm" + - webui_base_url: "https://st2-build" task-defaults: on-error: - notify_failure tasks: - init_vars: - action: core.local cmd="hostname" - publish: - webui_base_url: https://<% task(init_vars).result.stdout %> - on-success: - - test test: action: st2ci.mistral input: