diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..96bac05d7d5ce2443f39a025bc553e260ceb9f5b --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,59 @@ +stages: + - build + - deploy + +before_script: + - export SPEC=python-magnumclient.spec + - export USE_SOURCE_TARBALL=1 + - export DIST='.el7.cern' + - export PKG=$(rpm -q --specfile python-magnumclient.spec --queryformat "%{name}-%{version}-%{release}\n" | head -n1) + +kojicheck: + stage: build + image: gitlab-registry.cern.ch/cloud/ciadm + except: + - cern-pike + - cern-pike-qa + - master + script: + - curl https://gitlab.cern.ch/cloud-infrastructure/cloud-dev/raw/master/gitlab/kojicheck.sh | bash + tags: + - cci-swarm-builder + +kojiscratch: + stage: build + image: gitlab-registry.cern.ch/cloud/ciadm + except: + - cern-pike + - cern-pike-qa + - master + script: + - export SCRATCH=1 + - curl https://gitlab.cern.ch/cloud-infrastructure/cloud-dev/raw/master/gitlab/kojibuild.sh | bash + tags: + - cci-swarm-builder + +deploy qa: + stage: deploy + image: gitlab-registry.cern.ch/cloud/ciadm + environment: qa + only: + - cern-pike-qa + script: + - curl https://gitlab.cern.ch/cloud-infrastructure/cloud-dev/raw/master/gitlab/kojibuild.sh | bash + - echo $SVCBUILD_PASSWORD | kinit svcbuild@CERN.CH + - koji tag ${KOJI_TARGET}-qa $PKG + tags: + - cci-swarm-builder + +deploy production: + stage: deploy + image: gitlab-registry.cern.ch/cloud/ciadm + environment: production + only: + - cern-pike + script: + - echo $SVCBUILD_PASSWORD | kinit svcbuild@CERN.CH + - koji tag ${KOJI_TARGET}-stable $PKG + tags: + - cci-swarm-builder diff --git a/python-magnumclient.spec b/python-magnumclient.spec index cb6f15c9e4250d616b60747f9a79daa0e290088c..6c8f672debd24676f57731ac7a533a045c11dcb9 100644 --- a/python-magnumclient.spec +++ b/python-magnumclient.spec @@ -11,7 +11,7 @@ Name: python-%{pname} Version: 2.7.0 -Release: 1%{?dist} +Release: 1.1%{?dist} Summary: Client library for Magnum API License: ASL 2.0 @@ -222,6 +222,9 @@ mv magnum.py3 %{buildroot}%{_bindir}/magnum %endif %changelog +* Mon Sep 25 2017 Ricardo Rocha <ricardo.rocha@cern.ch> 2.7.0-1.1 +- Rebuild for CERN Pike release + * Fri Aug 11 2017 Alfredo Moralejo <amoralej@redhat.com> 2.7.0-1 - Update to 2.7.0