3 Commits

View File

@@ -26,7 +26,7 @@ local build(dir, package) = {
{ {
kind: 'pipeline', kind: 'pipeline',
type: 'docker', type: 'docker',
name: 'git log', name: 'Build Docker Images',
platform: { platform: {
os: 'linux', os: 'linux',
arch: 'arm64', arch: 'arm64',
@@ -36,34 +36,15 @@ local build(dir, package) = {
name: 'git log', name: 'git log',
image: 'cr.wks/debian-stable', image: 'cr.wks/debian-stable',
commands: [ 'git diff-tree --no-commit-id --name-only HEAD -r' ] commands: [ 'git diff-tree --no-commit-id --name-only HEAD -r' ]
} },
], [
}, build('_CI-CD', app)
for app in packages
{ ],
kind: 'pipeline', [
type: 'docker', build('apps', app)
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 for app in apps
]
], ],
}, },
] ]