Skip to content
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

Multi-platform docker image #12533

Merged
merged 11 commits into from
Jun 23, 2023
Merged

Multi-platform docker image #12533

merged 11 commits into from
Jun 23, 2023

Conversation

d61h6k4
Copy link
Contributor

@d61h6k4 d61h6k4 commented Jun 20, 2023

Proposed changes:
Add multi-platform docker image build in CI
Bump version of the tensorflow (to have wheels for all required platforms)
Removes the tensorflow-addons (deprecated by tensorflow team, no wheel for arm)

Status (please check what you already did):

  • added some tests for the functionality
  • updated the documentation
  • updated the changelog (please check changelog for instructions)
  • reformat files using black (please check Readme for instructions)

sanchariGr and others added 8 commits June 14, 2023 19:15
Bump version of tensorflow

* Fix spacy version, bump the pydantic version because of explosion/spaCy#12659
* Fix ruff version because of new warnings
* Fix spacy<3.5 because of tests/nlu/extractors/test_spacy_entity_extractors.py
* Downgrade ruamel because of failing test tests/shared/nlu/training_data/formats/test_rasa_yaml.py::test_wrong_format_raises
Remove dependency on tensorflow-addons

Copy tests for crf and metrics
* Build both platforms on the same machine
Bump version of tensorflow

* Fix spacy version, bump the pydantic version because of explosion/spaCy#12659
* Fix ruff version because of new warnings
* Fix spacy<3.5 because of tests/nlu/extractors/test_spacy_entity_extractors.py
* Downgrade ruamel because of failing test tests/shared/nlu/training_data/formats/test_rasa_yaml.py::test_wrong_format_raises
Remove dependency on tensorflow-addons

Copy tests for crf and metrics
* Build both platforms on the same machine
@d61h6k4 d61h6k4 requested review from a team as code owners June 20, 2023 09:29
@d61h6k4 d61h6k4 requested review from rasa-aadlv and removed request for a team June 20, 2023 09:29
@github-actions
Copy link
Contributor

🚀 A preview of the docs have been deployed at the following URL: https://12533--rasahq-docs-rasa-v2.netlify.app/docs/rasa

Copy link
Contributor

@twerkmeister twerkmeister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previously reviewed separately for main

@d61h6k4 d61h6k4 merged commit 6212074 into 3.6.x Jun 23, 2023
@d61h6k4 d61h6k4 deleted the ENG-284-multi-platform-docker-image branch June 23, 2023 09:48
@@ -841,18 +839,15 @@ jobs:
if: github.event_name != 'pull_request'

- name: Set up QEMU
uses: docker/setup-qemu-action@e81a89b1732b9c48d79cd809d8d81d79c4647a18
uses: docker/setup-qemu-action@v2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please use SHA instead of a version number? Its part of the security measures, we should stick to SHA on all action versions. Thank you!

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.

4 participants