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

added 'import' tests and github actions for docker images #1090

Merged
merged 8 commits into from
Aug 19, 2020
Merged

added 'import' tests and github actions for docker images #1090

merged 8 commits into from
Aug 19, 2020

Conversation

kvignesh1420
Copy link
Member

@kvignesh1420 kvignesh1420 commented Aug 17, 2020

This PR addresses the issue: #1087 and is a follow up of PR: #1089

Github actions have been added to test the docker build and package import functionality on the Linux and MacOS platforms.

The tests include the following:

  • Build tfio-cpu image using cpu.Dockerfile and validate the tfio import in python.
  • Build tfio-dev image using devel.Dockerfile, build tfio from source using bazel and validate it's import in python.

@kvignesh1420 kvignesh1420 changed the title added basic tests and github actions for docker images added import tests and github actions for docker images Aug 17, 2020
@kvignesh1420 kvignesh1420 changed the title added import tests and github actions for docker images added 'import' tests and github actions for docker images Aug 18, 2020
@kvignesh1420 kvignesh1420 marked this pull request as draft August 18, 2020 05:34
@kvignesh1420
Copy link
Member Author

kvignesh1420 commented Aug 18, 2020

With the windows setup, was facing the following issue:

no matching manifest for windows/amd64 10.0.17763 in the manifest list entries

A StackOverflow thread suggested setting the docker experimental feature to true/ switch to linux containers (which needs a GUI), but not sure if it is possible in GitHub actions.

Additional Reference: actions/runner-images#1143

@kvignesh1420 kvignesh1420 marked this pull request as ready for review August 18, 2020 19:13
@kvignesh1420
Copy link
Member Author

cc: @yongtang for review

@yongtang
Copy link
Member

@kvignesh1420 The PR looks good! I think we might just simply remove the macOS build for docker, as macOS on GitHub Actions has not been super stable?

We only need to validate that docker container works (user will most likely use it on Linux). So removing macOS docker build on GitHub Actions should be fine.

Copy link
Member

@yongtang yongtang left a comment

Choose a reason for hiding this comment

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

LGTM

@yongtang yongtang merged commit 78d730e into tensorflow:master Aug 19, 2020
@kvignesh1420 kvignesh1420 deleted the docker-tests branch August 19, 2020 22:33
i-ony pushed a commit to i-ony/io that referenced this pull request Feb 8, 2021
…#1090)

* added basic tests and github actions

* removed -i option from docker run during tests

* updated docker test setup for mac and win

* removed win docker test

* modified docker tests on mac

* removed docker tests on macos

* added docker tests on macOS

* removed docker devel test in macos
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.

2 participants