Page MenuHomeVyOS Platform

Prevent automated publication of releases that weren't yet hand-tested
Resolved (N/A)Public

Description

As @c-po pointed out, we've been having quite a few less-than-pleasant situations with releases appearing on the vyos.net/get/snapshots page and then disappearing from it.
In all cases, the situation was like this: a script published an image it wasn't supposed to publish (either at all or yet) and I had to remove it from the page by hand.

This is confusing for the users. It's also inconvenient for the maintainers not to have easy access to the links to the latest pre-release snapshot though.

I suggest the following solution:

  • Create a separate "production" branch in the community.vyos.net repository. Only deploys from that branch will go to https://vyos.net
  • Create a separate staging.vyos.net domain.
  • Create a separate "staging" build profile that will inject a prominent warning in every page about it being a preview version only, so that no one confuses it with the "real" website. Set the main branch workflow to deploy to staging.vyos.net
  • Exclude the staging.vyos.net website from search engine indexing and everything we can exclude it from.

Then we can safely have any bugs in the website build scripts. When we are happy with the staging website, we will merge the main branch into "production" to trigger a production deploy.

Thoughts?

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Internal change (not visible to end users)

Event Timeline

Now that we have a staging version of the website, this is no longer an issue.

SrividyaA changed the task status from Resolved to Resolved N/A.Aug 31 2021, 3:41 PM
SrividyaA set Issue type to Internal change (not visible to end users).