Skip to content

Conversation

briemcnally
Copy link
Contributor

What does this PR do?

Are there breaking changes in this PR?
No.

Any background context you want to provide?
Segment is migrating from Circle CI Enterprise to using Buildkite. We will maintain 2 CI workflows for a.js integrations. Buildkite will be used as our internal CI workflow. Our external CI flow for contractors will run on CirclCI cloud.

Is there parity with the server-side/android/iOS integration components (if applicable)?
N/A

Does this require a new integration setting? If so, please explain how the new setting works
N/A

Links to helpful docs and other external resources
* Buildkite User Guide
* Buildkite migration guide

@briemcnally briemcnally requested a review from a team as a code owner December 5, 2019 23:14
@briemcnally briemcnally changed the title Brie/buildkite Add Buildkite Config Dec 5, 2019
@briemcnally briemcnally requested a review from rbranson December 5, 2019 23:35
Copy link
Contributor

@CarlosMecha CarlosMecha left a comment

Choose a reason for hiding this comment

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

Left a comment. Thanks!

@@ -0,0 +1,44 @@
env:
SEGMENT_CONTEXTS: "snyk,npm,aws-credentials,ecr,saucelabs"
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we are going to need npm-publish (I think that's the name). It's a context with write access on NPM.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@CarlosMecha I talked with tooling and updated the npm context to npm-publish so it has read and write access, as well as pass the NPM_TOKEN env var to the plugin as well in the publish step.

Copy link
Contributor

@gpsamson gpsamson left a comment

Choose a reason for hiding this comment

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

🚒

@briemcnally briemcnally merged commit ab2ec4d into master Dec 10, 2019
briemcnally added a commit that referenced this pull request Dec 10, 2019
This was referenced Dec 10, 2019
@briemcnally briemcnally deleted the brie/buildkite branch December 18, 2019 20:28
patrickotoole pushed a commit to rockerbox/analytics.js-integrations that referenced this pull request Feb 27, 2020
* Initial buildkite config

* Test just build

* Fix interpolation issue

* Change docker image

* Change dockerfile

* Add user

* Add buildkite tests

* Fix user

* Combine build and test

*  Add Synk test

* Add saucelabs

* Add publish step and remove comments

* Remove circleci-enterprise

* Change npm context for read/write access
marinhero pushed a commit to Wootric/analytics.js-integrations-1 that referenced this pull request Apr 24, 2020
* Initial buildkite config

* Test just build

* Fix interpolation issue

* Change docker image

* Change dockerfile

* Add user

* Add buildkite tests

* Fix user

* Combine build and test

*  Add Synk test

* Add saucelabs

* Add publish step and remove comments

* Remove circleci-enterprise

* Change npm context for read/write access
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