Compare commits
16 Commits
4700686dbf
...
v1.0.5
| Author | SHA1 | Date | |
|---|---|---|---|
| 4f761ce5f9 | |||
| 74841b9ebe | |||
| c1dc3c554a | |||
| ce62961bcf | |||
| 35e4657866 | |||
| b7632cf966 | |||
| f9c833133a | |||
| fdd70074b9 | |||
| 6bb19cf679 | |||
| 9dfa5b6a17 | |||
| 65339c4db0 | |||
| 7a12b67e2b | |||
| 1ba05a7015 | |||
| 431ffdfa23 | |||
| c87e66ba31 | |||
| eab10fddff |
@@ -0,0 +1,6 @@
|
|||||||
|
__pycache__/
|
||||||
|
venv/
|
||||||
|
.woodpecker/
|
||||||
|
Dockerfile
|
||||||
|
.git
|
||||||
|
.gitignore
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
# repositoryUrl: https://git.mckunda.com/mcpanda/summertime.git
|
||||||
|
branches:
|
||||||
|
- +([0-9])?(.{+([0-9]),x}).x
|
||||||
|
- master
|
||||||
|
- name: dev
|
||||||
|
prerelease: true
|
||||||
|
- name: ci
|
||||||
|
prerelease: true
|
||||||
|
plugins:
|
||||||
|
- '@semantic-release/commit-analyzer'
|
||||||
|
- '@semantic-release/release-notes-generator'
|
||||||
|
- - '@semantic-release/changelog'
|
||||||
|
- changelogFile: docs/CHANGELOG.md
|
||||||
|
# - - "@semantic-release/exec"
|
||||||
|
# - verifyReleaseCmd: echo "${nextRelease.version}" > .VERSION
|
||||||
|
- - '@semantic-release/git'
|
||||||
|
- assets:
|
||||||
|
- docs/CHANGELOG.md
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
pipeline:
|
||||||
|
release tag:
|
||||||
|
image: node
|
||||||
|
secrets:
|
||||||
|
- source: git_auth
|
||||||
|
target: git_credentials
|
||||||
|
commands:
|
||||||
|
- yarn global add semantic-release @semantic-release/git @semantic-release/changelog @semantic-release/exec
|
||||||
|
- yarn exec semantic-release
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
- dev
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
publish docker image:
|
||||||
|
image: banzaicloud/drone-kaniko
|
||||||
|
settings:
|
||||||
|
registry: registry.container-registry.svc.cluster.local:5000
|
||||||
|
repo: mcpanda/summertime
|
||||||
|
tags: ${CI_COMMIT_TAG##v}
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
+10
@@ -0,0 +1,10 @@
|
|||||||
|
FROM python:3.11-alpine
|
||||||
|
|
||||||
|
RUN pip3 install flask gunicorn
|
||||||
|
|
||||||
|
COPY . /app
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
RUN chmod +x gunicorn.sh
|
||||||
|
|
||||||
|
ENTRYPOINT ["./gunicorn.sh"]
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
## [1.0.5](https://git.mckunda.com/mcpanda/summertime/compare/v1.0.4...v1.0.5) (2023-01-28)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* fix gunicorn.sh ([74841b9](https://git.mckunda.com/mcpanda/summertime/commit/74841b9ebe6dafb400bde87401c0c6743d0307f7))
|
||||||
|
|
||||||
|
## [1.0.4](https://git.mckunda.com/mcpanda/summertime/compare/v1.0.3...v1.0.4) (2023-01-28)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **docker:** remove copying requirements.txt inside Dockerfile ([ce62961](https://git.mckunda.com/mcpanda/summertime/commit/ce62961bcfdd743b7b4aafa67c2694e6f71db5ba))
|
||||||
|
|
||||||
|
## [1.0.3](https://git.mckunda.com/mcpanda/summertime/compare/v1.0.2...v1.0.3) (2023-01-28)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **pip:** remove requirements.txt ([b7632cf](https://git.mckunda.com/mcpanda/summertime/commit/b7632cf96619d272912905efca6eac3ab1d0271a))
|
||||||
|
|
||||||
|
## [1.0.2](https://git.mckunda.com/mcpanda/summertime/compare/v1.0.1...v1.0.2) (2023-01-28)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **pip:** add gunicorn and ints dependencies ([fdd7007](https://git.mckunda.com/mcpanda/summertime/commit/fdd70074b977dcc49824293f30f111daf6699bd2))
|
||||||
|
|
||||||
|
## [1.0.1](https://git.mckunda.com/mcpanda/summertime/compare/v1.0.0...v1.0.1) (2023-01-28)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* make startup script executable ([9dfa5b6](https://git.mckunda.com/mcpanda/summertime/commit/9dfa5b6a177762535270925a11cac009d66a51b9))
|
||||||
|
|
||||||
|
# 1.0.0 (2023-01-28)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* init ([4700686](https://git.mckunda.com/mcpanda/summertime/commit/4700686dbf80c746bb057c37a3ba024134e068ae))
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
gunicorn wsgi:app -w 2 --threads 2 -b 0.0.0.0:80
|
||||||
Binary file not shown.
Reference in New Issue
Block a user