Skip to content

Commit 42d3ec0

Browse files
authored
Semaphore2 (#264)
* start semaphore v2 yml file * lint semaphore and buildkite yaml files
1 parent b964256 commit 42d3ec0

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

.semaphore/semaphore.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# copied from https://docs.semaphoreci.com/article/50-pipeline-yaml
2+
version: v1.0
3+
name: Cypress example Kitchensink
4+
agent:
5+
machine:
6+
type: e1-standard-2
7+
os_image: ubuntu1804
8+
9+
blocks:
10+
- name: Inspect Linux environment
11+
task:
12+
jobs:
13+
- name: First task
14+
commands:
15+
- echo $SEMAPHORE_PIPELINE_ID
16+
- echo $HOME
17+
- echo $SEMAPHORE_GIT_DIR
18+
prologue:
19+
commands:
20+
- checkout

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Codeship Pro | [ ![Codeship Pro CI](https://app.codeship.com/projects/8d6a20c0-b
2121
GitLab | [![GitLab CI](https://gitlab.com/cypress-io/cypress-example-kitchensink/badges/master/pipeline.svg)](https://gitlab.com/cypress-io/cypress-example-kitchensink/commits/master) | [basic/.gitlab-ci.yml](basic/.gitlab-ci.yml) | [.gitlab-ci.yml](.gitlab-ci.yml)
2222
Heroku CI | | [basic/app.json](basic/app.json) |
2323
Jenkins | | [basic/Jenkinsfile](basic/Jenkinsfile) | [Jenkinsfile](Jenkinsfile)
24-
Semaphore | [![Semaphore CI](https://semaphoreci.com/api/v1/cypress-io/cypress-example-kitchensink/branches/master/badge.svg)](https://semaphoreci.com/cypress-io/cypress-example-kitchensink)
24+
Semaphore v2 | [![Semaphore CI](https://semaphoreci.com/api/v1/cypress-io/cypress-example-kitchensink/branches/master/badge.svg)](https://semaphoreci.com/cypress-io/cypress-example-kitchensink) | [.semaphore/semaphore.yml](.semaphore/semaphore.yml)
2525
Shippable | [![Shippable CI](https://api.shippable.com/projects/56c38fdc1895ca4474743010/badge?branch=master)](https://app.shippable.com/github/cypress-io/cypress-example-kitchensink) | [shippable.yml](shippable.yml)
2626
Travis | [![Travis CI](https://travis-ci.org/cypress-io/cypress-example-kitchensink.svg?branch=master)](https://travis-ci.org/cypress-io/cypress-example-kitchensink) | [basic/.travis.yml](basic/.travis.yml) | [.travis.yml](.travis.yml)
2727

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"pretest": "npm run lint && npm run types",
1919
"print-env": "print-env",
2020
"lint": "eslint --fix cypress/**/*.js app/assets/js/scripts.js",
21-
"lint:yaml": "yamllint '*.yml' 'basic/*.yml'",
21+
"lint:yaml": "yamllint '*.yml' 'basic/*.yml' .buildkite/pipeline.yml .semaphore/semaphore.yml",
2222
"colon:names": "colon-names",
2323
"e2e": "cypress run",
2424
"e2e:chrome": "cypress run --browser chrome",

0 commit comments

Comments
 (0)