Commit Graph

176 Commits

Author SHA1 Message Date
TP Honey
7e9969423c Merge pull request #48 from grafana/julienduchesne/step-container-logs
Add step labels to containers
2023-01-31 11:26:39 +00:00
TP Honey
ecfb097ea7 Merge pull request #61 from tphoney/prep_v1.8.3
(maint) prep v1.8.3
2023-01-06 10:43:12 +00:00
TP Honey
996723ac91 (maint) prep v1.8.3 2023-01-06 10:22:05 +00:00
TP Honey
e806245e69 Update .drone.yml 2023-01-04 17:15:13 +00:00
TP Honey
be5f88383c Rename Dockerfile.windows.amd64.1809 to Dockerfile.windows.1809 2023-01-04 17:13:54 +00:00
TP Honey
6391f56bc6 Rename Dockerfile.windows.amd64.ltsc2022 to Dockerfile.windows.ltsc2022 2023-01-04 17:12:25 +00:00
TP Honey
1a6c45506d Update Dockerfile.linux.ppc64le 2023-01-04 16:56:07 +00:00
TP Honey
fa31990091 Merge pull request #59 from tphoney/harness_move
(maint) move to harness.drone.io
2023-01-04 16:46:10 +00:00
TP Honey
6775028e9b (maint) move to harness.drone.io 2022-12-22 09:24:52 +00:00
Julien Duchesne
70e2fb0415 Add step labels to step containers
This adds the following labels:
- `io.drone.step.number`
- `io.drone.step.name`
We use these as labels when we send our logs to Loki

Signed-off-by: Julien Duchesne <julien.duchesne@grafana.com>
2022-12-01 09:02:53 -05:00
Dan Wilson
e57a6d22e3 Merge pull request #57 from tphoney/DRON-434
(dron-434) set platform in docker build step
2022-11-17 15:32:11 +00:00
TP Honey
1c5cd3a929 (dron-434) set platform in docker build step 2022-11-17 15:03:55 +00:00
TP Honey
21b32ec66c Merge pull request #56 from drone-runners/revert-54-docker-arch
Revert "Dockerfile: Add target architecture to Docker images"
2022-11-16 14:56:30 +00:00
TP Honey
beb82b1bad Revert "Dockerfile: Add target architecture to Docker images" 2022-11-16 14:54:56 +00:00
TP Honey
dc1d8134ef Merge pull request #54 from jnohlgard/docker-arch
Dockerfile: Add target architecture to Docker images
2022-11-15 10:32:54 +00:00
Joakim Nohlgård
3a32b8961c Dockerfile: Add target architecture to Docker images
This should allow the images to show the correct architecture when
browsing Docker Hub.

The below page shows the 1.8.2-linux-arm64 image as being OS/ARCH=linux/amd64.

https://hub.docker.com/layers/drone/drone-runner-docker/1.8.2-linux-arm64/images/sha256-c3812c2fce625efb85dc6c8b04e1d15c208185bd336e58007082d0c3571a066a?context=explore
2022-10-17 08:19:24 +02:00
TP Honey
47ee73d829 Merge pull request #49 from drone-runners/v1.8.2
release prep for v1.8.2
2022-06-14 13:27:01 +01:00
Eoin McAfee
f0ae2fdae7 release prep for v1.8.2 2022-06-14 13:23:38 +01:00
Julien Duchesne
65d05f2c6d Add retries option to the clone step (#44)
* Add retries option to the clone step
Used to support https://github.com/drone/drone-git/pull/43
Will require a go mod update to add the arg to the manifest: https://github.com/drone/runner-go/pull/22

* Update `runner-go` to v1.12.0

* Add test
2022-06-09 16:14:11 +01:00
TP Honey
218235e419 Merge pull request #47 from tphoney/prep-v1.8.1
(maint) release prep v1.8.1
2022-04-19 10:53:56 +01:00
TP Honey
2b9fb4ad44 (maint) release prep v1.8.1 2022-04-19 10:46:36 +01:00
TP Honey
20cb0a029c Merge pull request #45 from mach6/fix-doc-comments
Fix 3 doc typos in compiler.go
2022-04-11 16:04:02 +01:00
TP Honey
8d889bd767 Merge pull request #46 from tphoney/dron-254
(dron-254) handle wait for log transfer
2022-04-11 16:03:14 +01:00
TP Honey
703b3f2f50 (dron-254) handle wait for log transfer 2022-04-07 15:27:51 +01:00
Doug Simmons
dc81f8756a Fix 3 doc typos in compiler.go 2022-03-10 02:33:24 -08: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