diff options
| author | Jan Friedli | 2020-05-14 18:54:52 +0200 |
|---|---|---|
| committer | Jan Friedli | 2020-05-14 18:54:52 +0200 |
| commit | 0a5e62bda21cb67766e9ac6146449080ba25bcec (patch) | |
| tree | 230036d593c26ae89fed0f458a81041aaebb2410 /.gitlab-ci.yml | |
| parent | 9bd985044ad8bd0612360bcaa9f4d871b6195985 (diff) | |
try to setup renovate
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b7e2440..94f1633 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml | |||
| @@ -3,6 +3,7 @@ image: debian:testing | |||
| 3 | stages: | 3 | stages: |
| 4 | - linting | 4 | - linting |
| 5 | - test | 5 | - test |
| 6 | - renovate | ||
| 6 | - build_container | 7 | - build_container |
| 7 | 8 | ||
| 8 | variables: | 9 | variables: |
| @@ -44,4 +45,14 @@ build-docker: | |||
| 44 | - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile.production --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG | 45 | - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile.production --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG |
| 45 | only: | 46 | only: |
| 46 | - tags | 47 | - tags |
| 47 | - master \ No newline at end of file | 48 | - master |
| 49 | |||
| 50 | renovate: | ||
| 51 | stage: renovate | ||
| 52 | variables: | ||
| 53 | RENOVATE_TOKEN: $GITLAB_API_TOKEN | ||
| 54 | image: | ||
| 55 | name: renovate/renovate:19 | ||
| 56 | entrypoint: [''] | ||
| 57 | script: | ||
| 58 | - node /usr/src/app/dist/renovate.js --platform gitlab --endpoint ${CI_API_V4_URL} --token ${GITLAB_API_TOKEN} ${CI_PROJECT_PATH} \ No newline at end of file | ||
