Skip to content

Commit

Permalink
Merge pull request project-sunbird#789 from MasterAlt/release-2.3.5
Browse files Browse the repository at this point in the history
Docker Push failure fix
  • Loading branch information
SMYALTAMASH authored Aug 30, 2019
2 parents a4c8669 + df4a092 commit 80ca08d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ansible/docker_image_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@
docker_image:
name: "{{ hub_org }}/{{ image_name }}:{{ image_tag }}"
push: yes

- file:
path: "/root/.docker"
state: absent
4 changes: 2 additions & 2 deletions ansible/roles/stack-sunbird/tasks/cert_service.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- name: Remove user org service
- name: Remove cert service
shell: "docker service rm cert-service"
ignore_errors: yes

- name: Deploy user org service
- name: Deploy cert service
shell: "docker service create --with-registry-auth --replicas {{ cert_replicas }} -p 9011:9000 --name cert-service --hostname cert-service --reserve-memory {{ cert_reservation_memory }} --limit-memory {{ cert_limit_memory }} --limit-cpu {{ cert_limit_cpu }} --reserve-cpu {{ cert_reservation_cpu }} --network application_default --env-file /home/deployer/env/sunbird_cert-service.env {{hub_org}}/{{image_name}}:{{image_tag}}"

0 comments on commit 80ca08d

Please sign in to comment.