diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 87fd0c9de..8a7f68971 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -7,6 +7,7 @@ on:
- release-0.7
- release-0.8
- release-0.9
+ - release-1.0
jobs:
build:
@@ -29,7 +30,7 @@ jobs:
echo "" >"$HOME/output/index.html"
# "latest" used to be what "devel" is now, i.e. the documentation for the "devel"
# branch. Now it points to the latest stable release.
- ln -s 0.9 "$HOME/output/latest"
+ ln -s 1.0 "$HOME/output/latest"
- name: Build latest
run: |
GITHUB_SHA=$(git rev-parse HEAD)
@@ -67,6 +68,16 @@ jobs:
rm -rf _work/venv
make vhtml
mv _output/html $HOME/output/0.9
+ - uses: actions/checkout@v2
+ with:
+ ref: release-1.0
+ - name: Build release-1.0
+ run: |
+ GITHUB_SHA=$(git rev-parse HEAD)
+ export GITHUB_SHA
+ rm -rf _work/venv
+ make vhtml
+ mv _output/html $HOME/output/1.0
- name: Deploy the docs
run: |
cd $HOME/output
diff --git a/README.md b/README.md
index 2edcd611d..20cc75c6d 100644
--- a/README.md
+++ b/README.md
@@ -10,12 +10,13 @@ library](https://github.com/pmem/ndctl). In this readme, we use
*persistent memory* to refer to a non-volatile dual in-line memory
module (NVDIMM).
-The [v0.9 release](https://github.com/intel/pmem-csi/releases/latest)
+The [v1.0 release](https://github.com/intel/pmem-csi/releases/latest)
is the latest feature release and is [regularly updated](docs/DEVELOPMENT.md#release-management) with newer base images
-and bug fixes. Older releases are no longer supported.
+and bug fixes. 0.9 is still supported.
Documentation is part of the source code for each release and also
available in rendered form for easier reading:
+- [latest 1.0.x release](https://intel.github.io/pmem-csi/1.0/)
- [latest 0.9.x release](https://intel.github.io/pmem-csi/0.9/)
- [latest 0.8.x release](https://intel.github.io/pmem-csi/0.8/)
- [latest 0.7.x release](https://intel.github.io/pmem-csi/0.7/)
@@ -35,9 +36,10 @@ versions:
| 1.15 | CSIInlineVolume | unsupported 3
| 1.16 | | unsupported 4
| 1.17 | | unsupported 5
-| 1.18 | | supported
+| 1.18 | | untested
| 1.19 | | supported
| 1.20 | | supported
+| 1.21 | | supported
1 Several relevant features are only available in alpha
quality in Kubernetes 1.13 and the combination of skip attach and
@@ -80,12 +82,13 @@ The following table lists the features that are stable:
Feature | Introduced in
--------|--------------
-[LVM mode](docs/design.html#lvm-device-mode) | [v0.5.0](https://github.com/intel/pmem-csi/releases/tag/v0.5.0)
-[Direct mode](https://intel.github.io/pmem-csi/latest/docs/design.html#direct-device-mode) | [v0.5.0](https://github.com/intel/pmem-csi/releases/tag/v0.5.0)
-[Persistent volumes](https://intel.github.io/pmem-csi/latest/docs/design.html#volume-persistency) | [v0.5.0](https://github.com/intel/pmem-csi/releases/tag/v0.5.0)
-[CSI Ephemeral volumes](https://intel.github.io/pmem-csi/latest/docs/design.html#volume-persistency) | [v0.6.0](https://github.com/intel/pmem-csi/releases/tag/v0.6.0)
-[Raw block volumes](https://intel.github.io/pmem-csi/latest/docs/install.html#raw-block-volumes) | [v0.6.0](https://github.com/intel/pmem-csi/releases/tag/v0.6.0)
-[Capacity-aware pod scheduling](https://intel.github.io/pmem-csi/latest/docs/design.html#capacity-aware-pod-scheduling) | [v0.7.0](https://github.com/intel/pmem-csi/releases/tag/v0.7.0)
+[LVM mode](docs/design.md#lvm-device-mode) | [v0.5.0](https://github.com/intel/pmem-csi/releases/tag/v0.5.0)
+[Direct mode](docs/design.md#direct-device-mode) | [v0.5.0](https://github.com/intel/pmem-csi/releases/tag/v0.5.0)
+[Persistent volumes](docs/design.md#volume-persistency) | [v0.5.0](https://github.com/intel/pmem-csi/releases/tag/v0.5.0)
+[CSI Ephemeral volumes](docs/design.md#volume-persistency) | [v0.6.0](https://github.com/intel/pmem-csi/releases/tag/v0.6.0)
+[Raw block volumes](docs/install.md#raw-block-volumes) | [v0.6.0](https://github.com/intel/pmem-csi/releases/tag/v0.6.0)
+[Capacity-aware pod scheduling](docs/design.md#capacity-aware-pod-scheduling) | [v0.7.0](https://github.com/intel/pmem-csi/releases/tag/v0.7.0)
+[Operator API](docs/install.md#pmem-csi-deployment-crd) | [v0.9.0](https://github.com/intel/pmem-csi/releases/tag/v0.9.0)
Release notes are prepared only for major new releases (such as v0.6.0)
but not for automatic updates (such as v0.6.1). For more information on
diff --git a/conf.json b/conf.json
index 07eb8aef2..045f67e25 100644
--- a/conf.json
+++ b/conf.json
@@ -20,6 +20,7 @@
"sphinx_copybutton"
],
"linkcheck_ignore": [
+ "https://intel.github.io/pmem-csi/1.0/",
".*cloudnative-k8sci.southcentralus.cloudapp.azure.com.*"
],
"linkcheck_anchors_ignore": [
diff --git a/hack/merge-release.sh b/hack/merge-release.sh
index ac8ee1547..b5b6608a1 100755
--- a/hack/merge-release.sh
+++ b/hack/merge-release.sh
@@ -17,7 +17,7 @@
# release branch.
git fetch origin
-head_tree=$(git show --pretty=format:%T HEAD)
+head_tree=$(git show --no-patch --pretty=format:%T HEAD)
head_commit=$(git rev-parse HEAD)
latest_release=$(git branch -r | grep 'origin/release-[0-9]*\.[0-9]*' | sort -n | tail -n 1)
release_commit=$(git rev-parse ${latest_release})