diff --git a/.github/workflows/devcontainer.yml b/.github/workflows/devcontainer.yml index dc3f7d09..d37e1913 100644 --- a/.github/workflows/devcontainer.yml +++ b/.github/workflows/devcontainer.yml @@ -26,6 +26,7 @@ jobs: --target dev - run: | docker run --rm \ + -e CI=true \ -v ${PWD}:/workspace \ ghcr.io/${{ github.repository }}/dev:py${{ matrix.python-version }} \ make dev lint test doc build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 320928e2..92c2c4d2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,6 +63,7 @@ jobs: --target dev - run: | docker run --rm \ + -e CI=true \ -v ${PWD}:/workspace \ ghcr.io/${{ github.repository }}/dev:py${{ matrix.python-version }} \ make dev lint test doc build diff --git a/.gitlab/workflows/devcontainer.yml b/.gitlab/workflows/devcontainer.yml index 273c7651..d79303f2 100644 --- a/.gitlab/workflows/devcontainer.yml +++ b/.gitlab/workflows/devcontainer.yml @@ -31,6 +31,7 @@ dev-container-publish: --target dev - | docker run --rm \ + -e CI=true \ -v ${PWD}:/workspace \ ${CI_REGISTRY_IMAGE}/dev:py${PYTHON_VERSION} \ make dev lint test doc build diff --git a/.gitlab/workflows/release.yml b/.gitlab/workflows/release.yml index cc1c431b..974088e7 100644 --- a/.gitlab/workflows/release.yml +++ b/.gitlab/workflows/release.yml @@ -58,6 +58,7 @@ container-publish: --target dev - | docker run --rm \ + -e CI=true \ -v ${PWD}:/workspace \ ${CI_REGISTRY_IMAGE}/dev:py${PYTHON_VERSION} \ make dev lint test doc build diff --git a/template/[% if repo_platform == 'github' %].github[% endif %]/workflows/devcontainer.yml.jinja b/template/[% if repo_platform == 'github' %].github[% endif %]/workflows/devcontainer.yml.jinja index 41779b4f..b5d71bf4 100644 --- a/template/[% if repo_platform == 'github' %].github[% endif %]/workflows/devcontainer.yml.jinja +++ b/template/[% if repo_platform == 'github' %].github[% endif %]/workflows/devcontainer.yml.jinja @@ -27,6 +27,7 @@ jobs: --target dev - run: | docker run --rm \ + -e CI=true \ -v ${PWD}:/workspace \ ghcr.io/{{ '${{ github.repository }}' }}/dev:py{{ '${{ matrix.python-version }}' }} \ make dev lint test doc build diff --git a/template/[% if repo_platform == 'github' %].github[% endif %]/workflows/release.yml.jinja b/template/[% if repo_platform == 'github' %].github[% endif %]/workflows/release.yml.jinja index cf998be5..e42f963e 100644 --- a/template/[% if repo_platform == 'github' %].github[% endif %]/workflows/release.yml.jinja +++ b/template/[% if repo_platform == 'github' %].github[% endif %]/workflows/release.yml.jinja @@ -64,6 +64,7 @@ jobs: --target dev - run: | docker run --rm \ + -e CI=true \ -v ${PWD}:/workspace \ ghcr.io/{{ '${{ github.repository }}' }}/dev:py{{ '${{ matrix.python-version }}' }} \ make dev lint test doc build diff --git a/template/[% if repo_platform == 'gitlab' or repo_platform == 'gitlab-self-managed' %].gitlab[% endif %]/workflows/devcontainer.yml.jinja b/template/[% if repo_platform == 'gitlab' or repo_platform == 'gitlab-self-managed' %].gitlab[% endif %]/workflows/devcontainer.yml.jinja index 34f55268..c22b9b2a 100644 --- a/template/[% if repo_platform == 'gitlab' or repo_platform == 'gitlab-self-managed' %].gitlab[% endif %]/workflows/devcontainer.yml.jinja +++ b/template/[% if repo_platform == 'gitlab' or repo_platform == 'gitlab-self-managed' %].gitlab[% endif %]/workflows/devcontainer.yml.jinja @@ -42,6 +42,7 @@ dev-container-publish: --target dev - | docker run --rm \ + -e CI=true \ -v ${PWD}:/workspace \ ${CI_REGISTRY_IMAGE}/dev:py${PYTHON_VERSION} \ make dev lint test doc build diff --git a/template/[% if repo_platform == 'gitlab' or repo_platform == 'gitlab-self-managed' %].gitlab[% endif %]/workflows/release.yml.jinja b/template/[% if repo_platform == 'gitlab' or repo_platform == 'gitlab-self-managed' %].gitlab[% endif %]/workflows/release.yml.jinja index d543246b..511c4e3c 100644 --- a/template/[% if repo_platform == 'gitlab' or repo_platform == 'gitlab-self-managed' %].gitlab[% endif %]/workflows/release.yml.jinja +++ b/template/[% if repo_platform == 'gitlab' or repo_platform == 'gitlab-self-managed' %].gitlab[% endif %]/workflows/release.yml.jinja @@ -69,6 +69,7 @@ container-publish: --target dev - | docker run --rm \ + -e CI=true \ -v ${PWD}:/workspace \ ${CI_REGISTRY_IMAGE}/dev:py${PYTHON_VERSION} \ make dev lint test doc build