Questions tagged [runner]

250 questions
0
votes
1 answer

How to deploy with .gitlab-ci.yml in runner used by docker?

I installed docker and gitlab + a runner using this tutorial: https://frenchco.de/article/Add-un-Runner-Gitlab-CE-Docker The problem is that when I try to modify the .gitlab-ci.yml to make a deployment on my host machine I can not do it. My .yml…
VlaDDy
  • 1
  • 1
0
votes
0 answers

How do I sequence Cucumber Tags in Runner Class

I am using these tags in my runner.java to run scenarios in my Cucumber/Java/Selenium Framework tags="@order01, @location01, @location02, @location03, @location04", Even order01 is the 1st scenario in the list of tags, it runs last after all the…
0
votes
1 answer

Scrapy, problem input multiple spider's variable in CrawlerRunner

I write my scrapy spider that start with two class variable, and then want to run it from Runner. I did try: yield runner.crawl(MySpider1, variable1, variable2) or yield runner.crawl(MySpider1, [variable1, variable2]) or yield…
Kai
  • 77
  • 1
  • 13
0
votes
1 answer

Rails task not running unless rails runner has been executed in the command prompt since the linux server machine's bootup

I'm trying to execute this task to update a large amount of data from a controller so that when an administrator user accesses this method it will run the said task. I've confirmed that there aren't any issues with the task itself, but I'm not so…
0
votes
0 answers

Whenever gem - runner failing for one Model? Illegal name?

I have a model called Task. rails runner -e development "Task.myClassMethod" Results in this: Please specify a valid ruby command or the path of a script to run. Run 'bin/rails runner -h' for help. undefined method `myClassMethod' for…
fatfrog
  • 2,118
  • 1
  • 23
  • 46
0
votes
1 answer

Postman: How to assert situation when service is down

Currently Postman seems to unable to assert situation when testing service doesn't work. I suppose to make in-test call before main request: pm.sendRequest(str function (err, res) { if (err) { console.log(err); …
uBaH
  • 169
  • 1
  • 12
0
votes
0 answers

gitlab runner hard reset

I am using gitlab-runner with shell executor. Every time I deploy with new source media files will be wiped out because runner will do hard-reset on my directory. I have check the documents, but it does not mention about this mechanics…
joe
  • 8,383
  • 13
  • 61
  • 109
0
votes
1 answer

Spawning an infinite amount of prefabs

I have been trying to learn Unity 3D by creating a simple runner game. The game was spawning a simple road from asset store. I have decided to add some obstacles to that road and make a prefab from it, but when I added that prefab to an array from…
Vit
  • 51
  • 9
0
votes
1 answer

cf login - credentials were rejected in Windows GIT runner as shell

Unable to login to cf with cf login in GIT runner as shell $ cf login -a api.sys.xxx.pcf.xxx.com -u xxxxx -p xxxxx -o xxx -s xx --skip-ssl-validation API endpoint: api.sys.xxx.pcf.xxx.com Authenticating... Credentials were rejected, please try…
0
votes
0 answers

Testing a method which returns values from third party rest service

I have a method which returns data from a third party rest service. I don't have access to third party service from Local machine. I tried to implement MockRestServiceServer and WireMock to test the same but not successful. Below is the code public…
raj
  • 1
  • 1
0
votes
1 answer

TFS + Jenkins job

I have a project on local TFS server. This project has a PowerShell script which creates the build. I need to create a correct JOB in Jenkins, which will start when any change happens in the project (TFS). This job will automatically start PS…
Ronny Lee
  • 47
  • 1
  • 1
  • 5
0
votes
1 answer

How do i setup my Junit runner for cucumber to run on multiple projects?

I recently started working with cucumber where I just set up the project project setup As you can see I have the DefaultRunner.java which is the JUnit runner class and it has the following code: package Runners; import…
Sunny
  • 1
  • 1
0
votes
1 answer

Is it possible to add CI info in push?

We are using Gitlab CE and Gitlab Runner for our CI/CD on our Stage Servers. We got a branch for lets say dev1 where we need to do different tasks for different changes. E.g. for frontend stuff we need a compiler to start and for backend we need to…
Isengo
  • 2,004
  • 3
  • 21
  • 43
0
votes
0 answers

Can't run my test JUnit step definition

I want to run test JUnit i work in 2 different projets : In the first one i have The feature : Feature: Google Search Scenario: Validate google search text field Given open a browser When navigate to google page Then validate search text…
user6618310
  • 39
  • 1
  • 5
  • 14
0
votes
1 answer

GitLab Runner No Compiler

need some help to help to solve this issue. Iam running my gitlab ci, to test my maven project, everthing ist working fine but when its starting to compiling/building/installing following error recieves: Running with gitlab-runner 10.5.0…
Varothem
  • 21
  • 4