News for hackers. Stuff that matters.
Re:Write Gitlab CI Pipelines in Python Code by rosineygp on Thursday April 29, 2021 @08:14PM (#26988443)
My main problem is running the job/step locally and not wait to CI steps to validate some change.

My solution is: https://github.com/rosineygp/mkdkr

I can write somethings like this:

  py:
   @$(dkr)
   instance: python:3.8
   run: pip install requests
   export MKDKR_SHELL=python
   run: 'import requests
      r = requests.get(f"https://api.isevenapi.xyz/api/iseven/2/")
      print(r.json())'

There are no comments on this comment yet.