Skip to content

Commit

Permalink
Merge pull request influxdata#183 from mhall119/master
Browse files Browse the repository at this point in the history
Revert changes to slack message call in fortnite template
  • Loading branch information
mhall119 authored Sep 14, 2020
2 parents 6078ddc + f443598 commit f8a5b6f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ 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
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
Expand Down
7 changes: 3 additions & 4 deletions fortnite/fn-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit f8a5b6f

Please sign in to comment.