forked from OpenAPITools/openapi-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/OpenAPITools/openapi-gene…
…rator into OpenAPIToolsgh-1975-VI � Conflicts: � bin/spring-all-petstore.sh � modules/openapi-generator/src/test/java/org/openapitools/codegen/java/spring/SpringCodegenTest.java
- Loading branch information
Showing
11,512 changed files
with
226,342 additions
and
419,285 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
name: Docker Tag latest-release | ||
|
||
# Run every couple of days | ||
on: | ||
schedule: | ||
- cron: "* * */2 * *" | ||
|
||
jobs: | ||
# This pulls all containers for the last known release tag, and tags as latest-release or x-latest-release for shared repo | ||
tagLatestRelease: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
# Pull the code so we have git metadata | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
# This action will "unshallow" so we have all tag info | ||
- name: Get latest tag | ||
id: tagger | ||
uses: jimschubert/query-tag-action@v1 | ||
with: | ||
include: 'v*' | ||
exclude: '*-rc*' | ||
commit-ish: 'HEAD~' | ||
|
||
- name: DockerHub Login | ||
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin | ||
|
||
# Tags openapitools/openapi-generator-online, which is an automated build | ||
- name: "Tag openapi-generator-online:x" | ||
id: tag-openapi-generator-online | ||
run: | | ||
echo 'Tagging as latest-release: ${{steps.tagger.outputs.tag}}' | ||
docker pull openapitools/openapi-generator-online:${{steps.tagger.outputs.tag}} | ||
docker tag openapitools/openapi-generator-online:${{steps.tagger.outputs.tag}} openapitools/openapi-generator-online:latest-release | ||
docker push openapitools/openapi-generator-online:latest-release | ||
# Tags openapitools/openapi-generator's CLI image (this repo holds CLI + Online via tag prefix) | ||
- name: "Tag openapi-generator:cli-x" | ||
id: tag-cli | ||
run: | | ||
echo 'Tagging as latest-release: ${{steps.tagger.outputs.tag}}' | ||
docker pull openapitools/openapi-generator:cli-${{steps.tagger.outputs.tag}} | ||
docker tag openapitools/openapi-generator:cli-${{steps.tagger.outputs.tag}} openapitools/openapi-generator:cli-latest-release | ||
docker push openapitools/openapi-generator:cli-latest-release | ||
# Tags openapitools/openapi-generator's ONLINE image (this repo holds CLI + Online via tag prefix) | ||
- name: "Tag openapi-generator:online-x" | ||
id: tag-online | ||
run: | | ||
echo 'Tagging as latest-release: ${{steps.tagger.outputs.tag}}' | ||
docker pull openapitools/openapi-generator:online-${{steps.tagger.outputs.tag}} | ||
docker tag openapitools/openapi-generator:online-${{steps.tagger.outputs.tag}} openapitools/openapi-generator:online-latest-release | ||
docker push openapitools/openapi-generator:online-latest-release | ||
# Clean up docker credentials/configs/etc. | ||
- name: Cleanup | ||
if: always() | ||
run: | | ||
rm -f ${HOME}/.docker/config.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 0 additions & 31 deletions
31
...store/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools.Test/Org.OpenAPITools.Test.csproj
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
...t/src/Org.OpenAPITools.Test/obj/Debug/netcoreapp2.0/Org.OpenAPITools.Test.AssemblyInfo.cs
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
....OpenAPITools.Test/obj/Debug/netcoreapp2.0/Org.OpenAPITools.Test.AssemblyInfoInputs.cache
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
...e/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Org.OpenAPITools.Test.csproj
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
...e/src/Org.OpenAPITools.Test/obj/Debug/netcoreapp2.0/Org.OpenAPITools.Test.AssemblyInfo.cs
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
....OpenAPITools.Test/obj/Debug/netcoreapp2.0/Org.OpenAPITools.Test.AssemblyInfoInputs.cache
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.