Questions tagged [runner]

250 questions
306
votes
21 answers

A cron job for rails: best practices?

What's the best way to run scheduled tasks in a Rails environment? Script/runner? Rake? I would like to run the task every few minutes.
jes5199
  • 18,324
  • 12
  • 36
  • 40
39
votes
2 answers

what does gulp-"cli" stands for?

Can someone please explain what exactly are the differences between the following two methods of gulp installation: $ npm install --global gulp-cli and $ sudo npm install -g gulp It looks to me that both do the same thing except that the first…
York Wang
  • 1,909
  • 5
  • 15
  • 27
19
votes
4 answers

Sonarqube authorization - how to authorize with sonar-maven-plugin when sonar.forceAuthentication is enabled

I've got sonarqube 6.5 with default configs. When sonar.forceAuthentication flag is set to false, I can create and analyse project through command given below. mvn sonar:sonar -Dsonar.host.url=https://mySonarHost/sonar -Dsonar.login=mySonarUserKey…
shha
  • 281
  • 2
  • 3
  • 7
16
votes
2 answers

Github actions: Run multiple jobs in a single runner or share workspace between jobs

Is there any way we can run multiple jobs in a single runner or share the Github actions workspace between jobs? In my organization, development teams use multiple reusable workflows created and managed by multiple teams. Team build creates and…
Haunted
  • 345
  • 1
  • 2
  • 11
15
votes
3 answers

how to run single request from the collection in newman

i have a collection in postman contain a lot of requests is there any option in Newman to run specific requests from this collection rather than create new folder for the specific request and run
mahmoud rabie
  • 151
  • 1
  • 4
14
votes
2 answers

How to remove/uninstall gitlab-runner completely from centos

My gitlab-runner service is not running no matter what I do. I used to have same problem before and when I used to update, and it used to start running but now it’s not starting at all. I have uninstalled and then again installed it’s still the…
MSA
  • 171
  • 1
  • 2
  • 7
14
votes
3 answers

GitLab CI How to trigger pipeline for submodules in maven multi-module project

I have a multi-module Maven project: root SubmoduleA src pom.xml SubmoduleB src pom.xml pom.xml .gitlab-ci.yml Is there any way I can trigger a CI pipeline only on SubmoduleA when somebody…
Vince
  • 357
  • 1
  • 7
  • 18
11
votes
1 answer

Gitlab Build Runner on Windows uses HTTP instead of SSH

I am new to Gitlab CI but have been reading on the topic for a while now. I have to test-compile C#-Projects on my Gitlab after every commit and found out that I need to use a Windows Shell-Runner setup for CI to build my project correctly.…
Flash1232
  • 384
  • 1
  • 3
  • 18
9
votes
3 answers

Turn some print off in python unittest

Im using unittest and it prints ".", "E" or "F" for "ok", "error" and "fail" after each test it does. How do I switch it off ? Im using Python 2.7 and these print come from the runner class which is built in. It sounds very tough to override the…
swan
  • 1,863
  • 3
  • 14
  • 8
9
votes
1 answer

Visual Studio 2017 Task Runner Explorer not running events on Publish

I have a gulp file that has 2 tasks in it 1. deletes *.html files from a directory 2. copies *.html files to a directory I have Visual Studio 2017's Task Runner Explorer setup so that: Before build runs task 1 After build runs task 2 If I run the…
GregJF
  • 456
  • 4
  • 14
6
votes
1 answer

Upload artifacts with the Windows Runner

We use a official Windows runner from Gitlab-ci. We want to upload artifacts. We use the 'artifact' keyword in our yaml file to define the artefacts that need to be uploaded. When we commit this is the message we are getting: gitlab-ci-multi-runner…
E. van der Spoel
  • 260
  • 1
  • 15
6
votes
2 answers

Undefined method with rails runner

I'm using the gem whenever and I can't get my runner instruction working. I'm getting this error: /Users/bl0b/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.11/lib/rails/commands/runner.rb:53:in `eval': undefined method `run' for…
bl0b
  • 926
  • 3
  • 13
  • 30
5
votes
1 answer

How to create unsigned ipa file using xcode 12.4? Unable to install "Runner"? code: Code: -402620388

Unable to install "Runner" Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402620388 how to solved it. Details Unable to install "Runner" Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402620388 No code signature found. Domain:…
user8296083
5
votes
1 answer

Git: Get list if all commits in the latest push in a branch

I am trying to create an automatic pipeline in gitlab-runner that will apply all the changes in the most recent git push. It is picking up the latest commit in the push (using $CI_COMMIT_SHA variable in gitlab-runner). However, if a push had…
Arnab Pal
  • 51
  • 2
5
votes
1 answer

How to stick with a Gitlab CI Runner within a pipeline?

In our Gitlab project group, we are using multiple shared runners for CI. However, some of the jobs have dependencies, such that the previous job must have been executed on the same runner. Here is an Example: Job 1 builds a docker container Job 2…
maxgemilian
  • 133
  • 1
  • 8
1
2 3
16 17