Skip to main content

All Questions

0 votes
0 answers
29 views

Execute Python code with GitLab parallel matrix in different OS (Windows and Linux)

I'd like to test my project's code with e2e tests, hopefully in different OS to ensure it works as expected not only in Linux systems but in other ones as well. To achieve this, I'd like to use GitLab'...
Santiago La corte's user avatar
0 votes
1 answer
80 views

Unable to Install and Update packages in gitlab-ci-yml

I have a gitlab-ci-yml script to deploy in my remote server, but I got a problem when installing ssh, I already force assigned the DNS but still the same problem and tried different image in docker ...
Adbul's user avatar
  • 43
0 votes
1 answer
463 views

Installing Python on Node/Playwright docker image?

I have been using Playwrights node docker image, defined here: https://playwright.dev/docs/docker This includes all the browser dependencies/etc.. for the node version of docker. This has worked fine ...
msmith1114's user avatar
  • 3,261
2 votes
1 answer
248 views

Gitlab CI, artefacts

I am doing my first CI project and I have recently got confused about artefacts... Say I have config with next jobs: cleanup_build: tags: - block_autotest stage: cleanup script: - ...
IzaeDA's user avatar
  • 397
0 votes
1 answer
107 views

GitLab Runner with python setuptools not able to execute build job - kernel32.lib not found

I'm trying to get my gitlab-runner pipeline (OS: Windows10) back running, but it always fails with this error LINK : fatal error LNK1104: cannot open file 'kernel32.lib' when executing the build ...
Knieli's user avatar
  • 1
0 votes
1 answer
254 views

Executable generated with gitlab-ci, blocked by Windows Defender (Program:Win32/Wacapew.C!ml)

I have developed a small Python program by my own, which I would like to build with gitlab-ci. I first tried it locally on my computer (Win10), and built an executable with pyinstaller. All went well ...
Enzo's user avatar
  • 1
0 votes
1 answer
154 views

Issues with element detection on remote machine using PyAutoGUI and OpenCV

Given: PyAutoGUI and OpenCV. Their specific task is to find a particular element on the current screen by exact match. This is done by taking a screenshot of the entire screen and then searching for ...
IG2000's user avatar
  • 1
1 vote
1 answer
194 views

Running tkinter Tests on a Device without a Display

I have some Python code that I created some tkinter GUI's for. I wrote some basic tests for some of the custom frames that make up these GUI's using the pytest framework and they work locally. However,...
Andy Swanson's user avatar
0 votes
1 answer
251 views

Can't connect to PostgreSQL db from docker executor (gitlab ci/cd)

I tried the way explained in official gitlab documentation, configured database on the host and tried to connect with DB_HOST=postgres. But psycopg throws error: (psycopg.OperationalError) connection ...
Beknur Seydazim's user avatar
0 votes
1 answer
975 views

Attempted to initialize RESTObject with a non-dictionary value when adding file to GitLab project using python-gitlab

I am trying to create GitLab projects through GitLab CI pipeline by importing the GitLab export tar.gz file using python-gitlab library. The new project gets created but does not get initialized with ...
Ashmeet Pahwa's user avatar
0 votes
0 answers
160 views

gitlab ci/cd piple shell script is not working out of python script

The following script in gitlab ci/cd - but it works locally on runner machine. but when i try in gitlab it shows empty addres list - how tried array and everything its not working script: - > ...
joe's user avatar
  • 35.2k
0 votes
0 answers
2k views

unable to install confluent-kafka python module on alpine 3.13.5

I am trying to install confluent-kafka on a alpine-3.13.5. Basically i am trying the same in docker in docker - https://hub.docker.com/_/docker as part of my gitlab runner. This is how my .gitlab-ci....
curiousguy's user avatar
  • 3,282
-1 votes
1 answer
331 views

Cannot build sphinx autodocumentation with Django via GitLab (docker) pipeline

this problem might be quite specific. My setup This is my project structure. It's a Django project. ├── docs │ ├── build │ │ ├── doctrees │ │ └── html │ ├── Makefile │ └── source │ ...
kerfuffle's user avatar
  • 314
0 votes
1 answer
2k views

Getting # collapsed multi-line command error in GitLab CI config file scripts

I'm trying to put a multi-line shell script command in the GitLab CI YAML file as shown below:- test: stage: promote-test-reports image: "937583223412.dkr.ecr.us-east-1.amazonaws.com/core-...
vinod827's user avatar
  • 1,554
0 votes
1 answer
646 views

Gitlab runner windows "Can't find a default Python."

I am struggeling setting up a CI/CD pipeline with a runner on windows using the powershell. When trying to run a python script within the repo like py hardware_in_the_loop_base.py 2060365E3452 it ...
user20416887's user avatar

15 30 50 per page