Skip to content

Commit

Permalink
add nightly ci stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
karmab committed Dec 21, 2023
1 parent 722a52a commit cbe7ffb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions assisted-service-client.spec
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +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/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 cbe7ffb

Please sign in to comment.