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

ci: build 2.2.2 and use Galaxy v3 API #771

Merged
merged 1 commit into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion agent/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

_NAME = 'kubeinit'
_DESCRIPTION = 'The Kubeinit CLI'
_REVISION = '2.2.1'
_REVISION = '2.2.2'

kubeinit_revision = os.environ.get('KUBEINIT_REVISION', "")
if (kubeinit_revision != ""):
Expand Down
3 changes: 2 additions & 1 deletion ci/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ fi

namespace=kubeinit
name=kubeinit
all_published_versions=$(curl https://galaxy.ansible.com/api/v2/collections/$namespace/$name/versions/ | jq -r '.results' | jq -c '.[].version')

all_published_versions=$(curl https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/index/$namespace/$name/versions/?format=json | jq -r '.data' | jq -c '.[].version')
current_galaxy_version=$(cat kubeinit/galaxy.yml | shyaml get-value version)
current_galaxy_namespace=$(cat kubeinit/galaxy.yml | shyaml get-value namespace)
current_galaxy_name=$(cat kubeinit/galaxy.yml | shyaml get-value name)
Expand Down
2 changes: 1 addition & 1 deletion kubeinit/galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
namespace: kubeinit
name: kubeinit
version: 2.2.1
version: 2.2.2
readme: README.md
authors:
- Carlos Camacho <carloscamachoucv@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion ui/app/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
under the License.
"""

__version__ = "2.2.1"
__version__ = "2.2.2"
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kubeinit-ui",
"version": "2.2.1",
"version": "2.2.2",
"description": "Kubeinit UI",
"repository": {
"type": "git",
Expand Down
Loading