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
a82f0ed3
Commit
a82f0ed3
authored
Jan 10, 2019
by
Leonard Gram
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: tags arm as well as amd64 as latest.
parent
702d4490
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
6 deletions
+10
-6
packaging/docker/build.sh
+1
-1
packaging/docker/push_to_docker_hub.sh
+1
-1
scripts/build/build-all.sh
+3
-1
scripts/build/build.sh
+5
-3
No files found.
packaging/docker/build.sh
View file @
a82f0ed3
...
...
@@ -45,5 +45,5 @@ if echo "$_grafana_tag" | grep -q "^v"; then
docker_tag_all
"
${
_docker_repo
}
"
"latest"
else
docker_tag_all
"
${
_docker_repo
}
"
"master"
docker tag
"
${
_docker_repo
}
:
${
_grafana_version
}
grafana/grafana-dev:
${
_grafana_version
}
"
docker tag
"
${
_docker_repo
}
:
${
_grafana_version
}
"
"
grafana/grafana-dev:
${
_grafana_version
}
"
fi
packaging/docker/push_to_docker_hub.sh
View file @
a82f0ed3
...
...
@@ -41,6 +41,6 @@ if echo "$_grafana_tag" | grep -q "^v" && echo "$_grafana_tag" | grep -vq "beta"
elif
echo
"
$_grafana_tag
"
|
grep
-q
"^v"
&&
echo
"
$_grafana_tag
"
|
grep
-q
"beta"
;
then
docker_push_all
"
${
_docker_repo
}
"
"
${
_grafana_version
}
"
elif
echo
"
$_grafana_tag
"
|
grep
-q
"master"
;
then
docker_push_all
"
grafana/grafana
"
"master"
docker_push_all
"
${
_docker_repo
}
"
"master"
docker push
"grafana/grafana-dev:
${
_grafana_version
}
"
fi
scripts/build/build-all.sh
View file @
a82f0ed3
...
...
@@ -59,7 +59,7 @@ go run build.go ${OPT} build-frontend
source
/etc/profile.d/rvm.sh
echo
"Packaging"
go run build.go
-goos
linux
-pkg-arch
amd64
${
OPT
}
package-only
latest
go run build.go
-goos
linux
-pkg-arch
amd64
${
OPT
}
package-only
#removing amd64 phantomjs bin for armv7/arm64 packages
rm tools/phantomjs/phantomjs
go run build.go
-goos
linux
-pkg-arch
armv7
${
OPT
}
package-only
...
...
@@ -80,3 +80,4 @@ else
fi
go run build.go
-goos
windows
-pkg-arch
amd64
${
OPT
}
package-only
go run build.go latest
\ No newline at end of file
scripts/build/build.sh
View file @
a82f0ed3
...
...
@@ -48,6 +48,8 @@ go run build.go ${OPT} build-frontend
source
/etc/profile.d/rvm.sh
echo
"Packaging"
go run build.go
-goos
linux
-pkg-arch
amd64
${
OPT
}
package-only latest
go run build.go
-goos
linux
-pkg-arch
armv7
${
OPT
}
package-only latest
go run build.go
-goos
linux
-pkg-arch
arm64
${
OPT
}
package-only latest
go run build.go
-goos
linux
-pkg-arch
amd64
${
OPT
}
package-only
go run build.go
-goos
linux
-pkg-arch
armv7
${
OPT
}
package-only
go run build.go
-goos
linux
-pkg-arch
arm64
${
OPT
}
package-only
go run build.go latest
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