Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1030 from pohly/release-1.0-docs
Browse files Browse the repository at this point in the history
Release 1.0 docs
  • Loading branch information
avalluri authored Jul 19, 2021
2 parents e477f9f + 15a9e40 commit 906783a
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 11 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- release-0.7
- release-0.8
- release-0.9
- release-1.0

jobs:
build:
Expand All @@ -29,7 +30,7 @@ jobs:
echo "<meta http-equiv=\"refresh\" content=\"0; URL='0.9/index.html'\" />" >"$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)
Expand Down Expand Up @@ -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
Expand Down
21 changes: 12 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand All @@ -35,9 +36,10 @@ versions:
| 1.15 | CSIInlineVolume | unsupported <sup>3</sup>
| 1.16 | | unsupported <sup>4</sup>
| 1.17 | | unsupported <sup>5</sup>
| 1.18 | | supported
| 1.18 | | untested
| 1.19 | | supported
| 1.20 | | supported
| 1.21 | | supported

<sup>1</sup> Several relevant features are only available in alpha
quality in Kubernetes 1.13 and the combination of skip attach and
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion hack/merge-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 906783a

Please sign in to comment.