GitLab Environment Variables

Available Environment Variables

pydantic settings idf_ci.envs.GitlabEnvVars

Show JSON schema
{
   "title": "GitlabEnvVars",
   "type": "object",
   "properties": {
      "CHANGED_FILES_SEMICOLON_SEPARATED": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Changed Files Semicolon Separated"
      },
      "GITLAB_HTTPS_SERVER": {
         "default": "https://gitlab.com",
         "title": "Gitlab Https Server",
         "type": "string"
      },
      "GITLAB_ACCESS_TOKEN": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Gitlab Access Token"
      },
      "IDF_S3_SERVER": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Idf S3 Server"
      },
      "IDF_S3_ACCESS_KEY": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Idf S3 Access Key"
      },
      "IDF_S3_SECRET_KEY": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Idf S3 Secret Key"
      },
      "IDF_PATH": {
         "default": "",
         "title": "Idf Path",
         "type": "string"
      },
      "IDF_CI_IS_DEBUG_PIPELINE": {
         "anyOf": [
            {
               "type": "boolean"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Idf Ci Is Debug Pipeline"
      },
      "IDF_CI_SELECT_BY_FILTER_EXPR": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Idf Ci Select By Filter Expr"
      },
      "IDF_CI_SELECT_ALL_PYTEST_CASES": {
         "anyOf": [
            {
               "type": "boolean"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Idf Ci Select All Pytest Cases"
      }
   },
   "additionalProperties": false
}

Fields:
field CHANGED_FILES_SEMICOLON_SEPARATED: str | None = None

Semicolon-separated list of changed files in the pipeline.

field GITLAB_ACCESS_TOKEN: str | None = None

Access token for GitLab API authentication.

field GITLAB_HTTPS_SERVER: str = 'https://gitlab.com'

GitLab server URL for API calls.

field IDF_CI_IS_DEBUG_PIPELINE: bool | None = None

Flag indicating whether this is a debug pipeline.

field IDF_CI_SELECT_ALL_PYTEST_CASES: bool | None = None

Flag indicating whether to select all pytest cases.

field IDF_CI_SELECT_BY_FILTER_EXPR: str | None = None

Filter expression for selecting pytest cases.

field IDF_PATH: str = ''

Path to the ESP-IDF directory.

field IDF_S3_ACCESS_KEY: str | None = None

S3 access key for authentication.

field IDF_S3_SECRET_KEY: str | None = None

S3 secret key for authentication.

field IDF_S3_SERVER: str | None = None

S3 server endpoint URL.

property select_all_pytest_cases: bool

Determine if all pytest cases should be selected.

Returns:

True if this is a full pipeline run, False otherwise

property select_by_filter_expr: str | None

Get the filter expression for pytest cases.

Returns:

The filter expression if set, None otherwise