-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
feat: synchronize ui folder with ui repository #21090
Conversation
c9ac04d
to
9d94bc0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will you delete all the UI source files from ui/
as part of this?
@danxmoran Parts of the UI source are still needed to run the e2e tests - when I tried deleting the |
…h_ui_assets.sh script
…Builder test on chrome
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already seeing some good wins on total CI time (apart from the deleted steps, build
is taking about half as long, and I think cross_build
is faster too). Nice work!
6b476f1
to
e78bc46
Compare
* feat: synchronize ui folder with ui repository * docs: updated README in /ui to reflect new UI asset build process * chore: update CHANGELOG * chore: re-worded CHANGELOG message and added trailing newline to fetch_ui_assets.sh script * fix: leveraged queryBuilder test code from ui repo to fix flaky queryBuilder test on chrome * docs: added comments to fetch_ui_assets script explaining where the assets come from * chore: empty commit to trigger CI
* feat: synchronize ui folder with ui repository (#21090) * feat: synchronize ui folder with ui repository * docs: updated README in /ui to reflect new UI asset build process * chore: update CHANGELOG * chore: re-worded CHANGELOG message and added trailing newline to fetch_ui_assets.sh script * fix: leveraged queryBuilder test code from ui repo to fix flaky queryBuilder test on chrome * docs: added comments to fetch_ui_assets script explaining where the assets come from * chore: empty commit to trigger CI * chore: update URL in fetch_ui_assets.sh to point to the correct release branch in ui repo * chore: update CHANGELOG
Related: influxdata/ui#212 & influxdata/idpe#8963
This change modifies the build process for
influxd
related to the UI assets. Pre-built UI assets will now be downloaded from tagged releases on theinfluxdata/ui
repository and embedded into theinfluxd
binary. This pull request includes modifications to theMakefile
in theui
folder necessary to accomplish this. It also includes adjustments to the e2e Cypress tests to allow them to work with the up-to-date UI from theinfluxdata/ui
repository. Test adjustments were made to update the tests to match the correct selectors and reduce "flakyness" of the tests.Efforts are being planned to integrate OSS with the
monitor-ci
e2e tests, see influxdata/ui#1007. Once this is complete, additional cleanup work can be done in theinfluxdata/influxdb
repository related to UI assets once the e2e tests do not need to be run out ofinfluxdata/influxdb
.