Skip to content

Commit

Permalink
Merge pull request #205 from ityuhui/yh-oa-ga-0905
Browse files Browse the repository at this point in the history
Support configuration of openapi-generator commit for client generation
  • Loading branch information
k8s-ci-robot committed Sep 5, 2023
2 parents 5ac5ff2 + e6a8089 commit ad9a050
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,21 @@ on:
kubernetesBranch:
type: string
required: true
description: 'The remote kubernetes release branch to fetch openapi spec. .e.g. "release-1.23"'
description: 'The remote kubernetes release branch to fetch openapi spec. e.g. "release-1.28"'
genCommit:
type: string
required: true
default: 'master'
description: 'The commit to use for the kubernetes-client/gen repo'
oagCommit:
type: string
required: true
default: 'master'
description: 'The commit to use for the OpenAPITools/openapi-generator repo. e.g. "v7.0.0"'
clientVersion:
type: string
required: true
default: '0.3.0'
default: '0.8.0'
description: 'Semvar to use for the version number'


Expand Down Expand Up @@ -57,7 +62,7 @@ jobs:
export PACKAGE_NAME="client"
# OpenAPI-Generator branch/tag to generate the client library
export OPENAPI_GENERATOR_COMMIT="master"
export OPENAPI_GENERATOR_COMMIT="${{ github.event.inputs.oagCommit }}"
export USERNAME=kubernetes
EOF
Expand Down

0 comments on commit ad9a050

Please sign in to comment.