Commit Graph

33 Commits

Author SHA1 Message Date
Andreas Heim
55a8230882 Adding a dedicated curl image 2019-06-14 14:37:35 -04:00
Andreas Heim
d22797befd Merge pull request #16 from unacast/add_tests
Initial attempt at BATS tests
2019-06-14 13:55:18 -04:00
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
Ole Christian Langfjæran
4a78f37fae Merge pull request #15 from unacast/task_and_payload_utils
Adding support to get payload parameters and to get the deploy task
2019-06-14 15:59:21 +02: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
Ole Christian Langfjæran
7073d868a4 Merge pull request #14 from unacast/status_updates
Enable sending `in_progress` status and set deployment status to `failure`
2019-06-06 09:04:53 +02: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
Ole Christian Langfjæran
82abdf2503 Merge pull request #13 from unacast/docker-publish
Use github actions to publish to docker hub
2019-04-29 14:05:39 +02:00
Ole Christian Langfjæran
b474e0f968 Move publish filter after build 2019-04-29 14:03:49 +02:00
Ole Christian Langfjæran
865fcbcec0 Only deploy to dockerhub for masterbranch 2019-04-29 13:58:07 +02:00
Ole Christian Langfjæran
b6467d8545 Add dockerhub to README 2019-04-29 13:55:41 +02:00
Ole Christian Langfjæran
41c3e2cfcd Add publish as a make goal 2019-04-29 13:38:36 +02:00
Ole Christian Langfjæran
ec10d20b4b Use github actions to publish to docker hub 2019-04-29 13:31:05 +02:00
Ole Christian Langfjæran
499bf057fc Merge pull request #12 from unacast/add-license-1
Create LICENSE
2019-01-18 22:30:46 +01:00
Tomas Jansson
a77728d9f9 Create LICENSE 2019-01-17 13:54:24 +01: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
debcd9e3f1 Merge pull request #7 from unacast/validate-on-push
Create a workflow for validations
2019-01-07 11:03:36 +01:00
Ole Christian Langfjæran
3259ae8d93 Create a workflow for validations
When I push
I would like to have the code validated
2019-01-07 10:58:43 +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
Ole Christian Langfjæran
c905238b76 Initial commit 2018-12-13 22:50:57 +01:00