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

Develop the CI/CD pattern for frontend that results in an NPM package published to NPM #36

Open
MikeTheCanuck opened this issue Mar 16, 2017 · 0 comments
Labels

Comments

@MikeTheCanuck
Copy link
Collaborator

MikeTheCanuck commented Mar 16, 2017

Latest discussion with @DavideDaniel resulted in some very clear expectations of the frontend Projects CI/CD pattern.

Most important is that each successful Travis build of a project should result in publishing a new package version to NPM. (These packages will then be consumed by the Platform Server, which will host all the server-side implementations of each project in a single Node.js server.)

This means we DevOps squad should shift our focus from the S3 deployment model we'd originally envisioned in class, to a model that runs some variation of "npm init" or "npm build" [or something - it wasn't clear to me what we need] and "npm publish" in the "after_success" stage of the Travis configuration.

Issues of namespacing each project's package haven't been nailed down yet, so let's leave ourselves flexible on package naming for now.

There is the theoretical possibility that some frontend Projects will also have static assets such as images to upload to S3 storage, but this is unlikely and shouldn't be the immediate focus of the first automation phase for frontend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant