Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
919617ef
Commit
919617ef
authored
Dec 18, 2018
by
Leonard Gram
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: only adds the correct packages to the repo.
parent
c3e23d75
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
scripts/build/update_repo/update-deb.sh
+4
-3
scripts/build/update_repo/update-rpm.sh
+1
-0
No files found.
scripts/build/update_repo/update-deb.sh
View file @
919617ef
...
...
@@ -14,14 +14,15 @@ set -e
cp scripts/build/update_repo/aptly.conf /etc/aptly.conf
mkdir
-p
/deb-repo/db
mkdir
-p
/deb-repo/repo
mkdir
-p
/deb-repo/tmp
# Download the database
gsutil
-m
rsync
-r
gs://grafana-aptly-db/repo-db /deb-repo/db
# Add the new release to the repo
set
+
e
aptly publish drop squeeze filesystem:repo:grafana
set
-
e
aptly publish drop squeeze filesystem:repo:grafana
||
tru
e
cp ./dist/
*
.deb /deb-repo/tmp
rm /deb-repo/tmp/grafana_latest
*
.deb
||
tru
e
aptly repo add grafana ./dist
# Setup signing and sign the repo
...
...
scripts/build/update_repo/update-rpm.sh
View file @
919617ef
...
...
@@ -18,6 +18,7 @@ gsutil -m rsync -r "gs://grafana-repo/$RELEASE_TYPE/rpm" /rpm-repo
# Add the new release to the repo
cp ./dist/
*
.rpm /rpm-repo
rm /rpm-repo/grafana-latest-1
*
.rpm
||
true
cd
/rpm-repo
createrepo
.
...
...
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