Services Blog Français

ansible-compose: deploying docker-compose files over bare ssh

| by jpic | python devops ansible docker docker-compose

In kubernetes, we have the joy of applying configuration directly from maintainer repositories:

kubectl apply -f https://raw.github.../setup.yml

This allows each repository to maintain its own infrastructure configuration as code, and maintaining a core devops framework in between. You will have to deal with particular credentials, that you should use something else to generate and so on.

On the other side of internet, happy docker-composers are also having a lot of fun maintaining them in repositories they contribute to. And there is a new command in town to get a warm automated feeling:

Read More

yourlabs/python container adds security audit tools

| by jpic | gitlab-ci security python gitlab best-practice

The new version of yourlabs/python docker image, which bundles npm and pip3 on alpine and a bunch of testing tools, was released with bandit and safety baked in.

You can benefit from it in your Open Source software by adding .gitlab-ci.yml:

py-sec-bandit:
  image: yourlabs/python
  script: bandit -v -x commands,tests {posargs:-r src}

py-sec-safety:
  image: yourlabs/python
  script: safety check

Automatic test rewrite for django-dbdiff/django-responsediff/cli2

| by jpic | python django best-practice tdd

Still in the competition for most code coverage with least test code that is written manually and needs to be maintained manually, all our test autowriting software has been updated to support a new environment variable : FIXTURE_REWRITE.

Instead of deleting fixtures manually to regenerate them by running the tests, you can now just run your tests with the FIXTURE_REWRITE env var. This will overwrite the fixtures and make the tests look like it passed.

Read More

Setupmeta

| by jpic | python continuous-delivery best-practice

https://github.com/zsimic/setupmeta

If you’re unhappy with the current state of your setup.py, you should definitely try setupmeta by famous haxor Zoran Simic. I’ve been upgrading my setup.py to setupmeta, which gives me 10 times more useful features than the crappy script I had in my delivery pipelines, and I’m going directly with setupmeta for all new packages. So far, we have at least the following packages with setupmeta (probably more): - cli2 - shyml - djcli - crudlfap - playlabs Even if you don’t maintain python packages, I highly recommend that you check setupmeta because it’s really well thought of. Have a great day ;)

very happy with gitlab-ci

| by jpic | playlabs k8s gitlab

image

Very happy with GitLab-CI ! However Vagrant/VirtualBox are givin me false positives on high load some times … so we’re starting an r&d; project to do a Vagrant in Python but just for LibVirt and with the purpose of eXtreme performance & stability for development and of course CI as first class citizen ! Interested ? let us know ;) With LOVE

Previous Page 6 of 33 Next Page

They trust us

Contact

logo