mirror of
https://github.com/imjasonh/kontain.me
synced 2026-07-08 09:04:54 +00:00
19 lines
637 B
Bash
Executable file
19 lines
637 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -euxo pipefail
|
|
|
|
curl https://kontain.me | grep html
|
|
|
|
time docker pull random.kontain.me/random
|
|
time docker pull random.kontain.me/random:8x80
|
|
|
|
time docker pull ko.kontain.me/ko/github.com/knative/build/cmd/controller
|
|
|
|
time docker pull buildpack.kontain.me/buildpack/sample-java-app
|
|
time docker pull buildpack.kontain.me/buildpack/sample-java-app # caching!
|
|
|
|
tmp=$(mktemp -d)
|
|
git clone git@github.com:buildpack/sample-java-app.git $tmp
|
|
project=$(gcloud config get-value project)
|
|
CLOUDSDK_API_ENDPOINT_OVERRIDES_CLOUDBUILD=https://api-an3qnndwmq-uc.a.run.app/ gcloud builds submit --tag=gcr.io/$project/built $tmp
|
|
rm $tmp
|