Skip to content

Commit

Permalink
use latest for client library
Browse files Browse the repository at this point in the history
  • Loading branch information
karmab committed Jan 22, 2024
1 parent 93e890d commit 374236b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion ailib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1548,7 +1548,6 @@ def create_deployment(self, cluster, overrides, force=False, debug=False):
self.update_hosts([], overrides)
self.update_cluster(cluster, overrides)
self.wait_cluster(cluster, 'ready')
sleep(10)
self.start_cluster(cluster)
self.wait_cluster(cluster)
info(f"Downloading Kubeconfig for Cluster {cluster} in current directory")
Expand Down
5 changes: 2 additions & 3 deletions assisted-service-client.spec
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@ assisted-installer python library
{{{ git_dir_setup_macro }}}

%build
# git checkout v2.27.0
curl https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.4.8/swagger-codegen-cli-2.4.8.jar > swagger-codegen-cli.jar
curl https://raw.githubusercontent.com/openshift/assisted-service/v2.27.0/swagger.yaml > swagger.yaml
# curl https://raw.githubusercontent.com/openshift/assisted-service/master/swagger.yaml > swagger.yaml
# curl https://raw.githubusercontent.com/openshift/assisted-service/v2.27.0/swagger.yaml > swagger.yaml
curl https://raw.githubusercontent.com/openshift/assisted-service/master/swagger.yaml > swagger.yaml
sed -i '/pattern:/d' swagger.yaml
echo '{"packageName" : "assisted_service_client", "packageVersion": "1.0.0"}' > swagger.spec
java -jar swagger-codegen-cli.jar generate --lang python --config swagger.spec --output build --input-spec swagger.yaml
Expand Down

0 comments on commit 374236b

Please sign in to comment.