Commit b178a308 authored by Waqas Riaz's avatar Waqas Riaz

updates .gitlab-ci.yml to run with linux

parent e1e4f201
Pipeline #4050 passed with stages
in 12 seconds
...@@ -19,8 +19,9 @@ stages: ...@@ -19,8 +19,9 @@ stages:
build_job: build_job:
stage: build stage: build
before_script: before_script:
- brew install jsonnet - curl --version
- jsonnet -v - jsonnet --version
- tar --version
script: script:
- echo "Starting script for deploying to Jfrog" - echo "Starting script for deploying to Jfrog"
- files_list=$(find . -type f -name "*.jsonnet" ! -path "./grafonnet-lib/*") - files_list=$(find . -type f -name "*.jsonnet" ! -path "./grafonnet-lib/*")
...@@ -51,6 +52,10 @@ build_job: ...@@ -51,6 +52,10 @@ build_job:
deploy_job: deploy_job:
stage: deploy stage: deploy
before_script:
- curl --version
- jq --version
- tar --version
script: script:
# - export version=$(echo "$(cat version.txt) + 0.1" | bc) # - export version=$(echo "$(cat version.txt) + 0.1" | bc)
- export version=$(cat version.txt) - export version=$(cat version.txt)
...@@ -78,4 +83,4 @@ deploy_job: ...@@ -78,4 +83,4 @@ deploy_job:
done done
#grafonnet.tar.gz #grafonnet.tar.gz
tags: tags:
- ci - cd
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment