Initial commit based on agent barebone.

Signed-off-by: Marcel Parciak <marcel.parciak@gmail.com>
4 jobs for dev in 15 seconds (queued for 1 second)
Name Stage Failure
failed
dryrun_publish_to_harbor Test
Removing .pytest_cache/
Removing annotator/__pycache__/
Removing report.xml
Skipping Git submodules setup
Executing "step_script" stage of the job script
$ docker login --username marcelparciak --password $HARBOR_PUSH_TOKEN https://harbor.umg.eu
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Error response from daemon: Get https://registry-1.docker.io/v2/: unauthorized: incorrect username or password
ERROR: Job failed: exit status 1
failed
run_tests Test
ERROR annotator/test_main.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
========================= 1 warning, 1 error in 0.14s ==========================
Uploading artifacts for failed job
Uploading artifacts...
Runtime platform
arch=amd64 os=linux pid=13249 revision=efa30e33 version=13.2.1
report.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... ok
id=358819 responseStatus=201 Created token=7u8au-MV
ERROR: Job failed: exit status 1
failed
dryrun_publish_image Test
Login Succeeded
$ AGENTVERSION=`python3 setup.py --version`
Traceback (most recent call last):
File "setup.py", line 50, in <module>
with open(os.path.join(here, project_slug, "__version__.py")) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/gitlab-runner/builds/sUMAVdAx/0/medinfpub/umg-medic/aw-agents/annotation-agent/app/__version__.py'
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit status 1
failed
build_image Test
Step 2/8 : ENV MODULE_NAME="annotator.main"
---> Running in f4c46fa7dbb4
Removing intermediate container f4c46fa7dbb4
---> ff34e0868dc5
Step 3/8 : COPY ./requirements.txt /app/requirements.txt
COPY failed: stat /var/lib/docker/tmp/docker-builder809306537/requirements.txt: no such file or directory
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit status 1