devfile / api

Kube-native API for cloud development workspaces specification
Apache License 2.0
261 stars 63 forks source link

Create new alpha version for devfile spec #1382

Open michael-valdron opened 11 months ago

michael-valdron commented 11 months ago

Which area/kind this issue is related to?

/kind task

/area api

Issue Description

The newest alpha version for the devfile spec 2.2.3-alpha has not been created yet. We need to create the new alpha version to update our latest schema to the next release.

The job publish-json-schema is failing due to the latest version of the spec being the latest stable version rather than the expected alpha version:

Traceback (most recent call last):
  File "/home/runner/work/api/api/devfile-web-repo/./python/src/api_workflow/api_workflow.py", line 322, in <module>
    main()
  File "/home/runner/work/api/api/devfile-web-repo/./python/src/api_workflow/api_workflow.py", line 294, in main
    stable_version = get_stable_version(inputted_version, release, path=config.stable_version)
  File "/home/runner/work/api/api/devfile-web-repo/./python/src/api_workflow/api_workflow.py", line 131, in get_stable_version
    assert compare_versions((inputted_version, "Inputted version"), (stable_version, "Stable version")) > 0, (
AssertionError: Version 2.2.2 is a stable version and cannot be updated unless theargument "--release" is passed

Acceptance Criteria

michael-valdron commented 11 months ago

/kind task

github-actions[bot] commented 8 months ago

This issue is stale because it has been open for 90 days with no activity. Remove stale label or comment or this will be closed in 60 days.

michael-valdron commented 8 months ago

Should be done to identify upcoming version changes.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 90 days with no activity. Remove stale label or comment or this will be closed in 60 days.