Skip to content

Commit

Permalink
Merge pull request #169 from Datura-ai/main
Browse files Browse the repository at this point in the history
deploy validator
  • Loading branch information
pyon12 authored Jan 7, 2025
2 parents 8263a73 + 6bd5399 commit 456f439
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion contrib/STYLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Python's official style guide is PEP 8, which provides conventions for writing c

#### More details

Use `black` to format your python code before commiting for consistency across such a large pool of contributors. Black's code [style](https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#code-style) ensures consistent and opinionated code formatting. It automatically formats your Python code according to the Black style guide, enhancing code readability and maintainability.
Use `black` to format your python code before committing for consistency across such a large pool of contributors. Black's code [style](https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#code-style) ensures consistent and opinionated code formatting. It automatically formats your Python code according to the Black style guide, enhancing code readability and maintainability.

Key Features of Black:

Expand Down
2 changes: 1 addition & 1 deletion neurons/miners/src/core/miner.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def announce(self):
except Exception as e:
logger.error(
_m(
'[announce] Annoucing miner error',
'[announce] Announcing miner error',
extra=get_extra_info({
**self.default_extra,
"error": str(e)
Expand Down
2 changes: 1 addition & 1 deletion neurons/validators/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ RUN echo "export PYTHONPATH=$PYTHONPATH" >> ~/.bash_profile
COPY --from=base-image /root/app/ /root/app/
COPY --from=base-image /opt/pypackages/ /opt/pypackages/

LABEL version="3.3.16"
LABEL version="3.3.17"

CMD ["bash", "run.sh"]
2 changes: 1 addition & 1 deletion neurons/validators/Dockerfile.runner
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKDIR /root/validator
COPY docker-compose.app.yml docker-compose.yml
COPY entrypoint.sh /entrypoint.sh

LABEL version="3.3.16"
LABEL version="3.3.17"

RUN chmod u+x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
2 changes: 1 addition & 1 deletion neurons/validators/src/services/docker_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ async def execute_and_stream_logs(

async for line in process.stderr:
status = False
error = line.strip()
error += line
async with self.lock:
self.logs_queue.append(
{
Expand Down

0 comments on commit 456f439

Please sign in to comment.