default.yaml (2471B)
1 name: Update go dependencies 2 # use jenkins $BUILD_NUMBER env var 3 pipelineid: {{ requiredEnv "BUILD_NUMBER" }} 4 scms: 5 default: 6 # https://www.updatecli.io/docs/core/scm 7 kind: git 8 spec: 9 url: "https://git.in0rdr.ch/hivedav.git" 10 # read git credentials from jenkins secret 11 username: {{ requiredEnv "GIT_USERNAME" }} 12 password: {{ requiredEnv "GIT_PASSWORD" }} 13 user: {{ requiredEnv "GIT_AUTHOR_NAME" }} 14 email: {{ requiredEnv "GIT_AUTHOR_EMAIL" }} 15 # source branch 16 branch: master 17 # create remote target branch updatecli_master_$PIPELINEID to push changes 18 workingbranch: true 19 # reuse existing target branch updatecli_master_$PIPELINEID 20 force: true 21 22 # Use source/target checks for modules without proper semver 23 sources: 24 email: 25 kind: golang/gomod 26 scmid: default 27 spec: 28 module: github.com/jordan-wright/email 29 ical: 30 kind: golang/gomod 31 scmid: default 32 spec: 33 module: github.com/emersion/go-ical 34 cron: 35 kind: golang/gomod 36 scmid: default 37 spec: 38 module: gopkg.in/robfig/cron.v2 39 termchalk: 40 kind: golang/gomod 41 scmid: default 42 spec: 43 module: github.com/pquerna/termchalk 44 targets: 45 email: 46 name: email 47 sourceid: email 48 kind: golang/gomod 49 scmid: default 50 spec: 51 module: github.com/jordan-wright/email 52 versionfilter: 53 kind: latest 54 ical: 55 name: ical 56 sourceid: ical 57 kind: golang/gomod 58 scmid: default 59 spec: 60 module: github.com/emersion/go-ical 61 versionfilter: 62 kind: latest 63 cron: 64 name: cron 65 sourceid: cron 66 kind: golang/gomod 67 scmid: default 68 spec: 69 module: gopkg.in/robfig/cron.v2 70 versionfilter: 71 kind: latest 72 termchalk: 73 name: termchalk 74 sourceid: termchalk 75 kind: golang/gomod 76 scmid: default 77 spec: 78 module: github.com/pquerna/termchalk 79 versionfilter: 80 kind: latest 81 82 # Use autodiscovery for modules with proper semver 83 # - https://www.updatecli.io/docs/guides/npm 84 # - https://www.updatecli.io/docs/core/autodiscovery 85 autodiscovery: 86 scmid: default 87 crawlers: 88 golang/gomod: 89 versionfilter: 90 kind: semver 91 pattern: major 92 ignore: 93 - modules: 94 # Ignore modules without proper semver 95 github.com/jordan-wright/email: 96 github.com/emersion/go-ical: 97 gopkg.in/robfig/cron.v2: 98 github.com/pquerna/termchalk: