Compare commits
6 Commits
main
...
customSmok
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5b9c42c374 | ||
|
|
f11e67d254 | ||
|
|
f56896c39e | ||
|
|
477d576282 | ||
|
|
1a7a43dd81 | ||
|
|
11aba0bc03 |
@ -15,22 +15,12 @@ variables:
|
||||
options:
|
||||
- release
|
||||
- default
|
||||
- custom
|
||||
|
||||
workflow:
|
||||
name: "Pipeline for Merge Request: $merge_request_event"
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
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
|
||||
- when: always
|
||||
|
||||
Helm Lint:
|
||||
stage: lint
|
||||
@ -56,6 +46,19 @@ Kubescore:
|
||||
- echo "Scoring the 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:
|
||||
stage: release
|
||||
needs:
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
name: testsuite
|
||||
apiVersion: v2
|
||||
version: 4.0.0-92
|
||||
appVersion: 4.0.0-92
|
||||
version: 0.1.0-smokFix003
|
||||
appVersion: smokFix003
|
||||
description: The one and only gin-testsuite
|
||||
home: https://knecon.com
|
||||
icon: https://instantli.com/wp-content/uploads/2018/11/testsuite.png
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
keycloakDynamicUrl: true
|
||||
keycloakPort: 443
|
||||
disablePostgres: false
|
||||
runDebugMode: false
|
||||
runDebugMode: true
|
||||
nextcloud:
|
||||
username: 'syn_docs'
|
||||
password: 'Gc2lwTqkTzuRjfdpCiBr3gLHmlXtpb5cPVGokvaJF7g'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user