Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-20553

YAML specs unable to assign to Docker Runner for deployment environments

XMLWordPrintable

      Issue Summary

      When defining Deployment environments in YAML specs, declaring a docker image per documentation, does not change the "Deploy Release IN" settings for the environment.

      Steps to Reproduce

      1. Create YAML specs per documentation
        
        version: 2
        deployment:
          source-plan: DRAGON-SLAYER
          name: dragon slayer yml test
        
        release-naming:
          next-version-name: "${bamboo.versions.CI_VERSION}"
        
        environments:
          - dev
          - QA
        
        
        dev:
          tasks:
            - clean
            - script:
                echo
          docker: 
            image: ubuntu
        
        QA:
          tasks: 
            - script: 
              - echo 'Release planet'
          docker:
            image: ubuntu
        
      2. Commit and push changes

      Expected Results

      Deployment Environment configured to run in Docker rather than in Agent

      Actual Results

      Deployment Environment remains in "Agent"

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available.

              achystoprudov Alexey Chystoprudov
              rwatson@atlassian.com Robert W (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: