Commit Graph

86 Commits

Author SHA1 Message Date
Marcin Mielnicki
0d5b48bc64 "commits to be deployed" replaced "last deployed" (#1605) 2018-03-30 12:42:10 +02:00
Marcin Mielnicki
fe4ac0bf1c Log errors to Sentry (#1422) 2018-03-24 20:30:51 +01:00
Paul Melnikow
ea4b758612 Move service tests alongside code (#1563)
Per discussion in #1543
2018-03-20 18:32:48 -07:00
Paul Melnikow
e37668b392 We have no more pull requests to adopt (#1587)
We’ve cleared the backlog of pull requests needing adoption and closed the old ones out, so it seems best to remove this from the contributing guidelines.
2018-03-19 20:27:47 -04:00
Paul Melnikow
7d90391b05 Housekeeping after upgrade to Node 8 (#1564) 2018-03-18 13:34:15 -04:00
Paul Melnikow
ae848f38f4 Add snapshot tests for SVG and JSON (#1557)
These tests should fail if something is accidentally changed that affects the SVG or JSON files. In the case of deliberate changes, we can update the snapshots.
2018-03-11 09:07:03 -07:00
Danial
49574df0d1 [README.md] add logos (#1507) 2018-03-03 20:14:04 -05:00
Paul Melnikow
81560cb0c6 Set up CircleCI (including [github] tests) (#1338)
I don’t like that our build goes red on master all the time due to flaky service tests. I thought I’d look into other CI services that would make it possible to run the scheduled tests nightly without causing those messages to show up.

CircleCI, Heroku CI, and Codeship were obvious choices. Heroku CI wasn’t free and I didn’t have any experience with Codeship, so I looked into CircleCI. I’ve used their 1.0 system a lot though this was my first time on their 2.0 system. As with earlier versions, they’ve put a lot of work into making the build fast – perhaps more than any other CI system I’ve seen.

I had such good results, my goal shifted from scheduled daily builds (that don’t litter our commit history with red builds) to improving the CI experience as a whole.

This change made a big impact:

- Build logs load much, much faster. In the test I just ran, 22 seconds to < 2 seconds, a 90% improvement.
- Status of each step shows up right in the GitHub UI, which makes it much faster to see exactly what’s failed.
- Builds run about 50-75% faster on account of parallelism.
- GitHub service tests are fixed. This has been a long-standing issue.
- Ability to ssh into a build container to debug failures.

Here’s what I did:

- Created custom Docker images with our dependencies. To be honest, I’m not even sure these are necessary, only to install the greenkeeper-lockfile. We could get dejavu from npm. They make startup very fast.
- Created an npm-install stage which loads all dependencies into node_modules and caches them.
- Created separate stages for our main tests, service tests, and frontend tests, and stages to run the main tests and service tests in Node 6. These run in parallel, up to four at a time.
- Separated service test ID output from the service test results themselves. (I check these often during the PR process, when I confirm that service tests actually ran. Because the production Shields server caches the title, after updating it you can’t tell whether the update is taking effect.)
- Added a personal access token for the shields-ci user. This should actually fix the long-standing issue #979. CircleCI provides an option to “Pass secrets to builds from forked pull requests,” which means unlike Travis, they’ll give us enough rope to shoot ourselves in the foot.
- Schedule a daily build, which runs all the service tests.
2017-12-06 15:45:09 -05:00
Paul Melnikow
342e71ee65 Update docs re production builds (#1316) 2017-12-04 19:08:48 -05:00
Paul Melnikow
ce2ca922b2 Readme: Fix logo link
For #1301
2017-12-01 09:28:21 -05:00
tooomm
cda9dd35a1 readme: fix link (#1300)
- fixed link to github contributors from Open Collective template
- adjusted brackets around [contribute] to match style for backers and sponsors
2017-12-01 09:10:37 -05:00
Paul Melnikow
8fa751d0c5 Activating Open Collective (#1295)
See comments in #1250. Gratipay is shutting down.
2017-11-30 14:19:50 -05:00
Paul Melnikow
4b5bf03fea Rewrite frontend in React (#1273)
I rewrote the frontend in React using a module bundler. It's matched feature-for-feature with the current frontend, with only slight changes in the styling. I did not fuss about making the styling identical; the badge popup looks particularly different.

This makes the front end much easier to develop. I'm really looking forward to implementing #701, to which this paves the way.

This makes light use of Next.js, which provides webpack config and dev/build tooling. We’ll probably replace it with create-react-app or our own webpack setup because unfortunately it comes with a lot of runtime overhead (the build is 400k).

Let’s open new issues for bugs and features, and track other follow-ups here: https://github.com/badges/shields/projects/1
2017-11-28 11:34:17 -05:00
Paul Melnikow
a2f5cbb03a Push frontend to production servers at /index.html (#1222)
* Push frontend to production servers at /index.html

Local production builds will use local server instead of img.shields.io, to support local testing

* Restore https://img.shields.io to example URIs
2017-11-01 20:48:01 +01:00
Paul Melnikow
bde4d925f2 Retire try.html and create new dev + prod builds (#1194)
- Followup from #1163
- Retire try.html
- Separate build config for dev and production
    - Move config for badge examples into the JS build
- Move the prod transform into npm scripts
    - In the future this could be handled using a bundler plugin
- make website builds production build as before
- Run the production build in CI to make sure it’s working
- Build the frontend on Heroku
2017-10-28 14:02:45 -04:00
Paul Melnikow
748f80b438 Add new maintainer and update history
Based on info in https://github.com/badges/shields/pull/1129#discussion_r144972746
2017-10-18 15:10:21 -04:00
Marcin Mielnicki
f371c8fb07 On [Github] issues badge, add quotes around multi-word labels (#1178)
- Fix an alt name in readme
2017-10-17 18:11:27 -04:00
Paul Melnikow
5fbdc5e773 Docs: Cosmetic, link fixes, and copyedits (#1176) 2017-10-14 15:01:45 -04:00
Paul Melnikow
16045fdff8 Update documentation (#1129)
I wrote a new readme and contributing guidelines, and took a rough pass through the rest of the documentation.
2017-10-14 11:43:52 -04:00
Igor Šarčević
bce78921c8 Changing 'semaphoreapp.com' to 'semaphoreci.com' 2017-09-10 15:45:11 -07:00
Daniel Lo Nigro
896b2aab2f Add Discord badge to README 2017-05-01 14:30:44 -04:00
Michael Howell
3dd0f96f77 Add docs.rs as a standard-compliant service
![mio on docs.rs](https://docs.rs/mio/badge.svg)
2017-03-27 17:05:17 -04:00
Thaddee Tyl
4d937d859a Fix readme logo path 2017-02-16 23:19:33 +01:00
Thaddee Tyl
6258968d66 Restrain public files to the public/ folder
As raised by Adriaan (@agboom), the .github-user-tokens.json file was
incorrectly exposed, causing the risk of users' GitHub tokens to be used
by other entities for the purpose of increasing their rate limits by
pretending to be shields.io.
2017-02-05 13:40:06 +01:00
David A. Wheeler
4dc16c3019 Add CII Best Practices
Add a link to the Linux Foundation Core Infrastructure Initiative (CII)
  best practices badge, which uses the shields.io spec.
  To see this, visit: https://bestpractices.coreinfrastructure.org/
  and select "Projects".
2016-08-12 10:52:01 -04:00
Thaddee Tyl
2c30d62d10 Merge remote-tracking branch 'g105b/master' into codacy 2016-05-16 23:59:20 +02:00
Thaddee Tyl
e8a2b1ce8a Document custom badges more prominently
Fixes #663.
2016-04-08 23:57:22 +02:00
Greg Bowler
47ae3d85e2 Add Codacy to services list 2016-03-11 16:39:12 +00:00
Thaddee Tyl
215a59728c Shields Gratipay badge 2015-12-22 19:02:34 +01:00
Thaddee Tyl
d77af53cf6 HTTPS badges 2015-09-08 19:52:47 +02:00
Thaddee Tyl
6ed2f1ca58 readme: forkability 2015-09-02 19:43:14 +02:00
Thaddee Tyl
a7ccc5f2f7 Legal 2015-08-17 09:14:01 +02:00
Bracconiere
7ec07bc5ed embedded all links to corresponding text 2015-07-12 12:51:24 +02:00
Bracconiere
518576e56a The problem list as a table 2015-07-12 12:49:03 +02:00
Bracconiere
b032d81d75 Looks better without the *.md suffix 2015-07-12 12:49:03 +02:00
Bracconiere
1b72c86396 Minor cleanup and styling
1. Rasterized and lined up the Shields logo to leading badges and subtitle;
2. Alphabetized the user list;
3. Verified the official project names:
 * Scrutinizer, minus CI
 * Version Badge vs Gemfury/RubyGems
 * Badger vs BadgerBadgerBadger
 * SemVer vs semver
 * Gratipay vs gratipay
4. Bunched the documentation links into a list.
2015-07-12 12:49:03 +02:00
psampaz
4eadf0a068 Added phppackages.org to the list of services using Shields 2015-06-13 18:23:01 +00:00
Thaddee Tyl
238ddaa8e8 Readme: Mention gratipay instead of gittip 2015-05-06 22:42:03 +02:00
Thaddee Tyl
9babb873c1 Merge remote-tracking branch 'peterdavehello/patch-1' 2015-04-26 20:16:41 +02:00
Peter Dave Hello
59326cb4f8 Add dependencies badge, can warn about old dependencies and security issues 2015-04-24 15:03:18 +08:00
Olivier Lacan
ac4743fb43 Update outdated mention of upcoming SVG
We've had SVG for a while now. :-)
2015-04-16 22:46:11 +02:00
Nathan Youngman
e55c2bf140 add GoDoc to list of services using Shields 2015-01-03 14:13:42 -07:00
Thaddee Tyl
a69df8fb12 Readme: tech information at the top. 2014-10-25 19:45:30 +02:00
Thaddee Tyl
f45ba3f8d1 make test
See #269
2014-09-27 23:16:45 +02:00
bogdan
dc6c5c836a Update README.md 2014-07-08 21:22:38 +03:00
bogdan
820f3af562 Update README.md 2014-07-08 21:22:10 +03:00
Thaddee Tyl
6ca26a799c Omit trailing whitespace. 2014-06-23 10:25:08 +02:00
Giulio De Donato
96ab365a38 fixed font Dejavu sans
https://github.com/badges/shields/blob/master/templates/default-template.svg#L12
2014-06-22 13:58:17 +02:00
Thaddee Tyl
2f07405a3b Readme: mention VersionEye.
Part of issue #35.
2014-05-14 18:11:43 +02:00
eiriksm
3b570b4248 Fix typo in README.md 2014-04-29 19:31:14 +02:00