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][Cypress][Bug] use default SOURCE inputs for checkout #5197

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

kavilla
Copy link
Member

@kavilla kavilla commented Oct 4, 2023

Description

#5134

Incorrectly uses the source of the code to pull down to BASE REF,
which would likely be main or 2.x, etc.

It should be pulling down the PR branch. Cypress tests at the time
of merging were failing due to unrelated issue of disk allocation.

Not setting the env variables causes the workflow to rely on the default
values which is a return back to the original implementation and if the
env is set then it will be not empty.

Issues Resolved

n/a

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
    • yarn test:ftr
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

@codecov
Copy link

codecov bot commented Oct 4, 2023

Codecov Report

Merging #5197 (37cbfd3) into main (c27d2f5) will not change coverage.
Report is 1 commits behind head on main.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #5197   +/-   ##
=======================================
  Coverage   66.76%   66.76%           
=======================================
  Files        3278     3278           
  Lines       62999    62999           
  Branches    10031    10031           
=======================================
  Hits        42059    42059           
  Misses      18473    18473           
  Partials     2467     2467           
Flag Coverage Δ
Linux_1 35.31% <ø> (ø)
Linux_2 55.24% <ø> (ø)
Linux_3 43.74% <ø> (ø)
Linux_4 35.42% <ø> (ø)
Windows_1 35.33% <ø> (ø)
Windows_2 55.20% <ø> (ø)
Windows_3 43.75% <ø> (ø)
Windows_4 35.42% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

opensearch-project#5134

Incorrectly uses the source of the code to pull down to BASE REF,
which would likely be `main` or `2.x`, etc.

It should be pulling down the PR branch. Cypress tests at the time
of merging were failing due to unrelated issue of disk allocation.

Not setting the env variables causes the workflow to rely on the default
values which is a return back to the original implementation and if the
env is set then it will be not empty.

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

do not set source env variables

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
@kavilla kavilla force-pushed the kavilla/ci/head_ref branch from 331f1aa to 37cbfd3 Compare October 4, 2023 05:33
@kavilla kavilla changed the title [CI][Cypress][Bug] fix source to use head_ref [CI][Cypress][Bug] use default SOURCE inputs for checkout Oct 4, 2023
@kavilla kavilla marked this pull request as ready for review October 4, 2023 05:34
@kavilla kavilla added the ci label Oct 4, 2023
@kavilla kavilla merged commit dc6a7ec into opensearch-project:main Oct 4, 2023
62 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 4, 2023
#5134

Incorrectly uses the source of the code to pull down to BASE REF,
which would likely be `main` or `2.x`, etc.

It should be pulling down the PR branch. Cypress tests at the time
of merging were failing due to unrelated issue of disk allocation.

Not setting the env variables causes the workflow to rely on the default
values which is a return back to the original implementation and if the
env is set then it will be not empty.

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
(cherry picked from commit dc6a7ec)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
kavilla pushed a commit that referenced this pull request Oct 4, 2023
#5134

Incorrectly uses the source of the code to pull down to BASE REF,
which would likely be `main` or `2.x`, etc.

It should be pulling down the PR branch. Cypress tests at the time
of merging were failing due to unrelated issue of disk allocation.

Not setting the env variables causes the workflow to rely on the default
values which is a return back to the original implementation and if the
env is set then it will be not empty.


(cherry picked from commit dc6a7ec)

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
willie-hung pushed a commit to willie-hung/OpenSearch-Dashboards that referenced this pull request Oct 5, 2023
opensearch-project#5134

Incorrectly uses the source of the code to pull down to BASE REF,
which would likely be `main` or `2.x`, etc.

It should be pulling down the PR branch. Cypress tests at the time
of merging were failing due to unrelated issue of disk allocation.

Not setting the env variables causes the workflow to rely on the default
values which is a return back to the original implementation and if the
env is set then it will be not empty.

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
Signed-off-by: Willie Hung <willie880201044@gmail.com>
SuZhou-Joe pushed a commit to SuZhou-Joe/OpenSearch-Dashboards that referenced this pull request Oct 7, 2023
opensearch-project#5134

Incorrectly uses the source of the code to pull down to BASE REF,
which would likely be `main` or `2.x`, etc.

It should be pulling down the PR branch. Cypress tests at the time
of merging were failing due to unrelated issue of disk allocation.

Not setting the env variables causes the workflow to rely on the default
values which is a return back to the original implementation and if the
env is set then it will be not empty.

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x ci Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry v2.11.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants