From 905a5cc5a857c67a345680327e3e9edfed80a9a3 Mon Sep 17 00:00:00 2001 From: Michael Hall Date: Thu, 10 Sep 2020 16:42:39 -0400 Subject: [PATCH 1/3] Revert changes to slack message call in fortnite template --- fortnite/fn-template.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/fortnite/fn-template.yml b/fortnite/fn-template.yml index e60660d1..5d46968a 100755 --- a/fortnite/fn-template.yml +++ b/fortnite/fn-template.yml @@ -37,14 +37,13 @@ spec: import "strings" import "influxdata/influxdb/secrets" + + webhook = secrets.get(key: "SLACK_WEBHOOK") sendSlackMessage = (text) => (slack.message( url: webhook, - token: "", - username: "", - workspace: "", - iconEmoji: "", + token: "", channel: "", text: text, color: "good", From 1381120086ec3318b32deaf63c35ec7bacc97e66 Mon Sep 17 00:00:00 2001 From: Russ Savage Date: Mon, 14 Sep 2020 09:32:33 -0700 Subject: [PATCH 2/3] fix(workflow): use beta 16 for validation --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3f1821be..f84ebae3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,10 +27,10 @@ jobs: run: | cd /tmp - wget https://dl.influxdata.com/platform/nightlies/influx_nightly_linux_amd64.tar.gz - tar xvfz influx_nightly_linux_amd64.tar.gz - sudo cp influx_nightly_linux_amd64/{influx,influxd} /usr/local/bin/ - influxd --reporting-disabled > /dev/null 2>&1 & + wget https://dl.influxdata.com/influxdb/releases/influxdb_2.0.0-beta.16_linux_amd64.tar.gz + tar xvfz influxdb_2.0.0-beta.16_linux_amd64.tar.gz + sudo cp influxdb_2.0.0-beta.16_linux_amd64/{influx,influxd} /usr/local/bin/ + influxd --http-bind-address :8086 --reporting-disabled > /dev/null 2>&1 & until curl -s http://localhost:8086/health; do sleep 1; done influx setup -f -b dummy -o influxdata -u ci_user -p password cd $GITHUB_WORKSPACE From f44359835fdba8ed63f3ac04eb507488f09690af Mon Sep 17 00:00:00 2001 From: Russ Savage Date: Mon, 14 Sep 2020 09:35:52 -0700 Subject: [PATCH 3/3] fix(workflow): add host to setup --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f84ebae3..d6017e75 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,7 +32,7 @@ jobs: sudo cp influxdb_2.0.0-beta.16_linux_amd64/{influx,influxd} /usr/local/bin/ influxd --http-bind-address :8086 --reporting-disabled > /dev/null 2>&1 & until curl -s http://localhost:8086/health; do sleep 1; done - influx setup -f -b dummy -o influxdata -u ci_user -p password + influx setup --host http://localhost:8086 -f -b dummy -o influxdata -u ci_user -p password cd $GITHUB_WORKSPACE find $GITHUB_WORKSPACE \( ! -path '*/.*' \) -type f -name "*.yml" -print0 | while read -d $'\0' file do