Skip to content

Conversation

@Alan-eMartin
Copy link
Contributor

@Alan-eMartin Alan-eMartin commented Apr 14, 2025

Goal:

  • To create timely PR previews when contributing or updating demos.

Summary:

This pull request uses the new v2-build-demos and v2-deploy-demos workflows to:

  1. Build "modified" and new demos.
  2. Save them as artifacts.
  3. Deploy to the SWC database as previews.
  4. Post a comment with preview links.

Other changes:

  • Improved descriptions of inputs for workflows.

Testing:

I was required to fork the QML repo to push these workflows to master as workflow_run uses the workflow context from master.

Therefore, you can take a look at the following ran actions:
https://github.com/Alan-eMartin/qml/actions

Screenshot 2025-04-23 at 2 55 06 PM

@Alan-eMartin Alan-eMartin changed the base branch from dev to master April 14, 2025 21:27
Alan Martin added 2 commits April 15, 2025 09:07
@Alan-eMartin Alan-eMartin changed the base branch from master to v2 April 15, 2025 17:00
@Alan-eMartin Alan-eMartin changed the base branch from v2 to master April 15, 2025 17:46
@Alan-eMartin Alan-eMartin force-pushed the sc-85409-v-demos-are-built-on-pull-request branch from 106578f to 2c2fa46 Compare April 22, 2025 00:04
@Alan-eMartin Alan-eMartin changed the base branch from master to v2 April 23, 2025 18:07
@Alan-eMartin Alan-eMartin changed the base branch from v2 to master April 23, 2025 18:15
@Alan-eMartin Alan-eMartin changed the base branch from master to v2 April 23, 2025 18:47
@Alan-eMartin Alan-eMartin requested a review from josh146 April 23, 2025 18:50
Copy link
Collaborator

@doctorperceptron doctorperceptron left a comment

Choose a reason for hiding this comment

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

Nice @Alan-eMartin! 🥳 Left a few questions/comments, but overall looks great.

Alan-eMartin and others added 2 commits April 28, 2025 08:53
Co-authored-by: Paul Finlay <50180049+doctorperceptron@users.noreply.github.com>
Co-authored-by: Paul Finlay <50180049+doctorperceptron@users.noreply.github.com>
@Alan-eMartin Alan-eMartin requested a review from rashidnhm April 28, 2025 20:15
Copy link
Collaborator

@rashidnhm rashidnhm left a comment

Choose a reason for hiding this comment

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

Minor comments but LGTM 🚀

I am guessing teardown of the v1 pipeline will happen in a separate PR? Until then users will get in essence 2 previews built per PR?

@Alan-eMartin
Copy link
Contributor Author

Minor comments but LGTM 🚀

I am guessing teardown of the v1 pipeline will happen in a separate PR? Until then users will get in essence 2 previews built per PR?

Thanks for the review @rashidnhm!

No, not exactly. I will keep this in the v2 branch for the time being, and may disable the comment code for now, as frontend work is not completed for this change.

Essentially we will no longer be using gatsby on the frontend, and will be replacing it with NextJS

**Summary:**
Allow internal users to build and deploy **all** or a select list of
demos.

**Related GitHub Issues:**
Internal

---------

Co-authored-by: Paul Finlay <50180049+doctorperceptron@users.noreply.github.com>
@Alan-eMartin Alan-eMartin merged commit a775a1d into v2 Apr 29, 2025
9 checks passed
@Alan-eMartin Alan-eMartin deleted the sc-85409-v-demos-are-built-on-pull-request branch April 29, 2025 15:29
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.

4 participants