Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
DAACDemo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Syed Bilal Raees
DAACDemo
Commits
8ac97135
Commit
8ac97135
authored
Mar 24, 2023
by
Syed Bilal Raees
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deployment script
parent
ef9afbd8
Pipeline
#3930
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
3 deletions
+25
-3
.gitlab-ci.yml
.gitlab-ci.yml
+25
-3
No files found.
.gitlab-ci.yml
View file @
8ac97135
...
@@ -4,10 +4,32 @@ stages:
...
@@ -4,10 +4,32 @@ stages:
build_job
:
build_job
:
stage
:
build
stage
:
build
script
:
script
:
-
>
-
brew install jsonnet
#
- brew install jsonnet
-
jsonnet -v
#
- jsonnet -v
# - arch
# - arch
# - echo "hello world"
# - echo "hello world"
echo "Starting script for deploying to Jfrog"
files_list=$(find . -type f -name "*.jsonnet" ! -path "./grafonnet-lib/*")
echo "Creating directory"
mkdir grafonnet
ls
while IFS= read -r jsonnet_file;
do
echo $jsonnet_file
filename=$(basename -- "$jsonnet_file")
filename="${filename%.*}"
echo $filename
JSONNET_PATH=grafonnet-lib \
jsonnet $jsonnet_file > grafonnet/$filename.json
done <<< "$files_list"
tar -cvzf grafonnet.tar.gz grafonnet/
version=$(cat version.txt)
echo $version + 0.1 | bc > version.txt
version=$(cat version.txt)
tags
:
tags
:
-
ci
-
ci
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment