Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add details about Semaphore CI #1779

Merged
merged 28 commits into from
May 29, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
1581e54
Merge branch 'develop'
brian-mann Oct 10, 2017
87d4f44
Merge branch 'develop'
brian-mann Oct 14, 2017
d29909b
Merge branch 'develop'
brian-mann Oct 15, 2017
2461681
release 1.0.3 [skip ci]
brian-mann Oct 30, 2017
a81d185
Merge branch 'develop'
brian-mann Oct 30, 2017
242c55b
Merge branch 'develop'
brian-mann Oct 30, 2017
5726ef5
Merge branch 'develop'
brian-mann Nov 20, 2017
6e85c3c
Merge branch 'develop'
brian-mann Nov 21, 2017
ce148c5
Merge branch 'develop'
brian-mann Nov 27, 2017
f7729a9
Merge branch 'develop'
brian-mann Dec 4, 2017
e91490f
Merge branch 'develop'
brian-mann Dec 7, 2017
7208cf0
Merge branch 'develop'
brian-mann Dec 7, 2017
4d85570
Merge branch 'develop'
brian-mann Dec 15, 2017
3f36c56
Merge branch 'develop'
brian-mann Dec 19, 2017
4ff28a9
Merge branch 'develop'
brian-mann Dec 26, 2017
af27b63
Merge branch 'develop'
brian-mann Feb 5, 2018
d83f9e8
release 2.0.0 [skip ci]
brian-mann Feb 16, 2018
59f026c
Merge branch 'develop'
brian-mann Feb 16, 2018
81f068e
Merge branch 'develop'
brian-mann Feb 16, 2018
d4a4700
Merge branch 'develop'
brian-mann Feb 17, 2018
cf22c2b
Merge branch 'develop'
brian-mann Feb 19, 2018
6ef26a5
Merge branch 'develop'
brian-mann Feb 21, 2018
c972e7a
Merge branch 'develop'
brian-mann Feb 26, 2018
4476e6c
Merge branch 'develop'
brian-mann Mar 1, 2018
2e68ab8
Add a comment to Issue Template directing questions to be asked in ch…
jennifer-shehane Mar 5, 2018
0937ce3
Add details about Semaphore CI
nikolalsvk May 25, 2018
04bd1f2
Merge branch 'develop' into patch-1
brian-mann May 28, 2018
d90511c
Merge branch 'develop' into patch-1
brian-mann May 28, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
### Is this a Feature or Bug?

<!-- Is this a question? Do not open an issue. Please ask your question in our chat https://gitter.im/cypress-io/cypress -->

### Current behavior: <!-- (images, stack traces, etc) -->
### Current behavior:

<!-- images, stack traces, etc -->

### Desired behavior:


### Steps to reproduce:

<!-- Issues without reproducible steps might get closed. *Tip* You can fork https://github.com/cypress-io/cypress-test-tiny repo, set up a failing test, then tell us the repo/branch to try. -->
Expand All @@ -15,5 +16,6 @@

```

### Versions <!-- (Cypress, operating system, browser) -->
### Versions

<!-- Cypress, operating system, browser -->
20 changes: 11 additions & 9 deletions packages/server/lib/util/ci_provider.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@ providers = {
}

buildNums = (provider) -> {
appveyor: process.env.APPVEYOR_BUILD_NUMBER
circle: process.env.CIRCLE_BUILD_NUM
codeship: process.env.CI_BUILD_NUMBER
gitlab: process.env.CI_BUILD_ID
jenkins: process.env.BUILD_NUMBER
travis: process.env.TRAVIS_BUILD_NUMBER
drone: process.env.DRONE_BUILD_NUMBER
appveyor: process.env.APPVEYOR_BUILD_NUMBER
circle: process.env.CIRCLE_BUILD_NUM
codeship: process.env.CI_BUILD_NUMBER
gitlab: process.env.CI_BUILD_ID
jenkins: process.env.BUILD_NUMBER
travis: process.env.TRAVIS_BUILD_NUMBER
semaphore: process.env.SEMAPHORE_BUILD_NUMBER
drone: process.env.DRONE_BUILD_NUMBER
}[provider]

groupIds = (provider) -> {
Expand Down Expand Up @@ -66,6 +67,9 @@ params = (provider) -> {
buildId: process.env.TRAVIS_BUILD_ID
repoSlug: process.env.TRAVIS_REPO_SLUG
}
semaphore: {
repoSlug: process.env.SEMAPHORE_REPO_SLUG
}
drone: {
buildUrl: process.env.DRONE_BUILD_LINK
}
Expand All @@ -86,7 +90,6 @@ params = (provider) -> {
# ciUrl: process.env.CI_BUILD_URL
# buildNum: process.env.CI_BUILD_NUMBER
# }
# "drone": nullDetails
# "gitlab": -> {
# ciUrl: "#{process.env.CI_PROJECT_URL}/builds/#{process.env.CI_BUILD_ID}"
# buildNum: process.env.CI_BUILD_ID
Expand All @@ -96,7 +99,6 @@ params = (provider) -> {
# ciUrl: process.env.BUILD_URL
# buildNum: process.env.BUILD_NUMBER
# }
# "semaphore": nullDetails
# "shippable": nullDetails
# "snap": nullDetails
# "teamcity": nullDetails
Expand Down
8 changes: 6 additions & 2 deletions packages/server/test/unit/ci_provider_spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,15 @@ describe "lib/util/ci_provider", ->

it "semaphore", ->
process.env.SEMAPHORE = true
process.env.SEMAPHORE_BUILD_NUMBER = "46"
process.env.SEMAPHORE_REPO_SLUG = "rails/rails"

@expects({
name: "semaphore"
buildNum: null
params: null
buildNum: "46"
params: {
repoSlug: "rails/rails"
}
})

it "shippable", ->
Expand Down