commit 7358a6dbe26f39aac6acf6d00e9bdcd0b348ea56 Author: MultiFox200 Date: Wed Feb 26 17:28:56 2020 +0200 Initial commit diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..ec6599a --- /dev/null +++ b/.drone.yml @@ -0,0 +1,25 @@ +kind: pipeline +name: default +type: docker + +steps: +- name: slack-begin + image: plugins/slack + settings: + webhook: https://hooks.slack.com/services/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 + username: Drone + template: > + {{repo.name}}/{{build.branch}} - #{{build.number}} Started by {{build.author}} (<{{build.link}}|Open>) + +- name: build + image: node + commands: + - npm run build + +- name: slack-end + image: plugins/slack + settings: + webhook: https://hooks.slack.com/services/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 + username: Drone + template: > + {{repo.name}}/{{build.branch}} - #{{build.number}} {{uppercasefirst build.status}} after {{since build.started}} (<{{build.link}}|Open>) diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..017f194 --- /dev/null +++ b/build.sh @@ -0,0 +1,2 @@ +echo "Building..." +echo "Building done." diff --git a/package.json b/package.json new file mode 100644 index 0000000..cc2406f --- /dev/null +++ b/package.json @@ -0,0 +1,19 @@ +{ + "name": "drone-test-repo", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "build": "sh build.sh" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/MultiFox200/drone-test-repo.git" + }, + "author": "", + "license": "ISC", + "bugs": { + "url": "https://github.com/MultiFox200/drone-test-repo/issues" + }, + "homepage": "https://github.com/MultiFox200/drone-test-repo#readme" +}