Commit 1f9efdd3 authored by Samir Noir's avatar Samir Noir 🧀
Browse files

add buster to ci

parent c5d30e2f
......@@ -46,7 +46,15 @@ test-for-stretch:
- name: mariadb:10.1
alias: mysql
- name: postgres
test-for-buster:
<<: *test-for-jessie
image: debian:buster
services:
- name: mariadb:10.3
alias: mysql
- name: postgres
deb-for-jessie: &deb-for-jessie
image: debian:jessie
stage: deb
......@@ -75,6 +83,17 @@ deb-for-stretch:
- bundle install --path vendor/bundle
- bundle exec rake package:build:debian
deb-for-buster:
<<: *deb-for-jessie
image: debian:buster
script:
- apt-get update && apt-get -y --no-install-recommends install devscripts build-essential equivs
- mk-build-deps -ir -t 'apt-get -y --no-install-recommends'
- apt-get install -y curl pkg-config
- bundle install --path vendor/bundle
- bundle install --standalone --no-binstubs --without=development --path bundle
- bundle exec rake package:build:debian
.push-packages-script: &push-packages-script |
echo "Request to push for debian version ${TARGET_DEBIAN_VERSION} for branch ${TARGET_G5K_API_VARIANT}"
g5k-deploy-files --only-if-tag '^v\d+\.\d+\.\d+' --files 'pkg/g5k-api_*.deb' --directory deb/g5k-api/${TARGET_DEBIAN_VERSION}/${TARGET_G5K_API_VARIANT}
......@@ -101,17 +120,17 @@ push-jessie-package-v4: &push-jessie-package-v4
variables:
TARGET_DEBIAN_VERSION: jessie
TARGET_G5K_API_VARIANT: v4
only:
only:
- devel
push-jessie-package-devel: &push-jessie-package-devel
<<: *push-jessie-package-v3
variables:
TARGET_DEBIAN_VERSION: jessie
TARGET_G5K_API_VARIANT: devel
only:
only:
- devel
push-stretch-package-v3:
<<: *push-jessie-package-v3
dependencies:
......@@ -127,7 +146,7 @@ push-stretch-package-v4:
variables:
TARGET_DEBIAN_VERSION: stretch
TARGET_G5K_API_VARIANT: v4
push-stretch-package-devel:
<<: *push-jessie-package-devel
dependencies:
......@@ -135,4 +154,4 @@ push-stretch-package-devel:
variables:
TARGET_DEBIAN_VERSION: stretch
TARGET_G5K_API_VARIANT: devel
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment