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

Linting container failing in CI #4301

Closed
conorsch opened this issue Mar 27, 2019 · 1 comment
Closed

Linting container failing in CI #4301

conorsch opened this issue Mar 27, 2019 · 1 comment

Comments

@conorsch
Copy link
Contributor

Description

The lint CI checks are failing, due to apt errors reported from the Debian Jessie repos.

Steps to Reproduce

  1. Observe CI failing here: https://circleci.com/gh/freedomofpress/securedrop/24949
  2. Run docker run -it gcr.io/google-containers/python:2.7.11-slim apt-get update locally and observe same failure.

Expected Behavior

Apt lists are fetched without error, container build proceeds, linter runs.

Actual Behavior

Apt lists fail during fetch, container built halts, linter does not run, CI fails.

Comments

While this may be a transient error, Debian Jessie was marked EOL last year, so we should immediately move the container to a Stretch-based image to ensure continued updates.

@cji
Copy link
Contributor

cji commented Mar 27, 2019

The easiest solution might be to just switch to python:2.7.16-slim-stretch from Docker Hub, which is just a minor version bump in Python but on a stretch based image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants