Skip to content

[FR/P-UI] Release: Package #5278

Closed
Closed

Description

@matmair

Build Platform UI during package creation and include with release.

### Tasks
- [x] Build on all targets
- [x] Include in release
- [x] Cleanup enviroment (minimal footprin

Activity

  1. changed the title [-]Release: Package[/-] [+][FR/P-UI] Release: Package[/+] on Jul 18, 2023
  2. self-assigned this
    on Jul 18, 2023
  3. added
    CI
    setup
    on Jul 18, 2023
  4. modified the milestones: 1.0.0, 0.13.0 on Jul 18, 2023
  5. modified the milestones: horizon, 0.16.0 on Jul 7, 2024
  6. matmair commented on Jul 14, 2024

    @matmair
    MemberAuthor

    I would like to remove the possibility that users need to manually download the frontend bundle from GitHub - it is presenting problems with #7338.

    I have 2 ideas for that:

    1. provide a proxy service that gets and caches frontend archives
    2. push new frontend archives to GitHub external storage like a s3 bucket

    Both are trivial to build but add a bit of infrastructure. I would be willing to build and standup either solution. Thoughts @SchrodingersGat @wolflu05?

  7. SchrodingersGat commented on Jul 14, 2024

    @SchrodingersGat
    Member

    @matmair can you explain why #7338 is happening and what either 1) or 2) is solving?

  8. matmair commented on Jul 14, 2024

    @matmair
    MemberAuthor

    #7338 is a mixture of 2 things: the script assumes that git is present (which isn’t required on package installations) and than would have to get the frontend package from GitHub. The second part is an issue because you need to manually download the frontend package from GitHub Artifacts for non-tagged commits - see

    GitHub doesn't allow artifact downloads from anonymous users. Either download the following file

    All non-tagged versions need to manually get the frontend on bare metal or package installer methods. This was fine with PUI being in dev but it being the main UI this will break deployments.
    So we need a way to get the frontend without manual intervention. This can be done by either 1 or 2.

  9. wolflu05 commented on Jul 14, 2024

    @wolflu05
    Member

    I would be fine with both options, but if we choose the first, we need to know that gh artifacts are deleted after 90 days, which means that we could only provide builds for the users for the last 90 days. If they want to use an older version, they need to build them their self (is currently already the case).

  10. matmair commented on Jul 15, 2024

    @matmair
    MemberAuthor

    I have created a PR that shows where the current way is limited: #7655
    Important info: The package build context does not have a way to pass tokens in - so it can only use publicly available resources during the build process

  11. modified the milestones: 0.16.0, 0.17.0 on Aug 9, 2024
  12. matmair commented on Aug 9, 2024

    @matmair
    MemberAuthor

    This will have to be pushed back. I have privately tested 2 but it will take to long too get this into 0.16.0

  13. matmair commented on Nov 12, 2024

    @matmair
    MemberAuthor

    This works for release builds, maybe in the future there could be a warning if a build does not include PUI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

CIsetup

Type

No type

Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions