Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
imbstack committed May 4, 2018
0 parents commit 75792e0
Show file tree
Hide file tree
Showing 11 changed files with 1,527 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "eslint-config-taskcluster"
}
38 changes: 38 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/user-config.yml
lib/
.test/

# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules
jspm_packages

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history
62 changes: 62 additions & 0 deletions .taskcluster.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
version: 0
metadata:
name: "taskcluster-lib-urls test"
description: "Library for building taskcluster urls"
owner: "{{ event.head.user.email }}"
source: "{{ event.head.repo.url }}"

tasks:
- provisionerId: "{{ taskcluster.docker.provisionerId }}"
workerType: "{{ taskcluster.docker.workerType }}"
extra:
github:
env: true
events:
- pull_request.opened
- pull_request.synchronize
- pull_request.reopened
- push
payload:
maxRunTime: 3600
image: "node:10"
command:
- "/bin/bash"
- "-lc"
- "git clone {{event.head.repo.url}} repo && cd repo && git checkout {{event.head.sha}} && yarn install && yarn test"
metadata:
name: "taskcluster-lib-urls test"
description: "Library for building taskcluster urls"
owner: "{{ event.head.user.email }}"
source: "{{ event.head.repo.url }}"
- provisionerId: '{{ taskcluster.docker.provisionerId }}'
workerType: '{{ taskcluster.docker.workerType }}'
extra:
github:
events:
- push
branches:
- master
scopes:
- auth:aws-s3:read-write:taskcluster-raw-docs/taskcluster-lib-urls/
payload:
maxRunTime: 3600
image: taskcluster/upload-project-docs:latest
features:
taskclusterProxy:
true
command:
- /bin/bash
- '--login'
- '-cx'
- >-
git clone {{event.head.repo.url}} repo &&
cd repo &&
git config advice.detachedHead false &&
git checkout {{event.head.sha}} &&
export DEBUG=* DOCS_PROJECT=taskcluster-lib-urls DOCS_TIER=libraries DOCS_FOLDER=docs DOCS_README=README.md &&
upload-project-docs
metadata:
name: "taskcluster-lib-urls docs upload"
description: "Upload documentation for this project"
owner: '{{ event.head.user.email }}'
source: '{{ event.head.repo.url }}'
30 changes: 30 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
language: node_js
sudo: false
node_js:
- '8'
- '10'
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
caches:
yarn: true
env:
global:
- DEBUG='taskcluster-lib-urls test'
- CXX=g++-4.8
notifications:
irc:
secure: ub7PLmoLr7fPYdORBBgH1VSF6esn7+XlNXh8zm3NBOf2RAsMAp+Hk2r+yD4PI72+tGiPbUGsKKsCHh6+Xq3RZc9h67bfMS8KLoZGuogap12i0MnwM5x03lLCRhLvW+r1Y35u8NOEOuaQXfPL6UmQ2EGzDzrjVHXHotFnTqPFSFxeIAnAi9BSjqjy/yBstn1ybX0etobc+Mm9CRubD2eblKVwAYJi98yWLz+w8ou3BXUA/9iHZFyda60SJ8BTqxhnh9J1UYESvEoUg0dfO0Tj+++xQBz/mFM05SuVw5fzp4u5rECGkcFwanyeubHjzxvBXn83gV1mQpe9F1kAXsGNHt/1+YeIjo6nsOHdjpzScHfV5Nf063n1RNOFgQc3l5hhWmEFX+qdQFE1yxMXou00H/7iXlA8dUvjHCswqsKOFHiH3v6VQQ5cXtgu8jB1N0ZWPPeS1xIyQlHWXdD2uxKp+PyCnlKEjorIhRgFyr6kdPWRUQW45OJVvaMHs+a5DTZntsLf524kmObkJAmTdfy8Amq7XIKIYzHEo0KFQA4ukKfWwXqu7ESEgoXjI1rIERa9qzGBHR1prPZsBoDrctppL949/RsM48oT0PB7BGVQI9pwGI4oFrBwH/dp5w45AFpIB32r2IlLdsdP5iNiVtGDgVLn03KMvQgnVXP4cK1FEwg=
deploy:
provider: npm
email: [email protected]
skip_cleanup: true
api_key:
secure: LegnCcsUuXaAkG+1CqaSDvOnXjkgfrcB/SXOB5X1DI668Zny76ifnLzvBv1DRYnf7vc3cZy2dHEuAjsg0Ima1eanw0Pjyvh0SF8CPrlXuSPXuqFsbxsHsPtYj7BLCixRDG+4vTIhKIDKY0DFoLa6/HcLr0kyIuPOeJ7nkwKxjnPiCzv1stoBL3HujbodALPCPRo9eGZqv8MQu5Cuk+z2ZPRO05XrHxWfVfjBGCVIZqg9Sy/lzukFCNdpOdsv2YP4po4Kk7qcTTgDeZm5k/0i0oxWMlETasJOJI4EkZBWLX9YBu6ZE2kgr8x3S4E1PvHWgsoL9tYJgSFaQ51nE/w6IyTB1vLi65ZJRLO1YbYhJt+GNivEhDSZ7E6liwLiga+Sfc7bGaoJ2l0Ccas410hStXIM+rhgOem+Sr1CmplOb9aZ1B8Wdc9+3yev1myqqWp8KoDT1QCvWmf6OhWyjGGnyzasGAQhSaDa9E+81KgYUeDXB1V0DAnr64yBDbT8jzV30gdPzDUsZABowuiBALdKfg2+k27ZW7GaaTvE45equ5T8nFJr47GuYmaEkVgqHYeLa3g6DmHSr1/Z8PqXdXIP0ATkiXY2QgyN7Z93d0WcaIxF/2tMLFb30LQOOrLhPALKf1R8CyPSuiIc/NRugAWfJx6VuU6SNSLWb1hqt72XC9w=
on:
tags: true
repo: taskcluster/taskcluster-lib-urls
node: '10'
Loading

0 comments on commit 75792e0

Please sign in to comment.