We’re evaluating Gitlab and the CI/CD functions seems to be great, but somehow the most important basic information is missing
We also want to use cloud services because simple, centralized optimizations immediately have a positive impact on our planet a million times Of course, this requires that cloud providers actually use resources carefully, therefore we have 4 simple, basic questions:
1) What is the default runtime for a Job in .gitlab-ci.yml?
Does the Gitlab CI/CD always start a docker container? Or is there a lightweight runtime?
If we have the following very simple script, will it run in a bash shell?
build: script: - echo "Start"
2) Is there a documentation about the default runtime environment (I guess bash)?
The runtime surely has some special CI/CD properties, like environment variables or special paths. Where can we find the documentation?
3) Is there a listing of all supported commands in the the default runtime environment (I guess bash)?
We have tried to use the very common and often used command
zip in the default shell, but it reports
"zip not found"
I really hope that
zip is somehow part of the basic function in the default-shell and we do not have to call something like
apt-get every time to download and install a very common command - just to destroy the runtime again a few seconds later. That would be a depressing waste of energy.
4) Is there a particularly lightweight runtime environment for simple jobs (e.g. zipping only certain files)?
A simple runtime environment with common used commands would be great
Thanks a lot for any help!