danger / danger/danger

Could not find the type of CI for Danger to run on.

Open
#1,012 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
5.7k
Forks
488
PR merge metrics
No merged PRs in 30d

Description

Hey, I've set up danger through this guide here: https://danger.systems/guides/getting_started.html and got stopped by this error:

```
→ bundle exec danger
Could not find the type of CI for Danger to run on.
```

I'm using a privately hosted GitLab server and therefore I setup my env variables in my `.bash_profile` like this:

```
export DANGER_GITLAB_HOST=https://git.XXX.de/
export DANGER_GITLAB_API_BASE_URL=https://git.XXX.de/api/v4
```

and created an environment variable in GitLab for my project where the bot has access to.

I have also created a Dangerfile through the `bundle exec danger init` and installed `danger-gitlab` with bundler. Here are my bundle and Dangerfile:

```
# frozen_string_literal: true

source "https://rubygems.org"

git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

gem 'danger-gitlab'
```

```
message("HEY")
```

System OS: Mac OS 10.14 Beta (18A371a)
Ruby: ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]
Bundler: Bundler version 1.16.4

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.