Skip to content

Commit

Permalink
Migration to github
Browse files Browse the repository at this point in the history
  • Loading branch information
binarymist committed Jan 12, 2021
1 parent b4762c2 commit e3b0762
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 41 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 15.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- run: npm ci
- run: npm run build --if-present
- run: npm run lint
- run: npm run test:nolint
- run: npm run test:coveralls

- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

21 changes: 0 additions & 21 deletions .gitlab-ci.yml

This file was deleted.

38 changes: 21 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,29 @@
<div align="center">
<br/>
<a href="https://purpleteam-labs.com" title="purpleteam">
<img width=900px src="https://gitlab.com/purpleteam-labs/purpleteam/raw/main/assets/images/purpleteam-banner.png" alt="purpleteam logo">
<img width=900px src="https://github.com/purpleteam-labs/purpleteam/blob/main/assets/images/purpleteam-banner.png" alt="purpleteam logo">
</a>
<br/>
<br/>
<h2>purpleteam orchestrator</h2><br/>
Orchestrator component of <a href="https://purpleteam-labs.com/" title="purpleteam">purpleteam</a> - Currently in alpha
<br/><br/>

<a href="https://gitlab.com/purpleteam-labs/purpleteam-orchestrator/commits/main" title="pipeline status">
<img src="https://gitlab.com/purpleteam-labs/purpleteam-orchestrator/badges/main/pipeline.svg" alt="pipeline status">
</a>

<a href="https://gitlab.com/purpleteam-labs/purpleteam-orchestrator/commits/main" title="test coverage">
<img src="https://gitlab.com/purpleteam-labs/purpleteam-orchestrator/badges/main/coverage.svg" alt="test coverage">
</a>

<a href="https://snyk.io/test/github/purpleteam-labs/purpleteam-orchestrator?targetFile=package.json" title="known vulnerabilities">
<img src="https://snyk.io/test/github/purpleteam-labs/purpleteam-orchestrator/badge.svg?targetFile=package.json" alt="known vulnerabilities"/>
</a>
<br/>
<h2>purpleteam orchestrator</h2><br/>
Orchestrator component of <a href="https://purpleteam-labs.com/" title="purpleteam">purpleteam</a> - Currently in alpha
<br/><br/>

<a href="https://www.gnu.org/licenses/agpl-3.0" title="license">
<img src="https://img.shields.io/badge/License-AGPL%20v3-blue.svg" alt="GNU AGPL">
</a>

<a href="https://github.com/purpleteam-labs/purpleteam-orchestrator/commits/main" title="pipeline status">
<img src="https://github.com/purpleteam-labs/purpleteam-orchestrator/workflows/Node.js%20CI/badge.svg" alt="pipeline status">
</a>

<a href='https://coveralls.io/github/purpleteam-labs/purpleteam-orchestrator?branch=main'>
<img src='https://coveralls.io/repos/github/purpleteam-labs/purpleteam-orchestrator/badge.svg?branch=main' alt='test coverage'>
</a>

<a href="https://snyk.io/test/github/purpleteam-labs/purpleteam-orchestrator?targetFile=package.json" title="known vulnerabilities">
<img src="https://snyk.io/test/github/purpleteam-labs/purpleteam-orchestrator/badge.svg?targetFile=package.json" alt="known vulnerabilities"/>
</a>

<br/><br/><br/>
</div>
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"deps": "npm-check",
"update:deps": "npm-check -u",
"test": "lab --assert @hapi/code --coverage",
"test:coveralls": "lab --assert @hapi/code --reporter lcov -o ./coverage/lcov.info",
"test:nolint": "lab --assert @hapi/code --coverage",
"test:debug": "node --inspect-brk ./node_modules/.bin/lab --assert @hapi/code --timeout 0",
"pretest": "npm run lint",
Expand Down Expand Up @@ -39,7 +40,7 @@
],
"repository": {
"type": "git",
"url": "git+https://gitlab.com/purpleteam-labs/purpleteam-orchestrator.git"
"url": "git+https://github.com/purpleteam-labs/purpleteam-orchestrator.git"
},
"keywords": [
"agile",
Expand Down Expand Up @@ -78,9 +79,9 @@
"author": "Kim Carter",
"license": "AGPL-3.0-only",
"bugs": {
"url": "https://gitlab.com/purpleteam-labs/purpleteam/issues"
"url": "https://github.com/purpleteam-labs/purpleteam/issues"
},
"homepage": "https://gitlab.com/purpleteam-labs/purpleteam-orchestrator/blob/master/README.md",
"homepage": "https://purpleteam-labs.com",
"dependencies": {
"@gar/hapi-json-api": "^3.1.0",
"@hapi/boom": "^9.1.0",
Expand Down

0 comments on commit e3b0762

Please sign in to comment.