From: Cédric Ollivier Date: Mon, 4 Apr 2022 15:34:57 +0000 (+0200) Subject: Remove all obsolete docs jobs X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=095bdfe88c6618ae002d55d51aeb2a91b8f9e12d;p=ci-management.git Remove all obsolete docs jobs This jobs must have been removed since F. was closed. Issue-ID: DOC-782 Signed-off-by: Cédric Ollivier Change-Id: Ieabfc20bb79bd002b0c61ffca5746179bc48fcde --- diff --git a/jjb/doc/doc-install-plantuml.sh b/jjb/doc/doc-install-plantuml.sh deleted file mode 100644 index 0f5aedda5..000000000 --- a/jjb/doc/doc-install-plantuml.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -set -x -if [ ! -d /usr/share/plantuml ] - then - sudo mkdir -p /usr/share/plantuml - cd /usr/share/plantuml - sudo wget https://nexus.onap.org/service/local/repositories/central/content/net/sourceforge/plantuml/plantuml/8059/plantuml-8059.jar - sudo mv plantuml-8059.jar plantuml.jar - fi - -if [ ! -f /usr/bin/plantuml ] - then - sudo touch /usr/bin/plantuml - sudo chmod +w /usr/bin/plantuml - echo "#!/bin/bash" > /tmp/x.$$ - echo "java -jar /usr/share/plantuml/plantuml.jar \$@" >> /tmp/x.$$ - sudo cp /tmp/x.$$ /usr/bin/plantuml - sudo chmod +x /usr/bin/plantuml - fi diff --git a/jjb/doc/doc-post-rtd.sh b/jjb/doc/doc-post-rtd.sh deleted file mode 100644 index 78b8d0b56..000000000 --- a/jjb/doc/doc-post-rtd.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash -if [ "$GERRIT_BRANCH" == "master" ]; then - RTD_BUILD_VERSION=latest -else - RTD_BUILD_VERSION="${{GERRIT_BRANCH/\//-}}" -fi - -# shellcheck disable=SC1083 -curl -X POST \ - -d "branches=$RTD_BUILD_VERSION" \ - -d "token=$DOCS_RTD_TOKEN" \ - https://readthedocs.org/api/v2/webhook/{rtdproject} diff --git a/jjb/doc/doc-templates-rtd.yaml b/jjb/doc/doc-templates-rtd.yaml deleted file mode 100644 index d4e542404..000000000 --- a/jjb/doc/doc-templates-rtd.yaml +++ /dev/null @@ -1,162 +0,0 @@ ---- -- job-template: - # Job template for verifying Sphinx/Restructured Text for RTD - # - # The purpose of this job template is verify documentation source - # - # Required Variables: - # branch: git branch - # Optional Variables: - # path: directory containing the project's tox.ini relative to - # the workspace. The default is the project root. - - name: '{project-name}-{stream}-verify-rtd' - path: '$WORKSPACE' - - project-type: freestyle - concurrent: true - node: '{build-node}' - - properties: - - infra-properties: - build-days-to-keep: '{build-days-to-keep}' - - parameters: - - infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - maven-exec: - maven-version: '{maven-version}' - - scm: - - git: - credentials-id: '{jenkins-ssh-credential}' - url: '$GIT_BASE' - refspec: '' - choosing-strategy: 'default' - branches: - - 'refs/heads/{branch}' - skip-tag: true - wipe-workspace: true - submodule: - recursive: '{submodule-recursive}' - timeout: '24' - - wrappers: - - infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - server: '{server-name}' - project: '**' - branch: '{branch}' - files: 'docs/**/*.rst' - - timed: 'H H * * *' - - builders: - - shell: | - if [ "$GERRIT_PROJECT" != "doc" ]; then - if [ -d docs/submodules/$GERRIT_PROJECT.git ]; then - cd docs/submodules/$GERRIT_PROJECT.git - else - cd docs/submodules/$GERRIT_PROJECT - fi - git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD - else - git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD - fi - - shell: !include-raw: doc-install-plantuml.sh - - shell: | - #!/bin/bash - python3 -m venv $WORKSPACE/venv-tox - source $WORKSPACE/venv-tox/bin/activate - pip install --upgrade pip - pip install --upgrade tox argparse - pip freeze - cd $WORKSPACE/{path} - tox - mkdir -p "$WORKSPACE/archives" - mv docs/_build/html "$WORKSPACE/archives/" - - publishers: - - lf-infra-publish - -- job-template: - # Job template for merging/publishing Sphinx/Restructured Text at RTD - # - # The purpose of this job template is to trigger updates after - # a merge of documentation source in gerrit - # - # Required Variables: - # branch: git branch - # rtdproject: name of a project at readthedocs.io - # Optional Variables: - # path: directory containing the project's tox.ini relative to - # the workspace. The default is the project root. - - name: '{project-name}-{stream}-merge-rtd' - path: '$WORKSPACE' - - project-type: freestyle - concurrent: false - node: '{build-node}' - - properties: - - infra-properties: - build-days-to-keep: '{build-days-to-keep}' - - parameters: - - infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - maven-exec: - maven-version: '{maven-version}' - - scm: - - git: - credentials-id: '{jenkins-ssh-credential}' - url: '$GIT_BASE' - refspec: '' - choosing-strategy: 'default' - branches: - - 'refs/heads/{branch}' - skip-tag: true - wipe-workspace: true - submodule-recursive: '{submodule-recursive}' - - - wrappers: - - infra-wrappers: - build-timeout: '{build-timeout}' - - credentials-binding: - - text: - credential-id: docs-token - variable: DOCS_RTD_TOKEN - - triggers: - - gerrit: - server-name: '{server-name}' - trigger-on: - - change-merged-event - - comment-added-contains-event: - comment-contains-value: 'remerge' - projects: - - project-compare-type: 'ANT' - project-pattern: '**' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: docs/**/*.rst - - builders: - - shell: !include-raw: doc-post-rtd.sh - - publishers: - - lf-infra-publish diff --git a/jjb/doc/doc.yaml b/jjb/doc/doc.yaml index f9f2cf267..ad3cea7e0 100644 --- a/jjb/doc/doc.yaml +++ b/jjb/doc/doc.yaml @@ -5,22 +5,6 @@ views: - project-view -- project: - name: doc - project-name: 'doc' - python-version: python3 - jobs: - - '{project-name}-{stream}-verify-rtd': - build-node: centos7-docker-8c-8g - - '{project-name}-{stream}-merge-rtd' - - project: 'doc' - rtdproject: 'onap/58810/' - mvn-settings: 'doc-settings' - stream: - - frankfurt: - branch: 'frankfurt' - - project: name: doc-info project-name: doc