-
Notifications
You must be signed in to change notification settings - Fork 444
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add repolint.json and fix incompatibility
Fix #252 * add repolint.json * add CODE_OF_CONDUCT* * move contributing.md to root * move azure-pipelines under ci/ (wait for admin to change settings before delete the previous one) Signed-off-by: Dixing Xu <[email protected]>
- Loading branch information
Showing
4 changed files
with
143 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Code of Conduct Guidelines | ||
========================== | ||
|
||
Please review the Hyperledger [Code of | ||
Conduct](https://wiki.hyperledger.org/community/hyperledger-project-code-of-conduct) | ||
before participating. It is important that we keep things civil. | ||
|
||
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Starter pipeline | ||
# Start with a minimal pipeline that you can customize to build and deploy your code. | ||
# Add steps that build, run tests, deploy, and more: | ||
# https://aka.ms/yaml | ||
|
||
trigger: | ||
- master | ||
|
||
pool: | ||
vmImage: 'ubuntu-18.04' | ||
|
||
variables: | ||
- group: credentials | ||
|
||
stages: | ||
- stage: PreCheck | ||
displayName: Check license and documents | ||
jobs: | ||
- job: CheckLicenseAndDocs | ||
steps: | ||
- template: ci/check-license-and-docs.yml | ||
|
||
- stage: ProcessComponents | ||
displayName: ProcessComponents | ||
jobs: | ||
- template: ci/process-components.yml | ||
parameters: | ||
param: | ||
- name: dashandapi | ||
pretest: "dashandapi_pre.yml" | ||
posttest: "dashandapi_post.yml" | ||
images: | ||
- imagename: "hyperledger/cello-api-engine" | ||
dockerfile: "build_image/docker/common/api-engine/Dockerfile.in" | ||
- imagename: "hyperledger/cello-nginx" | ||
dockerfile: "build_image/docker/common/nginx/Dockerfile.in" | ||
- imagename: "hyperledger/cello-dashboard" | ||
dockerfile: "build_image/docker/common/dashboard/Dockerfile.in" | ||
- name: ansibleagent | ||
images: | ||
- imagename: "hyperledger/cello-ansible-agent" | ||
dockerfile: "build_image/docker/agent/ansible/Dockerfile.in" | ||
# - name: fabricoperator | ||
# images: | ||
# - imagename: "hyperledger/cello-k8s-operator-agent" | ||
# dockerfile: "src/agent/fabric-operator/agent/Dockerfile" | ||
# - imagename: "hyperledger/cello-k8s-operator-controller" | ||
# dockerfile: "src/agent/fabric-operator/Dockerfile" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
{ | ||
"axioms": { | ||
"linguist":"language", | ||
"licensee":"license", | ||
"packagers":"packager" | ||
}, | ||
"rules": { | ||
"all": { | ||
"license-file-exists:file-existence": ["error", {"files": ["LICENSE*", "COPYING*"], "nocase": true}], | ||
"readme-file-exists:file-existence": ["error", {"files": ["README*"], "nocase": true}], | ||
|
||
"contributing-file-exists:file-existence": ["error", {"files": ["CONTRIB*", ".github/CONTRIB*"]}], | ||
"code-of-conduct-file-exists:file-existence": ["error", {"files": [ | ||
"CODEOFCONDUCT*", "CODE-OF-CONDUCT*", "CODE_OF_CONDUCT*", | ||
".github/CODEOFCONDUCT*", ".github/CODE-OF-CONDUCT*", ".github/CODE_OF_CONDUCT*" | ||
]}], | ||
"changelog-file-exists:file-existence": ["error", {"files": ["CHANGELOG*"], "nocase": true}], | ||
"security-file-exists:file-existence": ["error", {"files": ["SECURITY.md"]}], | ||
"support-file-exists:file-existence": ["warning", {"files": ["{docs/,.github/,}SUPPORT*"], "nocase": true}], | ||
"readme-references-license:file-contents": ["error", {"files": ["README*"], "content": "license", "flags": "i"}], | ||
"binaries-not-present:file-type-exclusion": ["error", {"type": ["**/*.exe", "**/*.dll", "!node_modules/**"]}], | ||
"test-directory-exists:directory-existence": ["error", {"directories": ["**/test*", "**/specs"], "nocase": true}], | ||
"integrates-with-ci:file-existence": [ | ||
"error", | ||
{ | ||
"files": [ | ||
".gitlab-ci.yml", | ||
".travis.yml", | ||
"appveyor.yml", | ||
".appveyor.yml", | ||
"circle.yml", | ||
".circleci/config.yml", | ||
"Jenkinsfile", | ||
".drone.yml", | ||
".github/workflows/*", | ||
"ci/azure-pipelines.yml" | ||
] | ||
} | ||
], | ||
"code-of-conduct-file-contains-email:file-contents": [ | ||
"warning", | ||
{ | ||
"files": [ | ||
"CODEOFCONDUCT*", "CODE-OF-CONDUCT*", "CODE_OF_CONDUCT*", | ||
".github/CODEOFCONDUCT*", ".github/CODE-OF-CONDUCT*", ".github/CODE_OF_CONDUCT*" | ||
], | ||
"content": ".+@.+\\..+", | ||
"flags": "i", | ||
"human-readable-content": "email address" | ||
} | ||
], | ||
"source-license-headers-exist:file-starts-with": ["warning", {"files": ["**/*.js", "!node_modules/**"], "lineCount": 5, "patterns": ["Copyright", "License"], "flags": "i"}], | ||
"github-issue-template-exists:file-existence": ["warning", {"files": ["ISSUE_TEMPLATE*", ".github/ISSUE_TEMPLATE*"]}], | ||
"github-pull-request-template-exists:file-existence": ["warning", {"files": ["PULL_REQUEST_TEMPLATE*", ".github/PULL_REQUEST_TEMPLATE*"]}] | ||
}, | ||
"language=javascript": { | ||
"package-metadata-exists:file-existence": ["error", {"files": ["package.json"]}] | ||
}, | ||
"language=ruby": { | ||
"package-metadata-exists:file-existence": ["error", {"files": ["Gemfile"]}] | ||
}, | ||
"language=java": { | ||
"package-metadata-exists:file-existence": ["error", {"files": ["pom.xml", "build.xml", "build.gradle"]}] | ||
}, | ||
"license=*": { | ||
"license-detectable-by-licensee": ["error"] | ||
}, | ||
"license=Apache-2.0": { | ||
"notice-file-exists:apache-notice": ["error"] | ||
}, | ||
"language=python": { | ||
"package-metadata-exists:file-existence": ["error", {"files": ["setup.py", "requirements.txt"]}] | ||
}, | ||
"language=objective-c": { | ||
"package-metadata-exists:file-existence": ["error", {"files": ["Cartfile", "Podfile", "*.podspec"]}] | ||
}, | ||
"language=swift": { | ||
"package-metadata-exists:file-existence": ["error", {"files": ["Package.swift"]}] | ||
}, | ||
"language=erlang": { | ||
"package-metadata-exists:file-existence": ["error", {"files": ["rebar.config"]}] | ||
}, | ||
"language=elixir": { | ||
"package-metadata-exists:file-existence": ["error", {"files": ["mix.exs"]}] | ||
} | ||
} | ||
} |