Skip to content

environment support for commands run on the providers #73

@shadeofblue

Description

@shadeofblue

we'd like add an environment definition similar to what's available in docker-compose

e.g.

nodes:
  backend:
    payload: "backend"
    environment: 
      PROVIDER_ADDRESS: "http://bor.golem.network/"
      MONGO_DB_CONNECTION_STRING: "mongodb://192.168.0.2:27017"
...

it should be passed to all commands that are executed on the given node (Service)

yapapi should support this:

https://github.com/golemfactory/yapapi/blob/master/yapapi/script/__init__.py#L154

but maybe first we should perform a quick spike:

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedWaiting for some dependencies

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions