Commit Graph

152 Commits

Author SHA1 Message Date
TP Honey
703b3f2f50 (dron-254) handle wait for log transfer 2022-04-07 15:27:51 +01:00
Javier Palomo
1b77df020e feat(engine): Add debug logs for Docker.Destroy errors (#20)
* feat(engine): Add debug logs for Docker.Destroy errors

This doesn't change the current behaviour of ignoring the errors, but
adds some debug logging to help identify issues with the underlying
Docker engine when stopping and cleeaning up containers, volumes and
networks.

Signed-off-by: Javier Palomo <javier.palomo@grafana.com>

* feat(engine): check for ErrNotFound and Conflict

Co-authored-by: Marko Gaćeša <markogacesa@hotmail.com>

Co-authored-by: Marko Gaćeša <markogacesa@hotmail.com>
2022-03-03 17:54:11 +01:00
TP Honey
4a42e80aa2 Merge pull request #43 from drone-runners/release/v1.8.0
release prep for v1.8.0
2021-11-18 11:49:48 +00:00
Eoin McAfee
40233438ee release prep for v1.8.0 2021-11-18 11:42:06 +00:00
Eoin McAfee
28160e11b8 create and store card data (#41)
* ability to stream a file to the drone server
2021-11-15 10:44:33 +00:00
Marko Gaćeša
8fc6503858 Merge pull request #42 from drone-runners/prep_v1.7.0
(maint) prep for v1.7.0
2021-11-02 12:15:11 +01:00
TP Honey
ad61b5303c (maint) prep for v1.7.0 2021-10-28 16:01:05 +01:00
TP Honey
930fa88bde Merge pull request #40 from tphoney/fix_master
(maint) bump go version in build to match go.mod
2021-10-21 11:06:04 +01:00
TP Honey
f70274fdb4 (maint) bump go version in build to match go.mod 2021-10-21 11:04:08 +01:00
TP Honey
4363c6f07a Merge pull request #32 from willejs/bump-runner-go-lib
bump drone/runner-go to include trigger env var
2021-10-12 10:49:59 +01:00
Will Salt
ed84ab6299 bump drone/runner-go to include trigger env var 2021-09-14 16:12:23 +01:00
TP Honey
0dd3da253e Merge pull request #19 from grafana/jvrplmlmn/additional-tests-for-drone-limit-repos-inverse-match
Test that inverse matches work for `DRONE_LIMIT_REPOS`
2021-07-06 10:45:36 +01:00
TP Honey
1333e9a428 Merge pull request #28 from staffanselander/yaml-definition-depends-on
Use correct name for the root depends_on yaml key.
2021-07-06 10:35:23 +01:00
TP Honey
0a41e929a0 Merge pull request #26 from drone-runners/common-restrict-vol
Use IsRestrictedVolume from runner-go
2021-07-06 10:31:23 +01:00
Staffan Selander
7c8f0423d0 Use correct name for the root depends_on yaml key. 2021-07-06 08:54:38 +02:00
Marko Gaćeša
3c1bfd3a84 Use IsRestrictedVolume from runner-go 2021-06-30 14:52:05 +02:00
Marko Gaćeša
e4064e6260 Merge pull request #25 from fgierlinger/update-runner-go
chore: update runner-go to 1.8.0
2021-06-30 11:43:20 +02:00
Marko Gaćeša
66c5b70315 Merge pull request #9 from divialth/fix/checkServiceIsPrivileged
check privileged image whitelist in service section
2021-06-30 11:11:11 +02:00
Marko Gaćeša
18e0cdefca Merge pull request #17 from isuruf/ppc64le
Support ppc64le
2021-06-30 11:08:06 +02:00
fgierlinger
f206c04592 chore: update runner-go to 1.8.0 2021-06-24 21:59:48 +02:00
Julien Duchesne
67ee5cc7d0 Expose the authorized keys tmate feature (#18)
* Expose the authorized keys tmate feature
Described here: https://tmate.io/ in "Access Control"
The variable accepts the file content in raw format (with \n) and dumps it into a file which tmate reads
* Use echo instead of printf
* Add missing quote
* Only setup tmate settings if debug is activated
2021-06-24 09:47:12 +01:00
TP Honey
4107a97e12 Merge pull request #24 from tphoney/DRON-82
(DRON-82) update envsubst to prevent compiler panics
2021-06-16 15:53:43 +01:00
TP Honey
6dccc313c5 (DRON-82) update envsubst to prevent compiler panics 2021-06-16 11:47:20 +01:00
Javier Palomo
be90c9afe1 Test that inverse matches work for DRONE_LIMIT_REPOS
Added some additional unit tests to verify that `DRONE_LIMIT_REPOS`
works for inverse matches. Given that the matching is based on
path/filepath, inverse matches are supported.

Related docs:
https://docs.drone.io/runner/docker/configuration/reference/drone-limit-repos/
2021-04-13 12:39:39 +02:00
Isuru Fernando
a3bc47fcc7 Support ppc64le 2021-03-16 10:31:46 -05:00
Brad Rydzewski
d926749258 Merge pull request #14 from tphoney/add_steps_fields
(feat) adding image field to step
2021-03-01 22:19:00 -05:00
tphoney
2f6d747028 (feat) adding image field to step 2021-02-27 05:08:32 +00:00
Brad Rydzewski
a1030d681a update changelog [CI SKIP] 2021-01-18 15:20:30 -05:00
Brad Rydzewski
ab785195a0 Update util.go 2021-01-12 11:32:56 -05:00
Brad Rydzewski
ea74fa2ba4 reduce restricted volume false positives 2021-01-08 10:32:39 -05:00
Brad Rydzewski
77684a5864 update changelog for 1.6.2 [CI SKIP] 2020-12-18 14:25:27 -05:00
Brad Rydzewski
4f8d2e4eee add feature toggle to disable docker plugin volume check 2020-12-18 11:54:36 -05:00
Brad Rydzewski
00b690ce8c support for remote tmate servers 2020-11-20 16:47:52 -05:00
Brad Rydzewski
9466e54a6c fix nil point in compile cli command when secret not exists [CI SKIP] 2020-11-17 15:42:16 -05:00
Brad Rydzewski
2335394161 restrict volumes used with plugins 2020-11-17 08:36:06 -05:00
Brad Rydzewski
c8b3a362a2 update list of internal volumes and variables 2020-11-17 08:27:58 -05:00
Brad Rydzewski
f213588b27 add 1.6.0 to changelog 2020-11-11 18:17:10 -05:00
Brad Rydzewski
9a66f9a7a1 copy tmate from base in arm and arm64 dockerfiles 2020-11-11 17:50:06 -05:00
Brad Rydzewski
dbafc98217 added native copy command for multi-arch support 2020-11-11 17:46:10 -05:00
Brad Rydzewski
2457d8d0d7 source tmate binary from docker image 2020-11-11 17:24:24 -05:00
Brad Rydzewski
bb9e46aab0 cleanup tmate download [ci skip] 2020-11-11 15:59:15 -05:00
Brad Rydzewski
16780b5dee update runner-go package to include build.debug attribute 2020-11-09 16:26:54 -05:00
Brad Rydzewski
078ffd80a9 update runner-go package to include build.debug attribute 2020-11-09 15:48:07 -05:00
Brad Rydzewski
1df19caf57 WIP support for tmate [CI SKIP] 2020-11-09 14:57:55 -05:00
Brad Rydzewski
b03215c478 bump runner-go version 2020-10-16 15:14:58 -04:00
Brad Rydzewski
a4655c509a fix issue 78 not early exiting when services 2020-10-15 14:12:11 -04:00
Brad Rydzewski
67e6ccef43 update runner-go to include invalid http response code fix 2020-10-08 16:00:28 -04:00
Brad Rydzewski
ce4a8ea66c added code to retry docker wait on early exit 2020-09-21 16:37:34 -04:00
Brad Rydzewski
ce73c396b5 update changelog for 1.5.2 [CI SKIP] 2020-09-21 13:23:48 -04:00
Brad Rydzewski
0184632e6e improve handling of semaphore errors 2020-09-21 13:20:38 -04:00