Sign inSign up

ckleemann/pyup

By ckleemann

Updated over 4 years ago
Archived

Image
1

2.9K

ckleemann/pyup repository overview

pyup bot docker image

Build Status

This docker image provides the latest version of pyupio. The pyupio version is automatically updated by dependabot and pushed to docker hub.

GitLab CI

To use this image inside a GitLab CI environment as a scheduled task add the following snippet to your .gitlab-ci.yml:

pyup:
  image:
    name: ckleemann/pyup
    entrypoint: [""]
  stage: pyup
  only:
    - schedules
  variables:
    GIT_STRATEGY: none
  cache: {}
  before_script:
    - export GITLAB_URL=$(echo $CI_PROJECT_URL | cut -d'/' -f-3)
  script:
    - pyup --provider gitlab --repo=$CI_PROJECT_PATH --user-token=$SCHEDULE_USER_TOKEN@$GITLAB_URL --branch $CI_COMMIT_REF_NAME

Then add a scheduled task under CI / CD -> Schedules. In the variables section add SCHEDULE_USER_TOKEN and the user access token which is used for the API calls.

There are also some not so well documented configuration parameter for gitlab. Add the following snippets to your .pyup.yml:

gitlab:
    should_remove_source_branch: True
    merge_when_pipeline_succeeds: False

Tag summary

Content type

Image

Digest

Size

76.9 MB

Last updated

over 4 years ago

docker pull ckleemann/pyup