Skip to main content

Setting Environment Variables in DataOps

To correctly execute all the DataOps Platform functions, occasionally additional settings are needed. You can do this at the group level (recommended) or the project level. In either case, navigate to Settings > CI/CD and expand the Variables section. Click on the Add Variable button, and the following dialog box is displayed:

add-environment-variable __shadow__

For example, if you were to configure a different container registry than Docker Hub you would need to provide the credentials. In this case, add the following details in the fields provided:

  • Key: DOCKER_AUTH_CONFIG

  • Value:

    {
    "auths": {
    "https://index.docker.io/v1/": {
    "auth": "ZGF0YW9wc3JlYWRzZXJ2aWNldXNlcjpxZjJoOTM3MmZnM2lvdWczODQ="
    }
    }
    }

Leave all the other fields as their default values.

Click on the Add Variable button on the dialog box. Your configuration will look similar to:

note

The DOCKER_AUTH_CONFIG provided is the default authentication for the read-only dataopsreadserviceuser.

environment-variables __shadow__