diff options
author | Dave Wallace <dwallacelf@gmail.com> | 2022-08-11 17:07:12 -0400 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2022-08-11 17:38:09 -0400 |
commit | a97057b8d053120616aaf764cd254e8b6407906a (patch) | |
tree | 26971590d00b95fe830c09ee1e12360a8ea1d434 /jjb/scripts/publish_docs.sh | |
parent | 2d13650a9bf7fb78763e2dd777e4f5d1aaa8aeb0 (diff) |
post 22.06 vpp job clean up
- Remove ubuntu-18.04 jobs
- Remove vpp 21.10 jobs
- Address TODO clean up now that 21.06 & 21.10
are no longer supported
- Remove unused jjb/hc2vpp (archived project)
Change-Id: I9da69fa175ebb647476916e9921f4149045408b4
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'jjb/scripts/publish_docs.sh')
-rwxr-xr-x | jjb/scripts/publish_docs.sh | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/jjb/scripts/publish_docs.sh b/jjb/scripts/publish_docs.sh index adc179668..891e57a7b 100755 --- a/jjb/scripts/publish_docs.sh +++ b/jjb/scripts/publish_docs.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright (c) 2021 Cisco and/or its affiliates. +# Copyright (c) 2022 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -45,22 +45,9 @@ if [[ ${JOB_NAME} == *merge* ]]; then ;; *"vpp-docs"*) vpp_release="$(${WORKSPACE}/build-root/scripts/version rpm-version)" - # TODO: Remove conditional statement when stable/2106 and - # stable/2110 are no longer supported - if [[ "${vpp_release::2}" -ge "22" ]] ; then - workspace_dir="${WORKSPACE}/build-root/docs/html" - else - workspace_dir="${WORKSPACE}/docs/_build/html" - fi + workspace_dir="${WORKSPACE}/build-root/docs/html" bucket_path="/vpp/${vpp_release}/" ;; - # TODO: Remove 'vpp-make-test-docs' when stable/2106 and - # stable/2110 are no longer supported - *"vpp-make-test-docs"*) - vpp_release="$(${WORKSPACE}/build-root/scripts/version rpm-version)" - workspace_dir="${WORKSPACE}/test/doc/build/html" - bucket_path="/vpp/${vpp_release}/vpp_make_test/html/" - ;; *) die "Unknown job: ${JOB_NAME}" esac |