mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-09 12:27:52 +00:00
Upload rpms to Nexus and trigger m-cloud-images
Also upload arm builds
This commit is contained in:
parent
664ec83524
commit
3059529759
1 changed files with 19 additions and 0 deletions
|
|
@ -446,6 +446,25 @@ package for linux amd64:
|
|||
- "*.deb"
|
||||
- "*.rpm"
|
||||
|
||||
upload_artifacts_to_nexus:
|
||||
stage: post build
|
||||
image: golang:$GOVERSION
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
script:
|
||||
- find . -maxdepth 1 -name '*.rpm' -exec curl -v --user "$NEXUS_YUM_CREDS" --upload-file {} https://nexus.molecula.com/repository/molecula-yum/release/ \;
|
||||
dependencies:
|
||||
- package for linux amd64
|
||||
- package for linux arm64
|
||||
|
||||
trigger_m-cloud-images:
|
||||
stage: post build
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
needs:
|
||||
- upload_artifacts_to_nexus
|
||||
trigger: molecula/m-cloud-images
|
||||
|
||||
package for linux arm64:
|
||||
stage: build
|
||||
image: golang:$GOVERSION
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue