Remove all obsolete docs jobs 85/128285/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Mon, 4 Apr 2022 15:34:57 +0000 (17:34 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Mon, 4 Apr 2022 15:35:28 +0000 (17:35 +0200)
This jobs must have been removed since F. was closed.

Issue-ID: DOC-782

Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: Ieabfc20bb79bd002b0c61ffca5746179bc48fcde

jjb/doc/doc-install-plantuml.sh [deleted file]
jjb/doc/doc-post-rtd.sh [deleted file]
jjb/doc/doc-templates-rtd.yaml [deleted file]
jjb/doc/doc.yaml

diff --git a/jjb/doc/doc-install-plantuml.sh b/jjb/doc/doc-install-plantuml.sh
deleted file mode 100644 (file)
index 0f5aedd..0000000
+++ /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 (file)
index 78b8d0b..0000000
+++ /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 (file)
index d4e5424..0000000
+++ /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
index f9f2cf2..ad3cea7 100644 (file)
@@ -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