PokeAPI / pokeapi

The Pokémon API
https://pokeapi.co
BSD 3-Clause "New" or "Revised" License
4.05k stars 921 forks source link

CICD OpenAPI #1076

Closed Naramsim closed 2 months ago

Naramsim commented 2 months ago

With the addition of drf-spectacular, jsonschema was also introduced as an indirect dependency. For some use cases it needs Rust. No compatible wheels are found for some architectures (armv6,armv7) and thus we had to install Rust and Cargo in the Dockerfile to compile these deps. Still ppc64ledoesn't build, so we remove support for it.

Generate Openapi schema in Circleci as a test.

Lastly, we make sure to build all the Docker images in a PR so not to be caught in this mistake again.

pokeapi-machine-user commented 2 months ago

A PokeAPI/api-data refresh has started. In ~45 minutes the staging branch of PokeAPI/api-data will be pushed with the new generated data.

The staging branch will be deployed in our staging environment and the entire API will be ready to review.

A Pull Request (master<-staging) will be also created at PokeAPI/api-data and assigned to the PokeAPI Core team to be reviewed. If approved and merged new data will soon be available worldwide at pokeapi.co.

pokeapi-machine-user commented 2 months ago

The updater script has finished its job and has now opened a Pull Request towards PokeAPI/api-data with the updated data.

The Pull Request can be seen deployed in our staging environment when CircleCI deploy will be finished (check the start time of the last build).