mirrored from https://skia.googlesource.com/buildbot
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gold] Getting traceserver ready for K8s
The first instance will the be the Lottie server. This is still WIP. Bug: skia: Change-Id: Iaa634c42fecb195642a072d97848be68e1276bc8 Reviewed-on: https://skia-review.googlesource.com/143062 Commit-Queue: Stephan Altmueller <stephana@google.com> Reviewed-by: Ben Wagner <benjaminwagner@google.com>
- Loading branch information
1 parent
0470131
commit 385a695
Showing
5 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,3 +104,4 @@ promk/tmp | |
# kube | ||
**/chat_config.txt | ||
.vscode | ||
tracedb/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM gcr.io/skia-public/basealpine:3.7 | ||
|
||
USER root | ||
|
||
COPY . / | ||
|
||
USER skia | ||
|
||
ENTRYPOINT ["/usr/local/bin/gold-traceserver"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
set -x -e | ||
|
||
# Builds and uploads a container image for traceserver. | ||
|
||
APPNAME="gold-traceserver" | ||
|
||
# Copy files into the right locations in ${ROOT}. | ||
copy_release_files() | ||
{ | ||
INSTALL="install -D --verbose --backup=none" | ||
INSTALL_DIR="install -d --verbose --backup=none" | ||
|
||
${INSTALL} --mode=644 -T ./dockerfiles/Dockerfile_traceserver ${ROOT}/Dockerfile | ||
${INSTALL} --mode=755 -T ./build/traceserver_k8s ${ROOT}/usr/local/bin/gold-traceserver | ||
} | ||
|
||
source ../bash/docker_build.sh |