Skip to content

Commit

Permalink
Merge pull request #584 from iotaledger/fix/feature-docker-down
Browse files Browse the repository at this point in the history
Make Feature network kill and teardown more reliable
  • Loading branch information
karimodm authored Dec 4, 2023
2 parents a8b609f + 10d3290 commit 137a186
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/feature-network-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
required: false
default: ""

concurrency:
group: feature-network-deploy-group
cancel-in-progress: false

jobs:
deploy:
environment: feature
Expand Down
13 changes: 5 additions & 8 deletions deploy/ansible/roles/iota-core-node/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,14 @@
dest: /opt/iota-core/docker-compose.yml
mode: '0644'

- name: Kill existing services
community.docker.docker_compose:
project_src: /opt/iota-core
timeout: 1
state: present
stopped: yes

- name: Tear down existing services
- name: Kill & teardown existing services
community.docker.docker_compose:
project_src: /opt/iota-core
timeout: 5
state: absent
stopped: true
remove_orphans: true
remove_volumes: true

- name: Create DB directory
file:
Expand Down

0 comments on commit 137a186

Please sign in to comment.