-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The current situation
The actual deployment system let us to:
- Define a specif flavour, with a particular Dockerfile and build-args and trigger its construction with an event.
- Define a tenant-app-env chain to deploy in one or several services names
- Select a flavour to deploy.
Therefore:
# build-images.yaml
foo:
triggers:
push:
branches: ["master"]
build_args:
arg: "value 1"
arg2: "value 2"
dockerfile: Dockerfile.foo
Is going to create an image whenever a push happens master branch.
With this file we can control where the new image is going to be deployed:
# deployment.yml
foo:
app:
dev:
service_names:
- service1
- service2
version: branch_master
flavour: foo
The image built, following the foo definition on build-images.yaml, is going to be deployed as service1 and service2 in the foo-app-dev tenant-app-env chain.
The problem
We are facing the following situation:
- The TL wants to build to images (different build-args) for the same trigger and deploy them in different services within the same tenant-app-env.
Therefore,
- The deployment needs to let us define a particular flavor for every service name.
- The current system is not enough because it links the same flavour to all the services whitin a particular tenant-app-env chain.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels