Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[e2e] [Task] Improve Harvester upgrade responder #385

Open
harvesterhci-io-github-bot opened this issue Jun 17, 2022 · 0 comments
Open

[e2e] [Task] Improve Harvester upgrade responder #385

harvesterhci-io-github-bot opened this issue Jun 17, 2022 · 0 comments
Labels

Comments

@harvesterhci-io-github-bot
Copy link

harvesterhci-io-github-bot commented Jun 17, 2022

What's the test to develop? Please describe

  1. Clone longhorn/upgrade-responder and checkout to v1.0.4.
  2. Replace response.json content with the following.
{
  "Versions": [
    {
      "Name": "v1.0.2",
      "ReleaseDate": "2022-06-15T00:00:00Z",
      "Tags": [
        "latest",
	"test",
	"dev"
      ]
    }
  ]
}
  1. Install InfluxDB v1.8.
  2. Run longhorn/upgrade-responder with the command:
go run main.go --debug start --upgrade-response-config config/response.json --influxdb-url http://localhost:8086 --geodb geodb/GeoLite2-City.mmdb --application-name harvester
  1. Change upgrade-checker-url setting to your upgrade-responder URL.
  2. Remove pods in deployment harvester-system/harvester to trigger check new versions.
  3. Open harvester dashboard. We can see upgrade button on it.

related issue: harvester/harvester#1849

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants