Commit Graph

18 Commits

Author SHA1 Message Date
Andreas Heim
dc9c79d987 Added test cases for get-payload and get-task 2019-06-14 13:39:11 -04:00
Andreas Heim
f95f6fe703 Merge branch 'master' into add_tests 2019-06-14 13:04:38 -04:00
Andreas Heim
5a21d2d987 more descriptive tests 2019-06-14 13:03:16 -04:00
Andreas Heim
ed9d88da3a Initial attempt at BATS tests 2019-06-12 23:45:38 -04:00
Andreas Heim
d62fe6d579 use posix compliant brackets 2019-06-12 22:51:23 -04:00
Andreas Heim
56be80e3e8 Doing an if payload parameter is not set 2019-06-12 22:04:19 -04:00
Andreas Heim
bdf9f18ffe Adding support to get payload parameters and to get the deploy task 2019-06-07 16:04:24 -04:00
Andreas Heim
fcb3058ed2 Accidentally commented out something important :-/ 2019-06-05 15:21:42 -04:00
Andreas Heim
3191078be1 Change status to failure instead of error 2019-06-05 15:09:14 -04:00
Andreas Heim
cecb9cdd25 Update header so one can send statuses 2019-06-05 15:08:37 -04:00
Tair Assimov
351774ade8 Pass deployment metadata when creating status (#9)
* Pass deployment metadata when creating status

- Set target_url to /actions
- Ability to pass a description
- Format post parameters

* Set default deploy description
2019-01-16 21:56:41 +01:00
Ole Christian Langfjæran
28c4b4cc66 Add GITHUB_TOKEN to example code 2019-01-10 14:08:19 +01:00
Ole Christian Langfjæran
e45ab7d2b3 Remove use of echo and use < instead 2019-01-10 13:44:30 +01:00
Ole Christian Langfjæran
936fa3eefc Remove the cat and use echo instead 2019-01-10 13:20:07 +01:00
Ole Christian Langfjæran
f216b50dfa Take back the cat 2019-01-10 12:36:33 +01:00
Ole Christian Langfjæran
1d96a59540 Add deployment-scripts to shellcheck
Was missing from the wildcard
2019-01-10 12:29:08 +01:00
Ole Christian Langfjæran
3e74af75c8 Create an exec try command (#8)
* Create an exec command

* Remove getting deployment_id

* Execute $* instead of first param

* Update README and rename command
2019-01-09 09:50:27 +01:00
Ole Christian Langfjæran
529a438c0b Create deploy status (#5)
* Create a simple status update with curl

* Add some lint and a new entrypoint.sh

* Use key-value rather than json resultfile

* Switch to pure shell

* Remove unused line

* Verbose it

* Correct way of getting deployment-id

* Use json in statusupdate

* string interpolation

* Clean up and lint it

* Rename to github-deploy

* Add licenses and README
2019-01-07 10:22:55 +01:00