-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #101 from peach-bot/develop
CI Tweaks, Spotify fixes
- Loading branch information
Showing
41 changed files
with
746 additions
and
571 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
.vscode | ||
notes | ||
secrets | ||
devsecrets | ||
vendor | ||
*.exe | ||
build | ||
scripts/hash | ||
*.pem | ||
|
||
**/vendor | ||
node_modules | ||
launchcfg.json | ||
scripts/getguildsettings.sql | ||
|
||
scripts/getusersettings.sql | ||
build | ||
scripts/hash | ||
|
||
TODO | ||
launchcfg.json | ||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[Unit] | ||
Description=Peach Discord Bot | ||
After=network.target | ||
|
||
[Service] | ||
Type=simple | ||
User=peach | ||
ExecStart=/home/peach/coordinator-${version}.exe | ||
Restart=always | ||
WorkingDirectory=/home/peach | ||
|
||
[Install] | ||
WantedBy=default.target |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
go test -v ./src/... | ||
go test -v ./src/peach_discord_client | ||
go test -v ./src/peach_coordinator | ||
go test -v ./src/peach_launcher |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
if [[ "$TRAVIS_TAG" != "" ]]; then | ||
version="$TRAVIS_TAG" | ||
else | ||
version=$(git describe --tags) | ||
branch=$(git rev-parse --abbrev-ref HEAD) | ||
if [[ "$branch" == "master" ]]; then | ||
branch="" | ||
else | ||
branch="-$branch" | ||
fi | ||
version=${version%-*-*} | ||
version="$version$branch" | ||
fi | ||
|
||
echo $version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package main | ||
|
||
// VERSION represents the release the bot is currently running on. | ||
// This file is automatically generated by the build script. Do not edit. | ||
const VERSION = "${version}" |
Oops, something went wrong.