pin image: domaindrivenarchitecture/ddadevops-kotlin:4.10.7 & cleanup
This commit is contained in:
parent
2fa6e106c7
commit
e039a68241
2 changed files with 1 additions and 28 deletions
|
@ -6,7 +6,7 @@ stages:
|
||||||
- release
|
- release
|
||||||
|
|
||||||
.kotlin-job: &kotlin
|
.kotlin-job: &kotlin
|
||||||
image: domaindrivenarchitecture/ddadevops-kotlin
|
image: domaindrivenarchitecture/ddadevops-kotlin:4.10.7
|
||||||
cache:
|
cache:
|
||||||
key: ${CI_COMMIT_REF_SLUG}
|
key: ${CI_COMMIT_REF_SLUG}
|
||||||
paths:
|
paths:
|
||||||
|
@ -98,28 +98,6 @@ publish-maven-package-to-meissa:
|
||||||
- ./gradlew -x assemble -x test publishLibraryPublicationToMeissaRepository
|
- ./gradlew -x assemble -x test publishLibraryPublicationToMeissaRepository
|
||||||
|
|
||||||
|
|
||||||
release-to-gitlab:
|
|
||||||
<<: *tag_only
|
|
||||||
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
|
||||||
stage: release
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- 'build/libs/provs-desktop.jar'
|
|
||||||
- 'build/libs/provs-server.jar'
|
|
||||||
- 'build/libs/provs-syspec.jar'
|
|
||||||
- 'build/libs/sha256sum.lst'
|
|
||||||
- 'build/libs/sha512sum.lst'
|
|
||||||
script:
|
|
||||||
- apk --no-cache add curl
|
|
||||||
- |
|
|
||||||
release-cli create --name "Release $CI_COMMIT_TAG" --tag-name $CI_COMMIT_TAG \
|
|
||||||
--assets-link "{\"name\":\"provs-desktop.jar\",\"url\":\"https://gitlab.com/domaindrivenarchitecture/provs/-/jobs/${CI_JOB_ID}/artifacts/file/build/libs/provs-desktop.jar\"}" \
|
|
||||||
--assets-link "{\"name\":\"provs-server.jar\",\"url\":\"https://gitlab.com/domaindrivenarchitecture/provs/-/jobs/${CI_JOB_ID}/artifacts/file/build/libs/provs-server.jar\"}" \
|
|
||||||
--assets-link "{\"name\":\"provs-syspec.jar\",\"url\":\"https://gitlab.com/domaindrivenarchitecture/provs/-/jobs/${CI_JOB_ID}/artifacts/file/build/libs/provs-syspec.jar\"}" \
|
|
||||||
--assets-link "{\"name\":\"sha256sum.lst\",\"url\":\"https://gitlab.com/domaindrivenarchitecture/provs/-/jobs/${CI_JOB_ID}/artifacts/file/build/libs/sha256sum.lst\"}" \
|
|
||||||
--assets-link "{\"name\":\"sha512sum.lst\",\"url\":\"https://gitlab.com/domaindrivenarchitecture/provs/-/jobs/${CI_JOB_ID}/artifacts/file/build/libs/sha512sum.lst\"}" \
|
|
||||||
|
|
||||||
|
|
||||||
release-to-meissa:
|
release-to-meissa:
|
||||||
<<: *kotlin
|
<<: *kotlin
|
||||||
<<: *tag_only
|
<<: *tag_only
|
||||||
|
|
5
build.py
5
build.py
|
@ -40,11 +40,6 @@ def build(project):
|
||||||
run("./gradlew assemble", shell=True)
|
run("./gradlew assemble", shell=True)
|
||||||
|
|
||||||
|
|
||||||
@task
|
|
||||||
def dev(project):
|
|
||||||
build(project)
|
|
||||||
|
|
||||||
|
|
||||||
@task
|
@task
|
||||||
def patch(project):
|
def patch(project):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue