From: Dan Mick Date: Thu, 5 Dec 2024 08:34:49 +0000 (-0800) Subject: move disabled jobs to 'attic/' subdirectory X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8bdf1cfafef2489cfacaed32e93b9b42b58a1824;p=ceph-build.git move disabled jobs to 'attic/' subdirectory Reduce clutter, avoid mistaken interpretations; it's easy to miss 'disabled: true' when you're searching for relevant jobs Signed-off-by: Dan Mick --- diff --git a/attic/ceph-ansible-docs-prs/build/build b/attic/ceph-ansible-docs-prs/build/build new file mode 100644 index 00000000..83255535 --- /dev/null +++ b/attic/ceph-ansible-docs-prs/build/build @@ -0,0 +1,10 @@ +#!/bin/bash + +# the following two methods exist in scripts/build_utils.sh +pkgs=( "tox" ) +TEMPVENV=$(create_venv_dir) +VENV=${TEMPVENV}/bin +install_python_packages $TEMPVENV "pkgs[@]" + +cd $WORKSPACE/docs/ +$VENV/tox -rv diff --git a/attic/ceph-ansible-docs-prs/config/JENKINS_URL b/attic/ceph-ansible-docs-prs/config/JENKINS_URL new file mode 100644 index 00000000..e97cf671 --- /dev/null +++ b/attic/ceph-ansible-docs-prs/config/JENKINS_URL @@ -0,0 +1 @@ +2.jenkins.ceph.com diff --git a/attic/ceph-ansible-docs-prs/config/definitions/ceph-ansible-docs-prs.yml b/attic/ceph-ansible-docs-prs/config/definitions/ceph-ansible-docs-prs.yml new file mode 100644 index 00000000..2dbe135f --- /dev/null +++ b/attic/ceph-ansible-docs-prs/config/definitions/ceph-ansible-docs-prs.yml @@ -0,0 +1,53 @@ +- job: + name: ceph-ansible-docs-pull-requests + disabled: true + node: (small && (centos8 || trusty)) || (vagrant && libvirt && smithi) + project-type: freestyle + defaults: global + display-name: 'ceph-ansible: docs pull requests' + quiet-period: 5 + block-downstream: false + block-upstream: false + retry-count: 3 + properties: + - build-discarder: + days-to-keep: -1 + num-to-keep: 10 + artifact-days-to-keep: -1 + artifact-num-to-keep: -1 + - github: + url: https://github.com/ceph/ceph-ansible + + parameters: + - string: + name: sha1 + description: "A pull request ID, like 'origin/pr/72/head'" + + triggers: + - github-pull-request: + allow-whitelist-orgs-as-admins: true + org-list: + - ceph + trigger-phrase: 'jenkins test docs' + # This is set so the job can be manually triggered or by the ceph-ansible-pipeline multijob + only-trigger-phrase: true + github-hooks: true + permit-all: true + auto-close-on-fail: false + status-context: "Docs" + started-status: "checking if docs build" + success-status: "docs built successfully " + failure-status: "docs could not build correctly" + + scm: + - git: + url: https://github.com/ceph/ceph-ansible + browser: auto + skip-tag: true + timeout: 20 + + builders: + - shell: + !include-raw: + - ../../../scripts/build_utils.sh + - ../../build/build diff --git a/attic/ceph-dev-trigger/build/notify b/attic/ceph-dev-trigger/build/notify new file mode 100644 index 00000000..27fa3cd8 --- /dev/null +++ b/attic/ceph-dev-trigger/build/notify @@ -0,0 +1,9 @@ +#!/bin/bash -ex + +# update shaman with the triggered build status. At this point there aren't any +# architectures or distro information, so we just report this with the current +# build information +BRANCH=`branch_slash_filter ${GIT_BRANCH}` +SHA1=${GIT_COMMIT} + +update_build_status "queued" "ceph" diff --git a/attic/ceph-dev-trigger/config/definitions/ceph-dev-trigger.yml b/attic/ceph-dev-trigger/config/definitions/ceph-dev-trigger.yml new file mode 100644 index 00000000..2b6df8f8 --- /dev/null +++ b/attic/ceph-dev-trigger/config/definitions/ceph-dev-trigger.yml @@ -0,0 +1,138 @@ +- job: + disabled: true + name: ceph-dev-trigger + node: built-in + project-type: freestyle + defaults: global + quiet-period: 5 + block-downstream: false + block-upstream: false + properties: + - build-discarder: + days-to-keep: 1 + num-to-keep: 10 + artifact-days-to-keep: -1 + artifact-num-to-keep: -1 + - github: + url: https://github.com/ceph/ceph + discard-old-builds: true + + triggers: + - github + + scm: + - git: + url: https://github.com/ceph/ceph + browser: auto + branches: + - 'origin/main' + - 'origin/quincy' + - 'origin/reef' + - 'origin/squid' + skip-tag: true + timeout: 20 + wipe-workspace: true + + builders: + # build quincy on: + # default: focal centos8 leap15 + - conditional-step: + condition-kind: regex-match + regex: .*quincy.* + label: '${GIT_BRANCH}' + on-evaluation-failure: dont-run + steps: + - shell: + !include-raw: + - ../../../scripts/build_utils.sh + - ../../build/notify + - trigger-builds: + - project: 'ceph-dev' + predefined-parameters: | + BRANCH=${GIT_BRANCH} + FORCE=True + DISTROS=focal centos8 leap15 + # build reef on: + # default: jammy focal centos8 centos9 + # crimson: centos9 + - conditional-step: + condition-kind: regex-match + regex: .*reef.* + label: '${GIT_BRANCH}' + on-evaluation-failure: dont-run + steps: + - shell: + !include-raw: + - ../../../scripts/build_utils.sh + - ../../build/notify + - trigger-builds: + - project: 'ceph-dev' + predefined-parameters: | + BRANCH=${GIT_BRANCH} + FORCE=True + DISTROS=jammy focal centos8 centos9 + - project: 'ceph-dev' + predefined-parameters: | + BRANCH=${GIT_BRANCH} + FORCE=True + DISTROS=centos8 centos9 + FLAVOR=crimson + # build squid on: + # default: jammy focal centos8 centos9 + # crimson: centos8 centos9 + - conditional-step: + condition-kind: regex-match + regex: .*squid.* + label: '${GIT_BRANCH}' + on-evaluation-failure: dont-run + steps: + - shell: + !include-raw: + - ../../../scripts/build_utils.sh + - ../../build/notify + - trigger-builds: + - project: 'ceph-dev' + predefined-parameters: | + BRANCH=${GIT_BRANCH} + FORCE=True + DISTROS=jammy focal centos8 centos9 + - project: 'ceph-dev' + predefined-parameters: | + BRANCH=${GIT_BRANCH} + FORCE=True + DISTROS=centos9 + FLAVOR=crimson + # build main on: + # default: jammy focal centos8 centos9 + # crimson: centos9 + - conditional-step: + condition-kind: regex-match + regex: .*main.* + label: '${GIT_BRANCH}' + on-evaluation-failure: dont-run + steps: + - shell: + !include-raw: + - ../../../scripts/build_utils.sh + - ../../build/notify + - trigger-builds: + - project: 'ceph-dev' + predefined-parameters: | + BRANCH=${GIT_BRANCH} + FORCE=True + DISTROS=jammy focal centos8 centos9 + - project: 'ceph-dev' + predefined-parameters: | + BRANCH=${GIT_BRANCH} + FORCE=True + DISTROS=centos9 + FLAVOR=crimson + + wrappers: + - inject-passwords: + global: true + mask-password-params: true + - credentials-binding: + - text: + credential-id: shaman-api-key + variable: SHAMAN_API_KEY diff --git a/attic/ceph-medic-tests/build/build b/attic/ceph-medic-tests/build/build new file mode 100644 index 00000000..e4c36d5f --- /dev/null +++ b/attic/ceph-medic-tests/build/build @@ -0,0 +1,15 @@ +# the following two methods exist in scripts/build_utils.sh +pkgs=( "tox" ) +TEMPVENV=$(create_venv_dir) +VENV=${TEMPVENV}/bin +install_python_packages $TEMPVENV "pkgs[@]" + +WORKDIR=$(mktemp -td tox.XXXXXXXXXX) + +cd $WORKSPACE/tests/functional + +delete_libvirt_vms +clear_libvirt_networks +restart_libvirt_services + +CEPH_MEDIC_DEV_BRANCH=$CEPH_MEDIC_BRANCH CEPH_ANSIBLE_BRANCH=$CEPH_ANSIBLE_BRANCH $VENV/tox -rv -e=$SCENARIO --workdir=$WORKDIR -- --provider=libvirt diff --git a/attic/ceph-medic-tests/config/definitions/ceph-medic-tests.yml b/attic/ceph-medic-tests/config/definitions/ceph-medic-tests.yml new file mode 100644 index 00000000..911e0671 --- /dev/null +++ b/attic/ceph-medic-tests/config/definitions/ceph-medic-tests.yml @@ -0,0 +1,64 @@ +- project: + name: ceph-medic-tests + # disabled because it is broken with current ceph-ansible main and there + # is no active development going on + disabled: true + scenario: + - ansible2.3-nightly_centos7 + jobs: + - 'ceph-medic-tests-{scenario}' + +- job-template: + name: 'ceph-medic-tests-{scenario}' + node: vagrant && libvirt + project-type: freestyle + defaults: global + disabled: true + display-name: 'ceph-medic: Tests [{scenario}]' + quiet-period: 5 + block-downstream: false + block-upstream: false + retry-count: 3 + properties: + - github: + url: https://github.com/ceph/ceph-medic + - build-discarder: + days-to-keep: -1 + num-to-keep: -1 + artifact-days-to-keep: -1 + artifact-num-to-keep: -1 + + parameters: + - string: + name: CEPH_MEDIC_BRANCH + description: "The ceph-medic branch to test" + default: main + + - string: + name: CEPH_ANSIBLE_BRANCH + description: "The ceph-ansible branch to test" + default: main + + triggers: + - timed: '@daily' + + scm: + - git: + url: https://github.com/ceph/ceph-medic.git + branches: + - $CEPH_MEDIC_BRANCH + browser: auto + timeout: 20 + + builders: + - inject: + properties-content: | + SCENARIO={scenario} + - shell: + !include-raw-escape: + - ../../../scripts/build_utils.sh + - ../../build/build + + publishers: + - email: + recipients: aschoen@redhat.com adeza@redhat.com diff --git a/attic/ceph-pr-arm-trigger/config/definitions/ceph-pr-arm-trigger.yml b/attic/ceph-pr-arm-trigger/config/definitions/ceph-pr-arm-trigger.yml new file mode 100644 index 00000000..eadecd0b --- /dev/null +++ b/attic/ceph-pr-arm-trigger/config/definitions/ceph-pr-arm-trigger.yml @@ -0,0 +1,62 @@ +- job: + name: ceph-pr-arm-trigger + node: built-in + # disabled for now because this is not passing the right BRANCH to + # `ceph-dev` which causes failures there + disabled: true + project-type: freestyle + defaults: global + quiet-period: 5 + block-downstream: false + block-upstream: false + properties: + - build-discarder: + days-to-keep: 15 + artifact-days-to-keep: -1 + artifact-num-to-keep: -1 + - github: + url: https://github.com/ceph/ceph + discard-old-builds: true + + triggers: + - github-pull-request: + allow-whitelist-orgs-as-admins: true + org-list: + - ceph + trigger-phrase: 'jenkins test arm' + only-trigger-phrase: false + github-hooks: true + permit-all: true + auto-close-on-fail: false + status-context: "arm build" + started-status: "building on arm" + success-status: "successfully built on arm" + failure-status: "could not build on arm" + + scm: + - git: + url: https://github.com/ceph/ceph + browser: auto + skip-tag: true + shallow-clone: true + timeout: 20 + wipe-workspace: true + + builders: + - trigger-builds: + # 'ceph-dev' uses ceph.git, where this PR would live at + - project: 'ceph-dev' + predefined-parameters: | + # XXX unsure if $GIT_BRANCH will translate correctly to the actual + # source of the PR + BRANCH=${GIT_BRANCH} + FORCE=True + DISTROS=bionic xenial centos7 + ARCHS="arm64" + # Do not post to chacra + THROWAWAY=True + + wrappers: + - inject-passwords: + global: true + mask-password-params: true diff --git a/attic/ceph-pr-render-docs/build/build b/attic/ceph-pr-render-docs/build/build new file mode 100644 index 00000000..4369850a --- /dev/null +++ b/attic/ceph-pr-render-docs/build/build @@ -0,0 +1,34 @@ +#!/bin/bash + +set -ex + +# This job is meant to be triggered from a Github Pull Request, only when the +# job is executed in that way a few "special" variables become available. So +# this build script tries to use those first but then it will try to figure it +# out using Git directly so that if triggered manually it can attempt to +# actually work. +PR_ID=$ghprbPullId + +# fallback to just using 'manual' if that ID is not available, for manually +# triggered builds +if [ -z "$ghprbPullId" ]; then + PR_ID="manual" +fi + +./admin/build-doc + +# publish docs to http://docs.ceph.com/ceph-prs/$PR_ID/ +mkdir -p "/var/ceph-prs/$PR_ID" +rsync -auv --delete build-doc/output/html/* "/var/ceph-prs/$PR_ID/" + +set +e +set +x + +# Cleanup docs rendered 90+ days ago +find /var/ceph-prs/ -mindepth 1 -maxdepth 1 -mtime +90 -exec rm -rvf {} \; + +echo +echo "Docs available to preview at:" +echo +echo " http://docs.ceph.com/ceph-prs/$PR_ID/" +echo diff --git a/attic/ceph-pr-render-docs/config/definitions/ceph-pr-render-docs.yml b/attic/ceph-pr-render-docs/config/definitions/ceph-pr-render-docs.yml new file mode 100644 index 00000000..5fc9b917 --- /dev/null +++ b/attic/ceph-pr-render-docs/config/definitions/ceph-pr-render-docs.yml @@ -0,0 +1,49 @@ +- job: + name: ceph-pr-render-docs + disabled: true + display-name: 'ceph: Pull Requests Render Docs' + node: docs + project-type: freestyle + defaults: global + quiet-period: 5 + block-downstream: false + block-upstream: false + properties: + - github: + url: https://github.com/ceph/ceph + - build-discarder: + days-to-keep: 14 + discard-old-builds: true + + triggers: + - github-pull-request: + allow-whitelist-orgs-as-admins: true + org-list: + - ceph + cancel-builds-on-update: true + # this job is only triggered by explicitly asking for it + only-trigger-phrase: true + trigger-phrase: 'jenkins render docs.*' + github-hooks: true + permit-all: true + auto-close-on-fail: false + status-context: "Docs: render build" + started-status: "Docs: building to render" + success-status: "OK - docs rendered" + failure-status: "Docs: render failed with errors" + success-comment: "Doc render available at https://ceph--${ghprbPullId}.org.readthedocs.build/en/${ghprbPullId}/" + + scm: + - git: + url: https://github.com/ceph/ceph + browser: auto + branches: + - ${sha1} + refspec: +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/* + skip-tag: true + timeout: 20 + wipe-workspace: true + + builders: + - shell: + !include-raw: ../../build/build diff --git a/attic/teuthology-docs/build/build b/attic/teuthology-docs/build/build new file mode 100644 index 00000000..fe1cbaee --- /dev/null +++ b/attic/teuthology-docs/build/build @@ -0,0 +1,15 @@ +#!/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[@]" + +# create the docs build with tox +$VENV/tox -rv -e docs + +# publish docs to http://docs.ceph.com/docs/teuthology +rsync -auv --delete .tox/docs/tmp/html/* /var/teuthology/docs/ diff --git a/attic/teuthology-docs/config/definitions/teuthology-docs.yml b/attic/teuthology-docs/config/definitions/teuthology-docs.yml new file mode 100644 index 00000000..b6d7f744 --- /dev/null +++ b/attic/teuthology-docs/config/definitions/teuthology-docs.yml @@ -0,0 +1,37 @@ +- job: + name: teuthology-docs + disabled: true + node: docs + project-type: freestyle + defaults: global + display-name: 'Teuthology: Docs Build' + quiet-period: 5 + block-downstream: false + block-upstream: false + retry-count: 3 + properties: + - build-discarder: + days-to-keep: -1 + num-to-keep: -1 + artifact-days-to-keep: -1 + artifact-num-to-keep: -1 + - github: + url: https://github.com/ceph/teuthology + + triggers: + - github + + scm: + - git: + url: https://github.com/ceph/teuthology.git + branches: + - main + browser: auto + timeout: 20 + + builders: + - shell: + !include-raw: + - ../../../scripts/build_utils.sh + - ../../setup/setup + - ../../build/build diff --git a/attic/teuthology-docs/setup/setup b/attic/teuthology-docs/setup/setup new file mode 100755 index 00000000..e4a3fb5d --- /dev/null +++ b/attic/teuthology-docs/setup/setup @@ -0,0 +1,8 @@ +#!/bin/bash + +set -ex + +APT_DEPS="libmysqlclient-dev libevent-dev libffi-dev libssl-dev pkg-config libvirt-dev" +# We don't have tty-less sudo on docs.ceph.com; these deps must be installed +# manually. +#sudo apt install $APT_DEPS diff --git a/ceph-ansible-docs-prs/build/build b/ceph-ansible-docs-prs/build/build deleted file mode 100644 index 83255535..00000000 --- a/ceph-ansible-docs-prs/build/build +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -# the following two methods exist in scripts/build_utils.sh -pkgs=( "tox" ) -TEMPVENV=$(create_venv_dir) -VENV=${TEMPVENV}/bin -install_python_packages $TEMPVENV "pkgs[@]" - -cd $WORKSPACE/docs/ -$VENV/tox -rv diff --git a/ceph-ansible-docs-prs/config/JENKINS_URL b/ceph-ansible-docs-prs/config/JENKINS_URL deleted file mode 100644 index e97cf671..00000000 --- a/ceph-ansible-docs-prs/config/JENKINS_URL +++ /dev/null @@ -1 +0,0 @@ -2.jenkins.ceph.com diff --git a/ceph-ansible-docs-prs/config/definitions/ceph-ansible-docs-prs.yml b/ceph-ansible-docs-prs/config/definitions/ceph-ansible-docs-prs.yml deleted file mode 100644 index 2dbe135f..00000000 --- a/ceph-ansible-docs-prs/config/definitions/ceph-ansible-docs-prs.yml +++ /dev/null @@ -1,53 +0,0 @@ -- job: - name: ceph-ansible-docs-pull-requests - disabled: true - node: (small && (centos8 || trusty)) || (vagrant && libvirt && smithi) - project-type: freestyle - defaults: global - display-name: 'ceph-ansible: docs pull requests' - quiet-period: 5 - block-downstream: false - block-upstream: false - retry-count: 3 - properties: - - build-discarder: - days-to-keep: -1 - num-to-keep: 10 - artifact-days-to-keep: -1 - artifact-num-to-keep: -1 - - github: - url: https://github.com/ceph/ceph-ansible - - parameters: - - string: - name: sha1 - description: "A pull request ID, like 'origin/pr/72/head'" - - triggers: - - github-pull-request: - allow-whitelist-orgs-as-admins: true - org-list: - - ceph - trigger-phrase: 'jenkins test docs' - # This is set so the job can be manually triggered or by the ceph-ansible-pipeline multijob - only-trigger-phrase: true - github-hooks: true - permit-all: true - auto-close-on-fail: false - status-context: "Docs" - started-status: "checking if docs build" - success-status: "docs built successfully " - failure-status: "docs could not build correctly" - - scm: - - git: - url: https://github.com/ceph/ceph-ansible - browser: auto - skip-tag: true - timeout: 20 - - builders: - - shell: - !include-raw: - - ../../../scripts/build_utils.sh - - ../../build/build diff --git a/ceph-dev-trigger/build/notify b/ceph-dev-trigger/build/notify deleted file mode 100644 index 27fa3cd8..00000000 --- a/ceph-dev-trigger/build/notify +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -ex - -# update shaman with the triggered build status. At this point there aren't any -# architectures or distro information, so we just report this with the current -# build information -BRANCH=`branch_slash_filter ${GIT_BRANCH}` -SHA1=${GIT_COMMIT} - -update_build_status "queued" "ceph" diff --git a/ceph-dev-trigger/config/definitions/ceph-dev-trigger.yml b/ceph-dev-trigger/config/definitions/ceph-dev-trigger.yml deleted file mode 100644 index 2b6df8f8..00000000 --- a/ceph-dev-trigger/config/definitions/ceph-dev-trigger.yml +++ /dev/null @@ -1,138 +0,0 @@ -- job: - disabled: true - name: ceph-dev-trigger - node: built-in - project-type: freestyle - defaults: global - quiet-period: 5 - block-downstream: false - block-upstream: false - properties: - - build-discarder: - days-to-keep: 1 - num-to-keep: 10 - artifact-days-to-keep: -1 - artifact-num-to-keep: -1 - - github: - url: https://github.com/ceph/ceph - discard-old-builds: true - - triggers: - - github - - scm: - - git: - url: https://github.com/ceph/ceph - browser: auto - branches: - - 'origin/main' - - 'origin/quincy' - - 'origin/reef' - - 'origin/squid' - skip-tag: true - timeout: 20 - wipe-workspace: true - - builders: - # build quincy on: - # default: focal centos8 leap15 - - conditional-step: - condition-kind: regex-match - regex: .*quincy.* - label: '${GIT_BRANCH}' - on-evaluation-failure: dont-run - steps: - - shell: - !include-raw: - - ../../../scripts/build_utils.sh - - ../../build/notify - - trigger-builds: - - project: 'ceph-dev' - predefined-parameters: | - BRANCH=${GIT_BRANCH} - FORCE=True - DISTROS=focal centos8 leap15 - # build reef on: - # default: jammy focal centos8 centos9 - # crimson: centos9 - - conditional-step: - condition-kind: regex-match - regex: .*reef.* - label: '${GIT_BRANCH}' - on-evaluation-failure: dont-run - steps: - - shell: - !include-raw: - - ../../../scripts/build_utils.sh - - ../../build/notify - - trigger-builds: - - project: 'ceph-dev' - predefined-parameters: | - BRANCH=${GIT_BRANCH} - FORCE=True - DISTROS=jammy focal centos8 centos9 - - project: 'ceph-dev' - predefined-parameters: | - BRANCH=${GIT_BRANCH} - FORCE=True - DISTROS=centos8 centos9 - FLAVOR=crimson - # build squid on: - # default: jammy focal centos8 centos9 - # crimson: centos8 centos9 - - conditional-step: - condition-kind: regex-match - regex: .*squid.* - label: '${GIT_BRANCH}' - on-evaluation-failure: dont-run - steps: - - shell: - !include-raw: - - ../../../scripts/build_utils.sh - - ../../build/notify - - trigger-builds: - - project: 'ceph-dev' - predefined-parameters: | - BRANCH=${GIT_BRANCH} - FORCE=True - DISTROS=jammy focal centos8 centos9 - - project: 'ceph-dev' - predefined-parameters: | - BRANCH=${GIT_BRANCH} - FORCE=True - DISTROS=centos9 - FLAVOR=crimson - # build main on: - # default: jammy focal centos8 centos9 - # crimson: centos9 - - conditional-step: - condition-kind: regex-match - regex: .*main.* - label: '${GIT_BRANCH}' - on-evaluation-failure: dont-run - steps: - - shell: - !include-raw: - - ../../../scripts/build_utils.sh - - ../../build/notify - - trigger-builds: - - project: 'ceph-dev' - predefined-parameters: | - BRANCH=${GIT_BRANCH} - FORCE=True - DISTROS=jammy focal centos8 centos9 - - project: 'ceph-dev' - predefined-parameters: | - BRANCH=${GIT_BRANCH} - FORCE=True - DISTROS=centos9 - FLAVOR=crimson - - wrappers: - - inject-passwords: - global: true - mask-password-params: true - - credentials-binding: - - text: - credential-id: shaman-api-key - variable: SHAMAN_API_KEY diff --git a/ceph-medic-tests/build/build b/ceph-medic-tests/build/build deleted file mode 100644 index e4c36d5f..00000000 --- a/ceph-medic-tests/build/build +++ /dev/null @@ -1,15 +0,0 @@ -# the following two methods exist in scripts/build_utils.sh -pkgs=( "tox" ) -TEMPVENV=$(create_venv_dir) -VENV=${TEMPVENV}/bin -install_python_packages $TEMPVENV "pkgs[@]" - -WORKDIR=$(mktemp -td tox.XXXXXXXXXX) - -cd $WORKSPACE/tests/functional - -delete_libvirt_vms -clear_libvirt_networks -restart_libvirt_services - -CEPH_MEDIC_DEV_BRANCH=$CEPH_MEDIC_BRANCH CEPH_ANSIBLE_BRANCH=$CEPH_ANSIBLE_BRANCH $VENV/tox -rv -e=$SCENARIO --workdir=$WORKDIR -- --provider=libvirt diff --git a/ceph-medic-tests/config/definitions/ceph-medic-tests.yml b/ceph-medic-tests/config/definitions/ceph-medic-tests.yml deleted file mode 100644 index 911e0671..00000000 --- a/ceph-medic-tests/config/definitions/ceph-medic-tests.yml +++ /dev/null @@ -1,64 +0,0 @@ -- project: - name: ceph-medic-tests - # disabled because it is broken with current ceph-ansible main and there - # is no active development going on - disabled: true - scenario: - - ansible2.3-nightly_centos7 - jobs: - - 'ceph-medic-tests-{scenario}' - -- job-template: - name: 'ceph-medic-tests-{scenario}' - node: vagrant && libvirt - project-type: freestyle - defaults: global - disabled: true - display-name: 'ceph-medic: Tests [{scenario}]' - quiet-period: 5 - block-downstream: false - block-upstream: false - retry-count: 3 - properties: - - github: - url: https://github.com/ceph/ceph-medic - - build-discarder: - days-to-keep: -1 - num-to-keep: -1 - artifact-days-to-keep: -1 - artifact-num-to-keep: -1 - - parameters: - - string: - name: CEPH_MEDIC_BRANCH - description: "The ceph-medic branch to test" - default: main - - - string: - name: CEPH_ANSIBLE_BRANCH - description: "The ceph-ansible branch to test" - default: main - - triggers: - - timed: '@daily' - - scm: - - git: - url: https://github.com/ceph/ceph-medic.git - branches: - - $CEPH_MEDIC_BRANCH - browser: auto - timeout: 20 - - builders: - - inject: - properties-content: | - SCENARIO={scenario} - - shell: - !include-raw-escape: - - ../../../scripts/build_utils.sh - - ../../build/build - - publishers: - - email: - recipients: aschoen@redhat.com adeza@redhat.com diff --git a/ceph-pr-arm-trigger/config/definitions/ceph-pr-arm-trigger.yml b/ceph-pr-arm-trigger/config/definitions/ceph-pr-arm-trigger.yml deleted file mode 100644 index eadecd0b..00000000 --- a/ceph-pr-arm-trigger/config/definitions/ceph-pr-arm-trigger.yml +++ /dev/null @@ -1,62 +0,0 @@ -- job: - name: ceph-pr-arm-trigger - node: built-in - # disabled for now because this is not passing the right BRANCH to - # `ceph-dev` which causes failures there - disabled: true - project-type: freestyle - defaults: global - quiet-period: 5 - block-downstream: false - block-upstream: false - properties: - - build-discarder: - days-to-keep: 15 - artifact-days-to-keep: -1 - artifact-num-to-keep: -1 - - github: - url: https://github.com/ceph/ceph - discard-old-builds: true - - triggers: - - github-pull-request: - allow-whitelist-orgs-as-admins: true - org-list: - - ceph - trigger-phrase: 'jenkins test arm' - only-trigger-phrase: false - github-hooks: true - permit-all: true - auto-close-on-fail: false - status-context: "arm build" - started-status: "building on arm" - success-status: "successfully built on arm" - failure-status: "could not build on arm" - - scm: - - git: - url: https://github.com/ceph/ceph - browser: auto - skip-tag: true - shallow-clone: true - timeout: 20 - wipe-workspace: true - - builders: - - trigger-builds: - # 'ceph-dev' uses ceph.git, where this PR would live at - - project: 'ceph-dev' - predefined-parameters: | - # XXX unsure if $GIT_BRANCH will translate correctly to the actual - # source of the PR - BRANCH=${GIT_BRANCH} - FORCE=True - DISTROS=bionic xenial centos7 - ARCHS="arm64" - # Do not post to chacra - THROWAWAY=True - - wrappers: - - inject-passwords: - global: true - mask-password-params: true diff --git a/ceph-pr-render-docs/build/build b/ceph-pr-render-docs/build/build deleted file mode 100644 index 4369850a..00000000 --- a/ceph-pr-render-docs/build/build +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -set -ex - -# This job is meant to be triggered from a Github Pull Request, only when the -# job is executed in that way a few "special" variables become available. So -# this build script tries to use those first but then it will try to figure it -# out using Git directly so that if triggered manually it can attempt to -# actually work. -PR_ID=$ghprbPullId - -# fallback to just using 'manual' if that ID is not available, for manually -# triggered builds -if [ -z "$ghprbPullId" ]; then - PR_ID="manual" -fi - -./admin/build-doc - -# publish docs to http://docs.ceph.com/ceph-prs/$PR_ID/ -mkdir -p "/var/ceph-prs/$PR_ID" -rsync -auv --delete build-doc/output/html/* "/var/ceph-prs/$PR_ID/" - -set +e -set +x - -# Cleanup docs rendered 90+ days ago -find /var/ceph-prs/ -mindepth 1 -maxdepth 1 -mtime +90 -exec rm -rvf {} \; - -echo -echo "Docs available to preview at:" -echo -echo " http://docs.ceph.com/ceph-prs/$PR_ID/" -echo diff --git a/ceph-pr-render-docs/config/definitions/ceph-pr-render-docs.yml b/ceph-pr-render-docs/config/definitions/ceph-pr-render-docs.yml deleted file mode 100644 index 5fc9b917..00000000 --- a/ceph-pr-render-docs/config/definitions/ceph-pr-render-docs.yml +++ /dev/null @@ -1,49 +0,0 @@ -- job: - name: ceph-pr-render-docs - disabled: true - display-name: 'ceph: Pull Requests Render Docs' - node: docs - project-type: freestyle - defaults: global - quiet-period: 5 - block-downstream: false - block-upstream: false - properties: - - github: - url: https://github.com/ceph/ceph - - build-discarder: - days-to-keep: 14 - discard-old-builds: true - - triggers: - - github-pull-request: - allow-whitelist-orgs-as-admins: true - org-list: - - ceph - cancel-builds-on-update: true - # this job is only triggered by explicitly asking for it - only-trigger-phrase: true - trigger-phrase: 'jenkins render docs.*' - github-hooks: true - permit-all: true - auto-close-on-fail: false - status-context: "Docs: render build" - started-status: "Docs: building to render" - success-status: "OK - docs rendered" - failure-status: "Docs: render failed with errors" - success-comment: "Doc render available at https://ceph--${ghprbPullId}.org.readthedocs.build/en/${ghprbPullId}/" - - scm: - - git: - url: https://github.com/ceph/ceph - browser: auto - branches: - - ${sha1} - refspec: +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/* - skip-tag: true - timeout: 20 - wipe-workspace: true - - builders: - - shell: - !include-raw: ../../build/build diff --git a/teuthology-docs/build/build b/teuthology-docs/build/build deleted file mode 100644 index fe1cbaee..00000000 --- a/teuthology-docs/build/build +++ /dev/null @@ -1,15 +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[@]" - -# create the docs build with tox -$VENV/tox -rv -e docs - -# publish docs to http://docs.ceph.com/docs/teuthology -rsync -auv --delete .tox/docs/tmp/html/* /var/teuthology/docs/ diff --git a/teuthology-docs/config/definitions/teuthology-docs.yml b/teuthology-docs/config/definitions/teuthology-docs.yml deleted file mode 100644 index b6d7f744..00000000 --- a/teuthology-docs/config/definitions/teuthology-docs.yml +++ /dev/null @@ -1,37 +0,0 @@ -- job: - name: teuthology-docs - disabled: true - node: docs - project-type: freestyle - defaults: global - display-name: 'Teuthology: Docs Build' - quiet-period: 5 - block-downstream: false - block-upstream: false - retry-count: 3 - properties: - - build-discarder: - days-to-keep: -1 - num-to-keep: -1 - artifact-days-to-keep: -1 - artifact-num-to-keep: -1 - - github: - url: https://github.com/ceph/teuthology - - triggers: - - github - - scm: - - git: - url: https://github.com/ceph/teuthology.git - branches: - - main - browser: auto - timeout: 20 - - builders: - - shell: - !include-raw: - - ../../../scripts/build_utils.sh - - ../../setup/setup - - ../../build/build diff --git a/teuthology-docs/setup/setup b/teuthology-docs/setup/setup deleted file mode 100755 index e4a3fb5d..00000000 --- a/teuthology-docs/setup/setup +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -set -ex - -APT_DEPS="libmysqlclient-dev libevent-dev libffi-dev libssl-dev pkg-config libvirt-dev" -# We don't have tty-less sudo on docs.ceph.com; these deps must be installed -# manually. -#sudo apt install $APT_DEPS