8000 ci: tag docker image with github run id by JoanFM · Pull Request #1679 · jina-ai/serve · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ci: tag docker image with github run id #1679

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

Merged
merged 2 commits into from
Jan 13, 2021
Merged

ci: tag docker image with github run id #1679

merged 2 commits into from
Jan 13, 2021

Conversation

JoanFM
Copy link
Contributor
@JoanFM JoanFM commented Jan 13, 2021

No description provided.

@JoanFM JoanFM requested a review from hanxiao as a code owner January 13, 2021 10:23
@jina-bot jina-bot added size/XS area/cicd This issue/PR affects the cicd pipeline area/housekeeping This issue/PR is housekeeping labels Jan 13, 2021
@codecov
Copy link
codecov bot commented Jan 13, 2021

Codecov Report

Merging #1679 (5143659) into master (5e1a423) will increase coverage by 0.24%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1679      +/-   ##
==========================================
+ Coverage   84.14%   84.39%   +0.24%     
==========================================
  Files         132      132              
  Lines        6831     6831              
==========================================
+ Hits         5748     5765      +17     
+ Misses       1083     1066      -17     
Impacted Files Coverage Δ
jina/jaml/parsers/executor/legacy.py 87.09% <100.00%> (ø)
jina/peapods/runtimes/jinad/api.py 85.52% <0.00%> (+11.18%) ⬆️

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 5e1a423...e934190. Read the comment docs.

@github-actions
Copy link
github-actions bot commented Jan 13, 2021

Latency summary

Current PR yields:

  • 😶 index QPS at 1534, delta to last 3 avg.: +3%
  • 😶 query QPS at 25, delta to last 3 avg.: -4%

Breakdown

Version Index QPS Query QPS
current 1534 25
0.9.13 1523 26
0.9.12 1455 25

Backed by latency-tracking. Further commits will update this comment.

Copy link
Member
@florian-hoenicke florian-hoenicke left a comment

Choose a reason for hiding this comment

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

makes sense. With this we handle build options differently.

Copy link
Member
@hanxiao hanxiao left a comment

Choose a reason for hiding this comment

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

  1. we dont have ${{ matrix.build_option }}, it is an empty value. This PR takes no effect.
  2. use {{env.GITHUB_RUN_ID}}, Unique ID, Safe String, no escaping required
ci.yaml: jina:test-pip${{env.GITHUB_RUN_ID}}
python: uses=f'docker://jina:test-pip{os.environ[GITHUB_RUN_ID]}'
tests/__init__.py: os.environ['GITHUB_RUN_ID']=''

ref: https://docs.github.com/en/free-pro-team@latest/actions/reference/environment-variables

@hanxiao hanxiao merged commit bfef4f0 into master Jan 13, 2021
@hanxiao hanxiao deleted the ci-tag-test-pip branch January 13, 2021 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cicd This issue/PR affects the cicd pipeline area/housekeeping This issue/PR is housekeeping size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0