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

ci: fix cache path calculation #2792

Merged
merged 7 commits into from
Jan 17, 2022

Conversation

YangKeao
Copy link
Member

@YangKeao YangKeao commented Jan 14, 2022

Signed-off-by: YangKeao yangkeao@chunibyo.icu

Recent e2e test image build doesn't hit the cache, because of a bug in calculating the cache directory 😢 This PR solves two problems:

  1. The fake_image targets should depend on build-env, but not dev-env.
  2. The cache directory should be joined with an image name directory.

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
@ti-chi-bot
Copy link
Member

ti-chi-bot commented Jan 14, 2022

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • STRRL
  • cwen0

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@YangKeao
Copy link
Member Author

/run-e2e-tests

@YangKeao
Copy link
Member Author

/run-e2e-tests

1 similar comment
@YangKeao
Copy link
Member Author

/run-e2e-tests

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
@YangKeao
Copy link
Member Author

/run-e2e-tests

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
@ti-chi-bot ti-chi-bot added size/S and removed size/XS labels Jan 14, 2022
@YangKeao
Copy link
Member Author

/run-e2e-tests

@codecov
Copy link

codecov bot commented Jan 14, 2022

Codecov Report

Merging #2792 (d8c1641) into master (d37823e) will decrease coverage by 0.11%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2792      +/-   ##
==========================================
- Coverage   40.93%   40.82%   -0.12%     
==========================================
  Files         144      144              
  Lines       11747    11747              
==========================================
- Hits         4809     4796      -13     
- Misses       6574     6587      +13     
  Partials      364      364              
Impacted Files Coverage Δ
.../workflow/controllers/workflow_entry_reconciler.go 48.14% <0.00%> (-4.77%) ⬇️
pkg/selector/generic/mode.go 25.64% <0.00%> (-2.57%) ⬇️
pkg/workflow/controllers/utils.go 85.71% <0.00%> (-1.59%) ⬇️

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 d37823e...d8c1641. Read the comment docs.

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
@YangKeao
Copy link
Member Author

/run-e2e-tests

1 similar comment
@YangKeao
Copy link
Member Author

/run-e2e-tests

@YangKeao
Copy link
Member Author

/run-e2e-tests

1 similar comment
@YangKeao
Copy link
Member Author

/run-e2e-tests

@YangKeao YangKeao marked this pull request as ready for review January 14, 2022 10:13
@YangKeao YangKeao requested review from cwen0, STRRL and a team January 14, 2022 10:15
Copy link
Member

@STRRL STRRL left a comment

Choose a reason for hiding this comment

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

LGTM!

@STRRL
Copy link
Member

STRRL commented Jan 17, 2022

Should this PR be cheery-picked to release-2.1?

@YangKeao
Copy link
Member Author

Should this PR be cheery-picked to release-2.1?

No. build-script is only merged on master (which is expected, I think)

Copy link
Member

@cwen0 cwen0 left a comment

Choose a reason for hiding this comment

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

LGTM

@cwen0
Copy link
Member

cwen0 commented Jan 17, 2022

/merge

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

Commit hash: d1dd647

@ti-chi-bot ti-chi-bot merged commit 2278e54 into chaos-mesh:master Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants