bitsbeats / drone-tree-config

Drone helper for mono repositories.
Apache License 2.0
103 stars 24 forks source link

The plugin omit "..." in commands in steps #22

Closed wingyplus closed 4 years ago

wingyplus commented 4 years ago

I found an issue that my drone that install this plugin cannot run the command go test ./.... After build got trigger, it will convert go test command into go test ./.

This is the example of test case:

kind: pipeline
type: kubernetes
name: default

steps:
- name: vendor
  image: golang:1.14-alpine3.11
  environment:
    CGO_ENABLED: 0
    GO_PRIVATE: "<repo.com>/*"
  commands:
  - apk add --no-cache git
  - go mod vendor

- name: test
  image: golang:1.14-alpine3.11
  environment:
    CGO_ENABLED: 0
  commands:
  - go test ./...

The result of my ci is :

Screen Shot 2563-05-21 at 09 57 59

wingyplus commented 4 years ago

The temporary workaround is using \.\.\. instead ....

foosinn commented 4 years ago

I reopened the issue, since this is still a bug, thanks for reporting!