Skip to content

Commit

Permalink
Bug 1510294 Update APB params to use mariadb prefix instead of mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontleon committed Jan 11, 2018
1 parent 657679c commit fcbcc26
Show file tree
Hide file tree
Showing 9 changed files with 125 additions and 121 deletions.
70 changes: 35 additions & 35 deletions Dockerfile-canary
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,41 @@ FROM ansibleplaybookbundle/apb-base:canary
MAINTAINER Ansible Playbook Bundle Community

LABEL "com.redhat.apb.spec"=\
"LS0tCiMjIFNoYXJlZCBwYXJhbWV0ZXJzCl9wYXJhbXM6ICZfcGFyYW1zCiAgLSBuYW1lOiBteXNx\
bF9kYXRhYmFzZQogICAgZGVmYXVsdDogYWRtaW4KICAgIHR5cGU6IHN0cmluZwogICAgZGVzY3Jp\
cHRpb246IE1hcmlhREIgZGVmYXVsdCBkYXRhYmFzZSBuYW1lCiAgICB0aXRsZTogTWFyaWFEQiBE\
YXRhYmFzZSBuYW1lCiAgICBwYXR0ZXJuOiAiXlthLXpBLVowLTlfXSpbYS16QS1aX10rW2EtekEt\
WjAtOV9dKiQiCiAgICByZXF1aXJlZDogdHJ1ZQogIC0gbmFtZTogbXlzcWxfcm9vdF9wYXNzd29y\
ZAogICAgdHlwZTogc3RyaW5nCiAgICBkZXNjcmlwdGlvbjogQSByYW5kb20gYWxwaGFudW1lcmlj\
IHN0cmluZyBpZiBsZWZ0IGJsYW5rCiAgICBkaXNwbGF5X3R5cGU6IHBhc3N3b3JkCiAgICByZXF1\
aXJlZDogdHJ1ZQogIC0gbmFtZTogbXlzcWxfdXNlcgogICAgZGVmYXVsdDogYWRtaW4KICAgIHR5\
cGU6IHN0cmluZwogICAgcGF0dGVybjogIl5bYS16QS1aMC05X10qW2EtekEtWl9dK1thLXpBLVow\
LTlfXSokIgogICAgcmVxdWlyZWQ6IHRydWUKICAgIGRlc2NyaXB0aW9uOiBNYXJpYURCIFVzZXIK\
ICAtIG5hbWU6IG15c3FsX3Bh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FyaWFEQiBpbnN0YW5jZSB3aXRoIDEwIEdpQiBvZiBwZXJzaXN0\
ZW50IHN0b3JhZ2UKICAgIGZyZWU6IHRydWUKICAgIG1ldGFkYXRhOgogICAgICBkaXNwbGF5TmFt\
ZTogUHJvZHVjdGlvbgogICAgICBjb3N0OiAkMC4wMAogICAgcGFyYW1ldGVyczogKl9wYXJhbXMK\
ICAgIHVwZGF0ZXNfdG86CiAgICAgIC0gZGV2Cg=="



Expand Down
68 changes: 35 additions & 33 deletions Dockerfile-latest
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,41 @@ FROM ansibleplaybookbundle/apb-base
MAINTAINER Ansible Playbook Bundle Community

LABEL "com.redhat.apb.spec"=\
"LS0tCiMjIFNoYXJlZCBwYXJhbWV0ZXJzCl9wYXJhbXM6ICZfcGFyYW1zCiAgLSBuYW1lOiBteXNx\
bF9kYXRhYmFzZQogICAgZGVmYXVsdDogYWRtaW4KICAgIHR5cGU6IHN0cmluZwogICAgZGVzY3Jp\
cHRpb246IE1hcmlhREIgZGVmYXVsdCBkYXRhYmFzZSBuYW1lCiAgICB0aXRsZTogTWFyaWFEQiBE\
YXRhYmFzZSBuYW1lCiAgICByZXF1aXJlZDogdHJ1ZQogIC0gbmFtZTogbXlzcWxfcm9vdF9wYXNz\
d29yZAogICAgdHlwZTogc3RyaW5nCiAgICBkZXNjcmlwdGlvbjogQSByYW5kb20gYWxwaGFudW1l\
cmljIHN0cmluZyBpZiBsZWZ0IGJsYW5rCiAgICBkaXNwbGF5X3R5cGU6IHBhc3N3b3JkCiAgICBy\
ZXF1aXJlZDogdHJ1ZQogIC0gbmFtZTogbXlzcWxfdXNlcgogICAgZGVmYXVsdDogYWRtaW4KICAg\
IHR5cGU6IHN0cmluZwogICAgcmVxdWlyZWQ6IHRydWUKICAgIGRlc2NyaXB0aW9uOiBNYXJpYURC\
IFVzZXIKICAtIG5hbWU6IG15c3FsX3Bhc3N3b3JkCiAgICB0eXBlOiBzdHJpbmcKICAg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wIEdpQiBvZiBwZXJzaXN0\
ZW50IHN0b3JhZ2UKICAgIGZyZWU6IHRydWUKICAgIG1ldGFkYXRhOgogICAgICBkaXNwbGF5TmFt\
ZTogUHJvZHVjdGlvbgogICAgICBjb3N0OiAkMC4wMAogICAgcGFyYW1ldGVyczogKl9wYXJhbXMK\
ICAgIHVwZGF0ZXNfdG86CiAgICAgIC0gZGV2Cg=="



Expand Down
68 changes: 35 additions & 33 deletions Dockerfile-nightly
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,41 @@ FROM ansibleplaybookbundle/apb-base:nightly
MAINTAINER Ansible Playbook Bundle Community

LABEL "com.redhat.apb.spec"=\
"LS0tCiMjIFNoYXJlZCBwYXJhbWV0ZXJzCl9wYXJhbXM6ICZfcGFyYW1zCiAgLSBuYW1lOiBteXNx\
bF9kYXRhYmFzZQogICAgZGVmYXVsdDogYWRtaW4KICAgIHR5cGU6IHN0cmluZwogICAgZGVzY3Jp\
cHRpb246IE1hcmlhREIgZGVmYXVsdCBkYXRhYmFzZSBuYW1lCiAgICB0aXRsZTogTWFyaWFEQiBE\
YXRhYmFzZSBuYW1lCiAgICByZXF1aXJlZDogdHJ1ZQogIC0gbmFtZTogbXlzcWxfcm9vdF9wYXNz\
d29yZAogICAgdHlwZTogc3RyaW5nCiAgICBkZXNjcmlwdGlvbjogQSByYW5kb20gYWxwaGFudW1l\
cmljIHN0cmluZyBpZiBsZWZ0IGJsYW5rCiAgICBkaXNwbGF5X3R5cGU6IHBhc3N3b3JkCiAgICBy\
ZXF1aXJlZDogdHJ1ZQogIC0gbmFtZTogbXlzcWxfdXNlcgogICAgZGVmYXVsdDogYWRtaW4KICAg\
IHR5cGU6IHN0cmluZwogICAgcmVxdWlyZWQ6IHRydWUKICAgIGRlc2NyaXB0aW9uOiBNYXJpYURC\
IFVzZXIKICAtIG5hbWU6IG15c3FsX3Bhc3N3b3JkCiAgICB0eXBlOiBzdHJpbmcKICAgIGRlc2Ny\
aXB0aW9uOiBBI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ZW50IHN0b3JhZ2UKICAgIGZyZWU6IHRydWUKICAgIG1ldGFkYXRhOgogICAgICBkaXNwbGF5TmFt\
ZTogUHJvZHVjdGlvbgogICAgICBjb3N0OiAkMC4wMAogICAgcGFyYW1ldGVyczogKl9wYXJhbXMK\
ICAgIHVwZGF0ZXNfdG86CiAgICAgIC0gZGV2Cg=="



Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ An apb for deploying [mariadb](https://www.mariadb.org/about/).
`docker run --rm --net=host -v $HOME/.kube:/opt/apb/.kube:z -u $UID docker.io/ansibleplaybookbundle/mariadb-apb provision`

## Passing extra parameters
`docker run --env "OPENSHIFT_TARGET=https://$TARGET:8443" --env "OPENSHIFT_TOKEN=$TOKEN" ansibleplaybookbundle/mariadb-apb provision --extra-vars "namespace=$NAMESPACE" --extra-vars "mysql_database=''" --extra-vars "mysql_root_password=''" --extra-vars "mysql_user=root"`
`docker run --env "OPENSHIFT_TARGET=https://$TARGET:8443" --env "OPENSHIFT_TOKEN=$TOKEN" ansibleplaybookbundle/mariadb-apb provision --extra-vars "namespace=$NAMESPACE" --extra-vars "mariadb_database=''" --extra-vars "mariadb_root_password=''" --extra-vars "mariadb_user=root"`


## Tearing down the application
Expand Down
8 changes: 4 additions & 4 deletions apb.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
---
## Shared parameters
_params: &_params
- name: mysql_database
- name: mariadb_database
default: admin
type: string
description: MariaDB default database name
title: MariaDB Database name
pattern: "^[a-zA-Z0-9_]*[a-zA-Z_]+[a-zA-Z0-9_]*$"
required: true
- name: mysql_root_password
- name: mariadb_root_password
type: string
description: A random alphanumeric string if left blank
display_type: password
required: true
- name: mysql_user
- name: mariadb_user
default: admin
type: string
pattern: "^[a-zA-Z0-9_]*[a-zA-Z_]+[a-zA-Z0-9_]*$"
required: true
description: MariaDB User
- name: mysql_password
- name: mariadb_password
type: string
description: A random alphanumeric string if left blank
required: true
Expand Down
4 changes: 2 additions & 2 deletions roles/rhscl-mariadb-apb-openshift/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
service_name: "{{ lookup('env','SERVICE_NAME') | default('rhscl-mariadb', true) }}"
namespace: "{{ lookup('env','NAMESPACE') | default('rhscl-mariadb-apb', true) }}"
mysql_database: "{{ lookup('env','MYSQL_DATABASE') | default('', true) }}"
mysql_user: "{{ lookup('env','MYSQL_USER') | default('admin', true) }}"
mariadb_database: "{{ lookup('env','MARIADB_DATABASE') | default('', true) }}"
mariadb_user: "{{ lookup('env','MARIADB_USER') | default('admin', true) }}"
volume_size: "{{ lookup('env','VOLUME_SIZE') | default('10Gi', true) }}"
mariadb_version: "{{ lookup('env','MARIADB_VERSION') | default('10.0', true) }}"
image: "registry.access.redhat.com/rhscl/mariadb-{{ mariadb_version | replace('.', '') }}-rhel7"
Expand Down
8 changes: 4 additions & 4 deletions roles/rhscl-mariadb-apb-openshift/tasks/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
containers:
- env:
- name: MYSQL_ROOT_PASSWORD
value: '{{ mysql_root_password }}'
value: '{{ mariadb_root_password }}'
- name: MYSQL_USER
value: '{{ mysql_user }}'
value: '{{ mariadb_user }}'
- name: MYSQL_PASSWORD
value: '{{ mysql_password }}'
value: '{{ mariadb_password }}'
- name: MYSQL_DATABASE
value: '{{ mysql_database }}'
value: '{{ mariadb_database }}'
image: "{{ image }}"
image_pull_policy: IfNotPresent
name: "{{ service_name }}"
Expand Down
Loading

0 comments on commit fcbcc26

Please sign in to comment.