-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Could be put under Contributing for now, but is a pointer for all NGCP (if it moves to Discord)
Step 1: Add this file to your repo https://github.com/NGCP/GCS/blob/48541a72262c0eff039ff975f979e317db59b2a2/script/webhook.sh
Step 2: (requires Lead+ role) Add webhook in Discord that points to channel to post build status in master branch
Step 3: add webhook url as environment variable as WEBHOOK_URL. Go to https://travis-ci.com/NGCP then click on your repo then More Options > Settings > Environment Variables
Step 4: add the following scripts to .travis.yml
# replace path/to/webhook.sh to actual filepath
after_success:
- chmod +x path/to/webhook.sh
- ./path/to/webhook.sh success
after_failure:
- chmod +x path/to/webhook.sh
- ./path/to/webhook.sh failureMetadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation

