Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:server-state/linux-raid-module
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludwig Richter committed Sep 26, 2019
2 parents 5b5e185 + 74506ae commit 8dec726
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ node_js:
- 10

script:
- npm install -g coveralls
- npm run lint
- npm run build
- npm test
- cat ./coverage/lcov.info | coveralls

notifications:
slack: serverstate:PcPgLd43m8TKiXrxfHb1mKff
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

[![Build Status](https://travis-ci.com/server-state/linux-raid-module.svg?branch=master)](https://travis-ci.com/server-state/linux-raid-module)
![GitHub](https://img.shields.io/github/license/server-state/linux-raid-module)
[![npm version](https://badge.fury.io/js/%40server-state%2Flinux-raid-module.svg)](https://badge.fury.io/js/%40server-state%2Flinux-raid-module)
[![Coverage Status](https://coveralls.io/repos/github/server-state/linux-raid-module/badge.svg?branch=master)](https://coveralls.io/github/server-state/linux-raid-module?branch=master)
![module type: official](https://img.shields.io/badge/module%20type-official-%23015ba0)
![npm (scoped)](https://img.shields.io/npm/v/@server-state/linux-raid-module)

This module parses the file /proc/mdstat generated from the Linux raid kernel module and extracts useful information, for example, raid name, current devices with their status, activities.

Expand Down
44 changes: 42 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "@server-state/linux-raid-module",
"version": "0.1.1",
"version": "0.1.2",
"description": "A module to view the current active raids based on /proc/mdstat generated by the linux-raid kernel module",
"main": "index.js",
"scripts": {
"test": "jest",
"test": "jest --coverage",
"lint": "eslint ./src ./tests",
"build": "webpack --config webpack.config.js --mode production"
},
Expand All @@ -19,6 +19,7 @@
},
"homepage": "https://github.com/server-state/linux-raid-module#readme",
"devDependencies": {
"coveralls": "^3.0.6",
"eslint": "^6.3.0",
"jest": "^24.9.0",
"pegjs": "^0.10.0",
Expand Down

0 comments on commit 8dec726

Please sign in to comment.