Duncan Doyle
2019-05-28 882099dc753cc5cc73d2374e1dee81dbd8588d13
Additional fixes after moving to registry.redhay.io. Mostly location of the ImageStreams for building enhanced images.
5 files modified
16 ■■■■■ changed files
ansible/roles/ocp-workload-dm7-qlb-demo/files/rhdm73-kieserver-cors.yaml 1 ●●●● patch | view | raw | blame | history
ansible/roles/ocp-workload-dm7-qlb-demo/tasks/workload.yml 7 ●●●●● patch | view | raw | blame | history
ansible/roles/ocp-workload-fsi-client-onboarding-demo/tasks/workload.yml 2 ●●●●● patch | view | raw | blame | history
ansible/roles/ocp-workload-pam-order-it-hardware/files/rhpam73-businesscentral-openshift-with-users.yaml 1 ●●●● patch | view | raw | blame | history
ansible/roles/ocp-workload-pam-order-it-hardware/tasks/workload.yml 5 ●●●●● patch | view | raw | blame | history
ansible/roles/ocp-workload-dm7-qlb-demo/files/rhdm73-kieserver-cors.yaml
@@ -45,6 +45,7 @@
        from:
          kind: ImageStreamTag
          name: rhdm73-kieserver-openshift:1.0
          namespace: openshift
      type: Docker
    triggers:
    - type: ConfigChange
ansible/roles/ocp-workload-dm7-qlb-demo/tasks/workload.yml
@@ -83,8 +83,11 @@
- name: "Patch the KIE-Server deployment to use CORS"
  shell: "oc patch dc/rhdm7-qlb-kieserver --type='json' -p=\"[{'op': 'replace', 'path': '/spec/triggers/0/imageChangeParams/from/name', 'value': 'rhdm73-kieserver-cors:latest'}]\""
- name: "Patch the KIE-Server deployment namespace to use CORS"
  shell: "oc patch dc/rhdm7-qlb-kieserver --type='json' -p '[{\"op\": \"replace\", \"path\": \"/spec/triggers/0/imageChangeParams/from/namespace\", \"value\": \"{{ocp_project}}\"}]'"
- name: "Create the QLB client application"
  shell: "oc new-app nodejs:6~https://github.com/jbossdemocentral/rhdm7-qlb-loan-demo#development --name=qlb-client-application --context-dir=support/application-ui -e NODE_ENV=development --build-env NODE_ENV=development"
  shell: "oc new-app nodejs:6~https://github.com/jbossdemocentral/rhdm7-qlb-loan-demo#master --name=qlb-client-application --context-dir=support/application-ui -e NODE_ENV=development --build-env NODE_ENV=development"
- name: "Get KIE Server Route"
  shell: "oc get route rhdm7-qlb-kieserver | awk 'FNR > 1 {print $2}'"
@@ -114,7 +117,6 @@
  #### Wait for the build to complete before slapping on the quota ....
- include_tasks: ./wait_for_build.yml
  static: no
  vars:
    build_to_wait:
      - qlb-client-application
@@ -122,7 +124,6 @@
#### Wait for the deployment to complete before slapping on the quota ...
- include_tasks: ./wait_for_deploy.yml
  static: no
  vars:
    pod_to_wait:
      - qlb-client-application
ansible/roles/ocp-workload-fsi-client-onboarding-demo/tasks/workload.yml
@@ -86,7 +86,6 @@
#### Wait for the build to complete before slapping on the quota ....
- include_tasks: ./wait_for_build.yml
  static: no
  vars:
    build_to_wait:
      - co
@@ -95,7 +94,6 @@
#### Wait for the deployment to complete before slapping on the quota ...
- include_tasks: ./wait_for_deploy.yml
  static: no
  vars:
    pod_to_wait:
      - co
ansible/roles/ocp-workload-pam-order-it-hardware/files/rhpam73-businesscentral-openshift-with-users.yaml
@@ -38,6 +38,7 @@
        from:
          kind: ImageStreamTag
          name: rhpam73-businesscentral-openshift:1.0
          namespace: openshift
      type: Docker
    triggers:
    - type: ConfigChange
ansible/roles/ocp-workload-pam-order-it-hardware/tasks/workload.yml
@@ -94,6 +94,9 @@
- name: "Configure Business Central ImageStream"
  shell: "oc patch dc/rhpam7-oih-rhpamcentr --type='json' -p '[{\"op\": \"replace\", \"path\": \"/spec/triggers/0/imageChangeParams/from/name\", \"value\": \"rhpam73-businesscentral-openshift-with-users:latest\"}]'"
- name: "Configure Business Central ImageStream Namespace"
  shell: "oc patch dc/rhpam7-oih-rhpamcentr --type='json' -p '[{\"op\": \"replace\", \"path\": \"/spec/triggers/0/imageChangeParams/from/namespace\", \"value\": \"{{ocp_project}}\"}]'"
#- name: "Create secrets and service accounts"
#  shell: "oc process -f /tmp/{{guid}}/secrets-and-accounts.yaml | oc create -n {{ocp_project}} -f  -"
@@ -158,7 +161,6 @@
#### Wait for the build to complete before slapping on the quota ....
- include_tasks: ./wait_for_build.yml
  static: no
  vars:
    build_to_wait:
      - rhpam7-oih-order-app
@@ -167,7 +169,6 @@
#### Wait for the deployment to complete before slapping on the quota ...
- include_tasks: ./wait_for_deploy.yml
  static: no
  vars:
    pod_to_wait:
      - rhpam7-oih-order-app