Skip to content

Instantly share code, notes, and snippets.

@kramse
Created February 26, 2018 07:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kramse/46f21c2698b03f8ea786856181ecde76 to your computer and use it in GitHub Desktop.
Save kramse/46f21c2698b03f8ea786856181ecde76 to your computer and use it in GitHub Desktop.
root@devops:~/bin# cat clean.sh
rm -rf /opt/concourse
mkdir /opt/concourse
dropdb --username=postgres atc
createdb --username=postgres atc
root@devops:~/bin# cat concourse.sh
#! /bin/sh
./concourse_linux_amd64 web \
--basic-auth-username hlk \
--basic-auth-password mypass \
--session-signing-key session_signing_key \
--tsa-host-key tsa_host_key \
--tsa-authorized-keys authorized_worker_keys \
--external-url http://10.80.0.194:8080
root@devops:~/bin# sh clean.sh
root@devops:~/bin# sh concourse.sh
{"timestamp":"1519631496.905719757","source":"tsa","message":"tsa.listening","log_level":1,"data":{}}
{"timestamp":"1519631496.907026768","source":"atc","message":"atc.listening","log_level":1,"data":{"debug":"127.0.0.1:8079","http":"0.0.0.0:8080"}}
{"timestamp":"1519631496.940503120","source":"atc","message":"atc.oauth-begin.oauth-begin.failed-to-find-team","log_level":1,"data":{"session":"12.1","teamName":""}}
{"timestamp":"1519631501.942332983","source":"atc","message":"atc.oauth-begin.oauth-begin.failed-to-find-team","log_level":1,"data":{"session":"12.2","teamName":""}}
{"timestamp":"1519631506.941537380","source":"atc","message":"atc.oauth-begin.oauth-begin.failed-to-find-team","log_level":1,"data":{"session":"12.3","teamName":""}}
{"timestamp":"1519631511.942336321","source":"atc","message":"atc.oauth-begin.oauth-begin.failed-to-find-team","log_level":1,"data":{"session":"12.4","teamName":""}}
{"timestamp":"1519631516.941905737","source":"atc","message":"atc.oauth-begin.oauth-begin.failed-to-find-team","log_level":1,"data":{"session":"12.5","teamName":""}}
{"timestamp":"1519631521.940890074","source":"atc","message":"atc.oauth-begin.oauth-begin.failed-to-find-team","log_level":1,"data":{"session":"12.6","teamName":""}}
{"timestamp":"1519631526.940830469","source":"atc","message":"atc.oauth-begin.oauth-begin.failed-to-find-team","log_level":1,"data":{"session":"12.7","teamName":""}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment