Loading pipelines/container/monorepo.yml +1 −23 Original line number Diff line number Diff line Loading @@ -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 tests/mockup_projects/container/monorepo/image_A/Dockerfile 0 → 100644 +4 −0 Original line number Diff line number Diff line FROM alpine RUN touch A COPY test_A.txt . tests/mockup_projects/container/monorepo/image_A/test_A.txt 0 → 100644 +0 −0 Empty file added. tests/mockup_projects/container/monorepo/image_B/Dockerfile 0 → 100644 +4 −0 Original line number Diff line number Diff line FROM alpine RUN touch B COPY test_B.txt . tests/mockup_projects/container/monorepo/image_B/test_B.txt 0 → 100644 +0 −0 Empty file added. Loading
pipelines/container/monorepo.yml +1 −23 Original line number Diff line number Diff line Loading @@ -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
tests/mockup_projects/container/monorepo/image_A/Dockerfile 0 → 100644 +4 −0 Original line number Diff line number Diff line FROM alpine RUN touch A COPY test_A.txt .
tests/mockup_projects/container/monorepo/image_B/Dockerfile 0 → 100644 +4 −0 Original line number Diff line number Diff line FROM alpine RUN touch B COPY test_B.txt .