Skip to content

Commit dd4845f

Browse files
authored
pre-release preparation (#38)
1 parent 9ddeba2 commit dd4845f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+3770
-228
lines changed

.github/workflows/cd.yaml

+4-7
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ name: CD Workflow
33
on:
44
push:
55
tags:
6-
- "services/[a-zA-Z]+/v[0-9]+.[0-9]+.[0-9]+"
7-
- "services/[a-zA-Z]+/v[0-9]+.[0-9]+.[0-9]+-*"
6+
- "services/[a-zA-Z]+/v[0-9]+.[0-9]+.[0-9]+*"
87
workflow_dispatch:
98

109
jobs:
@@ -29,8 +28,6 @@ jobs:
2928
# Save the path to the module for use in the build/publish step to only update the module associated with this tag
3029
echo "SERVICE_PATH=$SERVICE_PATH" >> $GITHUB_ENV
3130
- name: Build & Publish to PyPi
32-
uses: JRubics/[email protected]
33-
with:
34-
pypi_token: ${{ secrets.PYPI_TOKEN }}
35-
poetry_publish_options: "--build"
36-
package_directory: $SERVICE_PATH
31+
run: |
32+
pip install poetry
33+
poetry publish --build --username="__token__" --no-interaction --password="${{ secrets.PYPI_TOKEN }}" --directory=$SERVICE_PATH

Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,7 @@ lint:
1313
# lint examples
1414
flake8 --toml-config $(word 1, $(wildcard $(SERVICES_DIR)/*))/pyproject.toml --black-config $(word 1, $(wildcard $(SERVICES_DIR)/*))/pyproject.toml examples;
1515
# lint services
16-
@for f in $(shell ls ${SERVICES_DIR}); do set -e; cd ${SERVICES_DIR}/$${f};flake8 .; cd ../..; done
16+
@for f in $(shell ls ${SERVICES_DIR}); do set -e; cd ${SERVICES_DIR}/$${f};flake8 .; cd ../..; done
17+
18+
lock:
19+
@for f in $(shell ls ${SERVICES_DIR}); do set -e; cd ${SERVICES_DIR}/$${f};poetry lock --no-update; cd ../..; done

services/authorization/poetry.lock

+169-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/authorization/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "stackit-authorization"
3-
version = "0.0.1"
3+
version = "0.0.1a"
44
authors = [
55
"OpenAPI Generator Community <[email protected]>",
66
]
@@ -18,7 +18,7 @@ packages = [
1818

1919
[tool.poetry.dependencies]
2020
python = ">=3.8,<4.0"
21-
stackit-core = "^0.0.1"
21+
stackit-core = "^0.0.1a"
2222
requests = "^2.32.3"
2323
pydantic = "^2.9.2"
2424
python-dateutil = "^2.9.0.post0"

services/dns/poetry.lock

+169-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/dns/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "stackit-dns"
3-
version = "0.0.1"
3+
version = "0.0.1a"
44
authors = [
55
"stackit-dns <[email protected]>",
66
]
@@ -18,7 +18,7 @@ packages = [
1818

1919
[tool.poetry.dependencies]
2020
python = ">=3.8,<4.0"
21-
stackit-core = "^0.0.1"
21+
stackit-core = "^0.0.1a"
2222
requests = "^2.32.3"
2323
pydantic = "^2.9.2"
2424
python-dateutil = "^2.9.0.post0"

services/iaas/poetry.lock

+169-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/iaas/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "stackit-iaas"
3-
version = "0.0.1"
3+
version = "0.0.1a"
44
authors = [
55
"STACKIT IaaS Teams <[email protected]>",
66
]
@@ -18,7 +18,7 @@ packages = [
1818

1919
[tool.poetry.dependencies]
2020
python = ">=3.8,<4.0"
21-
stackit-core = "^0.0.1"
21+
stackit-core = "^0.0.1a"
2222
requests = "^2.32.3"
2323
pydantic = "^2.9.2"
2424
python-dateutil = "^2.9.0.post0"

services/iaasalpha/poetry.lock

+169-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/iaasalpha/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "stackit-iaasalpha"
3-
version = "0.0.1"
3+
version = "0.0.1a"
44
authors = [
55
"STACKIT IaaS Teams <[email protected]>",
66
]
@@ -18,7 +18,7 @@ packages = [
1818

1919
[tool.poetry.dependencies]
2020
python = ">=3.8,<4.0"
21-
stackit-core = "^0.0.1"
21+
stackit-core = "^0.0.1a"
2222
requests = "^2.32.3"
2323
pydantic = "^2.9.2"
2424
python-dateutil = "^2.9.0.post0"

services/loadbalancer/poetry.lock

+169-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/loadbalancer/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "stackit-loadbalancer"
3-
version = "0.0.1"
3+
version = "0.0.1a"
44
authors = [
55
"OpenAPI Generator Community <[email protected]>",
66
]
@@ -18,7 +18,7 @@ packages = [
1818

1919
[tool.poetry.dependencies]
2020
python = ">=3.8,<4.0"
21-
stackit-core = "^0.0.1"
21+
stackit-core = "^0.0.1a"
2222
requests = "^2.32.3"
2323
pydantic = "^2.9.2"
2424
python-dateutil = "^2.9.0.post0"

services/logme/poetry.lock

+169-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/logme/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "stackit-logme"
3-
version = "0.0.1"
3+
version = "0.0.1a"
44
authors = [
55
"OpenAPI Generator Community <[email protected]>",
66
]
@@ -18,7 +18,7 @@ packages = [
1818

1919
[tool.poetry.dependencies]
2020
python = ">=3.8,<4.0"
21-
stackit-core = "^0.0.1"
21+
stackit-core = "^0.0.1a"
2222
requests = "^2.32.3"
2323
pydantic = "^2.9.2"
2424
python-dateutil = "^2.9.0.post0"

services/mariadb/poetry.lock

+169-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/mariadb/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "stackit-mariadb"
3-
version = "0.0.1"
3+
version = "0.0.1a"
44
authors = [
55
"OpenAPI Generator Community <[email protected]>",
66
]
@@ -18,7 +18,7 @@ packages = [
1818

1919
[tool.poetry.dependencies]
2020
python = ">=3.8,<4.0"
21-
stackit-core = "^0.0.1"
21+
stackit-core = "^0.0.1a"
2222
requests = "^2.32.3"
2323
pydantic = "^2.9.2"
2424
python-dateutil = "^2.9.0.post0"

services/mongodbflex/poetry.lock

+169-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/mongodbflex/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "stackit-mongodbflex"
3-
version = "0.0.1"
3+
version = "0.0.1a"
44
authors = [
55
"STACKIT MongoDB Service Support <[email protected]>",
66
]
@@ -18,7 +18,7 @@ packages = [
1818

1919
[tool.poetry.dependencies]
2020
python = ">=3.8,<4.0"
21-
stackit-core = "^0.0.1"
21+
stackit-core = "^0.0.1a"
2222
requests = "^2.32.3"
2323
pydantic = "^2.9.2"
2424
python-dateutil = "^2.9.0.post0"

0 commit comments

Comments
 (0)