Skip to content
Snippets Groups Projects
Unverified Commit 0a7975f6 authored by Massimiliano Adamo's avatar Massimiliano Adamo
Browse files

create tag upload

parent 00d9f433
No related branches found
No related tags found
No related merge requests found
--- ---
stages: stages:
- sonarqube - sonarqube
- upload_linux_artifact - upload_linux_binary
# - upload_windows_artifact
# - upload_shell_script
sonarqube: sonarqube:
image: sonarsource/sonar-scanner-cli:${SONAR_SCANNER_CLI_VERSION} image: sonarsource/sonar-scanner-cli:${SONAR_SCANNER_CLI_VERSION}
stage: sonarqube stage: sonarqube
...@@ -15,29 +14,13 @@ sonarqube: ...@@ -15,29 +14,13 @@ sonarqube:
- /usr/bin/entrypoint.sh sonar-scanner -Dsonar.projectKey="$CI_PROJECT_NAME" - /usr/bin/entrypoint.sh sonar-scanner -Dsonar.projectKey="$CI_PROJECT_NAME"
tags: tags:
- sonarqube - sonarqube
upload_linux_artifact:
stage: upload_linux_artifact upload_linux_binary:
stage: upload_linux_binary
only: only:
- artifacts - tags
script: ./build.sh --os=linux --arch=amd64 --upx script:
artifacts: - ./build.sh --os=linux --arch=amd64 --upx
paths: - 'curl --header "JOB-TOKEN: $PROJECT_ACCESS_TOKEN" --upload-file $CI_PROJECT_NAME "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/${CI_PROJECT_NAME}/${CI_COMMIT_TAG}/${CI_PROJECT_NAME}"'
- acme-downloader
tags: tags:
- visnu_shell - visnu_shell
# upload_windows_artifact:
# stage: upload_windows_artifact
# script: ./build.sh --os=windows --arch=amd64 --upx
# artifacts:
# paths:
# - acme-downloader.exe
# tags:
# - visnu_shell
# upload_shell_script:
# stage: upload_shell_script
# script: /usr/bin/true
# artifacts:
# paths:
# - acme-downloader.sh
# tags:
# - visnu_shell
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment