Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] use python:3.7-slim-bullseye docker image #24

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.7-slim
FROM python:3.7-slim-bullseye

RUN apt-get update && \
apt-get upgrade -y
Expand All @@ -10,4 +10,4 @@ RUN pip install --no-cache-dir -r requirements.txt

COPY scripts/generate_pipeline.py /usr/local/bin/

CMD ["generate_pipeline.py"]
CMD ["generate_pipeline.py"]
4 changes: 2 additions & 2 deletions tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.7-slim
FROM python:3.7-slim-bullseye

RUN apt-get update && \
apt-get upgrade -y && \
Expand All @@ -7,4 +7,4 @@ RUN apt-get update && \
WORKDIR "/buildkite"

COPY requirements.txt requirements-dev.txt ./
RUN pip install --no-cache-dir -r requirements-dev.txt
RUN pip install --no-cache-dir -r requirements-dev.txt
1 change: 0 additions & 1 deletion tests/unit/test_git_diff_conditional.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ def test_load_conditions_from_environment(
diff,
expected_result,
):

for key, value in pipeline_as_env.items():
monkeypatch.setenv(f"{PLUGIN_PREFIX}_STEPS_{key}", value)

Expand Down
1 change: 0 additions & 1 deletion tests/unit/test_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ def get_diff_mock(mocker):

# Tests
def setup_git_diff_conditional_mock(mocker, condition_return_value):

return_value = mocker.MagicMock(
spec=GitDiffConditional,
load_dynamic_pipeline=mocker.Mock(return_value={}),
Expand Down