Compare commits
6 Commits
main
...
customSmok
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5b9c42c374 | ||
|
|
f11e67d254 | ||
|
|
f56896c39e | ||
|
|
477d576282 | ||
|
|
1a7a43dd81 | ||
|
|
11aba0bc03 |
@ -15,22 +15,12 @@ variables:
|
|||||||
options:
|
options:
|
||||||
- release
|
- release
|
||||||
- default
|
- default
|
||||||
|
- custom
|
||||||
|
|
||||||
workflow:
|
workflow:
|
||||||
name: "Pipeline for Merge Request: $merge_request_event"
|
name: "Pipeline for Merge Request: $merge_request_event"
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
- when: always
|
||||||
variables:
|
|
||||||
PIPELINE: "release"
|
|
||||||
- if: $CI_COMMIT_REF_NAME =~ /release/
|
|
||||||
variables:
|
|
||||||
PIPELINE: "release"
|
|
||||||
- if: $CI_COMMIT_TAG
|
|
||||||
when: never
|
|
||||||
- if: $CI_PIPELINE_SOURCE == "push"
|
|
||||||
when: never
|
|
||||||
- if: "$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS"
|
|
||||||
when: never
|
|
||||||
|
|
||||||
Helm Lint:
|
Helm Lint:
|
||||||
stage: lint
|
stage: lint
|
||||||
@ -56,6 +46,19 @@ Kubescore:
|
|||||||
- echo "Scoring the Chart YAML"
|
- echo "Scoring the Chart YAML"
|
||||||
- kube-score score Chart.yaml
|
- kube-score score Chart.yaml
|
||||||
|
|
||||||
|
Nexus Custom Upload:
|
||||||
|
stage: release
|
||||||
|
needs:
|
||||||
|
- Helm Template
|
||||||
|
- Helm Lint
|
||||||
|
rules:
|
||||||
|
- if: $PIPELINE == "custom"
|
||||||
|
image: registry.knecon.com/knecon/devops/build-image:latest
|
||||||
|
script:
|
||||||
|
- VERSION=$(cat Chart.yaml | grep "^version:" | sed 's/^version:\s\(.*\)$/\1/g')
|
||||||
|
- uploadFile=$( helm package . | awk 'NF>1{print q $NF}' )
|
||||||
|
- curl -s -u "${CI_NEXUS_USER}:${CI_NEXUS_PASSWORD}" "${CI_NEXUS_ADDRESS}:443/repository/red-dev/" --upload-file $uploadFile
|
||||||
|
|
||||||
Nexus Upload:
|
Nexus Upload:
|
||||||
stage: release
|
stage: release
|
||||||
needs:
|
needs:
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
name: testsuite
|
name: testsuite
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
version: 4.0.0-92
|
version: 0.1.0-smokFix003
|
||||||
appVersion: 4.0.0-92
|
appVersion: smokFix003
|
||||||
description: The one and only gin-testsuite
|
description: The one and only gin-testsuite
|
||||||
home: https://knecon.com
|
home: https://knecon.com
|
||||||
icon: https://instantli.com/wp-content/uploads/2018/11/testsuite.png
|
icon: https://instantli.com/wp-content/uploads/2018/11/testsuite.png
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
keycloakDynamicUrl: true
|
keycloakDynamicUrl: true
|
||||||
keycloakPort: 443
|
keycloakPort: 443
|
||||||
disablePostgres: false
|
disablePostgres: false
|
||||||
runDebugMode: false
|
runDebugMode: true
|
||||||
nextcloud:
|
nextcloud:
|
||||||
username: 'syn_docs'
|
username: 'syn_docs'
|
||||||
password: 'Gc2lwTqkTzuRjfdpCiBr3gLHmlXtpb5cPVGokvaJF7g'
|
password: 'Gc2lwTqkTzuRjfdpCiBr3gLHmlXtpb5cPVGokvaJF7g'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user