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

Update server to Node 8 #1543

Merged
merged 12 commits into from
Mar 12, 2018
Merged

Update server to Node 8 #1543

merged 12 commits into from
Mar 12, 2018

Conversation

paulmelnikow
Copy link
Member

@paulmelnikow paulmelnikow commented Mar 4, 2018

I just got word that the production servers are running Node 9.4.0! This is awesome!

Let's get our new service framework merged so we can plunge ahead with #1358.

Todos before merging (deploy blockers = merge blockers):

Todos after:

  • Update the tutorial
  • Move the tests and the services alongside each other… maybe something like this:
    • services/appveyor/appveyor.js (exports one or more services)
    • services/appveyor/appveyor.tester.js (exports a ServiceTester)
    • services/appveyor/appveyor.spec.js (describe()'s and it()'s for the helper functions, if any)
  • Comprehensive unit tests for BaseService
  • Update docs and check-node-version flags

Anything we should add?

Also, I'm assuming we will merge this using a regular merge workflow to keep the history. Alternatively we could rebase this first, with a new, cleaner history. That'll be a bit of work, though. Thoughts?

Daniel15 and others added 9 commits December 3, 2017 18:26
Squashed commit:

[f6cdac8] Oops, forgot server does not work in Node 9

[3046d79] Clear some more build errors

[dbd12fc] Get lint passing with async/await

[0a2deeb] Remove unneeded load-logos changes

[1b9ae44] Code review comments, and add basic unit test

[1593ea0] New API for registering services - v2
# Conflicts:
#	.travis.yml
#	package.json
- Adjust test grouping
- Rename data -> queryParams, text -> message
@paulmelnikow paulmelnikow added the core Server, BaseService, GitHub auth, Shared helpers label Mar 4, 2018
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-1543 March 4, 2018 21:35 Inactive
@RedSparr0w
Copy link
Member

RedSparr0w commented Mar 5, 2018

All sounds good to me,
Maybe for the merges just rebase/fixup the double master merges.
(may be more effort than it's worth though)

isValidStyle was removed in #1429, have opened #1544 which i think fixes it on this branch.

I like the idea of the tests and service being alongside each other.

@paulmelnikow
Copy link
Member Author

Thanks!

may be more effort than it's worth though

Yea, that's what I'm feeling. IIRC there were some conflicts which would have to be solved again.

I guess we could also squash. In the end, this is a pretty small diff.

@RedSparr0w RedSparr0w temporarily deployed to shields-staging-pr-1543 March 6, 2018 02:30 Inactive
@shields-ci
Copy link

shields-ci commented Mar 6, 2018

Warnings
⚠️

This PR modified package.json, but not package-lock.json - Perhaps you need to run npm install?

⚠️

This PR modified the server but none of the service tests. That's okay so long as it's refactoring existing code.

⚠️

This PR modified helper functions in lib/ but not accompanying tests. That's okay so long as it's refactoring existing code.

Messages
📖

✨ Thanks for your contribution to Shields, @paulmelnikow!

Generated by 🚫 dangerJS

# Conflicts:
#	package.json
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-1543 March 8, 2018 18:03 Inactive
I need to reinstall Docker to build these images. This is going to fail in CI until I can do that.
@paulmelnikow
Copy link
Member Author

Let's track the opens in #1358.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Server, BaseService, GitHub auth, Shared helpers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants