Commit 4265bf57 authored by Federico Falconieri's avatar Federico Falconieri
Browse files

test: adds tests for container/monorepo and container/polirepo

parent cbfb657c
Loading
Loading
Loading
Loading
+1 −23
Original line number Diff line number Diff line
@@ -15,28 +15,6 @@ grype:

##### USAGE #####
# TODO: move to readme?

# by default, no job will run.
# the user needs to define manually a kaniko job and a grype job for each of his container images

# kaniko:image_A:
#   extends: .kaniko:monorepo:
#   variables:
#     CONTEXT_PATH: directory_A

# kaniko:image_B:
#   extends: .kaniko:monorepo:
#   variables:
#     CONTEXT_PATH: directory_B

# grype:image_A:
#   extends: .grype:monorepo
#   variables:
#     GRYPE_CONTEXT: directory_A
#   needs: ["kaniko:image_A"]

# grype:image_B:
#   extends: .grype:monorepo
#   variables:
#     GRYPE_CONTEXT: directory_B
#   needs: ["kaniko:image_B"]
# see tests/pipelines/container/monorepo.yml for an example
+4 −0
Original line number Diff line number Diff line
FROM alpine

RUN touch A
COPY test_A.txt .
+0 −0

Empty file added.

+4 −0
Original line number Diff line number Diff line
FROM alpine

RUN touch B
COPY test_B.txt .
+0 −0

Empty file added.

Loading