Skip to content

Commit 8eaa136

Browse files
authored
Merge pull request #42 from nyu-devops/updates-sp26
Updates for Spring 2026 semester
2 parents 428e59f + 67582c3 commit 8eaa136

6 files changed

Lines changed: 570 additions & 428 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Image for a Python 3 development environment
2-
FROM quay.io/rofrano/nyu-devops-base:su25
2+
FROM quay.io/rofrano/nyu-devops-base:sp26
33

44
ARG USERNAME=vscode
55

.devcontainer/devcontainer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@
7777
},
7878
// "forwardPorts": [8000],
7979
"features": {
80-
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
80+
"ghcr.io/devcontainers/features/docker-in-docker:2": {
81+
"moby": false
82+
}
8183
},
8284
"postCreateCommand": "bash /app/.devcontainer/scripts/setup-lab.sh"
8385
}

.github/workflows/ci.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
jobs:
1515
build:
1616
runs-on: ubuntu-latest
17-
container: python:3.11-slim
17+
container: python:3.12-slim
1818

1919
# Required services
2020
services:
@@ -48,5 +48,11 @@ jobs:
4848
env:
4949
DATABASE_URI: "redis://redis:6379/0"
5050

51-
- name: Upload code coverage
52-
uses: codecov/codecov-action@v3.1.4
51+
- name: Install packages for Codecov to work
52+
run: apt update && apt install -y git curl gpg
53+
54+
- name: Upload coverage reports to Codecov
55+
uses: codecov/codecov-action@v5
56+
with:
57+
token: ${{ secrets.CODECOV_TOKEN }}
58+
slug: nyu-devops/lab-docker

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11-slim
1+
FROM python:3.12-slim
22

33
# Create working folder and install dependencies
44
WORKDIR /app

Pipfile

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,29 @@ verify_ssl = true
44
name = "pypi"
55

66
[packages]
7-
flask = "==3.1.1"
8-
redis = "==5.2.1"
7+
flask = "==3.1.2"
8+
redis = "==7.1.0"
99
flask-redis = "==0.4.0"
1010
retry2 = "==0.9.5"
11-
python-dotenv = "~=1.1.0"
12-
gunicorn = "~=23.0.0"
11+
python-dotenv = "~=1.2.1"
12+
gunicorn = "~=25.0.0"
1313

1414
[dev-packages]
15-
black = "~=25.1.0"
16-
coverage = "~=7.8.2"
17-
flake8 = "~=7.2.0"
18-
pylint = "~=3.3.7"
19-
pytest = "~=8.3.5"
15+
# Code Quality
16+
pylint = "~=4.0.4"
17+
flake8 = "~=7.3.0"
18+
black = "~=26.1.0"
19+
20+
# Test-Driven Development
21+
pytest = "~=9.0.2"
2022
pytest-pspec = "~=0.0.4"
21-
pytest-cov = "~=6.1.1"
23+
pytest-cov = "~=7.0.0"
2224
factory-boy = "~=3.3.3"
25+
coverage = "~=7.13.2"
26+
27+
# Utility
2328
honcho = "~=2.0.0"
2429
httpie = "~=3.2.4"
2530

2631
[requires]
27-
python_version = "3.11"
32+
python_version = "3.12"

0 commit comments

Comments
 (0)