Compare commits
No commits in common. "1fff46986e4f5303373b5072715308d242745218" and "2be0a44aa8168c5ee6ebafef84eeff74b73a7b8e" have entirely different histories.
1fff46986e
...
2be0a44aa8
4 changed files with 6 additions and 12 deletions
|
@ -43,7 +43,7 @@ pypi-stable:
|
||||||
<<: *tag_only
|
<<: *tag_only
|
||||||
stage: upload
|
stage: upload
|
||||||
script:
|
script:
|
||||||
- pyb -P version=$CI_COMMIT_TAG publish upload publish_artifacts
|
- pyb -P version=$CI_COMMIT_TAG publish upload
|
||||||
|
|
||||||
clj-cljs-image-publish:
|
clj-cljs-image-publish:
|
||||||
<<: *img
|
<<: *img
|
||||||
|
@ -59,6 +59,7 @@ clj-image-publish:
|
||||||
script:
|
script:
|
||||||
- cd infrastructure/clj && pyb image publish
|
- cd infrastructure/clj && pyb image publish
|
||||||
|
|
||||||
|
|
||||||
python-image-publish:
|
python-image-publish:
|
||||||
<<: *img
|
<<: *img
|
||||||
<<: *tag_only
|
<<: *tag_only
|
||||||
|
|
12
build.py
12
build.py
|
@ -33,7 +33,7 @@ default_task = "dev"
|
||||||
name = "ddadevops"
|
name = "ddadevops"
|
||||||
MODULE = "not-used"
|
MODULE = "not-used"
|
||||||
PROJECT_ROOT_PATH = "."
|
PROJECT_ROOT_PATH = "."
|
||||||
version = "4.3.2-dev1"
|
version = "4.3.2-dev"
|
||||||
summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud"
|
summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud"
|
||||||
description = __doc__
|
description = __doc__
|
||||||
authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")]
|
authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")]
|
||||||
|
@ -103,10 +103,6 @@ def initialize(project):
|
||||||
"infrastructure/clj-cljs/build.py",
|
"infrastructure/clj-cljs/build.py",
|
||||||
"infrastructure/clj/build.py",
|
"infrastructure/clj/build.py",
|
||||||
],
|
],
|
||||||
"release_artifacts": [],
|
|
||||||
"release_artifact_server_url": "https://repo.prod.meissa.de",
|
|
||||||
"release_organisation": "meissa",
|
|
||||||
"release_repository_name": "dda-devops-build",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build = ReleaseMixin(project, input)
|
build = ReleaseMixin(project, input)
|
||||||
|
@ -180,11 +176,7 @@ def prepare(project):
|
||||||
def tag(project):
|
def tag(project):
|
||||||
build = get_devops_build(project)
|
build = get_devops_build(project)
|
||||||
build.tag_bump_and_push_release()
|
build.tag_bump_and_push_release()
|
||||||
|
#TODO: build.publish_artifacts()
|
||||||
|
|
||||||
@task
|
|
||||||
def publish_artifacts(project):
|
|
||||||
build.publish_artifacts()
|
|
||||||
|
|
||||||
|
|
||||||
def release(project):
|
def release(project):
|
||||||
|
|
|
@ -73,6 +73,7 @@ class Release(Validateable):
|
||||||
result += self.__validate_is_not_empty__("release_artifact_server_url")
|
result += self.__validate_is_not_empty__("release_artifact_server_url")
|
||||||
result += self.__validate_is_not_empty__("release_organisation")
|
result += self.__validate_is_not_empty__("release_organisation")
|
||||||
result += self.__validate_is_not_empty__("release_repository_name")
|
result += self.__validate_is_not_empty__("release_repository_name")
|
||||||
|
result += self.__validate_is_not_empty__("release_artifacts")
|
||||||
result += self.__validate_is_not_empty__("release_artifact_token")
|
result += self.__validate_is_not_empty__("release_artifact_token")
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
|
@ -68,7 +68,7 @@ def test_should_calculate_forgejo_release_api_endpoint():
|
||||||
sut = Release(
|
sut = Release(
|
||||||
devops_config(
|
devops_config(
|
||||||
{
|
{
|
||||||
"release_artifacts": [],
|
"release_artifacts": ["x"],
|
||||||
"release_artifact_token": "y",
|
"release_artifact_token": "y",
|
||||||
"release_artifact_server_url": "https://repo.prod.meissa.de",
|
"release_artifact_server_url": "https://repo.prod.meissa.de",
|
||||||
"release_organisation": "meissa",
|
"release_organisation": "meissa",
|
||||||
|
|
Loading…
Reference in a new issue