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

packaging: Integrate github workflows to automate the air-gapping process of wave Tour #2199

Merged
merged 46 commits into from
Feb 12, 2024

Conversation

sulhicader
Copy link
Collaborator

The PR fulfills these requirements: (check all the apply)

  • It's submitted to the main branch.
  • When resolving a specific issue, it's referenced in the PR's title (e.g. feat: Add a button #xxx, where "xxx" is the issue number).
  • When resolving a specific issue, the PR description includes Closes #xxx, where "xxx" is the issue number.
  • If changes were made to ui folder, unit tests (make test) still pass.
  • New/updated tests are included

Closes #2180

@sulhicader sulhicader marked this pull request as ready for review January 31, 2024 09:43
Copy link
Collaborator

@mturoci mturoci left a comment

Choose a reason for hiding this comment

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

Thanks @sulhicader. Just 1 small comment from me and should be good to go!

run: |
echo "VERSION=${{ env.VERSION }}" >> "$GITHUB_OUTPUT"

- name: Make the folder structure
Copy link
Collaborator

Choose a reason for hiding this comment

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

This introduces unwanted code duplication as this code can also be found in make build-apps target. Please refactor so that we have a single make build-tour-app target that can be reused here and also in make build-apps.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good Suggestion. Thanks @mturoci

@mturoci mturoci merged commit 0c2ac5c into main Feb 12, 2024
2 checks passed
@mturoci mturoci deleted the feat/issue-2180 branch February 12, 2024 12:40
@mturoci
Copy link
Collaborator

mturoci commented Mar 13, 2024

@sulhicader
Copy link
Collaborator Author

@mturoci reason for the workflow failure is "ERROR: No matching distribution found for h2o_wave==1.1.1". Are there any time gap to install the h2o_wave latest release from the PYPI after publishing. As I understood some steps in release job of the workflow push the h2o_wave to PYPI. And the failed job start once the release job is finished.

@mturoci
Copy link
Collaborator

mturoci commented Mar 13, 2024

Yes, seems like the problem is PyPI needs more time between publish and subsequent download to serve the updated file.

@sulhicader
Copy link
Collaborator Author

One thing We can do is using the wheel file to install the h2o_wave. For docker images We only need the linux version. If it is same for the tour wave bundle publishing to the s3 then We can simply add an extra line to copy the whl file. Or another way came to my mind is, add an extra step with sleep command in failed job to delay the image building task if it is a short and known time to become the PYPI h2o_wave available.

@mturoci
Copy link
Collaborator

mturoci commented Mar 13, 2024

Installing from wheel sounds okay to me (for docker images only).

@sulhicader
Copy link
Collaborator Author

@mturoci fixed in #2289

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.

Integrate github workflows to automate the air-gapping process of Wave Tour App
2 participants