.gitlab-ci.yml 1.25 KB
stages:
        - build
        - deploy

rpmbuild:
        stage: build
        image: docker.cern.ch/cloud-infrastructure/kojiclient
        except:
                - cern-mitaka
                - master
        script:
                - yum install -y centos-release-openstack-mitaka
                - export USE_SOURCE_TARBALL=1
                - curl https://gitlab.cern.ch/cloud-infrastructure/cloud-dev/raw/master/gitlab/rpmbuild.sh | bash
        tags:
                - cci-swarm-builder

kojicheck:
        stage: build
        image: docker.cern.ch/cloud-infrastructure/kojiclient
        except:
                - cern-mitaka
                - master
        script:
                - curl https://gitlab.cern.ch/cloud-infrastructure/cloud-dev/raw/master/gitlab/kojicheck.sh | bash
        tags:
                - cci-swarm-builder

kojibuild:
        stage: deploy
        image: docker.cern.ch/cloud-infrastructure/kojiclient
        only:
                - cern-mitaka
        script:
                - yum install -y centos-release-openstack-mitaka
                - export USE_SOURCE_TARBALL=1
                - curl https://gitlab.cern.ch/cloud-infrastructure/cloud-dev/raw/master/gitlab/kojibuild.sh | bash
        tags:
                - cci-swarm-builder