The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello,
I am trying to make multiple deployment projects with YAML file, but i have error in configuration:
---
version: 2
deployment:
name: STATUS ########
source-plan: MARS-ROCKET
release-naming:
next-version-name: 0.${bamboo.buildNumber}
environments:
- DEV
DEV:
tasks:
- clean
- artifact-download:
destination: /
- script:
- echo "Hello World"
deployment:
name: RESTART ########
source-plan: MARS-ROCKET
release-naming:
next-version-name: 0.${bamboo.buildNumber}
environments:
- DEV
DEV:
tasks:
- clean
- artifact-download:
destination: /
- script:
- echo "Hello World"
can it be merged or? please advice
Thank you in advance
You need to split the file into documents like this:
---
version: 2
deployment:
name: STATUS ########
source-plan: MARS-ROCKET
release-naming:
next-version-name: 0.${bamboo.buildNumber}
environments:
- DEV
DEV:
tasks:
- clean
- artifact-download:
destination: /
- script:
- echo "Hello World"
---
version: 2
deployment:
name: RESTART ########
source-plan: MARS-ROCKET
release-naming:
next-version-name: 0.${bamboo.buildNumber}
environments:
- DEV
DEV:
tasks:
- clean
- artifact-download:
destination: /
- script:
- echo "Hello World"
...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.