This file contains hidden or 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
| # ./.tmuxinator.yml | |
| name: client1 | |
| root: ./ | |
| windows: | |
| - servers: | |
| layout: main-vertical | |
| panes: | |
| - etcd |
This file contains hidden or 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
| version: "3" | |
| services: | |
| nginx: | |
| build: | |
| context: . | |
| dockerfile: nginx.dockerfile | |
| volumes: | |
| - /var/run/docker.sock:/tmp/docker.sock:ro | |
| - /home/obraun/certs:/etc/nginx/certs:ro | |
| ports: |
This file contains hidden or 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
| version: "3" | |
| services: | |
| customerservice: | |
| image: docker.pkg.github.com/vesose/solutionb1/customerservice:latest | |
| command: --bind=customerservice:9010 | |
| bookservice: | |
| image: docker.pkg.github.com/vesose/solutionb1/bookservice:latest | |
| command: --bind=bookservice:9020 | |
| libraryservice: | |
| image: docker.pkg.github.com/vesose/solutionb1/libraryservice:latest |
This file contains hidden or 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
| func main() { | |
| var wg sync.WaitGroup | |
| wg.Add(1) | |
| defer wg.Wait() | |
| flagBind := flag.String("bind", ":9010", "Bind service to address") | |
| flag.Parse() | |
| context := actor.EmptyRootContext |
This file contains hidden or 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
| package moviestore | |
| import "testing" | |
| func newMoviestoreImpl() *moviestoreImpl { | |
| ms := new(moviestoreImpl) | |
| ms.available = make(map[Serial]Movie) | |
| ms.users = make(map[UserID]User) | |
| ms.rented = make(map[UserID][]Movie) |
This file contains hidden or 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
| version: "3" | |
| services: | |
| jenkins: | |
| # image: jenkins/jenkins:lts | |
| build: | |
| context: . | |
| dockerfile: jenkins.dockerfile | |
| volumes: | |
| - /var/run/docker.sock:/var/run/docker.sock | |
| - /home/jenkins:/var/jenkins_home |
This file contains hidden or 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
| # Use new container infrastructure to enable caching | |
| sudo: false | |
| # Do not choose a language; we provide our own build tools. | |
| language: generic | |
| # Caching so the next build will be fast too. | |
| cache: | |
| directories: | |
| - $HOME/.stack |
This file contains hidden or 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
| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| "bytes" | |
| "io/ioutil" | |
| ) | |
| func main() { |
This file contains hidden or 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
| pipeline { | |
| agent any | |
| stages { | |
| stage('Build') { | |
| steps { | |
| sh 'sh gradlew clean' | |
| sh 'sh gradlew compileJava' | |
| } | |
| } | |
| stage('Checkstyle') { |
This file contains hidden or 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
| _ _ _ _ __ __ _ _ _ | |
| | | | | ___| | | ___ \ \ / /__ _ __| | __| | | | |
| | |_| |/ _ \ | |/ _ \ \ \ /\ / / _ \| '__| |/ _` | | | |
| | _ | __/ | | (_) | \ V V / (_) | | | | (_| |_| | |
| |_| |_|\___|_|_|\___( ) \_/\_/ \___/|_| |_|\__,_(_) | |
| |/ |
NewerOlder