From 47d4463006e3ab757b851eacabe1ce110c8fa632 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jan 2024 05:40:09 +0000 Subject: [PATCH 1/4] Bump django from 4.2.7 to 5.0 Bumps [django](https://github.com/django/django) from 4.2.7 to 5.0. - [Commits](https://github.com/django/django/compare/4.2.7...5.0) --- updated-dependencies: - dependency-name: django dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index c4c8da3..324d5c3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -Django==4.2.7 +Django==5.0 gunicorn==21.2.0 \ No newline at end of file From 49b3cdb4e92e41dcbba89ce054d7605926960670 Mon Sep 17 00:00:00 2001 From: Bervianto Leo Pratama Date: Sat, 13 Jan 2024 00:21:50 +0700 Subject: [PATCH 2/4] Update python-package.yml --- .github/workflows/python-package.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 517702e..3272c6d 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -12,10 +12,10 @@ env: IMAGE_NAME: djangoboilerplate jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: - python-version: ['3.8', '3.9', '3.10'] + python-version: ['3.10', '3.11'] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -42,7 +42,7 @@ jobs: # bash <(curl -s https://codecov.io/bash) docker-test: needs: build - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 if: github.event_name == 'pull_request' steps: - uses: actions/checkout@v4 @@ -53,7 +53,7 @@ jobs: docker-push: # Ensure test job passes before pushing image. needs: build - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 if: github.event_name == 'push' steps: - uses: actions/checkout@v4 From 49c5894d6b032164bc064a98dc58782b53e7ab9f Mon Sep 17 00:00:00 2001 From: Bervianto Leo Pratama Date: Sat, 13 Jan 2024 00:22:01 +0700 Subject: [PATCH 3/4] Update codeql-analysis.yml --- .github/workflows/codeql-analysis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 60f5837..25a9122 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -9,7 +9,7 @@ on: jobs: analyze: name: Analyze - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 permissions: actions: read contents: read From 1e1a28129ba5d61b24ed2d0eef27eedd2bc509cb Mon Sep 17 00:00:00 2001 From: Bervianto Leo Pratama Date: Sat, 13 Jan 2024 00:23:19 +0700 Subject: [PATCH 4/4] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9412578..4643f90 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.8-alpine as base +FROM python:3.10-alpine as base FROM base as builder @@ -14,4 +14,4 @@ RUN apk --no-cache add libpq WORKDIR /app COPY . . RUN chmod +x ./startup.sh -ENTRYPOINT ["./startup.sh"] \ No newline at end of file +ENTRYPOINT ["./startup.sh"]