Description of problem: apb init --dep option does not work Version-Release number of selected component (if applicable): openshift:3.10 apb: 1.2.1 How reproducible: Always Steps to Reproduce: 1. apb init my-dep-apb --dep docker.io/mariadb:latest 2. cd my-dep-apb 3. cat apb.yml Actual results: use --dep option, dependencies does not show in apb.yml. version: 1.0 name: my-dep-apb description: This is a sample application generated by apb init bindable: False async: optional metadata: displayName: my-dep plans: - name: default description: This default plan deploys my-dep-apb free: True metadata: {} parameters: [] Expected results: use --dep option, dependencies: ['docker.io/mariadb:latest'] should show in apb.yml. Additional info:
Confirming that I see the same. Looks like the dependency functionality has been stripped from init.
https://github.com/ansibleplaybookbundle/ansible-playbook-bundle/pull/272
https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=679545 brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/apb-tools:v3.10.0-0.16.0.4
Verified with latest image in brew. Will wait for the rpm ready to double verify. # apb init my-dep-apb --dep docker.io/mariadb:latest groupadd: GID '0' already exists usermod: group 'apb' does not exist Initializing /mnt/my-dep-apb for an APB. Generating playbook files Successfully initialized project directory at: /mnt/my-dep-apb Please run *apb prepare* inside of this directory after editing files. # cat my-dep-apb/apb.yml version: 1.0 name: my-dep-apb description: This is a sample application generated by apb init bindable: False async: optional metadata: displayName: my-dep dependencies: ['docker.io/mariadb:latest'] plans: - name: default description: This default plan deploys my-dep-apb free: True metadata: {} parameters: []
Verified # apb version Version: apb-1.2.5 # apb init my-dep-apb --dep docker.io/mariadb:latest Initializing /mnt/my-dep-apb for an APB. Generating playbook files Successfully initialized project directory at: /mnt/my-dep-apb Please run *apb prepare* inside of this directory after editing files. # cat my-dep-apb/apb.yml version: 1.0 name: my-dep-apb description: This is a sample application generated by apb init bindable: False async: optional metadata: displayName: my-dep dependencies: ['docker.io/mariadb:latest'] plans: - name: default description: This default plan deploys my-dep-apb free: True metadata: {} parameters: []
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:1816