Peter Bittner

Results 504 comments of Peter Bittner

Not yet, but this should be much cleaner to fix today. With [pipenv](https://pipenv.readthedocs.io/) we can now cleanly put development dependencies into a project. We'd have to replace the [requirements.txt](https://github.com/painless-software/painless-continuous-delivery/blob/master/%7B%7Bcookiecutter.project_slug%7D%7D/_/frameworks/Django/requirements.txt) file...

This is easier to do than ever now. 1. The `Dockerfile` is [flexible enough](https://github.com/painless-software/painless-continuous-delivery/blob/main/%7B%7Bcookiecutter.project_slug%7D%7D/_/development/python/Dockerfile#L3) to pick any `requirements.txt` file you need. 2. You can simply add the needed development dependencies...

The fragility might result from the piped `kustomize` command in the command chain: ```yaml kustomize build | oc apply -f - && ... ``` When `kustomize` fails its exit status...

Piping in shells is always problematic in pipelines. A simple, innocent example is what we use to [pull existing Docker image layers](https://gitlab.com/appuio/example-django/-/blob/master/.gitlab-ci.yml#L46) (something that is [suggested in the GitLab docs](https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#using-docker-caching)):...

The first demo is active at https://gitlab.com/appuio/example-django. Every change on the `master` branch will trigger a [field test](https://github.com/painless-software/painless-continuous-delivery/tree/master/tests/field), which currently is simply a [deployment of a Django example](https://github.com/painless-software/painless-continuous-delivery/blob/master/.gitlab-ci.yml#L55-L58) project. The...

We now have two more demos, one with Python's [Flask with Bitbucket Pipelines](https://bitbucket.org/appuio/example-flask/src/master/), the other with [Java Spring Boot](https://gitlab.com/appuio/example-springboot) showcasing the GitOps approach [with an additional repository](https://gitlab.com/appuio/example-springboot-gitops). All demos, which...

Okay, but wouldn't the thing you propose be the appropriate solution for "everything with GitLab"? ```yaml - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY ``` We may want to fix...

> suppress the "registry_user" option and automatically use the above registry login I don't know how this is done (or even, I fear this can't be done) with the Cookiecutter...

For Docopt the identical approach seems to be possible. The `docopt()` function [takes `argv` as a second argument and reads `sys.argv`](https://github.com/docopt/docopt/blob/master/docopt.py#L490-L553) when it is `None`. Unsurprisingly, this is [also supported...

I'm a bit puzzled with per-file rules, I don't get it to work. Here is what I have in my `tox.ini` file, but the flake8 complaints don't go away for...