mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Run "startup" benchmark in Kokoro benchmark job.
PiperOrigin-RevId: 300798423
This commit is contained in:
committed by
gVisor bot
parent
2e38408f20
commit
b8fda7f34f
+12
-6
@@ -14,13 +14,19 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# Run in the root of the repo.
|
||||
cd "$(dirname "$0")"
|
||||
source $(dirname $0)/common.sh
|
||||
|
||||
# Exporting for subprocesses as GCP APIs and tools check this environmental
|
||||
# variable for authentication.
|
||||
export GOOGLE_APPLICATION_CREDENTIALS="${KOKORO_KEYSTORE_DIR}/${GCLOUD_CREDENTIALS}"
|
||||
|
||||
gcloud auth activate-service-account --key-file "${GOOGLE_APPLICATION_CREDENTIALS}"
|
||||
gcloud auth activate-service-account \
|
||||
--key-file "${GOOGLE_APPLICATION_CREDENTIALS}"
|
||||
|
||||
gcloud compute instances list
|
||||
|
||||
bq show gvisor-benchmarks:test.test
|
||||
bazel run //benchmarks:benchmarks -- \
|
||||
--verbose \
|
||||
run-gcp \
|
||||
startup \
|
||||
--runtime=runc \
|
||||
--runtime=runsc \
|
||||
--installers=head
|
||||
|
||||
Reference in New Issue
Block a user