Remove secret values
This commit is contained in:
parent
917713c312
commit
a4c6f91e47
8 changed files with 239 additions and 16 deletions
13
LinuxGeneralCompiler/entrypoint.sh
Normal file
13
LinuxGeneralCompiler/entrypoint.sh
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo $PUB | dart pub token add https://git.zontreck.com/api/packages/AriasCreations/pub
|
||||
|
||||
mkdir -pv ~/.gradle
|
||||
echo $GRADLEPROP | base64 -d > ~/.gradle/gradle.properties
|
||||
|
||||
mkdir -pv ~/.ssh
|
||||
echo "$PRIVKEY" | base64 -d > ~/.ssh/id_rsa
|
||||
echo "$PUBKEY" | base64 -d > ~/.ssh/id_rsa.pub
|
||||
chmod 0600 ~/.ssh/id_rsa
|
||||
|
||||
java -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -jar /agent.jar -url "https://ci.zontreck.com" -secret "$AGENT" -name "Linux" -workDir "/builder"
|
Loading…
Add table
Add a link
Reference in a new issue