Skip to content
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
11 changes: 4 additions & 7 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ name: CD Workflow
on:
push:
tags:
- "services/[a-zA-Z]+/v[0-9]+.[0-9]+.[0-9]+"
- "services/[a-zA-Z]+/v[0-9]+.[0-9]+.[0-9]+-*"
- "services/[a-zA-Z]+/v[0-9]+.[0-9]+.[0-9]+*"
workflow_dispatch:

jobs:
Expand All @@ -29,8 +28,6 @@ jobs:
# Save the path to the module for use in the build/publish step to only update the module associated with this tag
echo "SERVICE_PATH=$SERVICE_PATH" >> $GITHUB_ENV
- name: Build & Publish to PyPi
uses: JRubics/[email protected]
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
poetry_publish_options: "--build"
package_directory: $SERVICE_PATH
run: |
pip install poetry
poetry publish --build --username="__token__" --no-interaction --password="${{ secrets.PYPI_TOKEN }}" --directory=$SERVICE_PATH
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,7 @@ lint:
# lint examples
flake8 --toml-config $(word 1, $(wildcard $(SERVICES_DIR)/*))/pyproject.toml --black-config $(word 1, $(wildcard $(SERVICES_DIR)/*))/pyproject.toml examples;
# lint services
@for f in $(shell ls ${SERVICES_DIR}); do set -e; cd ${SERVICES_DIR}/$${f};flake8 .; cd ../..; done
@for f in $(shell ls ${SERVICES_DIR}); do set -e; cd ${SERVICES_DIR}/$${f};flake8 .; cd ../..; done

lock:
@for f in $(shell ls ${SERVICES_DIR}); do set -e; cd ${SERVICES_DIR}/$${f};poetry lock --no-update; cd ../..; done
177 changes: 169 additions & 8 deletions services/authorization/poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions services/authorization/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "stackit-authorization"
version = "0.0.1"
version = "0.0.1a"
authors = [
"OpenAPI Generator Community <[email protected]>",
]
Expand All @@ -18,7 +18,7 @@ packages = [

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
stackit-core = "^0.0.1"
stackit-core = "^0.0.1a"
requests = "^2.32.3"
pydantic = "^2.9.2"
python-dateutil = "^2.9.0.post0"
Expand Down
177 changes: 169 additions & 8 deletions services/dns/poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions services/dns/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "stackit-dns"
version = "0.0.1"
version = "0.0.1a"
authors = [
"stackit-dns <[email protected]>",
]
Expand All @@ -18,7 +18,7 @@ packages = [

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
stackit-core = "^0.0.1"
stackit-core = "^0.0.1a"
requests = "^2.32.3"
pydantic = "^2.9.2"
python-dateutil = "^2.9.0.post0"
Expand Down
177 changes: 169 additions & 8 deletions services/iaas/poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions services/iaas/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "stackit-iaas"
version = "0.0.1"
version = "0.0.1a"
authors = [
"STACKIT IaaS Teams <[email protected]>",
]
Expand All @@ -18,7 +18,7 @@ packages = [

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
stackit-core = "^0.0.1"
stackit-core = "^0.0.1a"
requests = "^2.32.3"
pydantic = "^2.9.2"
python-dateutil = "^2.9.0.post0"
Expand Down
177 changes: 169 additions & 8 deletions services/iaasalpha/poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions services/iaasalpha/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "stackit-iaasalpha"
version = "0.0.1"
version = "0.0.1a"
authors = [
"STACKIT IaaS Teams <[email protected]>",
]
Expand All @@ -18,7 +18,7 @@ packages = [

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
stackit-core = "^0.0.1"
stackit-core = "^0.0.1a"
requests = "^2.32.3"
pydantic = "^2.9.2"
python-dateutil = "^2.9.0.post0"
Expand Down
177 changes: 169 additions & 8 deletions services/loadbalancer/poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions services/loadbalancer/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "stackit-loadbalancer"
version = "0.0.1"
version = "0.0.1a"
authors = [
"OpenAPI Generator Community <[email protected]>",
]
Expand All @@ -18,7 +18,7 @@ packages = [

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
stackit-core = "^0.0.1"
stackit-core = "^0.0.1a"
requests = "^2.32.3"
pydantic = "^2.9.2"
python-dateutil = "^2.9.0.post0"
Expand Down
177 changes: 169 additions & 8 deletions services/logme/poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions services/logme/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "stackit-logme"
version = "0.0.1"
version = "0.0.1a"
authors = [
"OpenAPI Generator Community <[email protected]>",
]
Expand All @@ -18,7 +18,7 @@ packages = [

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
stackit-core = "^0.0.1"
stackit-core = "^0.0.1a"
requests = "^2.32.3"
pydantic = "^2.9.2"
python-dateutil = "^2.9.0.post0"
Expand Down
177 changes: 169 additions & 8 deletions services/mariadb/poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions services/mariadb/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "stackit-mariadb"
version = "0.0.1"
version = "0.0.1a"
authors = [
"OpenAPI Generator Community <[email protected]>",
]
Expand All @@ -18,7 +18,7 @@ packages = [

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
stackit-core = "^0.0.1"
stackit-core = "^0.0.1a"
requests = "^2.32.3"
pydantic = "^2.9.2"
python-dateutil = "^2.9.0.post0"
Expand Down
177 changes: 169 additions & 8 deletions services/mongodbflex/poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions services/mongodbflex/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "stackit-mongodbflex"
version = "0.0.1"
version = "0.0.1a"
authors = [
"STACKIT MongoDB Service Support <[email protected]>",
]
Expand All @@ -18,7 +18,7 @@ packages = [

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
stackit-core = "^0.0.1"
stackit-core = "^0.0.1a"
requests = "^2.32.3"
pydantic = "^2.9.2"
python-dateutil = "^2.9.0.post0"
Expand Down
Loading
Loading