Commit 1024df8f authored by Ruben ten Hove's avatar Ruben ten Hove
Browse files

ci: test only where needed

parent 0103a5ef
Loading
Loading
Loading
Loading
+42 −2
Original line number Diff line number Diff line
@@ -39,6 +39,9 @@ jobs:c:
    include:
      - local: tests/jobs/c.yml
    strategy: depend
  rules:
    - changes:
        - c/**/*

jobs:kaniko:
  stage: test
@@ -46,6 +49,9 @@ jobs:kaniko:
    include:
      - local: tests/jobs/kaniko.yml
    strategy: depend
  rules:
    - changes:
        - container/**/*

jobs:buildah:
  stage: test
@@ -53,6 +59,9 @@ jobs:buildah:
    include:
      - local: tests/jobs/buildah.yml
    strategy: depend
  rules:
    - changes:
        - container/**/*

jobs:docker-arm64:
  stage: test
@@ -60,6 +69,9 @@ jobs:docker-arm64:
    include:
      - local: tests/jobs/docker-arm64.yml
    strategy: depend
  rules:
    - changes:
        - container/**/*

jobs:docs:
  stage: test
@@ -67,6 +79,9 @@ jobs:docs:
    include:
      - local: tests/jobs/docs.yml
    strategy: depend
  rules:
    - changes:
        - docs/**/*

jobs:python:
  stage: test
@@ -74,6 +89,9 @@ jobs:python:
    include:
      - local: tests/jobs/python.yml
    strategy: depend
  rules:
    - changes:
        - python/**/*

jobs:python:old:
  stage: test
@@ -83,6 +101,9 @@ jobs:python:old:
    include:
      - local: tests/jobs/python.yml
    strategy: depend
  rules:
    - changes:
        - python/**/*

jobs:python:custom-image:
  stage: test
@@ -90,6 +111,9 @@ jobs:python:custom-image:
    include:
      - local: tests/jobs/python-custom-image.yml
    strategy: depend
  rules:
    - changes:
        - python/**/*

# child pipelines to test our off-the-shelf pipelines
pipelines:c:
@@ -98,6 +122,9 @@ pipelines:c:
    include:
      - local: tests/pipelines/c.yml
    strategy: depend
  rules:
    - changes:
        - c/**/*

pipelines:python:
  stage: test
@@ -105,6 +132,9 @@ pipelines:python:
    include:
      - local: tests/pipelines/python.yml
    strategy: depend
  rules:
    - changes:
        - python/**/*

pipelines:container:polyrepo:
  stage: test
@@ -112,17 +142,27 @@ pipelines:container:polyrepo:
    include:
      - local: tests/pipelines/container/polyrepo.yml
    strategy: depend
  rules:
    - changes:
        - container/**/*

pipelines:kaniko:monorepo:
pipelines:container:monorepo:
  stage: test
  trigger:
    include:
      - local: tests/pipelines/container/monorepo.yml
    strategy: depend
  rules:
    - changes:
        - container/**/*

pipelines:kaniko:python:
pipelines:container:python:
  stage: test
  trigger:
    include:
      - local: tests/pipelines/container/python.yml
    strategy: depend
  rules:
    - changes:
        - container/**/*
        - python/**/*