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

Remove auto-publishing on develop; add canary tool #954

Merged
merged 2 commits into from
May 25, 2021

Conversation

snario
Copy link
Contributor

@snario snario commented May 25, 2021

This pull request does two things:

  1. Removes the auto-publishing of new tagged npm packages and Docker images from merge to develop
  2. Introduces a new tool usable via the Actions tab on Github which allows a developer to publish npm versions and Docker images at a snapshot given a branch. For example: 0.0.0-canary-127312312 may be the tag name for every package.

(1) solves the issue of us needing to make changes to our code before we merge to master, which is true "stable" branch. (2) gives us the tool we need once (1) is done to still be able to test on k8s and other production-like environments.

@snario snario added the A-ci label May 25, 2021
@changeset-bot
Copy link

changeset-bot bot commented May 25, 2021

⚠️ No Changeset found

Latest commit: dad9a3f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR


on:
# enable users to manually trigger with workflow_dispatch
workflow_dispatch: {}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Comment on lines +53 to +54
yarn changeset version --snapshot
yarn changeset publish --tag canary
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@@ -3,7 +3,6 @@ name: Release
on:
push:
branches:
- develop
Copy link
Contributor Author

Choose a reason for hiding this comment

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

After this, we will only publish real versions once we merge to master like this

Copy link
Contributor

@gakonst gakonst left a comment

Choose a reason for hiding this comment

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

LGTM.

Copy link
Contributor

@optimisticben optimisticben left a comment

Choose a reason for hiding this comment

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

LGTM

@snario snario merged commit 3fa7bdb into develop May 25, 2021
@snario snario deleted the liam/no-release-on-develop branch May 25, 2021 14:28
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.

3 participants