structure-tests

command
v1.39.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

README

Example: Running container-structure-test on built images

Open in Cloud Shell

This example shows how to run structure tests on newly built images in your skaffold dev loop. Tests are associated with single artifacts, and one or more test files can be provided. Tests are configured in your skaffold.yaml in the test stanza, e.g.

test:
    - image: skaffold-example
    structureTests:
        - ./test/*

Tests can also be configured through profiles, e.g.

profiles:
  - name: test
    test:
      - image: skaffold-example
        structureTests:
          - ./test/profile_structure_test.yaml

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL