-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some Updates to worker management #2494
Changes from 7 commits
42303c1
7ecf937
fd8358b
edbd69d
e51ef87
1538bb2
592adba
8b5c0c7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,7 +76,7 @@ | |
max-file: "5" | ||
image: "{{ nucypher_image | default('nucypher/nucypher:latest') }}" | ||
restart_policy: "unless-stopped" | ||
command: "nucypher ursula run {{nucypher_ursula_run_options | default('')}} --lonely {{prometheus | default('')}} {{gas_strategy | default('')}} --network {{network_name}}" | ||
command: "nucypher ursula run {{nucypher_ursula_run_options}} --lonely" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 much needed cleanup |
||
volumes: | ||
- /home/nucypher:/root/.local/share/ | ||
ports: | ||
|
@@ -85,14 +85,14 @@ | |
env: "{{runtime_envvars}}" | ||
|
||
- name: "wait a few seconds for the seed node to become available" | ||
when: SEED_NODE_URI is not undefined | ||
when: SEED_NODE_URI is not undefined and SEED_NODE_URI | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is the extra check for ensuring the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah... it errors if SEED_NODE_URI is undefined but it can still be None. |
||
pause: | ||
seconds: 15 | ||
|
||
- name: "Run Staked Ursula (non-seed)" | ||
become: yes | ||
become_user: nucypher | ||
when: SEED_NODE_URI is undefined or inventory_hostname != SEED_NODE_URI | ||
when: inventory_hostname != SEED_NODE_URI | ||
docker_container: | ||
recreate: yes | ||
name: ursula | ||
|
@@ -104,7 +104,7 @@ | |
max-file: "5" | ||
image: "{{ nucypher_image | default('nucypher/nucypher:latest') }}" | ||
restart_policy: "unless-stopped" | ||
command: "nucypher ursula run {{nucypher_ursula_run_options | default('')}} --disable-availability-check {{teacher_options}} {{prometheus | default('')}} {{gas_strategy | default('')}} --network {{network_name}}" | ||
command: "nucypher ursula run {{nucypher_ursula_run_options}} {{teacher_options}}" | ||
volumes: | ||
- /home/nucypher:/root/.local/share/ | ||
ports: | ||
|
@@ -133,5 +133,5 @@ | |
become: yes | ||
wait_for: | ||
path: "/var/lib/docker/containers/{{ursula_container_name['stdout']}}/{{ursula_container_name['stdout']}}-json.log" | ||
search_regex: "Checking worker settings:" | ||
search_regex: "Awaiting worker qualification" | ||
timeout: 30 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cloudworkers bugfixes, cli args refactor and new "cloudworkers stop" feature. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright! Getting this thing published.