Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Unified Diff: scripts/slave/recipes/infra/recipes_py_continuous.py

Issue 2047263003: build: delete infra recipes moved to infra repo except infra_continuous (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipes/infra/recipes_py_continuous.py
diff --git a/scripts/slave/recipes/infra/recipes_py_continuous.py b/scripts/slave/recipes/infra/recipes_py_continuous.py
deleted file mode 100644
index 3a06d8fe5ca29ed68a25c713d26cac2a81720028..0000000000000000000000000000000000000000
--- a/scripts/slave/recipes/infra/recipes_py_continuous.py
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 2016 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.
-
-from recipe_engine.recipe_api import Property
-
-DEPS = [
- 'cipd',
- 'depot_tools/bot_update',
- 'depot_tools/gclient',
- 'recipe_engine/path',
- 'recipe_engine/properties',
-]
-
-
-PROPERTIES = {
- 'mastername': Property(default=''),
- 'buildername': Property(default=''),
- 'buildnumber': Property(default=-1, kind=int),
-}
-
-def RunSteps(api, mastername, buildername, buildnumber):
- api.cipd.set_service_account_credentials(
- api.cipd.default_bot_service_account_credentials)
-
- api.gclient.set_config('recipes_py_bare')
- bot_update_step = api.bot_update.ensure_checkout(force=True)
-
- tags = {
- 'buildbot_build' : '%s/%s/%s' % (mastername, buildername, buildnumber),
- 'git_repository' : api.gclient.c.solutions[0].url,
- 'git_revision' : bot_update_step.presentation.properties['got_revision'],
- }
-
- api.cipd.install_client()
- api.cipd.create(
- api.path['checkout'].join('infra', 'cipd', 'recipes-py.yaml'),
- refs=['latest'],
- tags=tags)
-
-
-def GenTests(api):
- yield api.test('basic') + api.properties(path_config='kitchen')

Powered by Google App Engine
This is Rietveld 408576698