--- /dev/null
+#!/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
--- /dev/null
+2.jenkins.ceph.com
--- /dev/null
+- 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
--- /dev/null
+#!/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"
--- /dev/null
+- 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
--- /dev/null
+# 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
--- /dev/null
+- 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
--- /dev/null
+- 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
--- /dev/null
+#!/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
--- /dev/null
+- 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
--- /dev/null
+#!/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/
--- /dev/null
+- 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
--- /dev/null
+#!/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
+++ /dev/null
-#!/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
+++ /dev/null
-2.jenkins.ceph.com
+++ /dev/null
-- 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
+++ /dev/null
-#!/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"
+++ /dev/null
-- 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
+++ /dev/null
-# 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
+++ /dev/null
-- 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
+++ /dev/null
-- 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
+++ /dev/null
-#!/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
+++ /dev/null
-- 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
+++ /dev/null
-#!/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/
+++ /dev/null
-- 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
+++ /dev/null
-#!/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