-
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 #10 from Sharpz7/dev
Version 0.1.10
- Loading branch information
Showing
12 changed files
with
123 additions
and
40 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 +1,3 @@ | ||
.env | ||
.env | ||
.vscode | ||
__debug_bin |
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 @@ | ||
VERSION=0.1.9 | ||
VERSION=0.1.10 |
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 |
---|---|---|
@@ -1,43 +1,50 @@ | ||
version: 0.1 | ||
version: 1.0 | ||
envfile: .env | ||
|
||
values: | ||
SECRETD: '{\"secret\":\"$PASSD\"}' | ||
SECRET: '{\"secret\":\"$PASS\"}' | ||
|
||
scripts: | ||
build: go build -o ./internal/sharpcd ./src | ||
revert: git revert ${SHARP_ARG_1}..HEAD | ||
build: | | ||
go build -o ./internal/sharpcd ./src | ||
revert: git revert $_ARG1..HEAD | ||
list: git branch | ||
archive: | | ||
git tag archive/${SHARP_ARG_1} ${SHARP_ARG_1} && | ||
git branch -d ${SHARP_ARG_1} | ||
git tag archive/$_ARG1 $_ARG1 | ||
git branch -d $_ARG1 | ||
server: | | ||
sudo apt-get install -y lsof && | ||
sudo kill $(sudo lsof -t -i:5666) > /dev/null 2>&1 || true && | ||
sharpdev build && | ||
sudo apt-get install -y lsof | ||
sudo kill $(sudo lsof -t -i:5666) > /dev/null 2>&1 || true | ||
sharpdev build | ||
sudo ./internal/sharpcd server | ||
client: | | ||
sudo docker-compose -f "./internal/sharpcd-data/docker/external_task/docker-compose.yml" down && | ||
$(sudo docker volume rm memes) > /dev/null 2>&1 || true && | ||
$(sudo docker network rm memes) > /dev/null 2>&1 || true && | ||
sharpdev build && | ||
sudo docker-compose -f "./internal/sharpcd-data/docker/external_task/docker-compose.yml" down | ||
$(sudo docker volume rm memes) > /dev/null 2>&1 || true | ||
$(sudo docker network rm memes) > /dev/null 2>&1 || true | ||
sharpdev build | ||
./internal/sharpcd --secret $PASSD | ||
job: curl -k -X POST -d SECRETD https://localhost:5666/api/job/${SHARP_ARG_1} | ||
logs: curl -k -X POST -d SECRETD https://localhost:5666/api/logs/${SHARP_ARG_1} | ||
job: curl -k -X POST -d SECRETD https://localhost:5666/api/job/$_ARG1 | ||
logs: curl -k -X POST -d SECRETD https://localhost:5666/api/logs/$_ARG1 | ||
filter: ./internal/sharpcd addfilter https://raw.githubusercontent.com/Sharpz7/ | ||
remove: ./internal/sharpcd removefilter https://raw.githubusercontent.com/Sharpz7/ | ||
token: ./internal/sharpcd changetoken ${SHARP_ARG_1} | ||
token: ./internal/sharpcd changetoken $_ARG1 | ||
alljobsd: curl -k -X POST -d SECRETD https://localhost:5666/api/jobs | ||
alljobs: curl -k -X POST -d SECRET https://173.212.252.82:5666/api/jobs | ||
|
||
file: | | ||
curl -H 'Authorization: token ${SHARP_ARG_1}' \ | ||
curl -H 'Authorization: token $_ARG1' \ | ||
-H 'Accept: application/vnd.github.v3.raw' \ | ||
-O \ | ||
-L https://raw.githubusercontent.com/Sharpz7/stuandbob/main/docker-compose.yml | ||
test: | | ||
git checkout dev | ||
git push origin dev | ||
sharpdev client | ||
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
Oops, something went wrong.