-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(test): Add hello-world and dep-test python projects
The justfile now contains a `test-smoke` recipe that will start a local registry, build hello-world, publish it and then install it into dep-test, all using poetry.
- Loading branch information
1 parent
ef1c79f
commit 31e4c1b
Showing
11 changed files
with
72 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ __pycache__/ | |
build/ | ||
/target | ||
node_modules/ | ||
.venv/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
poetry.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[tool.poetry] | ||
name = "dep-test" | ||
version = "0.1.0" | ||
description = "Test projects with pyoci published dependencies" | ||
authors = ["Allex Veldman <[email protected]"] | ||
|
||
|
||
[[tool.poetry.source]] | ||
name = "pyoci-local" | ||
url = "http://localhost:8090/http%3A%2F%2Flocalhost%3A5000/allexveldman/" | ||
priority = "explicit" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.8" | ||
hello-world = {version = "0.1.0", source = "pyoci-local"} | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
if __name__ == "__main__": | ||
print("hello world") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[repositories.pyoci-local] | ||
url = "http://localhost:8090/http%3A%2F%2Flocalhost%3A5000/allexveldman/" | ||
|
||
[repositories.pyoci-local-ghcr] | ||
url = "http://localhost:8090/ghcr.io/allexveldman/" | ||
|
||
[repositories.pyoci-ghcr] | ||
url = "https://pyoci.allexveldman.nl/ghcr.io/allexveldman/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[tool.poetry] | ||
name = "hello-world" | ||
version = "0.1.0" | ||
description = "demo package to demonstrate pyoci" | ||
authors = ["Allex Veldman <[email protected]>"] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.8" | ||
|
||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" |