rosineygp
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())'This tool handler this kind of "lock" like a switch button.
I have a lot of difficult to explain this. I will improve the docs... maybe record a video.
I just create a small script and run using make
https://github.com/rosineygp/mkdkr
in another words: https://xkcd.com/927/
So, I already did code in clojure before this... the main reason was just know how a host language works, not pure clojure... clojure has everything you need with two or more functions to resolve (amazing!!!)
And I tried to learn reading clojure.core... but Is very dificult. the project "make a lisp" helps me with this problem.
I will try do something with Babashka or Joker soon.
Thanks!
A pure Bash Clojure-ish CI pipeline
From jenkins to gitlab... From travis to github actions...
So I build this small project that helps me to change faster without touch in real CI logic.
https://github.com/rosineygp/mkdkr
I think your problem is bigger than mine, but this kind of approach can help you in the future.
But It already run in following engines:
- gitlab-ci: https://gitlab.com/rosiney.gp/mkdkr/commits/master - actions: https://github.com/rosineygp/mkdkr/actions - travis: https://travis-ci.org/rosineygp/mkdkr - circle-ci: https://circleci.com/gh/rosineygp/mkdkr/tree/master
The bagdes on README.md show it.
Except for gitlab, you have to write your on .yaml by hand. I not finished the exporters/generators.
After write your Makefile, integrated with a engine isn't a big problem.
Take a look at .travis.yml, .gitlab-ci.yml, .circleci/config.yml and .github/workflows/main.yml they are very similar and dumb, just call all jobs resolved in Makefile.
Take a look again
Thanks to reply. I had no idea about this problem.
But the project is very simples Just try to follow the examples and it will word. Also it's looks like others pipeline system based in yaml.
The next changes will be about docs ;)