docker - Multiservice application in Teamcity - composing branches -


i have large application which

  • is built on top of 3 microservices a, b, c
  • each service has own git repository , build task
  • each build task produces docker image
  • there deploy task depends on every microservice build task
  • deploy task generates docker-compose.yml file template , runs on swarm cluster.

everything works long work on master branches. want have ability create deploy stacks, example:

deploy production:

  • use docker image service built branch master
  • use docker image service b built branch master
  • use docker image service c built branch master

deploy staging:

  • use docker image service built branch release
  • use docker image service b built branch release
  • use docker image service c built branch release

deploy feature:

  • use docker image service built branch release
  • use docker image service b built branch feature/foobar
  • use docker image service c built branch release

how approach case? should use snapshot dependencies or artifact dependencies?


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -