Ricardo Jun
2018-11-29 ecaaf45fbbf2184576c95a7432602bb46dc70e98
Included custom images
6 files added
1 files modified
69 ■■■■■ changed files
extras/backup/business-central/Dockerfile 12 ●●●●● patch | view | raw | blame | history
extras/backup/business-central/contrib/application-roles.properties 6 ●●●●● patch | view | raw | blame | history
extras/backup/business-central/contrib/application-users.properties 12 ●●●●● patch | view | raw | blame | history
extras/backup/images.sh 9 ●●●● patch | view | raw | blame | history
extras/backup/kie-server/Dockerfile 12 ●●●●● patch | view | raw | blame | history
extras/backup/kie-server/contrib/application-roles.properties 6 ●●●●● patch | view | raw | blame | history
extras/backup/kie-server/contrib/application-users.properties 12 ●●●●● patch | view | raw | blame | history
extras/backup/business-central/Dockerfile
New file
@@ -0,0 +1,12 @@
FROM rhpam-7/rhpam70-businesscentral-openshift:1.2
ADD ./contrib/application-users.properties /opt/eap/standalone/configuration/application-users.properties
ADD ./contrib/application-roles.properties /opt/eap/standalone/configuration/application-roles.properties
USER root
RUN chown jboss:root /opt/eap/standalone/configuration/application-users.properties && chmod 664 /opt/eap/standalone/configuration/application-users.properties
RUN chown jboss:root /opt/eap/standalone/configuration/application-roles.properties && chmod 664 /opt/eap/standalone/configuration/application-roles.properties
USER jboss
extras/backup/business-central/contrib/application-roles.properties
New file
@@ -0,0 +1,6 @@
agent11=kie-server,agentgroup1,user
agent12=kie-server,agentgroup1,user
agent21=kie-server,agentgroup2,user
agent22=kie-server,agentgroup2,user
manager11=kie-server,managergroup1,user,Administrators
manager21=kie-server,managergroup2,user,Administrators
extras/backup/business-central/contrib/application-users.properties
New file
@@ -0,0 +1,12 @@
# agent11/agent1!
agent11=df829a4db94d0e7bd6707821f26cc536
# agent12/agent1!
agent12=e9ade3c7d7867fac43a2b69de2149963
# agent21/agent1!
agent21=048b9fd036e68bcfc1a1be98a8783b27
# agent22/agent1!
agent22=17edd8b6931056e8d520826802d7c68d
# manager11/manager1!
manager11=63a325e32de9f2c44167bdc5a53781e5
# manager21/manager1!
manager21=333e0d9bdd8fc5fff8c2fcc8084f8446
extras/backup/images.sh
@@ -1,10 +1,15 @@
rsync -aPv docker-clean root@services:/etc/sysconfig/docker
ssh root@services mkdir /tmp/dc39
rsync -aPv * root@services:/tmp/dc39
ssh root@classroom rht-config-nat
ssh root@services systemctl restart docker
ssh root@services "docker pull registry.access.redhat.com/rhpam-7/rhpam70-businesscentral-openshift:1.0 && docker tag registry.access.redhat.com/rhpam-7/rhpam70-businesscentral-openshift:1.0 registry.lab.example.com/rhpam-7/rhpam70-businesscentral-openshift:1.0 && docker push registry.lab.example.com/rhpam-7/rhpam70-businesscentral-openshift:1.0" 
ssh root@services "docker pull registry.access.redhat.com/rhpam-7/rhpam70-businesscentral-openshift:1.1 && docker tag registry.access.redhat.com/rhpam-7/rhpam70-businesscentral-openshift:1.1 registry.lab.example.com/rhpam-7/rhpam70-businesscentral-openshift:1.1 && docker push registry.lab.example.com/rhpam-7/rhpam70-businesscentral-openshift:1.1" 
ssh root@services "docker pull registry.access.redhat.com/rhpam-7/rhpam70-businesscentral-openshift:1.2 && docker tag registry.access.redhat.com/rhpam-7/rhpam70-businesscentral-openshift:1.2  registry.lab.example.com/rhpam-7/rhpam70-businesscentral-openshift:1.2 && docker push registry.lab.example.com/rhpam-7/rhpam70-businesscentral-openshift:1.2"
ssh root@services "docker pull registry.access.redhat.com/rhpam-7/rhpam70-businesscentral-openshift:1.2"
ssh root@services "cd /tmp/dc39/business-central && docker build . -t registry.lab.example.com/rhpam-7/rhpam70-businesscentral-openshift:1.2 && docker push registry.lab.example.com/rhpam-7/rhpam70-businesscentral-openshift:1.2"
#ssh root@services "docker tag registry.access.redhat.com/rhpam-7/rhpam70-businesscentral-openshift:1.2  registry.lab.example.com/rhpam-7/rhpam70-businesscentral-openshift:1.2 && docker push registry.lab.example.com/rhpam-7/rhpam70-businesscentral-openshift:1.2"
ssh root@services "docker pull registry.access.redhat.com/rhpam-7/rhpam70-businesscentral-monitoring-openshift:1.0 && docker tag registry.access.redhat.com/rhpam-7/rhpam70-businesscentral-monitoring-openshift:1.0 registry.lab.example.com/rhpam-7/rhpam70-businesscentral-monitoring-openshift:1.0 && docker push registry.lab.example.com/rhpam-7/rhpam70-businesscentral-monitoring-openshift:1.0" 
ssh root@services "docker pull registry.access.redhat.com/rhpam-7/rhpam70-businesscentral-monitoring-openshift:1.1 && docker tag registry.access.redhat.com/rhpam-7/rhpam70-businesscentral-monitoring-openshift:1.1 registry.lab.example.com/rhpam-7/rhpam70-businesscentral-monitoring-openshift:1.1 && docker push registry.lab.example.com/rhpam-7/rhpam70-businesscentral-monitoring-openshift:1.1" 
ssh root@services "docker pull registry.access.redhat.com/rhpam-7/rhpam70-businesscentral-monitoring-openshift:1.2 && docker tag registry.access.redhat.com/rhpam-7/rhpam70-businesscentral-monitoring-openshift:1.2 registry.lab.example.com/rhpam-7/rhpam70-businesscentral-monitoring-openshift:1.2 && docker push registry.lab.example.com/rhpam-7/rhpam70-businesscentral-monitoring-openshift:1.2" 
@@ -13,7 +18,7 @@
ssh root@services "docker pull registry.access.redhat.com/rhpam-7/rhpam70-controller-openshift:1.2 && docker tag registry.access.redhat.com/rhpam-7/rhpam70-controller-openshift:1.2 registry.lab.example.com/rhpam-7/rhpam70-controller-openshift:1.2 && docker push registry.lab.example.com/rhpam-7/rhpam70-controller-openshift:1.2" 
ssh root@services "docker pull registry.access.redhat.com/rhpam-7/rhpam70-kieserver-openshift:1.0 && docker tag registry.access.redhat.com/rhpam-7/rhpam70-kieserver-openshift:1.0 registry.lab.example.com/rhpam-7/rhpam70-kieserver-openshift:1.0 && docker push registry.lab.example.com/rhpam-7/rhpam70-kieserver-openshift:1.0" 
ssh root@services "docker pull registry.access.redhat.com/rhpam-7/rhpam70-kieserver-openshift:1.1 && docker tag registry.access.redhat.com/rhpam-7/rhpam70-kieserver-openshift:1.1 registry.lab.example.com/rhpam-7/rhpam70-kieserver-openshift:1.1 && docker push registry.lab.example.com/rhpam-7/rhpam70-kieserver-openshift:1.1" 
ssh root@services "docker pull registry.access.redhat.com/rhpam-7/rhpam70-kieserver-openshift:1.2 && docker tag registry.access.redhat.com/rhpam-7/rhpam70-kieserver-openshift:1.2 registry.lab.example.com/rhpam-7/rhpam70-kieserver-openshift:1.2 && docker push registry.lab.example.com/rhpam-7/rhpam70-kieserver-openshift:1.2"
ssh root@services "cd /tmp/dc39/kie-server && docker build . -t registry.lab.example.com/rhpam-7/rhpam70-kieserver-openshift:1.2 && docker push registry.lab.example.com/rhpam-7/rhpam70-kieserver-openshift:1.2"
ssh root@services "docker pull registry.access.redhat.com/rhpam-7/rhpam70-smartrouter-openshift:1.0 && docker tag registry.access.redhat.com/rhpam-7/rhpam70-smartrouter-openshift:1.0 registry.lab.example.com/rhpam-7/rhpam70-smartrouter-openshift:1.0 && docker push registry.lab.example.com/rhpam-7/rhpam70-smartrouter-openshift:1.0 && docker push registry.lab.example.com/rhpam-7/rhpam70-smartrouter-openshift:1.1" 
ssh root@services "docker pull registry.access.redhat.com/rhpam-7/rhpam70-smartrouter-openshift:1.1 && docker tag registry.access.redhat.com/rhpam-7/rhpam70-smartrouter-openshift:1.1 registry.lab.example.com/rhpam-7/rhpam70-smartrouter-openshift:1.1 && docker push registry.lab.example.com/rhpam-7/rhpam70-smartrouter-openshift:1.1" 
ssh root@services "docker pull registry.access.redhat.com/rhpam-7/rhpam70-smartrouter-openshift:1.2 && docker tag registry.access.redhat.com/rhpam-7/rhpam70-smartrouter-openshift:1.2 registry.lab.example.com/rhpam-7/rhpam70-smartrouter-openshift:1.2 && docker push registry.lab.example.com/rhpam-7/rhpam70-smartrouter-openshift:1.2" 
extras/backup/kie-server/Dockerfile
New file
@@ -0,0 +1,12 @@
FROM rhpam-7/rhpam70-kieserver-openshift:1.2
ADD ./contrib/application-users.properties /opt/eap/standalone/configuration/application-users.properties
ADD ./contrib/application-roles.properties /opt/eap/standalone/configuration/application-roles.properties
USER root
RUN chown jboss:root /opt/eap/standalone/configuration/application-users.properties && chmod 664 /opt/eap/standalone/configuration/application-users.properties
RUN chown jboss:root /opt/eap/standalone/configuration/application-roles.properties && chmod 664 /opt/eap/standalone/configuration/application-roles.properties
USER jboss
extras/backup/kie-server/contrib/application-roles.properties
New file
@@ -0,0 +1,6 @@
agent11=kie-server,agentgroup1,user
agent12=kie-server,agentgroup1,user
agent21=kie-server,agentgroup2,user
agent22=kie-server,agentgroup2,user
manager11=kie-server,managergroup1,user,Administrators
manager21=kie-server,managergroup2,user,Administrators
extras/backup/kie-server/contrib/application-users.properties
New file
@@ -0,0 +1,12 @@
# agent11/agent1!
agent11=df829a4db94d0e7bd6707821f26cc536
# agent12/agent1!
agent12=e9ade3c7d7867fac43a2b69de2149963
# agent21/agent1!
agent21=048b9fd036e68bcfc1a1be98a8783b27
# agent22/agent1!
agent22=17edd8b6931056e8d520826802d7c68d
# manager11/manager1!
manager11=63a325e32de9f2c44167bdc5a53781e5
# manager21/manager1!
manager21=333e0d9bdd8fc5fff8c2fcc8084f8446