From e83ee62e26193a2da9fa4ccc5dcabd33229d794c Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Mon, 13 Nov 2023 12:12:39 -0700 Subject: [PATCH] Remove teuthology-pull-requests This job represents a small subset of what we test with GitHub Actions. It's also unreliable, for reasons including - but not limited to - the fact that it's not possible to request an agent with a particular OS version. Signed-off-by: Zack Cerza --- teuthology-pull-requests/build/build | 13 ---- .../definitions/teuthology-pull-requests.yml | 76 ------------------- teuthology-pull-requests/setup/setup | 8 -- 3 files changed, 97 deletions(-) delete mode 100644 teuthology-pull-requests/build/build delete mode 100644 teuthology-pull-requests/config/definitions/teuthology-pull-requests.yml delete mode 100644 teuthology-pull-requests/setup/setup diff --git a/teuthology-pull-requests/build/build b/teuthology-pull-requests/build/build deleted file mode 100644 index 65186c52..00000000 --- a/teuthology-pull-requests/build/build +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -set -ex - -# the following two methods exist in scripts/build_utils.sh -pkgs=( "tox" ) -TEMPVENV=$(create_venv_dir) -VENV=${TEMPVENV}/bin -install_python_packages $TEMPVENV "pkgs[@]" - -# run tox by recreating the environment and in verbose mode -# by default this will run all environments defined -$VENV/tox -rv diff --git a/teuthology-pull-requests/config/definitions/teuthology-pull-requests.yml b/teuthology-pull-requests/config/definitions/teuthology-pull-requests.yml deleted file mode 100644 index 490622e8..00000000 --- a/teuthology-pull-requests/config/definitions/teuthology-pull-requests.yml +++ /dev/null @@ -1,76 +0,0 @@ -- job: - name: teuthology-pull-requests - node: sepia && bionic && huge - project-type: freestyle - defaults: global - concurrent: true - display-name: 'Teuthology: Pull Requests' - quiet-period: 5 - block-downstream: false - block-upstream: false - retry-count: 3 - properties: - - build-discarder: - days-to-keep: 15 - num-to-keep: 30 - artifact-days-to-keep: -1 - artifact-num-to-keep: -1 - - github: - url: https://github.com/ceph/teuthology/ - - parameters: - - string: - name: sha1 - description: "A pull request ID, like 'origin/pr/72/head'" - - triggers: - - github-pull-request: - admin-list: - - alfredodeza - - ktdreyer - - zmc - - andrewschoen - - dmick - - gregsfortytwo - - kshtsk - - smithfarm - org-list: - - ceph - - red-hat-storage - white-list: - - jcsp - - GregMeno - - dzafman - - dillaman - - dachary - - liewegas - - idryomov - - vasukulkarni - - ivotron - - sunilkumarn417 - trigger-phrase: 'jenkins test.*|jenkins retest.*' - only-trigger-phrase: false - github-hooks: true - permit-all: false - auto-close-on-fail: false - - scm: - - git: - url: https://github.com/ceph/teuthology.git - branches: - - ${sha1} - refspec: +refs/pull/*:refs/remotes/origin/pr/* - browser: auto - timeout: 20 - skip-tag: true - wipe-workspace: true - - builders: - - shell: - !include-raw: - - ../../../scripts/build_utils.sh - - ../../setup/setup - - shell: - !include-raw: - - ../../../scripts/build_utils.sh - - ../../build/build diff --git a/teuthology-pull-requests/setup/setup b/teuthology-pull-requests/setup/setup deleted file mode 100644 index 80ffcb8c..00000000 --- a/teuthology-pull-requests/setup/setup +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -set -ex - -# run the teuthology bootstrap to setup this jenkins slave for -# teuthology pull requests testing. Passing 'install' here -# installs any missing requirements found needed to bootstrap teuthology -./bootstrap install -- 2.39.5