-
Notifications
You must be signed in to change notification settings - Fork 359
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
Gh actions v31 setup #128
Gh actions v31 setup #128
Conversation
branches: ["v31"] | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: ["master"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrong branch?
.github/workflows/deploy-docker.yml
Outdated
NAMESPACE_NAME="swagger-oss" | ||
K8S_OBJECT_TYPE="daemonsets" | ||
K8S_OBJECT_NAME="swagger-petstore-31" | ||
DEPLOY_IMAGE="swaggerapi/swagger-petstore31:$SC_RELEASE_TAG" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check tags and image name in dockerhub, this is wrong, should be swaggerapi/petstore31
. Also wrong in corresponding file in master and possibly v2
CI/docker-release.sh
Outdated
docker push $DOCKER_PETSTORE_IMAGE_NAME:$SC_RELEASE_TAG | ||
docker push $DOCKER_PETSTORE_IMAGE_NAME:latest | ||
echo "docker images:" | ||
docker images | grep -i petstore3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be 31?
mvn versions:set -DnewVersion=$SC_VERSION | ||
mvn versions:commit | ||
|
||
##################### |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is meant to go through all files which have a ref to the version and update accordingly.
In case of v31 there are many. Do a search for 1.0.3
and add here the corresponding update scripts (test locally)
ALSO: need to update first manually everything to 1.0.4-SNAPSHOT, including pom
CI/publishRelease.py
Outdated
id = lastReleaseId(tag) | ||
payload = "{\"tag_name\":\"" + tag + "\", " | ||
payload += "\"draft\":" + "false" + ", " | ||
payload += "\"target_commitish\":\"" + "master" + "\"}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrong branch?
CI/releaseNotes.py
Outdated
result = "" | ||
|
||
baseurl = "https://api.github.com/repos/swagger-api/swagger-petstore/pulls/" | ||
content = ghApiClient.readUrl('repos/swagger-api/swagger-petstore/pulls?state=closed&base=master&per_page=100') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrong branch?
generally recheck all ref to branches not to point to master but to correct one
CI/releaseNotes.py
Outdated
payload += "\"body\":" + json.dumps(content) + ", " | ||
payload += "\"draft\":" + "true" + ", " | ||
payload += "\"prerelease\":" + "false" + ", " | ||
payload += "\"target_commitish\":\"" + "master" + "\"}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrong branch?
python $CUR/CI/publishRelease.py "$SC_RELEASE_TAG" | ||
|
||
##################### | ||
### update the version to next snapshot in maven project with set version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
like in prepare release address all needed files
No description provided.