mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
49c169a410
This is hard to test. I verified that kokoro can access the github token and use it to access github by adding a git clone into the x86 presubmit build file in patchset 3. But we can only really test the full process by submitting this CL and have it pass through the continuous builder. BUG=b:199692764 TEST=Needs to be tested in prod... Change-Id: Ifdcd385552c61ecea75a43fb71b08950e8b036ca Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3229941 Tested-by: Dennis Kempin <denniskempin@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
9 lines
346 B
Bash
Executable file
9 lines
346 B
Bash
Executable file
#!/bin/bash
|
|
# Copyright 2021 The Chromium OS Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
GITHUB_TOKEN_FILE=$KOKORO_KEYSTORE_DIR/76320_github_token
|
|
TOKEN=$(cat $GITHUB_TOKEN_FILE)
|
|
|
|
git push --mirror "https://crosvm-bot:${TOKEN}@github.com/google/crosvm.git"
|