diff --git a/cipd_manifest.txt b/cipd_manifest.txt index ea4f93e69..b82694a40 100644 --- a/cipd_manifest.txt +++ b/cipd_manifest.txt @@ -10,6 +10,11 @@ # For these, the git revision is the one of # https://chromium.googlesource.com/infra/infra.git. # +# For goma client, generated via builders at +# https://ci.chromium.org/p/infra-internal/g/goma-client/console +# the git revision is the one of +# https://chromium.googlesource.com/infra/goma/client.git +# # To regenerate them (after modifying this file): # cipd ensure-file-resolve -ensure-file cipd_manifest.txt $ResolvedVersions cipd_manifest.versions @@ -47,3 +52,6 @@ infra/tools/bb/${platform} git_revision:bdbeaf7b6f457238c69f328bfc7684fc1f2a79e6 # CHROMEOS Buildjobs CLI chromiumos/infra/crosjobs/${platform=linux-amd64} git_revision:ed616d595eb7241d39d34907050d2949121d6ae8 + +# goma client +infra/goma/client/${os}-${arch=amd64} git_revision:21891516eb1a45c1db85325b3b0e745574e5f77d diff --git a/cipd_manifest.versions b/cipd_manifest.versions index 16f7fd026..6bdd76d33 100644 --- a/cipd_manifest.versions +++ b/cipd_manifest.versions @@ -5,6 +5,18 @@ chromiumos/infra/crosjobs/linux-amd64 git_revision:ed616d595eb7241d39d34907050d2949121d6ae8 _vAeU0Q9lAxn933K8vDhwGK40zKVvV-yXGpIy43ATXAC +infra/goma/client/linux-amd64 + git_revision:21891516eb1a45c1db85325b3b0e745574e5f77d + QfsM_lNTY7qKrNUD5ZYFczJGEKbVb2s0o32BTAhMa4kC + +infra/goma/client/mac-amd64 + git_revision:21891516eb1a45c1db85325b3b0e745574e5f77d + -yF6GqyKeyyr8ZPiOPqDchuIQ8916IG-4Z6bT9KO5PsC + +infra/goma/client/windows-amd64 + git_revision:21891516eb1a45c1db85325b3b0e745574e5f77d + Dd-Urs0Fy5gYb88c0Tq5xxKR2xiyW3NyIqNJUiv1nn4C + infra/tools/bb/linux-386 git_revision:bdbeaf7b6f457238c69f328bfc7684fc1f2a79e6 Ebjauqd0o3KlNnOcHxG_IP-uZsOaRDndybE6ylUF4PIC diff --git a/goma_auth b/goma_auth new file mode 100755 index 000000000..04ffd8d56 --- /dev/null +++ b/goma_auth @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +# Copyright 2019 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +MYPATH=$(dirname "${BASH_SOURCE[0]}") + +source "$MYPATH/cipd_bin_setup.sh" +cipd_bin_setup &> /dev/null + +PYTHONDONTWRITEBYTECODE=1 exec python "$MYPATH/.cipd_bin/goma_auth.py" "$@" diff --git a/goma_auth.bat b/goma_auth.bat new file mode 100644 index 000000000..eb18f9588 --- /dev/null +++ b/goma_auth.bat @@ -0,0 +1,8 @@ +@echo off +:: Copyright 2019 The Chromium Authors. All rights reserved. +:: Use of this source code is governed by a BSD-style license that can be +:: found in the LICENSE file. + +@call "%~dp0\cipd_bin_setup.bat" > null 2>&1 +@call python.bat %~dp0\.cipd_bin\goma_auth.py %* +exit /b diff --git a/goma_ctl b/goma_ctl new file mode 100755 index 000000000..ac2728389 --- /dev/null +++ b/goma_ctl @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +# Copyright 2019 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +MYPATH=$(dirname "${BASH_SOURCE[0]}") + +source "$MYPATH/cipd_bin_setup.sh" +cipd_bin_setup &> /dev/null + +PYTHONDONTWRITEBYTECODE=1 exec python "$MYPATH/.cipd_bin/goma_ctl.py" "$@" diff --git a/goma_ctl.bat b/goma_ctl.bat new file mode 100644 index 000000000..ec706b754 --- /dev/null +++ b/goma_ctl.bat @@ -0,0 +1,8 @@ +@echo off +:: Copyright 2019 The Chromium Authors. All rights reserved. +:: Use of this source code is governed by a BSD-style license that can be +:: found in the LICENSE file. + +@call "%~dp0\cipd_bin_setup.bat" > null 2>&1 +@call python.bat %~dp0\.cipd_bin\goma_ctl.py %* +exit /b