Dear all
@jheimbuck_gl
I am beginner in gitlab and i need help!
i install gitlab and gitlab runner as docker container.
my executor on runner is docker and i create simple pipeline for my python code for test!
my .gitlab-ci.yml is :
Blockquote
image: python:3.6-slim
before_script:
- python -V # Print out python version for debugging
stages: - test
test_job:
stage: test
script:- touch far.txt
- pwd
- echo “Running tests”
- python -m unittest discover -s “./tests/”
- touch farhad.txt
- pwd
and its work fine!
but i cant find my far.txt and farhad.txt anywhere!
how i can access to my pipeline output ??
Blockquote
Running with gitlab-runner 16.3.0 (8ec04662)
on docker 88jCic3E, system ID: r_GX5ILNohwXl4
Preparing the "docker" executor 00:03
Using Docker executor with image python:3.6-slim ...
Pulling docker image python:3.6-slim ...
Using docker image sha256:c1e40b69532f47ed3e92fabda2e711725befc34f118bd4dcbc4dec9f74a1e10c for python:3.6-slim with digest python@sha256:2cfebc27956e6a55f78606864d91fe527696f9e32a724e6f9702b5f9602d0474 ...
Preparing environment 00:00
Running on runner-88jcic3e-project-2-concurrent-0 via gitlab-runner1...
Getting source from Git repository 00:01
Fetching changes with git depth set to 20...
Reinitialized existing Git repository in /builds/root/test-tefas/.git/
Checking out 85962c8d as detached HEAD (ref is main)...
Removing far.txt
Skipping Git submodules setup
Executing "step_script" stage of the job script 00:00
Using docker image sha256:c1e40b69532f47ed3e92fabda2e711725befc34f118bd4dcbc4dec9f74a1e10c for python:3.6-slim with digest python@sha256:2cfebc27956e6a55f78606864d91fe527696f9e32a724e6f9702b5f9602d0474 ...
$ python -V
Python 3.6.15
$ touch far.txt
$ pwd
/builds/root/test-tefas
$ echo "Running tests"
Running tests
$ python -m unittest discover -s "./tests/"
..
----------------------------------------------------------------------
Ran 2 tests in 0.000s
OK
$ touch farhad.txt
$ pwd
/builds/root/test-tefas
Job succeeded