Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

Deploy Storybook to stems.audius.co upon Stems commit to main#1543

Merged
nicoback2 merged 11 commits into
mainfrom
nkang--deploy-storybook-new-new
Jul 1, 2022
Merged

Deploy Storybook to stems.audius.co upon Stems commit to main#1543
nicoback2 merged 11 commits into
mainfrom
nkang--deploy-storybook-new-new

Conversation

@nicoback2

Copy link
Copy Markdown
Contributor

Description

Dragons

Is there anything the reviewer should be on the lookout for? Are there any dangerous changes?

How Has This Been Tested?

Tested by changing the regex to the name of this branch; here is the successful job: https://app.circleci.com/pipelines/github/AudiusProject/audius-client/6205/workflows/d920b8e6-c56f-40f3-a07a-55f8ba8cf2ae/jobs/48965

And the Storybook is up at stems.audius.co

Please describe the tests that you ran to verify your changes. Provide repro instructions & any configuration.

How will this change be monitored?

For features that are critical or could fail silently please describe the monitoring/alerting being added.

Feature Flags

Are all new features properly feature flagged? Describe added feature flags.

@nicoback2 nicoback2 requested a review from sliptype July 1, 2022 14:15
@nicoback2 nicoback2 changed the title Deploy Storybook to stems.audius.co upon commit to main Deploy Storybook to stems.audius.co upon Stems commit to main Jul 1, 2022

@sliptype sliptype left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Amazing! This is gonna be great for design peeps to have access to

Comment thread .circleci/src/jobs/@stems-jobs.yml Outdated
at: ./
- run:
name: install wrangler
command: "cd packages/stems && npm install @cloudflare/wrangler"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You shouldn't need quotes here and you can even break it into two lines using the | operator!

const isEmbed = pathname.startsWith('/embed')
const is204 = pathname === '/204'

if (isBot || isEmbed || is204) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We probably don't need a lot of this stuff, like the GA and sitemap logic

Comment thread .circleci/config.yml
packages/stems/.* run-stems-workflow true
.circleci/.* run-web-workflow true
.circleci/.* run-mobile-workflow true
.circleci/.* run-stems-workflow true

@sliptype sliptype Jul 1, 2022

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This isn't strictly necessary bc we don't have any CI that runs on stems conditionally, but good to have in case we ever add it

@audius-infra

Copy link
Copy Markdown
Collaborator

Preview this change https://demo.audius.co/nkang--deploy-storybook-new-new

@audius-infra

Copy link
Copy Markdown
Collaborator

Preview this change https://demo.audius.co/nkang--deploy-storybook-new-new

@nicoback2 nicoback2 merged commit 5c6ff15 into main Jul 1, 2022
@nicoback2 nicoback2 deleted the nkang--deploy-storybook-new-new branch July 1, 2022 16:51
@raymondjacobson raymondjacobson mentioned this pull request Jul 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants