Michele Naldini
2019-08-23 261da773c77e7364e988f3d624d781548c3e335d
update project-iot-development yaml for jenkins pipeline avoiding rollout (#645)

* fixing copy id_rsa* location on bastion

* fixing copy of id_rsa key files

* add section headers to ansible.cfg

fix to avoid parsing problem: Error reading config file (/opt/apb/ansible.cfg): File contains no section headers

* fix default host as bastion (shortname dns)

* Update project-iot-development.yaml
1 files modified
4 ■■■ changed files
ansible/roles/ocp-workload-edge-deployments/files/project-iot-development.yaml 4 ●●● patch | view | raw | blame | history
ansible/roles/ocp-workload-edge-deployments/files/project-iot-development.yaml
@@ -587,9 +587,7 @@
                          script {
                              openshift.withCluster() {
                                  openshift.withProject() {
                                      def rm = openshift.selector("dc", templateName).rollout().latest()
                                      openshift.selector("dc", templateName).related('pods').untilEach(1) {
                                          return (it.object().status.phase == "Running")
                                      echo "Just an empty deploy because we have DC with ImageStream trigger!"
                                      }
                                  }
                              }