building testing with git
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
local dirs = ['_CI-CD', 'apps'];
|
local dirs = ['_CI-CD', 'apps'];
|
||||||
|
|
||||||
local packages = ['debian-stable', 'debian-stable-build-essential', 'debian-stable-openwrt',
|
#local packages = ['debian-stable', 'debian-stable-build-essential', 'debian-stable-openwrt',
|
||||||
'debian-golang', 'debian-stable-php-fpm', 'distcc', 'debian-testing'];
|
'debian-golang', 'debian-stable-php-fpm', 'distcc', 'debian-testing'];
|
||||||
#local packages = ['debian-stable-openwrt'];
|
local packages = ['debian-testing'];
|
||||||
|
|
||||||
local apps = ['rompr', 'apt-cacher-ng', 'curl', 'mosquitto', 'mosquitto-prometheus-exporter'];
|
#local apps = ['rompr', 'apt-cacher-ng', 'curl', 'mosquitto', 'mosquitto-prometheus-exporter'];
|
||||||
#local apps = ['rompr'];
|
local apps = ['rompr'];
|
||||||
|
|
||||||
local build(dir, package) = {
|
local build(dir, package) = {
|
||||||
name: '%(package)s' % { package: package },
|
name: '%(package)s' % { package: package },
|
||||||
@@ -47,4 +47,30 @@ local build(dir, package) = {
|
|||||||
# ]
|
# ]
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
kind: 'pipeline',
|
||||||
|
type: 'docker',
|
||||||
|
name: '_CI-CD',
|
||||||
|
platform: {
|
||||||
|
os: 'linux',
|
||||||
|
arch: 'arm64',
|
||||||
|
},
|
||||||
|
steps: [
|
||||||
|
build('_CI-CD', pkg)
|
||||||
|
for pkg in packages
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
kind: 'pipeline',
|
||||||
|
type: 'docker',
|
||||||
|
name: 'apps',
|
||||||
|
platform: {
|
||||||
|
os: 'linux',
|
||||||
|
arch: 'arm64',
|
||||||
|
},
|
||||||
|
steps: [
|
||||||
|
build('apps', app)
|
||||||
|
for app in apps
|
||||||
|
],
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user