CI: Use Jenkins only

master
David Prevot 4 months ago
parent 092f1c65af
commit d114eacf7f
  1. 98
      .Jenkinsfile
  2. 191
      .drone.yml

98
.Jenkinsfile vendored

@ -13,9 +13,9 @@ pipeline {
deb.inside {
sh 'gbp --version'
}
/* No crendentials yet
deb.push('latest')
*/
docker.withRegistry('', 'hub.docker') {
deb.push('latest')
}
}
}
}
@ -27,9 +27,9 @@ pipeline {
deb.inside {
sh 'gbp --version'
}
/* No crendentials yet
deb.push('bullseye')
*/
docker.withRegistry('', 'hub.docker') {
deb.push('bullseye')
}
}
}
}
@ -41,9 +41,9 @@ pipeline {
deb.inside {
sh 'echo Test needed'
}
/* No crendentials yet
deb.push('latest')
*/
docker.withRegistry('', 'hub.docker') {
deb.push('latest')
}
}
}
}
@ -55,9 +55,9 @@ pipeline {
deb.inside {
sh 'echo Test needed'
}
/* No crendentials yet
deb.push('latest')
*/
docker.withRegistry('', 'hub.docker') {
deb.push('latest')
}
}
}
}
@ -69,9 +69,9 @@ pipeline {
deb.inside {
sh 'echo Test needed'
}
/* No crendentials yet
deb.push('stretch')
*/
docker.withRegistry('', 'hub.docker') {
deb.push('stretch')
}
}
}
}
@ -83,10 +83,10 @@ pipeline {
deb.inside {
sh 'echo Test needed'
}
/* No crendentials yet
deb.push('buster')
deb.push('latest')
*/
docker.withRegistry('', 'hub.docker') {
deb.push('buster')
deb.push('latest')
}
}
}
}
@ -98,9 +98,9 @@ pipeline {
deb.inside {
sh 'echo Test needed'
}
/* No crendentials yet
deb.push('stretch')
*/
docker.withRegistry('', 'hub.docker') {
deb.push('stretch')
}
}
}
}
@ -112,10 +112,10 @@ pipeline {
deb.inside {
sh 'echo Test needed'
}
/* No crendentials yet
deb.push('buster')
deb.push('latest')
*/
docker.withRegistry('', 'hub.docker') {
deb.push('buster')
deb.push('latest')
}
}
}
}
@ -127,9 +127,9 @@ pipeline {
deb.inside {
sh 'composer --version'
}
/* No crendentials yet
deb.push('latest')
*/
docker.withRegistry('', 'hub.docker') {
deb.push('latest')
}
}
}
}
@ -141,10 +141,10 @@ pipeline {
deb8.inside {
sh 'echo Test needed'
}
/* No crendentials yet
deb9.push('jessie')
deb9.push('5.6')
*/
docker.withRegistry('', 'hub.docker') {
deb8.push('jessie')
deb8.push('5.6')
}
}
}
}
@ -156,10 +156,10 @@ pipeline {
deb9.inside {
sh 'composer --version'
}
/* No crendentials yet
deb9.push('stretch')
deb9.push('7.0')
*/
docker.withRegistry('', 'hub.docker') {
deb9.push('stretch')
deb9.push('7.0')
}
}
}
}
@ -171,10 +171,10 @@ pipeline {
deb10.inside {
sh 'composer --version'
}
/* No crendentials yet
deb10.push('buster')
deb10.push('7.3')
*/
docker.withRegistry('', 'hub.docker') {
deb10.push('buster')
deb10.push('7.3')
}
}
}
}
@ -186,10 +186,10 @@ pipeline {
deb11.inside {
sh 'composer --version'
}
/* No crendentials yet
deb11.push('bullseye')
deb11.push('7.4')
*/
docker.withRegistry('', 'hub.docker') {
deb11.push('bullseye')
deb11.push('7.4')
}
}
}
}
@ -201,10 +201,10 @@ pipeline {
deb11php80.inside {
sh 'composer --version'
}
/* No crendentials yet
deb11php80.push('bullseye80')
deb11php80.push('8.0')
*/
docker.withRegistry('', 'hub.docker') {
deb11php80.push('bullseye80')
deb11php80.push('8.0')
}
}
}
}

@ -1,191 +0,0 @@
kind: pipeline
name: default
steps:
- name: build gbp
image: plugins/docker
depends_on: []
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: gbp/Dockerfile
repo: evolix/gbp
tags: latest
- name: build gbp (Bullseye)
image: plugins/docker
depends_on: []
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: gbp/Dockerfile.bullseye
repo: evolix/gbp
tags: bullseye
- name: build shellcheck
image: plugins/docker
depends_on: []
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: shellcheck/Dockerfile
repo: evolix/shellcheck
tags: latest
- name: build phpcs
image: plugins/docker
depends_on: []
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: phpcs/Dockerfile
repo: evolix/phpcs
tags: latest
- name: build apache2-php (Stretch)
image: plugins/docker
depends_on: []
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: apache2-php/stretch/Dockerfile
repo: evolix/apache2-php
tags: stretch
- name: build apache2-php (Buster)
image: plugins/docker
depends_on: []
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: apache2-php/buster/Dockerfile
repo: evolix/apache2-php
tags:
- buster
- latest
- name: build redis (Stretch)
image: plugins/docker
depends_on: []
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: redis/stretch/Dockerfile
repo: evolix/redis
tags: stretch
- name: build redis (Buster)
image: plugins/docker
depends_on: []
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: redis/buster/Dockerfile
repo: evolix/redis
tags:
- buster
- latest
- name: build php
image: plugins/docker
depends_on: []
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
context: ./php
dockerfile: php/Dockerfile
repo: evolix/php
tags: latest
- name: build php (Jessie)
image: plugins/docker
depends_on: []
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
context: ./php
dockerfile: php/Dockerfile.jessie
repo: evolix/php
tags:
- jessie
- '5.6'
- name: build php (Stretch)
image: plugins/docker
depends_on: []
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
context: ./php
dockerfile: php/Dockerfile.stretch
repo: evolix/php
tags:
- stretch
- '7.0'
- name: build php (Buster)
image: plugins/docker
depends_on: []
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
context: ./php
dockerfile: php/Dockerfile.buster
repo: evolix/php
tags:
- buster
- '7.3'
- name: build php (Bullseye)
image: plugins/docker
depends_on: []
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
context: ./php
dockerfile: php/Dockerfile.bullseye
repo: evolix/php
tags:
- bullseye
- '7.4'
- name: build php (Bullseye PHP 8.0)
image: plugins/docker
depends_on: []
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
context: ./php
dockerfile: php/Dockerfile.bullseye80
repo: evolix/php
tags:
- bullseye80
- '8.0'
Loading…
Cancel
Save