Skip to content

Commit

Permalink
Merge pull request #771 from ccamacho/okd
Browse files Browse the repository at this point in the history
ci: build 2.2.2 and use Galaxy v3 API
  • Loading branch information
ccamacho authored Oct 20, 2023
2 parents 643abf8 + f2faad8 commit f28394e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
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

0 comments on commit f28394e

Please sign in to comment.