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
Community moderators have prevented the ability to post new answers.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.