Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion on volume mount and env variables for custom image test command. #7881

Open
mikhail-khodorovskiy opened this issue Sep 22, 2022 · 0 comments
Labels
area/config area/env-vars kind/feature-request priority/p3 agreed that this would be good to have, but no one is available at the moment.

Comments

@mikhail-khodorovskiy
Copy link

Expected behavior

...
 artifacts:
  - image: service
  - image: cukes
    docker:
      dockerfile: Dockerfile.test

test:
  - image: cukes
    custom:
      - command: "60"
        timeoutSeconds: 60
        dependencies:
          paths:
          -  features

The docker compose command

version: '2.1'
services:  
  service-tests:
    environment:
      - SERVICE_ENDPOINT=http://service:8089
      - SPIN=${SPIN:-false}
    volumes:
      - "./test-results:/cucumber/test-output"
    build:
      context: .
      dockerfile: Dockerfile.test
    command: "60"
    depends_on:
      - service

Actual behavior

Information

  • Skaffold version: : v1.39.2
  • Operating system:
  • Installed via: Homebrew
  • Contents of skaffold.yaml - above

Steps to reproduce the behavior

  1. a clonable repository with the sample skaffold project
  2. skaffold dev
  3. ...
@gsquared94 gsquared94 added the priority/p3 agreed that this would be good to have, but no one is available at the moment. label Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/config area/env-vars kind/feature-request priority/p3 agreed that this would be good to have, but no one is available at the moment.
Projects
None yet
Development

No branches or pull requests

3 participants