Skip to content

chore: change image to 0.2.0 #30

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

Merged
merged 4 commits into from
Jun 14, 2023
Merged
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
1 change: 0 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@
- [ ] I have reviewed this myself
- [ ] There is a unit test covering every change in this PR
- [ ] I have updated the relevant documentation
- [ ] I have upgraded the VERSION file to push the gateway image with a new tag

## Details
2 changes: 1 addition & 1 deletion .github/actions/setup-poetry/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ runs:
- name: Install poetry dependencies
shell: bash
working-directory: cli
run: poetry install --no-interaction --no-root --with=dev
run: poetry install --no-interaction --with=dev
if: steps.cache-gw-deps.outputs.cache-hit != 'true'
8 changes: 7 additions & 1 deletion cli/cli/infra/image.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
from importlib.metadata import version

IMAGE_REGISTRY = "docker.io"
IMAGE_ORG = "scaleway"
IMAGE_NAME = "serverless-gateway"
IMAGE_VERSION = "0.2"

# Single source of truth for the image version
# is the version of the package
IMAGE_VERSION = version("scw-gateway")

IMAGE_TAG = f"{IMAGE_REGISTRY}/{IMAGE_ORG}/{IMAGE_NAME}:{IMAGE_VERSION}"
6 changes: 2 additions & 4 deletions cli/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "scw-gateway"
version = "0.1.2"
description = ""
version = "0.2.0"
description = "CLI to deploy and manage a self-hosted Kong gateway on Scaleway Serverless Ecosystem"
authors = ["Simon Shillaker <sshillaker@scaleway.com>"]
readme = "README.md"
packages = [{include = "cli"}]
Expand Down Expand Up @@ -42,5 +42,3 @@ testpaths = ["tests"]

[tool.mypy]
exclude = ["venv", "endpoints"]
# TODO - enable mypy checking properly and fix issue with kong_pdk
ignore_missing_imports = true