myheats

Live heats, scoring and leaderboard for sport events
git clone https://git.in0rdr.ch/myheats.git
Log | Files | Refs | Pull requests | README | LICENSE

default.yaml (1023B)


      1 name: Update npm 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/myheats.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 # no targets, use autodiscovery
     23 # - https://www.updatecli.io/docs/guides/npm
     24 # - https://www.updatecli.io/docs/core/autodiscovery
     25 autodiscovery:
     26   scmid: default
     27   crawlers:
     28     # https://www.updatecli.io/docs/plugins/autodiscovery/npm
     29     npm:
     30 
     31 actions:
     32   default:
     33     kind: git
     34     scmid: default