kubernetes-sigs / release-notes

This repo contains tooling around generating and publishing release notes for the Kubernetes organization.
https://relnotes.k8s.io
Apache License 2.0
52 stars 67 forks source link

Website is crashing #691

Open ashnehete opened 2 hours ago

ashnehete commented 2 hours ago

It is because the release-notes-index.json pattern has changed. Which we relied on to fetch all the remote release notes. I'm still trying to figure out why it changed and how to fix it, but opening this issue to start the conversation.

ashnehete commented 2 hours ago

The file is storing gibberish URLs at the moment which seems to be fixed with the latest one:

{
  ...
  "v1.30.0-rc.1": "https://storage.googleapis.com/https://storage.googleapis.com/https://dl.k8s.io/release/v1.30.0-rc.1/release-notes.json",
  "v1.30.0-rc.2": "https://storage.googleapis.com/https://storage.googleapis.com/https://dl.k8s.io/release/v1.30.0-rc.2/release-notes.json",
  "v1.30.1": "https://storage.googleapis.com/https://storage.googleapis.com/https://dl.k8s.io/release/v1.30.1/release-notes.json",
  "v1.30.2": "https://storage.googleapis.com/https://storage.googleapis.com/https://dl.k8s.io/release/v1.30.2/release-notes.json",
  "v1.30.3": "https://storage.googleapis.com/https://storage.googleapis.com/https://dl.k8s.io/release/v1.30.3/release-notes.json",
  "v1.30.4": "https://storage.googleapis.com/https://storage.googleapis.com/https://dl.k8s.io/release/v1.30.4/release-notes.json",
  "v1.30.5": "https://storage.googleapis.com/https://storage.googleapis.com/https://dl.k8s.io/release/v1.30.5/release-notes.json",
  "v1.30.6": "https://storage.googleapis.com/https://storage.googleapis.com/https://dl.k8s.io/release/v1.30.6/release-notes.json",
  "v1.31.0": "https://storage.googleapis.com/https://storage.googleapis.com/https://dl.k8s.io/release/v1.31.0/release-notes.json",
  "v1.31.0-alpha.1": "https://storage.googleapis.com/https://storage.googleapis.com/https://dl.k8s.io/release/v1.31.0-alpha.1/release-notes.json",
  "v1.31.0-alpha.2": "https://storage.googleapis.com/https://storage.googleapis.com/https://dl.k8s.io/release/v1.31.0-alpha.2/release-notes.json",
  "v1.31.0-alpha.3": "https://storage.googleapis.com/https://storage.googleapis.com/https://dl.k8s.io/release/v1.31.0-alpha.3/release-notes.json",
  "v1.31.0-beta.0": "https://storage.googleapis.com/https://storage.googleapis.com/https://dl.k8s.io/release/v1.31.0-beta.0/release-notes.json",
  "v1.31.0-rc.0": "https://storage.googleapis.com/https://storage.googleapis.com/https://dl.k8s.io/release/v1.31.0-rc.0/release-notes.json",
  "v1.31.0-rc.1": "https://storage.googleapis.com/https://storage.googleapis.com/https://dl.k8s.io/release/v1.31.0-rc.1/release-notes.json",
  "v1.31.2": "https://storage.googleapis.com/https://storage.googleapis.com/https://dl.k8s.io/release/v1.31.2/release-notes.json",
  "v1.32.0-alpha.1": "https://storage.googleapis.com/https://storage.googleapis.com/https://dl.k8s.io/release/v1.32.0-alpha.1/release-notes.json",
  "v1.32.0-alpha.2": "https://storage.googleapis.com/https://storage.googleapis.com/https://dl.k8s.io/release/v1.32.0-alpha.2/release-notes.json",
  "v1.32.0-alpha.3": "https://storage.googleapis.com/https://dl.k8s.io/release/v1.32.0-alpha.3/release-notes.json",
  "v1.32.0-beta.0": "https://dl.k8s.io/release/v1.32.0-beta.0/release-notes.json"
}
ashnehete commented 2 hours ago

Opened issue in https://github.com/kubernetes/release/issues/3833

ashnehete commented 2 hours ago

Once this is fixed, there is also the issue of CORS not enabled over dl.k8s.io. That is the reason we went with cdn.dl.k8s.io before.