Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Commit

Permalink
Fix YAML style
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Snape committed Oct 23, 2015
1 parent 3ee613c commit b142116
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 56 deletions.
30 changes: 15 additions & 15 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ engines:
enabled: true

exclude_paths:
- "core/public/js/jquery/*"
- "data/*"
- "docs/*"
- "library/REST/*"
- "library/SwaggerUI/*"
- "log/*"
- "modules/oai/library/oai/*"
- "modules/statistics/public/js/googlemaps/*"
- "modules/statistics/public/js/jquery/*"
- "modules/visualize/public/js/jquery/*"
- "modules/visualize/public/js/webgl/*"
- "provisioning/*"
- "tmp/*"
- "utils/*"
- "vendor/*"
- 'core/public/js/jquery/*'
- 'data/*'
- 'docs/*'
- 'library/REST/*'
- 'library/SwaggerUI/*'
- 'log/*'
- 'modules/oai/library/oai/*'
- 'modules/statistics/public/js/googlemaps/*'
- 'modules/statistics/public/js/jquery/*'
- 'modules/visualize/public/js/jquery/*'
- 'modules/visualize/public/js/webgl/*'
- 'provisioning/*'
- 'tmp/*'
- 'utils/*'
- 'vendor/*'
25 changes: 15 additions & 10 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,31 @@
#=============================================================================

---
root: true

env:
browser: true
jquery: true

extends: 'eslint:recommended'

rules:
indent:
- 2
- 4
quotes:
- 2
- single

linebreak-style:
- 2
- unix
semi:
- 2
- always

no-unused-vars:
- 2
- argsIgnorePattern: ^_

env:
browser: true
jquery: true
quotes:
- 2
- single

extends: 'eslint:recommended'
semi:
- 2
- always
1 change: 0 additions & 1 deletion .styleci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ disabled:
- phpdoc_types
- phpdoc_var_without_name


finder:
exclude:
- data
Expand Down
54 changes: 27 additions & 27 deletions app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,30 +26,30 @@ api_version: 1
threadsafe: yes

handlers:
- url: /(apple-touch-icon-.*\.png)$
static_files: \1
upload: apple-touch-icon-.*\.png$
secure: always
- url: /(apple-touch-icon-.*\.png)$
static_files: \1
upload: apple-touch-icon-.*\.png$
secure: always

- url: /favicon\.ico$
static_files: favicon.ico
upload: favicon\.ico$
secure: always
- url: /favicon\.ico$
static_files: favicon.ico
upload: favicon\.ico$
secure: always

- url: /(.*/(public|SwaggerUI)/.*\.(css|gif|ico|jpeg|jpg|js|map|png))$
static_files: \1
upload: .*\.(css|gif|ico|jpeg|jpg|js|map|png)$
secure: always
- url: /(.*/(public|SwaggerUI)/.*\.(css|gif|ico|jpeg|jpg|js|map|png))$
static_files: \1
upload: .*\.(css|gif|ico|jpeg|jpg|js|map|png)$
secure: always

# Must enable the task scheduler module. The cron job is defined in cron.yaml.
- url: /scheduler/run
script: index.php
login: admin
secure: always
# Must enable the task scheduler module. The cron job is defined in cron.yaml.
- url: /scheduler/run
script: index.php
login: admin
secure: always

- url: /.*
script: index.php
secure: always
- url: /.*
script: index.php
secure: always

# Update with the bucket name and the project id. Also update php.ini with the bucket name.
env_variables:
Expand All @@ -59,10 +59,10 @@ env_variables:
midas_temp_path: gs://your-cloudstorage-bucket/tmp

skip_files:
- ^(.*/)?.*/(\.DS_Store|\.htaccess|\.gitignore|CMakeLists\.txt|.*\.java)$
- ^(.*/)?.*/\.sass-cache/.*
- ^(.*/)?(\.codeclimate\.yml|\.coveralls\.yml|\.editorconfig|\.php_cs|\.php_cs\.cache|\.styleci\.yml|\.travis\.yml|AUTHORS|bower\.json|composer\.json|composer\.lock|composer\.phar|COPYRIGHT|CTestConfig\.cmake|LICENSE|mkdocs\.yml|phpunit\.xml\.dist|README\.md|requirements\.txt|Vagrantfile)$
- ^(.*/)?core/configs/.*\.local\.ini$
- ^(.*/)?(\.git|\.idea|\.vagrant|data|docs|env|log|provisioning|site|tests|tmp|utils)/.*
- ^(.*/)?(core|modules/.*)/(database/(pgsql|sqlite)|tests)/.*
- ^(.*/)?modules/(archive|batchmake|dicom.*|javauploaddownload|metadataextractor|pvw|remoteprocessing|solr|statistics|visualize)/.*
- ^(.*/)?.*/(\.DS_Store|\.htaccess|\.gitignore|CMakeLists\.txt|.*\.java)$
- ^(.*/)?.*/\.sass-cache/.*
- ^(.*/)?(\.codeclimate\.yml|\.coveralls\.yml|\.editorconfig|\.php_cs|\.php_cs\.cache|\.styleci\.yml|\.travis\.yml|AUTHORS|bower\.json|composer\.json|composer\.lock|composer\.phar|COPYRIGHT|CTestConfig\.cmake|LICENSE|mkdocs\.yml|phpunit\.xml\.dist|README\.md|requirements\.txt|Vagrantfile)$
- ^(.*/)?core/configs/.*\.local\.ini$
- ^(.*/)?(\.git|\.idea|\.vagrant|data|docs|env|log|provisioning|site|tests|tmp|utils)/.*
- ^(.*/)?(core|modules/.*)/(database/(pgsql|sqlite)|tests)/.*
- ^(.*/)?modules/(archive|batchmake|dicom.*|javauploaddownload|metadataextractor|pvw|remoteprocessing|solr|statistics|visualize)/.*
6 changes: 3 additions & 3 deletions cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
---
# Must enable the task scheduler module.
cron:
- description: task scheduler job
url: /scheduler/run
schedule: every 12 minutes
- description: task scheduler job
url: /scheduler/run
schedule: every 12 minutes

0 comments on commit b142116

Please sign in to comment.