Skip to content

CI/CD#12

Merged
abelfodil merged 5 commits intomasterfrom
cicd
Sep 9, 2020
Merged

CI/CD#12
abelfodil merged 5 commits intomasterfrom
cicd

Conversation

@abelfodil
Copy link
Copy Markdown
Contributor

Add CI for:

  • web (when pushing to master or a PR)
  • mobile (when pushing to master or a PR)

backend is missing unit tests, so no CI for now.

Multi-stage built (to reduce image size) Docker images have been added for:

  • web (nginx alpine)
  • backend (python + packages)

Add CD for:

  • web (docker release when pushing to master)
  • mobile (docker release when pushing to master)
  • backend (Android and iOS packages when pushing to master or to a PR)

A gRPC GitHub Action https://github.com/abelfodil/protoc-action/ has been created specifically for this project to support cross-platform + Dart plugin protobuf code generation. The Dart plugin is disabled by default and explicitly enabled for mobile release to reduce compute time in other stages.

Docker images are available on https://github.com/PolyCortex/polydodo/packages

For now, the iOS and Android bundles can be downloaded from the Mobile workflow page (see https://github.com/PolyCortex/polydodo/actions/runs/240936102 for instance).

@abelfodil abelfodil merged commit 56d70ce into master Sep 9, 2020
@abelfodil abelfodil deleted the cicd branch September 9, 2020 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant