Update src.techknowlogick.com/xgo commit hash to c43d4c4 (#224)
Update src.techknowlogick.com/xgo commit hash to c43d4c4 Reviewed-on: https://kolaente.dev/vikunja/api/pulls/224
This commit is contained in:
35
vendor/src.techknowlogick.com/xgo/.drone.jsonnet
generated
vendored
35
vendor/src.techknowlogick.com/xgo/.drone.jsonnet
generated
vendored
@ -1,4 +1,4 @@
|
||||
local BuildSwitchDryRun(version='go-latest', tags='latest', dry=false) = {
|
||||
local BuildSwitchDryRun(version='go-latest', tags='latest', dry=false, depends='') = {
|
||||
name: if dry then 'dry-run-' + version else 'build-' + version,
|
||||
pull: 'always',
|
||||
image: 'plugins/docker',
|
||||
@ -15,39 +15,36 @@ local BuildSwitchDryRun(version='go-latest', tags='latest', dry=false) = {
|
||||
tags: tags,
|
||||
dry_run: dry
|
||||
},
|
||||
[if depends != '' then 'depends_on']: [
|
||||
depends
|
||||
],
|
||||
[if !dry then 'when']: {
|
||||
branch: ['master'],
|
||||
event: {exclude: ['pull_request']}
|
||||
},
|
||||
[if dry then 'when']: {
|
||||
event: {include: ['pull_request']}
|
||||
event: ['pull_request']
|
||||
},
|
||||
};
|
||||
|
||||
local BuildWithDiffTags(version='go-latest', tags='latest') = BuildSwitchDryRun(version, tags, false);
|
||||
local BuildWithDiffTagsDry(version='go-latest', tags='latest') = BuildSwitchDryRun(version, tags, true);
|
||||
local BuildStep(version='go-latest') = BuildWithDiffTags(version, version);
|
||||
local BuildStepDry(version='go-latest') = BuildSwitchDryRun(version, version, true);
|
||||
local BuildWithDiffTags(version='go-latest', tags='latest', depends='') = BuildSwitchDryRun(version, tags, false, depends);
|
||||
local BuildWithDiffTagsDry(version='go-latest', tags='latest', depends='') = BuildSwitchDryRun(version, tags, true, depends);
|
||||
local BuildStep(version='go-latest', depends='') = BuildWithDiffTags(version, version, depends);
|
||||
local BuildStepDry(version='go-latest', depends='') = BuildSwitchDryRun(version, version, true, depends);
|
||||
|
||||
{
|
||||
kind: 'pipeline',
|
||||
name: 'default',
|
||||
steps: [
|
||||
BuildStepDry('base'),
|
||||
BuildStepDry('go-1.12.5'),
|
||||
BuildStepDry('go-1.11.10'),
|
||||
BuildStepDry('go-1.14.1', 'dry-run-base'),
|
||||
BuildStepDry('go-1.13.9', 'dry-run-base'),
|
||||
|
||||
BuildStep('base'),
|
||||
BuildStep('go-1.12.5'),
|
||||
BuildStep('go-1.12.x'),
|
||||
BuildWithDiffTags(),
|
||||
BuildStep('go-1.11.10'),
|
||||
BuildStep('go-1.11.x'),
|
||||
BuildStep('go-1.12.4'),
|
||||
BuildStep('go-1.12.3'),
|
||||
BuildStep('go-1.12.2'),
|
||||
BuildStep('go-1.12.1'),
|
||||
BuildStep('go-1.12.0'),
|
||||
BuildStep('go-1.11.9'),
|
||||
BuildStep('go-1.14.1', 'build-base'),
|
||||
BuildStep('go-1.14.x', 'build-go-1.14.1'),
|
||||
BuildStep('go-1.13.9', 'build-base'),
|
||||
BuildStep('go-1.13.x', 'build-go-1.13.9'),
|
||||
BuildWithDiffTags('go-latest', 'latest', 'build-go-1.14.x'),
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user