Skip to content

Image build script flag and remove 2.7 from travis, bug for serialize - #106

Merged
wild-endeavor merged 6 commits into
masterfrom
minor-cleanup
May 5, 2020
Merged

Image build script flag and remove 2.7 from travis, bug for serialize#106
wild-endeavor merged 6 commits into
masterfrom
minor-cleanup

Conversation

@wild-endeavor

@wild-endeavor wild-endeavor commented May 5, 2020

Copy link
Copy Markdown
Contributor

TL;DR

Minor switch in flytekit_build_image.sh and removing python 2.7 tests. Minor bug fix.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

Adding a switch to the image building script to not push even when a REGISTRY section is detected. Currently the behavior is that if a REGISTRY is present, it'll automatically be pushed. By not pushing users can build images locally, but still have the image tagged with the full name docker.io/corp/myworkflow:<sha>

Python 2.7 is no longer supported.

When the -f/--folder option is specified, only the Identifier file was being written there. We need to write both files there.

Tracking Issue

No issue, can create one, but minor cleanup only.

Follow-up issue

NA

@codecov-io

codecov-io commented May 5, 2020

Copy link
Copy Markdown

Codecov Report

Merging #106 into master will decrease coverage by 0.02%.
The diff coverage is 20.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #106      +/-   ##
==========================================
- Coverage   81.93%   81.91%   -0.03%     
==========================================
  Files         208      208              
  Lines       13377    13381       +4     
  Branches     1111     1113       +2     
==========================================
  Hits        10961    10961              
- Misses       2151     2155       +4     
  Partials      265      265              
Impacted Files Coverage Δ
flytekit/clis/sdk_in_container/serialize.py 35.78% <0.00%> (-1.58%) ⬇️
flytekit/__init__.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fe5b620...c149a23. Read the comment docs.

@wild-endeavor wild-endeavor changed the title Minor cleanup Image build script flag and remove 2.7 from travis May 5, 2020
@wild-endeavor wild-endeavor changed the title Image build script flag and remove 2.7 from travis Image build script flag and remove 2.7 from travis, bug for serialize May 5, 2020
@wild-endeavor
wild-endeavor merged commit dfa9461 into master May 5, 2020
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.

3 participants