Skip to content

Commit c202c3d

Browse files
committed
envs
1 parent d70950f commit c202c3d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/ci-testing-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ on:
3737
- all
3838

3939
env:
40+
# NOTE: DIRECTOR_DEFAULT_MAX_* used for integration-tests that include `director` service
41+
DIRECTOR_DEFAULT_MAX_NANO_CPUS: 10000000
42+
DIRECTOR_DEFAULT_MAX_MEMORY: 268435456
4043
# NOTE: 'COLUMNS' is a shell env var that represents the width (number of columns)
4144
# of the terminal or command-line interface in characters.
4245
COLUMNS: 120
@@ -2146,9 +2149,6 @@ jobs:
21462149
python: ["3.11"]
21472150
os: [ubuntu-22.04]
21482151
fail-fast: false
2149-
env:
2150-
DIRECTOR_DEFAULT_MAX_NANO_CPUS: 10000000
2151-
DIRECTOR_DEFAULT_MAX_MEMORY: 268435456
21522152
steps:
21532153
- uses: actions/checkout@v4
21542154
- name: setup docker buildx

services/director/tests/unit/test_core_settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ def test_valid_web_application_settings(app_environment: EnvVarsDict):
3838

3939

4040
def test_docker_container_env_sample(monkeypatch: pytest.MonkeyPatch):
41+
monkeypatch.delenv("DIRECTOR_DEFAULT_MAX_MEMORY", raising=False)
4142

4243
setenvs_from_envfile(
4344
monkeypatch,

0 commit comments

Comments
 (0)