Skip to content
Snippets Groups Projects
Commit dcc977eb authored by Patrick MADELA's avatar Patrick MADELA
Browse files

Add missing things for dependencies between parent and child

parent 3fc2c1ca
No related branches found
No related tags found
No related merge requests found
Pipeline #1206 failed
Pipeline: conan-docker-tools

#1210

    Pipeline: conan-docker-tools

    #1209

      Pipeline: conan-docker-tools

      #1208

        +1
        Showing
        with 57 additions and 31 deletions
        ......@@ -6,6 +6,8 @@ variables:
        NAME: conan-el6-gcc44-x86
        CONTAINER_TEST_IMAGE: ${CI_REGISTRY_IMAGE}/${NAME}:$CI_COMMIT_REF_SLUG
        CONTAINER_RELEASE_IMAGE: ${CI_REGISTRY_IMAGE}/${NAME}:latest
        ## Needs: to make child download parent artifacts. ID of parent pipeline needs to pass.
        PARENT_PIPELINE_ID: $CI_PIPELINE_ID
        stages:
        - build
        ......
        ......@@ -6,6 +6,8 @@ variables:
        NAME: conan-el6-gcc44
        CONTAINER_TEST_IMAGE: ${CI_REGISTRY_IMAGE}/${NAME}:$CI_COMMIT_REF_SLUG
        CONTAINER_RELEASE_IMAGE: ${CI_REGISTRY_IMAGE}/${NAME}:latest
        ## Needs: to make child download parent artifacts. ID of parent pipeline needs to pass.
        PARENT_PIPELINE_ID: $CI_PIPELINE_ID
        stages:
        - build
        ......
        ......@@ -19,6 +19,7 @@ build:
        stage: build
        needs:
        - pipeline: $PARENT_PIPELINE_ID
        - job: release
        script:
        - docker build --pull -t ${CONTAINER_TEST_IMAGE} -f ${NAME}/Dockerfile .
        - docker push ${CONTAINER_TEST_IMAGE}
        ......
        ......@@ -19,6 +19,7 @@ build:
        stage: build
        needs:
        - pipeline: $PARENT_PIPELINE_ID
        - job: release
        script:
        - docker build --pull -t ${CONTAINER_TEST_IMAGE} -f ${NAME}/Dockerfile .
        - docker push ${CONTAINER_TEST_IMAGE}
        ......
        ......@@ -19,6 +19,7 @@ build:
        stage: build
        needs:
        - pipeline: $PARENT_PIPELINE_ID
        - job: release
        script:
        - docker build --pull -t ${CONTAINER_TEST_IMAGE} -f ${NAME}/Dockerfile .
        - docker push ${CONTAINER_TEST_IMAGE}
        ......
        ......@@ -19,6 +19,7 @@ build:
        stage: build
        needs:
        - pipeline: $PARENT_PIPELINE_ID
        - job: release
        script:
        - docker build --pull -t ${CONTAINER_TEST_IMAGE} -f ${NAME}/Dockerfile .
        - docker push ${CONTAINER_TEST_IMAGE}
        ......
        ......@@ -19,6 +19,7 @@ build:
        stage: build
        needs:
        - pipeline: $PARENT_PIPELINE_ID
        - job: release
        script:
        - docker build --pull -t ${CONTAINER_TEST_IMAGE} -f ${NAME}/Dockerfile .
        - docker push ${CONTAINER_TEST_IMAGE}
        ......
        ......@@ -19,6 +19,7 @@ build:
        stage: build
        needs:
        - pipeline: $PARENT_PIPELINE_ID
        - job: release
        script:
        - docker build --pull -t ${CONTAINER_TEST_IMAGE} -f ${NAME}/Dockerfile .
        - docker push ${CONTAINER_TEST_IMAGE}
        ......
        ......@@ -6,6 +6,8 @@ variables:
        NAME: conan-el7-gcc48-x86
        CONTAINER_TEST_IMAGE: ${CI_REGISTRY_IMAGE}/${NAME}:$CI_COMMIT_REF_SLUG
        CONTAINER_RELEASE_IMAGE: ${CI_REGISTRY_IMAGE}/${NAME}:latest
        ## Needs: to make child download parent artifacts. ID of parent pipeline needs to pass.
        PARENT_PIPELINE_ID: $CI_PIPELINE_ID
        stages:
        - build
        ......
        ......@@ -6,6 +6,8 @@ variables:
        NAME: conan-el7-gcc48
        CONTAINER_TEST_IMAGE: ${CI_REGISTRY_IMAGE}/${NAME}:$CI_COMMIT_REF_SLUG
        CONTAINER_RELEASE_IMAGE: ${CI_REGISTRY_IMAGE}/${NAME}:latest
        ## Needs: to make child download parent artifacts. ID of parent pipeline needs to pass.
        PARENT_PIPELINE_ID: $CI_PIPELINE_ID
        stages:
        - build
        ......
        ......@@ -19,6 +19,7 @@ build:
        stage: build
        needs:
        - pipeline: $PARENT_PIPELINE_ID
        - job: release
        script:
        - docker build --pull -t ${CONTAINER_TEST_IMAGE} -f ${NAME}/Dockerfile .
        - docker push ${CONTAINER_TEST_IMAGE}
        ......
        ......@@ -19,6 +19,7 @@ build:
        stage: build
        needs:
        - pipeline: $PARENT_PIPELINE_ID
        - job: release
        script:
        - docker build --pull -t ${CONTAINER_TEST_IMAGE} -f ${NAME}/Dockerfile .
        - docker push ${CONTAINER_TEST_IMAGE}
        ......
        ......@@ -19,6 +19,7 @@ build:
        stage: build
        needs:
        - pipeline: $PARENT_PIPELINE_ID
        - job: release
        script:
        - docker build --pull -t ${CONTAINER_TEST_IMAGE} -f ${NAME}/Dockerfile .
        - docker push ${CONTAINER_TEST_IMAGE}
        ......
        ......@@ -19,6 +19,7 @@ build:
        stage: build
        needs:
        - pipeline: $PARENT_PIPELINE_ID
        - job: release
        script:
        - docker build --pull -t ${CONTAINER_TEST_IMAGE} -f ${NAME}/Dockerfile .
        - docker push ${CONTAINER_TEST_IMAGE}
        ......
        ......@@ -19,6 +19,7 @@ build:
        stage: build
        needs:
        - pipeline: $PARENT_PIPELINE_ID
        - job: release
        script:
        - docker build --pull -t ${CONTAINER_TEST_IMAGE} -f ${NAME}/Dockerfile .
        - docker push ${CONTAINER_TEST_IMAGE}
        ......
        ......@@ -19,6 +19,7 @@ build:
        stage: build
        needs:
        - pipeline: $PARENT_PIPELINE_ID
        - job: release
        script:
        - docker build --pull -t ${CONTAINER_TEST_IMAGE} -f ${NAME}/Dockerfile .
        - docker push ${CONTAINER_TEST_IMAGE}
        ......
        # stages:
        # - main
        stages:
        - triggers
        # conan-el6-gcc44:
        # stage: main
        # trigger:
        # include: .gitlab/conan-el6-gcc44.gitlab-ci.yml
        # strategy: depend
        conan-el6-gcc44:
        stage: triggers
        trigger:
        include: .gitlab/conan-el6-gcc44.gitlab-ci.yml
        strategy: depend
        # rules:
        # - changes:
        # - conan-el6-gcc44/Dockerfile
        # conan-el6-gcc44-x86:
        # stage: main
        # trigger:
        # include: .gitlab/conan-el6-gcc44-x86.gitlab-ci.yml
        # strategy: depend
        conan-el6-gcc44-x86:
        stage: triggers
        trigger:
        include: .gitlab/conan-el6-gcc44-x86.gitlab-ci.yml
        strategy: depend
        # rules:
        # - changes:
        # - conan-el6-gcc44-x86/Dockerfile
        # conan-el7-gcc48:
        # stage: main
        # trigger:
        # include: .gitlab/conan-el7-gcc48.gitlab-ci.yml
        # strategy: depend
        conan-el7-gcc48:
        stage: triggers
        trigger:
        include: .gitlab/conan-el7-gcc48.gitlab-ci.yml
        strategy: depend
        # rules:
        # - changes:
        # - conan-el7-gcc48/Dockerfile
        # conan-el7-gcc48-x86:
        # stage: main
        # trigger:
        # include: .gitlab/conan-el7-gcc48-x86.gitlab-ci.yml
        # strategy: depend
        include:
        - .gitlab/conan-el6-gcc44.gitlab-ci.yml
        - .gitlab/conan-el6-gcc44-x86.gitlab-ci.yml
        - .gitlab/conan-el7-gcc48.gitlab-ci.yml
        - .gitlab/conan-el7-gcc48-x86.gitlab-ci.yml
        \ No newline at end of file
        conan-el7-gcc48-x86:
        stage: triggers
        trigger:
        include: .gitlab/conan-el7-gcc48-x86.gitlab-ci.yml
        strategy: depend
        # rules:
        # - changes:
        # - conan-el7-gcc48-x86/Dockerfile
        \ No newline at end of file
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Please register or to comment