docker-compose-buildkite-plugin icon indicating copy to clipboard operation
docker-compose-buildkite-plugin copied to clipboard

skip-checkout doesn't seem work as expected

Open akum32 opened this issue 6 years ago • 1 comments

When using skip-checkout in a run step, I receive the error docker-compose.yml not found (in lib/shared.bash: line 118) when the plugin is Creating docker-compose override file for prebuilt services.

I guess this is understandable given my docker-compose.yml is checked into the repo...but then I'm confused how this is even supposed to work in the first place?

steps:
  - label: Bootstrap
    plugins:
      - docker-compose#v3.0.3:
          build: app
          image-repository: <my-repo>
    
  - wait

  - command: <some-command>
    plugins:
       - docker-compose#v3.0.3:
          run: app
          skip-checkout: true

akum32 avatar Aug 12 '19 15:08 akum32

You can use the artifact plugin and upload it on the build step (it’ll have your repo), then download it on steps that don’t have your repo.

ngan avatar Oct 07 '19 05:10 ngan