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

First stab at CircleCI 2.0 beta config #610

Merged
merged 24 commits into from
Jan 9, 2017
Merged

First stab at CircleCI 2.0 beta config #610

merged 24 commits into from
Jan 9, 2017

Conversation

jordanh
Copy link
Contributor

@jordanh jordanh commented Jan 8, 2017

Changes webpack min and deploy options.

Added WEBPACK_MIN and WEBPACK_DEPLOY in lieu of DEPLOY and CI flags in webpack.config.prod.js. Changed circle.yml to use them. Pulled these changes from s3-user-assets branch.

jordanh and others added 18 commits December 25, 2016 11:51
Mysteries yet to solve:
   * Why doesn’t UserSettingsContainer update after mutation?
   * Why doesn’t the S3 object actually delete?
Build changes:
   * No longer builds client and server concurently, client
     depends on prerender.js
   * `npm run build:client-min` no longer deploys by default
   * `npm run build:deploy` is the hot new deployment command

S3 documentation captures these changes, and our S3 infrastructure setup.
Code review revisions:
   * use 1 validation for `Step1Schema` and `UpdatedUserSchema`
   * stop deleting old user images
   * rename `protoRelUrl` to `protocolRelativeUrl`
   * refactor extension of url in `protoRelUrl` for greater readability
   * use promisify in src/server/utils/s3.js
   * thunkify src/universal/components/FileInput/FileInput.js:11

Restored concurrency to `npm run build`.
Added build commands `build:min` and `build:deploy`.

Fixed #602
Now with:
   * content-length restriction
   * client & server type validation

Note: tackling multipart ended up being a headache. It'll take a few days. Hooking into the AWS API
request lifecycle to add Content-Length was a big breakthrough.
- [x] update src/server/graphql/models/User/userSchema.js:141 description
- [x] change createUserPutPictureUrl to only accept a MIME type arg, return URL
- [x] nuke unecessary rethinkdb access from createUserPutPictureUrl
- [x] propagate raven exceptions when avatar uploads fail on client
Changing webpack min and deploy options

Added WEBPACK_MIN and WEBPACK_DEPLOY in lieu of DEPLOY and CI flags in
webpack.config.prod.js.

Changed circle.yml to use them.

Pulled these changes from s3-user-assets branch.
@jordanh
Copy link
Contributor Author

jordanh commented Jan 8, 2017

@mattkrick a little snowy ❄️ Saturday hack session had me generate this new CircleCI 2.0 beta configuration. It is RAD.

This sucker lints, tests, build, and deploys.

This means any of us with merge rights will be able to merge to staging (and later production) and deploy code.

I'm stoked.

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.

2 participants