Skip to content

Commit

Permalink
Merge pull request #26 from tlaanemaa/updates_and_workflows
Browse files Browse the repository at this point in the history
Updates and workflows
  • Loading branch information
tlaanemaa committed Sep 4, 2021
2 parents d600283 + c8c8b46 commit 8308ab3
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 52 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/check-code.yml
@@ -0,0 +1,17 @@
name: check-code
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "14"
- run: npm ci
- run: npm run lint
- run: npm run test
- name: Publish to coveralls.io
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ github.token }}
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
# backup-docker [![Build Status](https://travis-ci.org/tlaanemaa/backup-docker.svg?branch=master)](https://travis-ci.org/tlaanemaa/backup-docker) [![Coverage Status](https://coveralls.io/repos/github/tlaanemaa/backup-docker/badge.svg)](https://coveralls.io/github/tlaanemaa/backup-docker)
# backup-docker [![Coverage Status](https://coveralls.io/repos/github/tlaanemaa/backup-docker/badge.svg)](https://coveralls.io/github/tlaanemaa/backup-docker)
_A simple command line tool to backup and restore docker container inspection results and their volumes_

The main idea of this package is to make backing up and restoring docker containers as easy as possible while avoiding backing up information that we can easily reproduce. This is achieved by backing up only the container's inspection files and the contents of their volumes. The inspection files can then be later used to recreate the same container, with the same settings, and the volume backups can be used to restore the contents of that container's volumes. This way we can have a backup of everything we would need to restore the container, while not bloating our backup files. All this of course assumes that the image is backed up elsewhere, as it usually is, like in a separate repository or DockerHub.
Expand Down
62 changes: 31 additions & 31 deletions package-lock.json

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

5 changes: 2 additions & 3 deletions package.json
Expand Up @@ -5,9 +5,8 @@
"main": "src/main.js",
"scripts": {
"start": "node bin/run.js",
"test": "npm run lint && jest --coverage --silent",
"lint": "eslint .",
"coveralls": "cat ./coverage/lcov.info | coveralls"
"test": "jest --coverage --silent",
"lint": "eslint ."
},
"bin": "./bin/run.js",
"engines": {
Expand Down

0 comments on commit 8308ab3

Please sign in to comment.