From 535edfa2470473b3d246b67f6fab7a5e231fcbe2 Mon Sep 17 00:00:00 2001 From: Michele Degges Date: Mon, 28 Mar 2022 13:45:53 -0700 Subject: [PATCH] [RelAPI Onboarding] Add release API metadata file (#12591) --- .release/release-metadata.hcl | 6 ++++ .../content/docs/nia/release-notes/index.mdx | 12 +++++++ website/content/docs/releases/index.mdx | 10 ++++++ .../docs/releases/release-notes/index.mdx | 12 +++++++ .../release-notes/v1_10_0.mdx} | 0 .../release-notes/v1_11_0.mdx} | 0 .../release-notes/v1_9_0.mdx} | 0 website/data/docs-nav-data.json | 35 ++++++++++++++----- website/redirects.next.js | 15 ++++++++ 9 files changed, 81 insertions(+), 9 deletions(-) create mode 100644 .release/release-metadata.hcl create mode 100644 website/content/docs/nia/release-notes/index.mdx create mode 100644 website/content/docs/releases/index.mdx create mode 100644 website/content/docs/releases/release-notes/index.mdx rename website/content/docs/{release-notes/1-10-0.mdx => releases/release-notes/v1_10_0.mdx} (100%) rename website/content/docs/{release-notes/1-11-0.mdx => releases/release-notes/v1_11_0.mdx} (100%) rename website/content/docs/{release-notes/1-9-0.mdx => releases/release-notes/v1_9_0.mdx} (100%) diff --git a/.release/release-metadata.hcl b/.release/release-metadata.hcl new file mode 100644 index 0000000000..fedd5c53f9 --- /dev/null +++ b/.release/release-metadata.hcl @@ -0,0 +1,6 @@ +url_docker_registry_dockerhub = "https://hub.docker.com/r/hashicorp/consul" +url_docker_registry_ecr = "https://gallery.ecr.aws/hashicorp/consul" +url_license = "https://github.com/hashicorp/consul/blob/main/LICENSE" +url_project_website = "https://www.consul.io" +url_release_notes = "https://www.consul.io/docs/release-notes" +url_source_repository = "https://github.com/hashicorp/consul" \ No newline at end of file diff --git a/website/content/docs/nia/release-notes/index.mdx b/website/content/docs/nia/release-notes/index.mdx new file mode 100644 index 0000000000..f6936d891a --- /dev/null +++ b/website/content/docs/nia/release-notes/index.mdx @@ -0,0 +1,12 @@ +--- +layout: docs +page_title: Release Notes +description: |- + Consul-Terraform-Sync release notes +--- + +# Release Notes + +The side bar to the left has release notes for all major releases of CTS. + +Documentation for patch releases is available at the [Consul-Terraform-Sync changelog](https://github.com/hashicorp/consul-terraform-sync/blob/main/CHANGELOG.md). diff --git a/website/content/docs/releases/index.mdx b/website/content/docs/releases/index.mdx new file mode 100644 index 0000000000..0dae705918 --- /dev/null +++ b/website/content/docs/releases/index.mdx @@ -0,0 +1,10 @@ +--- +layout: docs +page_title: Releases +description: |- + Consul releases +--- + +# Downloads + +Downloads of Consul can be found on the [HashiCorp Release Page](https://github.com/hashicorp/consul/releases/). diff --git a/website/content/docs/releases/release-notes/index.mdx b/website/content/docs/releases/release-notes/index.mdx new file mode 100644 index 0000000000..839fe0bd28 --- /dev/null +++ b/website/content/docs/releases/release-notes/index.mdx @@ -0,0 +1,12 @@ +--- +layout: docs +page_title: Release Notes +description: |- + Consul release notes +--- + +# Release Notes + +The side bar to the left has release notes for all major releases of Consul. + +Documentation for patch releases (0.1.x) is available at the [Consul changelog](https://github.com/hashicorp/consul/blob/main/CHANGELOG.md). diff --git a/website/content/docs/release-notes/1-10-0.mdx b/website/content/docs/releases/release-notes/v1_10_0.mdx similarity index 100% rename from website/content/docs/release-notes/1-10-0.mdx rename to website/content/docs/releases/release-notes/v1_10_0.mdx diff --git a/website/content/docs/release-notes/1-11-0.mdx b/website/content/docs/releases/release-notes/v1_11_0.mdx similarity index 100% rename from website/content/docs/release-notes/1-11-0.mdx rename to website/content/docs/releases/release-notes/v1_11_0.mdx diff --git a/website/content/docs/release-notes/1-9-0.mdx b/website/content/docs/releases/release-notes/v1_9_0.mdx similarity index 100% rename from website/content/docs/release-notes/1-9-0.mdx rename to website/content/docs/releases/release-notes/v1_9_0.mdx diff --git a/website/data/docs-nav-data.json b/website/data/docs-nav-data.json index d0097e3875..2f5934a129 100644 --- a/website/data/docs-nav-data.json +++ b/website/data/docs-nav-data.json @@ -818,6 +818,10 @@ { "title": "Release Notes", "routes": [ + { + "title": "Overview", + "path": "nia/release-notes" + }, { "title": "v0.5.0", "path": "nia/release-notes/0-5-0" @@ -1145,19 +1149,32 @@ ] }, { - "title": "Release Notes", + "title": "Releases", "routes": [ { - "title": "1.11.0", - "path": "release-notes/1-11-0" + "title": "Overview", + "path": "releases" }, { - "title": "1.10.0", - "path": "release-notes/1-10-0" - }, - { - "title": "1.9.0", - "path": "release-notes/1-9-0" + "title": "Release Notes", + "routes": [ + { + "title": "Overview", + "path": "releases/release-notes" + }, + { + "title": "v1.11.0", + "path": "releases/release-notes/v1_11_0" + }, + { + "title": "v1.10.0", + "path": "releases/release-notes/v1_10_0" + }, + { + "title": "v1.9.0", + "path": "releases/release-notes/v1_9_0" + } + ] } ] }, diff --git a/website/redirects.next.js b/website/redirects.next.js index 00c51dab34..484d912a17 100644 --- a/website/redirects.next.js +++ b/website/redirects.next.js @@ -1239,4 +1239,19 @@ module.exports = [ destination: '/docs/k8s/operations/tls-on-existing-cluster', permanent: true, }, + { + source: '/docs/release-notes/1-11-0', + destination: '/docs/releases/release-notes/v1_11_0', + permanent: true, + }, + { + source: '/docs/release-notes/1-10-0', + destination: '/docs/releases/release-notes/v1_10_0', + permanent: true, + }, + { + source: '/docs/release-notes/1-9-0', + destination: '/docs/releases/release-notes/v1_9_0', + permanent: true, + }, ]