From 87928b0ecb13f20a4eb5973120d73cb2b515bdd0 Mon Sep 17 00:00:00 2001 From: lipan Date: Mon, 30 May 2016 11:48:17 +0800 Subject: [PATCH 1/3] update registry version, increase init memory --- playbooks/roles/bootstrap-images/vars/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/roles/bootstrap-images/vars/main.yaml b/playbooks/roles/bootstrap-images/vars/main.yaml index 92b5f38..3132160 100644 --- a/playbooks/roles/bootstrap-images/vars/main.yaml +++ b/playbooks/roles/bootstrap-images/vars/main.yaml @@ -10,8 +10,8 @@ "networkd-binary": "networkd-binary:0.1.12", "deployd-binary": "deployd:2.0.2", "lainlet": "lainlet:2.0.2", - "registry": "registry:release-1463724658-aac5b75fcc96e7eaacd023a42326c49c9aeec68c", - "registry-meta": "registry:meta-1463724658-aac5b75fcc96e7eaacd023a42326c49c9aeec68c", + "registry": "registry:release-1464060746-b1033b6544555a0b7e8775a994b8a891aaab0a11", + "registry-meta": "registry:meta-1464060746-b1033b6544555a0b7e8775a994b8a891aaab0a11", "tinydns": "tinydns:release-1462424821-15ab41349dce81ddb9bc5c10309bb43b9aa0c573", "tinydns-meta": "tinydns:meta-1462424821-15ab41349dce81ddb9bc5c10309bb43b9aa0c573", "webrouter": "webrouter:release-1462260224-41bff528f481a2ec6b01ca975fd17dea1b67bdb5", From 3a38a26cc421d0dbc3a9a5a03d7067f63c8db4f5 Mon Sep 17 00:00:00 2001 From: lipan Date: Mon, 30 May 2016 11:51:29 +0800 Subject: [PATCH 2/3] update console version, fix some bugs --- playbooks/roles/bootstrap-images/vars/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/roles/bootstrap-images/vars/main.yaml b/playbooks/roles/bootstrap-images/vars/main.yaml index 3132160..bd9420c 100644 --- a/playbooks/roles/bootstrap-images/vars/main.yaml +++ b/playbooks/roles/bootstrap-images/vars/main.yaml @@ -16,8 +16,8 @@ "tinydns-meta": "tinydns:meta-1462424821-15ab41349dce81ddb9bc5c10309bb43b9aa0c573", "webrouter": "webrouter:release-1462260224-41bff528f481a2ec6b01ca975fd17dea1b67bdb5", "webrouter-meta": "webrouter:meta-1462260224-41bff528f481a2ec6b01ca975fd17dea1b67bdb5", - "console": "console:release-1462949955-ec2dab7586e5fedae2311f380c86c447b39ddbea", - "console-meta": "console:meta-1462949955-ec2dab7586e5fedae2311f380c86c447b39ddbea", + "console": "console:release-1464333027-ff36caebb2677611fcd40d8097cc11554c9503c9", + "console-meta": "console:meta-1464333027-ff36caebb2677611fcd40d8097cc11554c9503c9", "backupctl-meta": "backupctl:meta-1460534637-7bb87af249b1672e18baacbacb6d3ffd6155e81c", "backupctl": "backupctl:release-1460534637-7bb87af249b1672e18baacbacb6d3ffd6155e81c", "lvault-meta": "lvault:meta-1462443822-81ed22691e022c788be3cb1e5cc1259c54daafcd", From 0a869b9dd3c418a7e9848ef5340dc4b5a833f60e Mon Sep 17 00:00:00 2001 From: lipan Date: Mon, 30 May 2016 14:36:00 +0800 Subject: [PATCH 3/3] wait 2 senconds before checking new webrouter status --- playbooks/roles/bootstrap-webrouter-stop/tasks/main.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playbooks/roles/bootstrap-webrouter-stop/tasks/main.yaml b/playbooks/roles/bootstrap-webrouter-stop/tasks/main.yaml index b93c4ff..cb13614 100644 --- a/playbooks/roles/bootstrap-webrouter-stop/tasks/main.yaml +++ b/playbooks/roles/bootstrap-webrouter-stop/tasks/main.yaml @@ -16,6 +16,9 @@ - name: remove registry.DOMAIN set_dnsmasq_domain: domain="registry.{{ domain }}" record="" +- name: wait for DNS resolution ready + pause: seconds=2 + - name: check new webrouter works well shell: "curl -s registry.lain/v2/" register: result