Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Print planemo version for future debugging | language: python
python: 2.7
install:
- pip install git+git://github.com/galaxyproject/planemo.git@master
script:
- planemo shed_lint --report_level warn --tools --fail_level error --recursive .
| language: python
python: 2.7
install:
- pip install git+git://github.com/galaxyproject/planemo.git@master
script:
- planemo --version
- planemo shed_lint --report_level warn --tools --fail_level error --recursive .
|
Update Travis CI config to Ruby 2.7.0 | language: ruby
rvm: 2.5.3
script: bundle exec thor test:all
sudo: false
| language: ruby
rvm: 2.7.0
script: bundle exec thor test:all
sudo: false
|
Remove 2.6 from the build since Django 1.7 doesn't support it. | language: python
python:
- "3.3"
- "3.2"
- "2.7"
- "2.6"
- "pypy"
env:
- TESTSUITE=unit
- TESTSUITE=functional
- TESTSUITE=smoke
install:
- pip install -r requirements/development.txt
- pip install coveralls
script:
- "coverage run manage.py test -v 1 tests.$TESTSUITE"
- coverage report --fail-under 80
after_success:
- coveralls | language: python
python:
- "3.3"
- "3.2"
- "2.7"
- "pypy"
env:
- TESTSUITE=unit
- TESTSUITE=functional
- TESTSUITE=smoke
install:
- pip install -r requirements/development.txt
- pip install coveralls
script:
- "coverage run manage.py test -v 1 tests.$TESTSUITE"
- coverage report --fail-under 80
after_success:
- coveralls |
Add iojs to allow_failures because it can't compile fibers. | language: node_js
node_js:
- "6.0"
- "5.0"
- "4.0"
- "iojs"
- "0.12"
- "0.11"
- "0.10"
- "0.8"
matrix:
allow_failures:
- node_js: "0.10"
- node_js: "0.8"
| language: node_js
node_js:
- "6.0"
- "5.0"
- "4.0"
- "iojs"
- "0.12"
- "0.11"
- "0.10"
- "0.8"
matrix:
allow_failures:
- node_js: "iojs"
- node_js: "0.10"
- node_js: "0.8"
|
Use develop version of doc-builder-testing | sudo: required
services:
- docker
language: node_js
node_js:
- '6'
before_script:
- git clone -b develop https://github.com/ONLYOFFICE/web-apps.git ../web-apps
jobs:
include:
- stage: Formulas tests
script:
- npm install -g node-qunit-phantomjs
- node-qunit-phantomjs cell/.unit-tests/FormulaTests.html
- stage: Building SDK and test it by `onlyofficetestingrobot/doc-builder-testing`
script:
- npm install -g grunt-cli
- npm install --prefix build
- grunt --level=WHITESPACE_ONLY --base build --gruntfile build/Gruntfile.js
- docker pull onlyofficetestingrobot/doc-builder-testing
- docker run -v $PWD/word:/opt/onlyoffice/documentbuilder/sdkjs/word -v $PWD/cell:/opt/onlyoffice/documentbuilder/sdkjs/cell -v $PWD/slide:/opt/onlyoffice/documentbuilder/sdkjs/slide onlyofficetestingrobot/doc-builder-testing
notifications:
email:
recipients:
- shockwavenn@gmail.com
on_success: never
on_failure: always
| sudo: required
services:
- docker
language: node_js
node_js:
- '6'
before_script:
- git clone -b develop https://github.com/ONLYOFFICE/web-apps.git ../web-apps
jobs:
include:
- stage: Formulas tests
script:
- npm install -g node-qunit-phantomjs
- node-qunit-phantomjs cell/.unit-tests/FormulaTests.html
- stage: Building SDK and test it by `onlyofficetestingrobot/doc-builder-testing`
script:
- npm install -g grunt-cli
- npm install --prefix build
- grunt --level=WHITESPACE_ONLY --base build --gruntfile build/Gruntfile.js
- docker pull onlyofficetestingrobot/doc-builder-testing:develop-latest
- docker run -v $PWD/word:/opt/onlyoffice/documentbuilder/sdkjs/word -v $PWD/cell:/opt/onlyoffice/documentbuilder/sdkjs/cell -v $PWD/slide:/opt/onlyoffice/documentbuilder/sdkjs/slide onlyofficetestingrobot/doc-builder-testing
notifications:
email:
recipients:
- shockwavenn@gmail.com
on_success: never
on_failure: always
|
Update Travis config and added additional PHP environments to test against. | language: php
php:
- 5.3
- 5.4
- hhvm
before_script:
- curl -s http://getcomposer.org/installer | php
- php composer.phar install
script: phpunit | language: php
sudo: false
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
before_script:
- composer self-update
install:
- composer install --prefer-source --no-interaction
script:
- composer test
|
Fix ordering of rgw docker tasks so directory is created befor fetch | ---
- name: check if a cluster is already running
shell: "docker ps | grep -sq 'ceph/daemon'"
register: ceph_health
changed_when: false
failed_when: false
- include: checks.yml
when: ceph_health.rc != 0
- include: pre_requisite.yml
- include: fetch_configs.yml
- include: dirs_permissions.yml
- include: selinux.yml
when: ansible_os_family == 'RedHat'
- include: start_docker_rgw.yml
| ---
- name: check if a cluster is already running
shell: "docker ps | grep -sq 'ceph/daemon'"
register: ceph_health
changed_when: false
failed_when: false
- include: checks.yml
when: ceph_health.rc != 0
- include: pre_requisite.yml
- include: dirs_permissions.yml
# NOTE (jimcurtis): dirs_permissions.yml must precede fetch_configs.yml
# because it creates the directories needed by the latter.
- include: fetch_configs.yml
- include: selinux.yml
when: ansible_os_family == 'RedHat'
- include: start_docker_rgw.yml
|
Fix config to allow statsd metric to be received | version: "3"
services:
web:
build: web
command: python app.py
ports:
- "5000:5000"
volumes:
- ./web:/code # modified here to take into account the new app path
links:
- redis
environment:
- DATADOG_HOST=datadog # used by the web app to initialize the Datadog library
redis:
image: redis
# agent section
datadog:
build: datadog
links:
- redis # ensures that redis is a host that the container can find
- web # ensures that the web app can send metrics
environment:
- DD_API_KEY=__your_datadog_api_key_here__
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /proc/:/host/proc/:ro
- /sys/fs/cgroup:/host/sys/fs/cgroup:ro | version: "3"
services:
web:
build: web
command: python app.py
ports:
- "5000:5000"
volumes:
- ./web:/code # modified here to take into account the new app path
links:
- redis
environment:
- DATADOG_HOST=datadog # used by the web app to initialize the Datadog library
redis:
image: redis
# agent section
datadog:
build: datadog
links:
- redis # ensures that redis is a host that the container can find
- web # ensures that the web app can send metrics
environment:
- DD_API_KEY=__your_datadog_api_key_here__
- DD_DOGSTATSD_NON_LOCAL_TRAFFIC=true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /proc/:/host/proc/:ro
- /sys/fs/cgroup:/host/sys/fs/cgroup:ro
|
Adjust PYTHONPATH env vars on worker/scheduler | nginx:
image: nginx:1.9.7
ports:
- "80:80"
volumes:
- ./www:/usr/share/nginx/html
worker:
build: worker
links:
- graphdb
- redis
volumes:
- ./www:/www
- ./d1lod:/d1lod
- ./glharvest:/glharvest
scheduler:
build: scheduler
links:
- graphdb
- redis
volumes:
- ./d1lod:/d1lod
- ./glharvest:/glharvest
- ./www:/www
graphdb:
image: tomcat:8.0-jre8
ports:
- "8080:8080"
volumes:
- ./webapps:/usr/local/tomcat/webapps/
redis:
image: redis:3.0.5
| nginx:
image: nginx:1.9.7
ports:
- "80:80"
volumes:
- ./www:/usr/share/nginx/html
worker:
build: worker
links:
- graphdb
- redis
volumes:
- ./www:/www
- ./d1lod:/d1lod
- ./glharvest:/glharvest
environment:
- PYTHONPATH='$PYTHONPATH:/glharvest:/d1lod/
scheduler:
build: scheduler
links:
- graphdb
- redis
volumes:
- ./d1lod:/d1lod
- ./glharvest:/glharvest
- ./www:/www
environment:
- PYTHONPATH='$PYTHONPATH:/glharvest:/d1lod/
graphdb:
image: tomcat:8.0-jre8
ports:
- "8080:8080"
volumes:
- ./webapps:/usr/local/tomcat/webapps/
redis:
image: redis:3.0.5
|
Revert "Revert "added pipenv so locks can happen inside of docker"" | version: '3'
services:
shell:
build: .
image: eemeter_shell
stdin_open: true
tty: true
entrypoint: /bin/sh
volumes:
- .:/app
- /app/tests/__pycache__/
docs:
image: eemeter_shell
ports:
- "${HOST_PORT_DOCS:-8000}:8000"
entrypoint: make -C docs livehtml
volumes:
- .:/app
- /app/tests/__pycache__/
depends_on:
- shell
test:
image: eemeter_shell
entrypoint: py.test -n0
volumes:
- .:/app
- /app/tests/__pycache__/
depends_on:
- shell
jupyter:
image: eemeter_shell
ports:
- "${HOST_PORT_JUPYTER:-8888}:${HOST_PORT_JUPYTER:-8888}"
entrypoint: |
jupyter lab scripts/ --ip=0.0.0.0 --port=${HOST_PORT_JUPYTER:-8888} --allow-root --no-browser
volumes:
- .:/app
- /app/tests/__pycache__/
depends_on:
- shell
| version: '3'
services:
shell:
build: .
image: eemeter_shell
stdin_open: true
tty: true
entrypoint: /bin/sh
volumes:
- .:/app
- /app/tests/__pycache__/
docs:
image: eemeter_shell
ports:
- "${HOST_PORT_DOCS:-8000}:8000"
entrypoint: make -C docs livehtml
volumes:
- .:/app
- /app/tests/__pycache__/
depends_on:
- shell
test:
image: eemeter_shell
entrypoint: py.test -n0
volumes:
- .:/app
- /app/tests/__pycache__/
depends_on:
- shell
jupyter:
image: eemeter_shell
ports:
- "${HOST_PORT_JUPYTER:-8888}:${HOST_PORT_JUPYTER:-8888}"
entrypoint: |
jupyter lab scripts/ --ip=0.0.0.0 --port=${HOST_PORT_JUPYTER:-8888} --allow-root --no-browser
volumes:
- .:/app
- /app/tests/__pycache__/
depends_on:
- shell
pipenv:
image: eemeter_shell
entrypoint: pipenv
volumes:
- .:/app
depends_on:
- shell
|
Add image name for local builds | # You also need the Dockerfile_Server file, put it in the same directory as this file.
# Build and create a container with: docker-compose up -d --build
# You may set the version of the server when an update is released, see "args"
#
# Attach to the container with: docker-compose exec lunamultiplayer /bin/ash
version: '3.3'
services:
lunamultiplayer:
build:
context: ./
dockerfile: Dockerfile_Server
args:
# set to desired version, available versions: https://github.com/LunaMultiplayer/LunaMultiplayer/releases
- LMP_VERSION=0.25.0
container_name: lunamultiplayer
environment:
- TZ=CET
ports:
- '8800:8800/udp'
# uncomment to enabler website
# - '8900:8900'
volumes:
- '/opt/LMPServer/Config:/LMPServer/Config'
- '/opt/LMPServer/Universe:/LMPServer/Universe'
- '/opt/LMPServer/Plugins:/LMPServer/Plugins'
- '/opt/LMPServer/logs:/LMPServer/logs'
restart: unless-stopped
| # You also need the Dockerfile_Server file, put it in the same directory as this file.
# Build and create a container with: docker-compose up -d --build
# You may set the version of the server when an update is released, see "args"
#
# Attach to the container with: docker-compose exec lunamultiplayer /bin/ash
version: '3.3'
services:
lunamultiplayer:
image: lunamultiplayer:local
build:
context: ./
dockerfile: Dockerfile_Server
args:
# set to desired version, available versions: https://github.com/LunaMultiplayer/LunaMultiplayer/releases
- LMP_VERSION=0.25.0
container_name: lunamultiplayer
environment:
- TZ=CET
ports:
- '8800:8800/udp'
# uncomment to enabler website
# - '8900:8900'
volumes:
- '/opt/LMPServer/Config:/LMPServer/Config'
- '/opt/LMPServer/Universe:/LMPServer/Universe'
- '/opt/LMPServer/Plugins:/LMPServer/Plugins'
- '/opt/LMPServer/logs:/LMPServer/logs'
restart: unless-stopped
|
Move docker registry to port 5001 | ---
##########################
# betacloud
betacloud_cobbler: no
betacloud_firewall: no
betacloud_networking: no
betacloud_proxy: no
betacloud_system_hardening: yes
betacloud_management_interface: enp0s8
##########################
# services
ara_server_host: "{{ hostvars[inventory_hostname]['ansible_' + betacloud_management_interface]['ipv4']['address'] }}"
flask_host: "{{ hostvars[inventory_hostname]['ansible_' + betacloud_management_interface]['ipv4']['address'] }}"
jenkins_host: "{{ hostvars[inventory_hostname]['ansible_' + betacloud_management_interface]['ipv4']['address'] }}"
phpmyadmin_host: "{{ hostvars[inventory_hostname]['ansible_' + betacloud_management_interface]['ipv4']['address'] }}"
phpmyadmin_database_host: 192.168.50.10
##########################
# test infrastructure
openldap_host: "{{ hostvars[inventory_hostname]['ansible_' + betacloud_management_interface]['ipv4']['address'] }}"
docker_registry_host: "{{ hostvars[inventory_hostname]['ansible_' + betacloud_management_interface]['ipv4']['address'] }}"
nfs_server_host: "{{ hostvars[inventory_hostname]['ansible_' + betacloud_management_interface]['ipv4']['address'] }}"
| ---
##########################
# betacloud
betacloud_cobbler: no
betacloud_firewall: no
betacloud_networking: no
betacloud_proxy: no
betacloud_system_hardening: yes
betacloud_management_interface: enp0s8
##########################
# services
ara_server_host: "{{ hostvars[inventory_hostname]['ansible_' + betacloud_management_interface]['ipv4']['address'] }}"
flask_host: "{{ hostvars[inventory_hostname]['ansible_' + betacloud_management_interface]['ipv4']['address'] }}"
jenkins_host: "{{ hostvars[inventory_hostname]['ansible_' + betacloud_management_interface]['ipv4']['address'] }}"
phpmyadmin_host: "{{ hostvars[inventory_hostname]['ansible_' + betacloud_management_interface]['ipv4']['address'] }}"
phpmyadmin_database_host: 192.168.50.10
##########################
# test infrastructure
openldap_host: "{{ hostvars[inventory_hostname]['ansible_' + betacloud_management_interface]['ipv4']['address'] }}"
docker_registry_host: "{{ hostvars[inventory_hostname]['ansible_' + betacloud_management_interface]['ipv4']['address'] }}"
docker_registry_port: 5001
nfs_server_host: "{{ hostvars[inventory_hostname]['ansible_' + betacloud_management_interface]['ipv4']['address'] }}"
|
Work around weird pip upgrade bug | ---
- name: Install Miniconda packages
shell: "{{ miniconda_install_dir|default('/opt/miniconda') }}/bin/conda install {{ item }} --yes"
with_items:
- pip
tags:
- traptor
- miniconda
- name: Miniconda pip install traptor
shell: "{{ miniconda_install_dir|default('/opt/miniconda') }}/bin/pip install traptor -U"
# notify:
# - restart wat-scrapy-crawling
tags:
- traptor
- miniconda
- name: create traptor symlink
file:
src={{ traptor_miniconda_path }}
path={{ traptor_install_dir }}
state=link
mode=0744
tags: traptor
- name: create traptor log directory
file:
path={{ traptor_log_dir }}/
state=directory
mode=0755
tags: traptor
- name: copy supervisord config
template:
src={{ traptor_name }}-supervisord.conf.j2
dest={{ supervisord_programs_dir }}/{{ traptor_name }}-supervisord.conf
mode=0644
notify:
- reread supervisord
tags: traptor
- name: copy traptor settings
template:
src=localsettings.py.j2
dest={{ traptor_install_dir }}/localsettings.py
mode=0644
notify:
- restart traptor
tags: traptor
| ---
- name: Install Miniconda packages
shell: "{{ miniconda_install_dir|default('/opt/miniconda') }}/bin/conda install {{ item }} --yes"
with_items:
- pip
tags:
- traptor
- miniconda
- name: Miniconda pip install traptor
shell: "{{ miniconda_install_dir|default('/opt/miniconda') }}/bin/pip install traptor -U --ignore-installed"
# notify:
# - restart wat-scrapy-crawling
tags:
- traptor
- miniconda
- name: create traptor symlink
file:
src={{ traptor_miniconda_path }}
path={{ traptor_install_dir }}
state=link
mode=0744
tags: traptor
- name: create traptor log directory
file:
path={{ traptor_log_dir }}/
state=directory
mode=0755
tags: traptor
- name: copy supervisord config
template:
src={{ traptor_name }}-supervisord.conf.j2
dest={{ supervisord_programs_dir }}/{{ traptor_name }}-supervisord.conf
mode=0644
notify:
- reread supervisord
tags: traptor
- name: copy traptor settings
template:
src=localsettings.py.j2
dest={{ traptor_install_dir }}/localsettings.py
mode=0644
notify:
- restart traptor
tags: traptor
|
Make updatedBy field of Section nullable | Ojs\JournalBundle\Entity\Section:
type: entity
repositoryClass: Ojs\JournalBundle\Entity\SectionRepository
table: section
cache:
usage: NONSTRICT_READ_WRITE
manyToOne:
journal:
targetEntity: Journal
joinColumn:
name: journal_id
referencedColumnName: id
inversedBy: sections
oneToMany:
articles:
targetEntity: Article
mappedBy: section
cascade: ["persist", "merge"]
fetch: EXTRA_LAZY
id:
id:
type: integer
id: true
generator:
strategy: AUTO
fields:
allowIndex:
type: boolean
column: allow_index
nullable: true
options:
default: true
gedmo:
- versioned
hideTitle:
type: boolean
column: hide_title
nullable: true
options:
default: false
sectionOrder:
type: integer
column: section_order
nullable: false
options:
default: 1
createdBy:
type: string
gedmo:
blameable:
on: create
updatedBy:
type: string
gedmo:
blameable:
on: update
lifecycleCallbacks: { }
gedmo:
loggable: true
| Ojs\JournalBundle\Entity\Section:
type: entity
repositoryClass: Ojs\JournalBundle\Entity\SectionRepository
table: section
cache:
usage: NONSTRICT_READ_WRITE
manyToOne:
journal:
targetEntity: Journal
joinColumn:
name: journal_id
referencedColumnName: id
inversedBy: sections
oneToMany:
articles:
targetEntity: Article
mappedBy: section
cascade: ["persist", "merge"]
fetch: EXTRA_LAZY
id:
id:
type: integer
id: true
generator:
strategy: AUTO
fields:
allowIndex:
type: boolean
column: allow_index
nullable: true
options:
default: true
gedmo:
- versioned
hideTitle:
type: boolean
column: hide_title
nullable: true
options:
default: false
sectionOrder:
type: integer
column: section_order
nullable: false
options:
default: 1
createdBy:
type: string
gedmo:
blameable:
on: create
updatedBy:
type: string
gedmo:
blameable:
on: update
nullable: true
lifecycleCallbacks: { }
gedmo:
loggable: true
|
Fix navigation params for obstavle detecting | obstacle_range: 12.0
raytrace_range: 15.0
# footprint for KIT-C5 new model
footprint: [[0.07, -0.30], [0.07, 0.30], [-0.43, 0.30], [-0.43, -0.30]]
inflation_radius: 0.5
cost_scaling_factor: 7.0
rigin_z: 0.0
z_resolution: 0.2
z_voxels: 0.2
publish_voxel_map: false
max_obstacle_height: 0.4
min_obstacle_height: 0.05
observation_sources: velodyne_sensor
velodyne_sensor: {sensor_frame: velodyne_link, data_type: PointCloud2, topic: velodyne_points, marking: true, clearing: true}
| obstacle_range: 12.0
raytrace_range: 15.0
# footprint for KIT-C5 new model
footprint: [[0.07, -0.30], [0.07, 0.30], [-0.43, 0.30], [-0.43, -0.30]]
inflation_radius: 0.5
cost_scaling_factor: 7.0
rigin_z: 0.0
z_resolution: 0.2
z_voxels: 0.2
publish_voxel_map: false
max_obstacle_height: 0.8
min_obstacle_height: 0.1
observation_sources: velodyne_sensor
velodyne_sensor: {
sensor_frame: velodyne_link,
data_type: PointCloud2,
topic: velodyne_points,
marking: true,
clearing: true,
min_obstacle_height: 0.1,
max_obstacle_height: 0.8
}
|
ADD new Metricbeat features for 5.2 | metricbeat.modules:
- module: system
metricsets:
- cpu
- load
- core
- diskio
- filesystem
- fsstat
- memory
- network
- process
enabled: true
period: 10s
processes: ['.*']
- module: redis
metricsets: ["info"]
enabled: true
period: 10s
hosts: ["127.0.0.1:6379"]
- module: nginx
metricsets: ["stubstatus"]
enabled: true
period: 10s
hosts: ["http://127.0.0.1"]
- module: mongodb
metricsets: ["status"]
hosts: ["localhost:27017"]
- module: docker
metricsets: ["cpu", "info", "memory", "network", "diskio", "container"]
hosts: ["unix:///var/run/docker.sock"]
enabled: true
period: 10s
output.elasticsearch:
hosts: ["http://localhost:9200"]
| metricbeat.modules:
- module: system
metricsets:
- cpu
- load
- core
- diskio
- filesystem
- fsstat
- memory
- network
- process
- socket
enabled: true
period: 10s
processes: ['.*']
cgroups: true
- module: redis
metricsets: ["info"]
enabled: true
period: 10s
hosts: ["127.0.0.1:6379"]
- module: nginx
metricsets: ["stubstatus"]
enabled: true
period: 10s
hosts: ["http://127.0.0.1"]
- module: mongodb
metricsets: ["status"]
hosts: ["localhost:27017"]
- module: docker
metricsets: ["cpu", "info", "memory", "network", "diskio", "container"]
hosts: ["unix:///var/run/docker.sock"]
enabled: true
period: 10s
output.elasticsearch:
hosts: ["http://localhost:9200"]
|
Update Conscrypt Provider to 3 (3) | Categories:
- System
License: MIT
AuthorName: Mendhak
AuthorWebSite: https://code.mendhak.com/
SourceCode: https://github.com/mendhak/Conscrypt-Provider
IssueTracker: https://github.com/mendhak/Conscrypt-Provider/issues
Changelog: https://github.com/mendhak/Conscrypt-Provider/releases
AutoName: Conscrypt Provider
RepoType: git
Repo: https://github.com/mendhak/Conscrypt-Provider.git
Builds:
- versionName: '2'
versionCode: 2
commit: 50cfd60f22796d9717596802296cf782aad90193
subdir: app
sudo:
- apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
gradle:
- yes
AutoUpdateMode: Version v%c
UpdateCheckMode: Tags ^v[.0-9]*$
CurrentVersion: '2'
CurrentVersionCode: 2
| Categories:
- System
License: MIT
AuthorName: Mendhak
AuthorWebSite: https://code.mendhak.com/
SourceCode: https://github.com/mendhak/Conscrypt-Provider
IssueTracker: https://github.com/mendhak/Conscrypt-Provider/issues
Changelog: https://github.com/mendhak/Conscrypt-Provider/releases
AutoName: Conscrypt Provider
RepoType: git
Repo: https://github.com/mendhak/Conscrypt-Provider.git
Builds:
- versionName: '2'
versionCode: 2
commit: 50cfd60f22796d9717596802296cf782aad90193
subdir: app
sudo:
- apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
gradle:
- yes
- versionName: '3'
versionCode: 3
commit: 3d2d7493ac1debbb8774a52c712df593b4ad1b4c
subdir: app
sudo:
- apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
gradle:
- yes
AutoUpdateMode: Version v%c
UpdateCheckMode: Tags ^v[.0-9]*$
CurrentVersion: '3'
CurrentVersionCode: 3
|
Remove unused dependency from analyzer | name: analyzer
version: 0.24.1-alpha.0
author: Dart Team <misc@dartlang.org>
description: Static analyzer for Dart.
homepage: http://www.dartlang.org
environment:
sdk: '>=0.8.10+6 <2.0.0'
dependencies:
args: '>=0.12.1 <0.13.0'
logging: '>=0.9.0 <0.10.0'
path: '>=0.9.0 <2.0.0'
watcher: '>=0.9.0 <0.10.0'
dev_dependencies:
typed_mock: '>=0.0.4 <1.0.0'
unittest: '>=0.9.0 <0.12.0'
| name: analyzer
version: 0.24.1-alpha.0
author: Dart Team <misc@dartlang.org>
description: Static analyzer for Dart.
homepage: http://www.dartlang.org
environment:
sdk: '>=0.8.10+6 <2.0.0'
dependencies:
args: '>=0.12.1 <0.13.0'
path: '>=0.9.0 <2.0.0'
watcher: '>=0.9.0 <0.10.0'
dev_dependencies:
typed_mock: '>=0.0.4 <1.0.0'
unittest: '>=0.9.0 <0.12.0'
|
Remove trailing comma and add exact time. | title: Cross-site scripting (XSS) vulnerability in Paypal-Merchant-SDK-PHP
link: https://github.com/paypal/merchant-sdk-php/tree/v3.9.1
cve: CVE-2017-6099
branches:
2.x:
time: ~,
versions: ['>=2.0.0', '<=2.11.118']
master:
time: 2017-03-31,
versions: ['>=3.0.0', '<3.10.0']
reference: composer://paypal/merchant-sdk-php
| title: Cross-site scripting (XSS) vulnerability in Paypal-Merchant-SDK-PHP
link: https://github.com/paypal/merchant-sdk-php/tree/v3.9.1
cve: CVE-2017-6099
branches:
2.x:
time: ~
versions: ['>=2.0.0', '<=2.11.118']
master:
time: 2017-03-31 08:33:00
versions: ['>=3.0.0', '<3.10.0']
reference: composer://paypal/merchant-sdk-php
|
Fix paths of cache and artifacts | name: CI
on: [push]
jobs:
posix-build-on-ubuntu:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: posix
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: src
key: ${{runner.os}}-src
- run: sudo apt-get install libgtk-3-dev libsqlite3-dev libxml2-dev unzip uuid-dev zlib1g-dev
- run: make -s download
- run: make -s external
- run: make -s all
- run: make check
xcode-build-on-macos:
runs-on: macos-latest
defaults:
run:
shell: bash
working-directory: xcode
env:
LIBTOOL: glibtool
LIBTOOLIZE: glibtoolize
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: src
key: ${{runner.os}}-src
- run: brew install autoconf automake libtool pkg-config
- run: cp config.mk.github config.mk
- run: make -s download
- run: make -s external
- run: make -s all
- run: make check
- uses: actions/upload-artifact@v2
with:
name: installer-image
path: Flint-*.dmg
| name: CI
on: [push]
jobs:
posix-build-on-ubuntu:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: posix
steps:
- uses: actions/checkout@v2
- run: sudo apt-get install libgtk-3-dev libsqlite3-dev libxml2-dev unzip uuid-dev zlib1g-dev
- run: make -s download
- run: make -s external
- run: make -s all
- run: make check
xcode-build-on-macos:
runs-on: macos-latest
defaults:
run:
shell: bash
working-directory: xcode
env:
LIBTOOL: glibtool
LIBTOOLIZE: glibtoolize
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
xcode/src
xcode/tmp
xcode/usr
key: ${{runner.os}}-xcode
- run: brew install autoconf automake libtool pkg-config
- run: cp config.mk.github config.mk
- run: make -s download
- run: make -s external
- run: make -s all
- run: make check
- uses: actions/upload-artifact@v2
with:
name: macos-installer-image
path: xcode/Flint-*.dmg
|
Set autoname of Badge Magic | Categories:
- Connectivity
License: Apache-2.0
SourceCode: https://github.com/fossasia/badge-magic-android
IssueTracker: https://github.com/fossasia/badge-magic-android/issues
Name: Badge Magic
Summary: Create Symbols and Text on LED Name Badges using Bluetooth
Description: The Badge Magic Android app lets you create scrolling symbols and text
on LED name badges through Bluetooth. The app provides options to portray names,
clipart and simple animations on LED badges. For the data transfer from the smartphone
to the LED badge we use Bluetooth. The project is based on the work of [https://github.com/Nilhcem
Nilhcem].
RepoType: git
Repo: https://github.com/fossasia/badge-magic-android
Builds:
- versionName: 1.0.1
versionCode: 2
commit: v1.0.1
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.0.1
CurrentVersionCode: 2
| Categories:
- Connectivity
License: Apache-2.0
SourceCode: https://github.com/fossasia/badge-magic-android
IssueTracker: https://github.com/fossasia/badge-magic-android/issues
Name: Badge Magic
AutoName: Badge Magic
Summary: Create Symbols and Text on LED Name Badges using Bluetooth
Description: The Badge Magic Android app lets you create scrolling symbols and text
on LED name badges through Bluetooth. The app provides options to portray names,
clipart and simple animations on LED badges. For the data transfer from the smartphone
to the LED badge we use Bluetooth. The project is based on the work of [https://github.com/Nilhcem
Nilhcem].
RepoType: git
Repo: https://github.com/fossasia/badge-magic-android
Builds:
- versionName: 1.0.1
versionCode: 2
commit: v1.0.1
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.0.1
CurrentVersionCode: 2
|
Revert "Added enabled field to Entity\User." | Ciscaja\Uhsa\UserBundle\Entity\User:
type: entity
table: ciscaja_uhsa_users
id:
id:
type: integer
generator: { strategy: AUTO }
fields:
username:
type: string
length: 256
unique: true
password:
type: string
length: 256
email:
type: string
length: 256
unique: true
salt:
type: string
length: 256
enabled:
type: boolean
manyToMany:
roles:
targetEntity: Ciscaja\Uhsa\UserBundle\Entity\Role
inversedBy: users
cascade: ["persist"]
joinTable:
name: ciscaja_uhsa_users_role
joinColumns:
user_id:
referencedColumnName: id
inverseJoinColumns:
role_id:
referencedColumnName: id | Ciscaja\Uhsa\UserBundle\Entity\User:
type: entity
table: ciscaja_uhsa_users
id:
id:
type: integer
generator: { strategy: AUTO }
fields:
username:
type: string
length: 256
unique: true
password:
type: string
length: 256
email:
type: string
length: 256
unique: true
salt:
type: string
length: 256
manyToMany:
roles:
targetEntity: Ciscaja\Uhsa\UserBundle\Entity\Role
inversedBy: users
cascade: ["persist"]
joinTable:
name: ciscaja_uhsa_users_role
joinColumns:
user_id:
referencedColumnName: id
inverseJoinColumns:
role_id:
referencedColumnName: id |
Update example config to reflect OAuth Stream use | app:
asset_domain: static.mydomain.com
domain: mydomain.com
name: Prey Fetcher
prowl_provider_key: PROWL_PROVIDER_KEY_HERE
version: "3.x"
database:
development:
adapter: sqlite3
database: development.sqlite3
test:
adapter: sqlite3
database: test.sqlite3
production:
adapter: mysql
database: prey_fetcher
username: prey_fetcher
password: PASS
host: localhost
twitter:
oauth:
consumer_key: OAuth Key
consumer_secret: OAuth Secret
stream:
username: twitter_username
password: should be whitelisted
| app:
asset_domain: static.mydomain.com
domain: mydomain.com
name: Prey Fetcher
prowl_provider_key: PROWL_PROVIDER_KEY_HERE
version: "3.x"
database:
development:
adapter: sqlite3
database: development.sqlite3
test:
adapter: sqlite3
database: test.sqlite3
production:
adapter: mysql
database: prey_fetcher
username: prey_fetcher
password: PASS
host: localhost
twitter:
oauth:
consumer_key: OAuth Key
consumer_secret: OAuth Secret
access_key: Registered Site Stream User Key
access_secret: Registered Site Stream User Secret
|
Set configuration for new rails cops | # https://rubocop.readthedocs.io/en/latest/configuration/#inheritance
# If you override a setting in a project's local .rubocop.yml file
# you must add the pre-existing exceptions found here as well.
require: rubocop-rails
AllCops:
Exclude:
- db/schema.rb
Rails/NotNullColumn:
Enabled: false
Rails/ReversibleMigration:
Enabled: false
Rails/ApplicationController:
Exclude:
- app/controllers/api/api_controller.rb
Rails/SkipsModelValidations:
Exclude:
- db/migrate/*.rb
Rails/Output:
Exclude:
- db/seeds.rb
Style/Documentation:
Enabled: false
Metrics/MethodLength:
Exclude:
- db/migrate/*.rb
- config/**/*.rb
Metrics/AbcSize:
Exclude:
- db/migrate/*.rb
Metrics/BlockLength:
Exclude:
- "*.gemspec"
- spec/**/*.rb
- lib/tasks/*.rake
- config/**/*.rb
- db/**/*.rb
Layout/LineLength:
Exclude:
- db/migrate/*.rb
Rails/FilePath:
EnforcedStyle: arguments
| # https://rubocop.readthedocs.io/en/latest/configuration/#inheritance
# If you override a setting in a project's local .rubocop.yml file
# you must add the pre-existing exceptions found here as well.
require: rubocop-rails
AllCops:
Exclude:
- db/schema.rb
Rails/NotNullColumn:
Enabled: false
Rails/ReversibleMigration:
Enabled: false
Style/HashEachMethods:
Enabled: true
Style/HashTransformKeys:
Enabled: true
Style/HashTransformValues:
Enabled: true
Rails/ApplicationController:
Exclude:
- app/controllers/api/api_controller.rb
Rails/SkipsModelValidations:
Exclude:
- db/migrate/*.rb
Rails/Output:
Exclude:
- db/seeds.rb
Style/Documentation:
Enabled: false
Metrics/MethodLength:
Exclude:
- db/migrate/*.rb
- config/**/*.rb
Metrics/AbcSize:
Exclude:
- db/migrate/*.rb
Metrics/BlockLength:
Exclude:
- "*.gemspec"
- spec/**/*.rb
- lib/tasks/*.rake
- config/**/*.rb
- db/**/*.rb
Layout/LineLength:
Exclude:
- db/migrate/*.rb
Rails/FilePath:
EnforcedStyle: arguments
|
Create “datagrid” import with “datagrid_toolbar” import and “datagrid” block - CR fixes | layout:
actions:
- '@setBlockTheme':
themes: 'layout_mobile.html.twig'
- '@remove':
id: __datagrid_toolbar_extra_actions
- '@remove':
id: __datagrid_toolbar_tools_container
- '@move':
id: __datagrid_toolbar_actions
parentId: datagrid_toolbar
prepend: true
- '@add':
id: __datagrid_toolbar_pagination_container
parentId: __datagrid_toolbar
blockType: container
- '@move':
id: __datagrid_toolbar_pagination
parentId: __datagrid_toolbar_pagination_container
- '@move':
id: __datagrid_toolbar_page_size
parentId: __datagrid_toolbar_pagination_container
siblingId: __datagrid_toolbar_pagination
conditions: 'context["user_agent"]["mobile"]==true'
| layout:
actions:
- '@setBlockTheme':
themes: 'layout_mobile.html.twig'
- '@remove':
id: __datagrid_toolbar_extra_actions
- '@remove':
id: __datagrid_toolbar_tools_container
- '@move':
id: __datagrid_toolbar_actions
parentId: datagrid_toolbar
prepend: true
- '@add':
id: __datagrid_toolbar_pagination_container
parentId: __datagrid_toolbar
blockType: container
- '@move':
id: __datagrid_toolbar_pagination
parentId: __datagrid_toolbar_pagination_container
- '@move':
id: __datagrid_toolbar_page_size
parentId: __datagrid_toolbar_pagination_container
siblingId: __datagrid_toolbar_pagination
conditions: 'context["is_mobile"]==true'
|
Use Rust 1.9.0 or later | language: rust
sudo: false
addons:
apt:
packages:
- libssl-dev
rust:
- nightly
- beta
- 1.8.0
scirpt:
- cargo test
| language: rust
sudo: false
addons:
apt:
packages:
- libssl-dev
rust:
- nightly
- beta
- 1.9.0
scirpt:
- cargo test
|
Remove test support for Go 1.6, and 1.7 | sudo: required
language: go
go:
- 1.6
- 1.7
- 1.8
- 1.9
services:
- docker
install:
- make setup
script:
- make test
- test -n "$TRAVIS_TAG" || make snapshot
after_success:
- export BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
- export VCS_REF=$(git rev-parse --short HEAD)
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- test -n "$TRAVIS_TAG" && make release
- if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_BRANCH" != "master" -o -n "$TRAVIS_TAG" ]; then exit 0; fi
- docker push arachnysdocker/go-camo
notifications:
email: false
| sudo: required
language: go
go:
- 1.8
- 1.9
services:
- docker
install:
- make setup
script:
- make test
- test -n "$TRAVIS_TAG" || make snapshot
after_success:
- export BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
- export VCS_REF=$(git rev-parse --short HEAD)
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- test -n "$TRAVIS_TAG" && make release
- if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_BRANCH" != "master" -o -n "$TRAVIS_TAG" ]; then exit 0; fi
- docker push arachnysdocker/go-camo
notifications:
email: false
|
Use `thor spec` for Travis | language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- jruby-19mode
- ruby-head
| language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- jruby-19mode
- ruby-head
script: thor spec
|
Add pypy to Travis configuration | language: python
python:
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "3.7-dev" # 3.7 development branch
- "nightly"
install:
- true
script:
- ./ci-test.sh
| language: python
python:
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "3.7-dev" # 3.7 development branch
- "nightly"
- "pypy3"
install:
- true
script:
- ./ci-test.sh
|
Update Go version to 1.10.3 | language: go
go: 1.8.1
sudo: false
env:
global:
- UNAME="$(uname | tr '[:upper:]' '[:lower:]')"
addons:
artifacts:
paths:
- './build/$UNAME/amd64/jb-server'
target_paths:
- 'travis-ci/jupiter-brain/$TRAVIS_BUILD_NUMBER/$TRAVIS_JOB_NUMBER'
- 'travis-ci/jupiter-brain/$(git describe --always --dirty --tags)'
- 'travis-ci/jupiter-brain/$TRAVIS_BRANCH'
before_install:
- go get github.com/FiloSottile/gvt
script:
- make deps
- make test
- make test-race
- git diff --exit-code
- git diff --cached --exit-code
after_success:
- mkdir -p build/$UNAME/amd64
- cp -v ~/gopath/bin/jb-server build/$UNAME/amd64/jb-server
- echo $ARTIFACTS_PATHS
| language: go
go: '1.10.3'
sudo: false
env:
global:
- UNAME="$(uname | tr '[:upper:]' '[:lower:]')"
addons:
artifacts:
paths:
- './build/$UNAME/amd64/jb-server'
target_paths:
- 'travis-ci/jupiter-brain/$TRAVIS_BUILD_NUMBER/$TRAVIS_JOB_NUMBER'
- 'travis-ci/jupiter-brain/$(git describe --always --dirty --tags)'
- 'travis-ci/jupiter-brain/$TRAVIS_BRANCH'
before_install:
- go get github.com/FiloSottile/gvt
script:
- make deps
- make test
- make test-race
- git diff --exit-code
- git diff --cached --exit-code
after_success:
- mkdir -p build/$UNAME/amd64
- cp -v ~/gopath/bin/jb-server build/$UNAME/amd64/jb-server
- echo $ARTIFACTS_PATHS
|
Add workaround for osx java build. | # language setting
language: java
# build systems
os:
- linux
- osx
# jdk tag
jdk:
- oraclejdk8
# include
branches:
only:
- master
# notify
notifications:
email:
recipients:
- develop@schlegel11.de
| # language setting
language: java
# build systems
os:
- linux
- osx
# workaround for osx builds
before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then "wget --no-cookies --no-check-certificate --header \"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie\" http://download.oracle.com/otn-pub/java/jdk/8u66-b17/jdk-8u66-macosx-x64.dmg" fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then hdiutil mount jdk-8u66-macosx-x64.dmg fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then sudo installer -pkg /Volumes/JDK\ 8\ Update\ 66/JDK\ 8\ Update\ 66.pkg -target LocalSystem fi
# jdk tag
jdk:
- oraclejdk8
# include
branches:
only:
- master
# notify
notifications:
email:
recipients:
- develop@schlegel11.de
|
Use postgres 9.4 with postgis 2.2 | # This is the config file for building TileStache and running the test suite
# with Travis-ci.org
language: python
python:
- "2.7"
addons:
postgresql: "9.3"
apt:
packages:
- postgresql-9.3-postgis-2.2
virtualenv:
system_site_packages: true
services:
- memcached
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq gdal-bin memcached python-pip
- sudo apt-get install -qq python-nose python-imaging python-memcache python-gdal
- sudo apt-get install -qq python-coverage python-werkzeug python-psycopg2
- ogrinfo --version
- ogrinfo --formats
before_script:
- sudo -u postgres psql -c "drop database if exists test_tilestache"
- sudo -u postgres psql -c "create database test_tilestache"
- sudo -u postgres psql -c "create extension postgis" -d test_tilestache
- sudo -u postgres ogr2ogr -nlt MULTIPOLYGON -f "PostgreSQL" PG:"user=postgres dbname=test_tilestache" ./examples/sample_data/world_merc.shp
install:
- sudo pip install -r requirements.txt
script:
- nosetests -v --with-coverage --cover-package TileStache
notifications:
email:
recipients:
- mike-travisci@teczno.com
| # This is the config file for building TileStache and running the test suite
# with Travis-ci.org
language: python
python:
- "2.7"
virtualenv:
system_site_packages: true
services:
- memcached
before_install:
- sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
- sudo apt-get update -qq
- sudo apt-get -yq --no-install-suggests --no-install-recommends --force-yes install postgresql-9.4 postgis postgresql-9.4-postgis-2.2
- sudo apt-get install -qq gdal-bin memcached python-pip
- sudo apt-get install -qq python-nose python-imaging python-memcache python-gdal
- sudo apt-get install -qq python-coverage python-werkzeug python-psycopg2
- ogrinfo --version
- ogrinfo --formats
before_script:
- sudo -u postgres psql -c "drop database if exists test_tilestache"
- sudo -u postgres psql -c "create database test_tilestache"
- sudo -u postgres psql -c "create extension postgis" -d test_tilestache
- sudo -u postgres ogr2ogr -nlt MULTIPOLYGON -f "PostgreSQL" PG:"user=postgres dbname=test_tilestache" ./examples/sample_data/world_merc.shp
install:
- sudo pip install -r requirements.txt
script:
- nosetests -v --with-coverage --cover-package TileStache
notifications:
email:
recipients:
- mike-travisci@teczno.com
|
Fix dumb pip install typo | language: python
python:
- "2.6"
- "2.7"
# command to install dependencies
install:
- "pip install ."
- if [[ $TRAVIS_PYTHON_VERSION != '2.6' ]]; then pip install -r requirements-dev.txt; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install -r pre-commit flake8; fi
- "pip install -r requirements.txt"
# command to run tests
script:
- pybot tests
- flake8 robotframework-faker tests
- if [[ $TRAVIS_PYTHON_VERSION != '2.6' ]]; then prospector; fi
| language: python
python:
- "2.6"
- "2.7"
# command to install dependencies
install:
- "pip install ."
- if [[ $TRAVIS_PYTHON_VERSION != '2.6' ]]; then pip install -r requirements-dev.txt; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install pre-commit flake8; fi
- "pip install -r requirements.txt"
# command to run tests
script:
- pybot tests
- flake8 robotframework-faker tests
- if [[ $TRAVIS_PYTHON_VERSION != '2.6' ]]; then prospector; fi
|
Change target ruby versions for testing | sudo: false
cache: bundler
language: ruby
rvm:
- 2.2.6
- 2.3.3
- 2.4.1
script:
- bundle exec rubocop
- bundle exec rspec
| sudo: false
cache: bundler
language: ruby
rvm:
- 2.5.8
- 2.6.6
- 2.7.1
script:
- bundle exec rubocop
- bundle exec rspec
|
Set Travis CI to test against Python 3.7 | language: python
sudo: false
python:
- "2.7"
- "3.5"
- "3.6"
branches:
only:
- master
- develop
install:
- pip install --upgrade pip setuptools wheel
- pip install --upgrade pytest
- pip install six
- pip install codecov
- pip install pytest-cov
- pip install pytest-pep8
- pip install --only-binary=numpy numpy # Otherwise this would take ages
- pip install https://github.com/alchemistry/alchemtest/archive/master.zip
- pip install -e .
script:
- py.test --cov alchemlyb src/alchemlyb/tests
after_success:
- codecov
| language: python
sudo: required
dist: xenial
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
branches:
only:
- master
- develop
install:
- pip install --upgrade pip setuptools wheel
- pip install --upgrade pytest
- pip install six
- pip install codecov
- pip install pytest-cov
- pip install pytest-pep8
- pip install --only-binary=numpy numpy # Otherwise this would take ages
- pip install https://github.com/alchemistry/alchemtest/archive/master.zip
- pip install -e .
script:
- py.test --cov alchemlyb src/alchemlyb/tests
after_success:
- codecov
|
Use indent width of 2 for consistency with appveyor.yml | language: cpp
os: osx
env:
matrix:
- CONFIGURATION=Debug
- CONFIGURATION=Release
install:
- brew install qt5
- export PATH=/usr/local/opt/qt5/bin:$PATH
before_script:
- mkdir build && cd build
- cmake .. -DCMAKE_BUILD_TYPE=$CONFIGURATION
script:
- cmake --build . --config $CONFIGURATION
- cmake --build . --config $CONFIGURATION --target install
- ctest -V -C $CONFIGURATION
- qmlscene --quit -I lib/qml ../examples/TestApp.qml
| language: cpp
os: osx
env:
matrix:
- CONFIGURATION=Debug
- CONFIGURATION=Release
install:
- brew install qt5
- export PATH=/usr/local/opt/qt5/bin:$PATH
before_script:
- mkdir build && cd build
- cmake .. -DCMAKE_BUILD_TYPE=$CONFIGURATION
script:
- cmake --build . --config $CONFIGURATION
- cmake --build . --config $CONFIGURATION --target install
- ctest -V -C $CONFIGURATION
- qmlscene --quit -I lib/qml ../examples/TestApp.qml
|
Make sure Grunt is installed on Travis | language: node_js
node_js:
- "0.10"
notifications:
irc:
channels:
- "irc.mozilla.org#fxa"
use_notice: false
skip_join: false
before_install:
- npm config set spin false
script:
- npm run outdated
- npm test | language: node_js
node_js:
- "0.10"
notifications:
irc:
channels:
- "irc.mozilla.org#fxa"
use_notice: false
skip_join: false
before_install:
- npm config set spin false
before_script:
- npm i grunt-cli -g
- npm run outdated
- grunt validate-shrinkwrap --force
script:
- npm test
|
Use Python 3.4 (available in Ubuntu trusty) to test virtualenv | language: python
python:
- "3.2"
virtualenv:
system_site_packages: true
before_install:
- sudo apt-get install -qq libgdal1h
- sudo apt-get install -qq python-gdal
script:
py.test scarplet/tests
| language: python
python:
- "3.4"
virtualenv:
system_site_packages: true
before_install:
- sudo apt-get install -qq libgdal1h
- sudo apt-get install -qq python-gdal
script:
py.test scarplet/tests
|
Add missing dependency for Travis | language: csharp
solution: Agiil.sln
install:
- mkdir -p ~/.mono
- cp Tools/mono.config ~/.mono/config
- nuget restore Agiil.sln
- nuget install NUnit.ConsoleRunner -Version 3.6.1 -OutputDirectory testrunner
script:
- xbuild /p:Configuration=Debug Agiil.sln
- ls -l Tests/Agiil.Tests.Web.Sass/bin/Debug
- MONO_LOG_LEVEL=debug mono "./testrunner/NUnit.ConsoleRunner.3.6.1/tools/nunit3-console.exe" $(find ./Tests/ -type f -path "*/bin/Debug/*" -name "Agiil.Tests*.dll" \! -name "Agiil.Tests.Common.dll") | language: csharp
solution: Agiil.sln
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libstdc++6
install:
- mkdir -p ~/.mono
- cp Tools/mono.config ~/.mono/config
- nuget restore Agiil.sln
- nuget install NUnit.ConsoleRunner -Version 3.6.1 -OutputDirectory testrunner
script:
- xbuild /p:Configuration=Debug Agiil.sln
- MONO_LOG_LEVEL=debug mono "./testrunner/NUnit.ConsoleRunner.3.6.1/tools/nunit3-console.exe" $(find ./Tests/ -type f -path "*/bin/Debug/*" -name "Agiil.Tests*.dll" \! -name "Agiil.Tests.Common.dll") |
Use Go 1.4 for building. | language: go
go:
- tip
before_script:
- go get golang.org/x/tools/cmd/cover
- go get github.com/axw/gocov/gocov
- go get github.com/modocache/gover
- go get github.com/mattn/goveralls
script:
- go test -coverprofile=core.coverprofile ./core
- go test -coverprofile=backends.coverprofile ./backends
- go test -coverprofile=directory.coverprofile ./backends/directory
- go test -coverprofile=plugins.coverprofile ./plugins
- go test -coverprofile=dotfiles.coverprofile ./plugins/dotfiles
- go test -coverprofile=homebrew.coverprofile ./plugins/packages/homebrew
- go test -coverprofile=main.coverprofile
- $HOME/gopath/bin/gover
- $HOME/gopath/bin/goveralls -service=travis-ci
| language: go
go:
- 1.4
before_script:
- go get golang.org/x/tools/cmd/cover
- go get github.com/axw/gocov/gocov
- go get github.com/modocache/gover
- go get github.com/mattn/goveralls
script:
- go test -coverprofile=core.coverprofile ./core
- go test -coverprofile=backends.coverprofile ./backends
- go test -coverprofile=directory.coverprofile ./backends/directory
- go test -coverprofile=plugins.coverprofile ./plugins
- go test -coverprofile=dotfiles.coverprofile ./plugins/dotfiles
- go test -coverprofile=homebrew.coverprofile ./plugins/packages/homebrew
- go test -coverprofile=main.coverprofile
- $HOME/gopath/bin/gover
- $HOME/gopath/bin/goveralls -service=travis-ci
|
Update renovatebot/github-action action to v32.202.4 | name: Renovate-Dry-Run
on:
workflow_dispatch:
inputs:
pac_to_use:
description: "Name of the workflow secret to use"
type: string
required: true
branch:
description: "Branch that renovate should operate on"
type: string
required: true
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Renovate-dry-run
uses: renovatebot/github-action@v32.202.3
with:
configurationFile: renovate.json
token: ${{secrets.$inputs.pac_to_use}}
env:
LOG_LEVEL: "debug"
RENOVATE_DRY_RUN: "full"
RENOVATE_BASE_BRANCHES: ${{inputs.branch}}
RENOVATE_REPOSITORIES: "TNG/JGiven"
| name: Renovate-Dry-Run
on:
workflow_dispatch:
inputs:
pac_to_use:
description: "Name of the workflow secret to use"
type: string
required: true
branch:
description: "Branch that renovate should operate on"
type: string
required: true
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Renovate-dry-run
uses: renovatebot/github-action@v32.202.4
with:
configurationFile: renovate.json
token: ${{secrets.$inputs.pac_to_use}}
env:
LOG_LEVEL: "debug"
RENOVATE_DRY_RUN: "full"
RENOVATE_BASE_BRANCHES: ${{inputs.branch}}
RENOVATE_REPOSITORIES: "TNG/JGiven"
|
Update from Hackage at 2016-12-30T10:47:05Z | homepage: https://github.com/danpalmer/yesod-auth-nopassword#readme
changelog-type: ''
hash: 043e33fc14442ee0acb0575a0e5e938f944a8a4b71d2e00406fec3f999fa4926
test-bench-deps: {}
maintainer: dan@danpalmer.me
synopsis: A plugin for Yesod to provide email-only authentication.
changelog: ''
basic-deps:
yesod-core: ! '>=1.4.17 && <1.5'
base: ! '>=4.7 && <5'
blaze-markup: ! '>=0.7 && <1.0'
text: ! '>=0.11 && <2.0'
uuid: ! '>=1.3 && <1.4'
yesod-form: ! '>=1.4.0 && <1.5'
pwstore-fast: ! '>=2.4 && <3.0'
http-types: ! '>=0.9 && <1.0'
yesod-auth: ! '>=1.4.0 && <1.5'
all-versions:
- '0.1.0.1'
author: Dan Palmer
latest: '0.1.0.1'
description-type: markdown
description: ! '### yesod-auth-nopassword
A plugin for Yesod to provide email-only authentication.
'
license-name: MIT
| homepage: https://github.com/danpalmer/yesod-auth-nopassword#readme
changelog-type: ''
hash: 45012764c5adc5473d0e8bfe04bbe3e3db6e7b5ed47a13cf2c08843bc5c9a9fd
test-bench-deps: {}
maintainer: dan@danpalmer.me
synopsis: A plugin for Yesod to provide email-only authentication.
changelog: ''
basic-deps:
yesod-core: ! '>=1.4.17 && <1.5'
base: ! '>=4.7 && <5'
blaze-markup: ! '>=0.7 && <1.0'
text: ! '>=0.11 && <2.0'
uuid: ! '>=1.3 && <1.4'
yesod-form: ! '>=1.4.0 && <1.5'
pwstore-fast: ! '>=2.4 && <3.0'
http-types: ! '>=0.9 && <1.0'
yesod-auth: ! '>=1.4.0 && <1.5'
all-versions:
- '0.1.0.1'
- '0.1.0.2'
author: Dan Palmer
latest: '0.1.0.2'
description-type: markdown
description: ! '### yesod-auth-nopassword
A plugin for Yesod to provide email-only authentication.
'
license-name: MIT
|
Remove code coverage requirements for now | comment: false
coverage:
status:
patch:
default:
target: '95'
project:
default:
target: '95' | comment: false
coverage:
status:
patch:
default:
target: '10'
project:
default:
target: '10'
|
Use bundler cache for actions | name: Test and deploy
on:
- push
- workflow_dispatch
jobs:
test_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@21351ecc0a7c196081abca5dc55b08f085efe09a
with:
ruby-version: 2.6.3
- name: Install dependencies
run: bundle install
- name: Pull image
run: docker pull alpine
- name: Run tests
run: bundle exec rake
- name: Deploy
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
gem build *.gemspec
gem push *.gem
env:
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
| name: Test and deploy
on:
- push
- workflow_dispatch
jobs:
test_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@21351ecc0a7c196081abca5dc55b08f085efe09a
with:
ruby-version: 2.6.3
bundler: 2.1.4
bundler-cache: true
- name: Pull image
run: docker pull alpine
- name: Run tests
run: bundle exec rake
- name: Deploy
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
gem build *.gemspec
gem push *.gem
env:
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
Add summer IT Helpdesk hours | name: IT Helpdesk
category: Help and Support
schedule:
- title: Hours
hours:
# - {days: [Mo, Tu, We, Th], from: '7:45am', to: '11:00pm'}
# - {days: [Fr], from: '7:45am', to: '5:00pm'}
# - {days: [Su], from: '1:30pm', to: '11:00pm'}
breakSchedule:
fall: []
thanksgiving: []
winter: []
interim: []
spring: []
easter: []
summer:
- title: Hours
hours:
- {days: [Mo, Tu, We, Th], from: '7:30am', to: '4:30pm'}
- {days: [Fr], from: '7:45am', to: '12:00pm'}
| name: IT Helpdesk
category: Help and Support
schedule:
- title: Hours
hours:
# - {days: [Mo, Tu, We, Th], from: '7:45am', to: '11:00pm'}
# - {days: [Fr], from: '7:45am', to: '5:00pm'}
# - {days: [Su], from: '1:30pm', to: '11:00pm'}
- {days: [Mo, Tu, We, Th], from: '7:30am', to: '4:30pm'}
- {days: [Fr], from: '7:45am', to: '12:00pm'}
breakSchedule:
fall: []
thanksgiving: []
winter: []
interim: []
spring: []
easter: []
summer:
- title: Hours
hours:
- {days: [Mo, Tu, We, Th], from: '7:30am', to: '4:30pm'}
- {days: [Fr], from: '7:45am', to: '12:00pm'}
|
Disable building on JDK 13 in CI | # This file is used as part of a matrix build in Jenkins where the
# values below are included as an axis of the matrix.
# This axis of the build matrix represents the versions of Java with
# which Elasticsearch will be built. Valid Java versions are 'java'
# or 'openjdk' followed by the major release number.
ES_BUILD_JAVA:
- openjdk12
- openjdk13
| # This file is used as part of a matrix build in Jenkins where the
# values below are included as an axis of the matrix.
# This axis of the build matrix represents the versions of Java with
# which Elasticsearch will be built. Valid Java versions are 'java'
# or 'openjdk' followed by the major release number.
ES_BUILD_JAVA:
- openjdk12
|
Split deployment into two jobs | name: Publish Extension
on:
push:
tags:
- "*"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
- run: npm ci && npm install
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v0
with:
pat: ${{ secrets.OPEN_VSX_TOKEN }}
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v0
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
| name: Publish Extension
on:
push:
tags:
- "*"
jobs:
deploy-open-vsx:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
- run: npm ci && npm install
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v0
with:
pat: ${{ secrets.OPEN_VSX_TOKEN }}
deploy-vs-marketplace:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
- run: npm ci && npm install
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v0
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
|
Update from Hackage at 2022-05-07T22:44:44Z | homepage: https://github.com/DanBurton/tardis
changelog-type: ''
hash: 62b9f0f10ec171dfdad106c30cf238b5f819b21d984c44b434835251a169b13a
test-bench-deps:
base: '>=4.8 && <5'
tardis: -any
maintainer: danburton.email@gmail.com
synopsis: Bidirectional state monad transformer
changelog: ''
basic-deps:
base: '>=4.8 && <5'
mtl: ==2.*
mmorph: ==1.*
all-versions:
- 0.2.0.0
- 0.3.0.0
- 0.4.1.0
- 0.4.2.0
- 0.4.3.0
author: Dan Burton
latest: 0.4.3.0
description-type: haddock
description: |-
A Tardis is a combination of both a forwards and a backwards
state transformer, providing two state values that \"travel\"
in opposite directions.
A detailed description of what a Tardis is and how to use it
can be found in the documentation for Control.Monad.Tardis.
license-name: BSD-3-Clause
| homepage: https://github.com/DanBurton/tardis
changelog-type: ''
hash: 638f33438da09c98f601b4840917a4f530f2cffe05a0dbafd120bcf6b02033cf
test-bench-deps:
base: '>=4.8 && <5'
tardis: -any
maintainer: danburton.email@gmail.com
synopsis: Bidirectional state monad transformer
changelog: ''
basic-deps:
base: '>=4.8 && <5'
mtl: '>=2 && <2.3'
mmorph: ==1.*
all-versions:
- 0.2.0.0
- 0.3.0.0
- 0.4.1.0
- 0.4.2.0
- 0.4.3.0
author: Dan Burton
latest: 0.4.3.0
description-type: haddock
description: |-
A Tardis is a combination of both a forwards and a backwards
state transformer, providing two state values that \"travel\"
in opposite directions.
A detailed description of what a Tardis is and how to use it
can be found in the documentation for Control.Monad.Tardis.
license-name: BSD-3-Clause
|
Test on latest versions of MRI | language: ruby
rvm:
- 2.3.3
- 2.2.6
- 2.1.9
before_install:
- sudo apt-get update -yq && sudo apt-get install -y graphviz
- gem install bundler -v 1.14.4
| language: ruby
rvm:
- 2.7.1
- 2.6.6
- 2.5.8
- 2.4.10
- 2.3.8
- 2.2.6
- 2.1.9
before_install:
- sudo apt-get update -yq && sudo apt-get install -y graphviz
- gem install bundler -v 1.14.4
|
Add Node 8 and 10. Remove Node 8. | # Test against this version of Node.js
environment:
matrix:
# node.js
- nodejs_version: "7"
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
# install modules
- npm install
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
# run tests
- npm run test:node
- npm run test:win
# Don't actually build.
build: off
| # Test against this version of Node.js
environment:
matrix:
# node.js
- nodejs_version: "8"
- nodejs_version: "10"
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
# install modules
- npm install
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
# run tests
- npm run test:node
- npm run test:win
# Don't actually build.
build: off
|
Fix config for taxes in quebec in 2012 | taxes:
GST:
versions:
- starts: 2011-01-01
ends: 2013-12-31
percentage: 5
states:
qc:
rules:
- starts: 0001-01-01
ends: 2020-12-31
same_state: [GST, QST]
same_country: GST
taxes:
QST:
versions:
- starts: 2011-01-01
ends: 2011-12-31
percentage: 8.5
apply_on: GST
- starts: 2012-01-01
ends: 2012-12-31
percentage: 9.5
"on":
rules:
- starts: 0001-01-01
ends: 2020-12-31
same_country: HST
taxes:
HST:
versions:
- starts: 2011-01-01
ends: 2012-12-31
percentage: 13 | taxes:
GST:
versions:
- starts: 2011-01-01
ends: 2013-12-31
percentage: 5
states:
qc:
rules:
- starts: 0001-01-01
ends: 2020-12-31
same_state: [GST, QST]
same_country: GST
taxes:
QST:
versions:
- starts: 2011-01-01
ends: 2011-12-31
percentage: 8.5
apply_on: GST
- starts: 2012-01-01
ends: 2012-12-31
percentage: 9.5
apply_on: GST
"on":
rules:
- starts: 0001-01-01
ends: 2020-12-31
same_country: HST
taxes:
HST:
versions:
- starts: 2011-01-01
ends: 2012-12-31
percentage: 13 |
Add on-success statement to example actionchain | chain:
- name: task1
ref: core.ask
params:
tag: developers
users:
- testu
- name: task2
ref: core.local
params:
cmd: echo "Reached task 2!"
| chain:
- name: task1
ref: core.ask
params:
tag: developers
users:
- testu
on-success: "task2"
- name: task2
ref: core.local
params:
cmd: echo "Reached task 2!"
|
Enforce repo yaml privacy key. | leakDetectionExemptions:
- ruleId: 'ip_addresses'
filePaths:
- '/src/test/scala/uk/gov/hmrc/bobby/domain/VersionSpec.scala'
- '/src/test/scala/uk/gov/hmrc/bobby/repos/NexusSpec.scala' | leakDetectionExemptions:
- ruleId: 'ip_addresses'
filePaths:
- '/src/test/scala/uk/gov/hmrc/bobby/domain/VersionSpec.scala'
- '/src/test/scala/uk/gov/hmrc/bobby/repos/NexusSpec.scala'
repoVisibility: public_0C3F0CE3E6E6448FAD341E7BFA50FCD333E06A20CFF05FCACE61154DDBBADF71
|
Add fb chat to stag | imports:
- { resource: config.yml }
monolog:
handlers:
main:
type: fingers_crossed
action_level: error
handler: grouped_main
nested:
type: stream
path: %kernel.logs_dir%/%kernel.environment%.log
level: debug
grouped_main:
type: group
members: [nested]
stfalcon_event:
interkassa:
shop_id: "%interkassa_shop_id%"
secret: "%interkassa_secret%"
discount: 0.2 | imports:
- { resource: config.yml }
monolog:
handlers:
main:
type: fingers_crossed
action_level: error
handler: grouped_main
nested:
type: stream
path: %kernel.logs_dir%/%kernel.environment%.log
level: debug
grouped_main:
type: group
members: [nested]
stfalcon_event:
interkassa:
shop_id: "%interkassa_shop_id%"
secret: "%interkassa_secret%"
discount: 0.2
twig:
globals:
fb_page_id: "349461782222519" |
Remove debian meta info because tests run only against Ubuntu 12.04 to 16.10 | ---
galaxy_info:
author: Mikael Gibert
description: OrientDB installation
license: MIT
min_ansible_version: 1.6
platforms:
- name: EL
versions:
- 7
- name: Ubuntu
versions:
- all
- name: Debian
versions:
- all
categories:
- database
- database:nosql
| ---
galaxy_info:
author: Mikael Gibert
description: OrientDB installation
license: MIT
min_ansible_version: 1.6
platforms:
- name: EL
versions:
- 7
- name: Ubuntu
versions:
- all
categories:
- database
- database:nosql
|
Add db symlink deploy task | # SQLite version 3.x
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
#
database: &common
adapter: sqlite3
pool: 5
timeout: 5000
#
# Postgres
# Ensure the Postgress gem is defined in your Gemfile
# gem 'pg'
#
# database: &common
# adapter: postgresql or pg
# username: username
# password: password
#
# MySQL
# Ensure the MySQL gem is defined in your Gemfile
# gem 'mysql2'
# database: &common
# adapter: mysql2
# username: username
# password: password
#
# Replace database with the name or file of your database depending
# on your adapter. E.g. for SQLite `db/development.sqlite3` while for MySQL
# it my be `studix_development`.
development:
<<: *common
database: db/development.sqlite3
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
<<: *common
database: ":memory:"
production:
<<: *common
database: ../../shared/db/production.sqlite3
| # SQLite version 3.x
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
#
database: &common
adapter: sqlite3
pool: 5
timeout: 5000
#
# Postgres
# Ensure the Postgress gem is defined in your Gemfile
# gem 'pg'
#
# database: &common
# adapter: postgresql or pg
# username: username
# password: password
#
# MySQL
# Ensure the MySQL gem is defined in your Gemfile
# gem 'mysql2'
# database: &common
# adapter: mysql2
# username: username
# password: password
#
# Replace database with the name or file of your database depending
# on your adapter. E.g. for SQLite `db/development.sqlite3` while for MySQL
# it my be `studix_development`.
development:
<<: *common
database: db/development.sqlite3
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
<<: *common
database: ":memory:"
production:
<<: *common
database: db/production.sqlite3
|
Set revision as master for apid modules. | package: github.com/30x/apid_build
import:
- package: github.com/30x/apid
- package: github.com/spf13/viper
- package: github.com/apigee-labs/transicator
- package: github.com/30x/apidApigeeSync
- package: github.com/30x/apidGatewayDeploy
- package: github.com/30x/apidVerifyAPIKey
| package: github.com/30x/apid/cmd/apid
import:
- package: github.com/30x/apid
version: master
- package: github.com/spf13/viper
- package: github.com/apigee-labs/transicator
- package: github.com/30x/apidApigeeSync
version: master
- package: github.com/30x/apidGatewayDeploy
version: master
- package: github.com/30x/apidVerifyAPIKey
version: master
|
Fix location of chronos.service systemd file for Ubuntu 15.10 | chronos_apt_repo: "deb http://repos.mesosphere.io/{{ansible_distribution|lower}} {{ansible_distribution_release|lower|replace('wily','vivid')}} main"
chronos_system_service_config_file: "/etc/systemd/system/multi-user.target.wants/chronos.service"
| chronos_apt_repo: "deb http://repos.mesosphere.io/{{ansible_distribution|lower}} {{ansible_distribution_release|lower|replace('wily','vivid')}} main"
chronos_system_service_config_file: "/lib/systemd/system/chronos.service"
|
Revert "Fix fluentd config name" | ---
dependencies:
- role: telusdigital.apt-repository
repository_key: "0x9ecbec467f0ceb10"
repository_url: "deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen"
- role: telusdigital.logrotate
logrotate_name: mongod
- role: telusdigital.fluentd
fluentd_config_name: mongodb
fluentd_sources:
- path: "{{ mongodb_log_path }}"
format: '^(?<date_time>(?<date>[^T]*)T(?<time>[^\+]*)\+(?<time_offset>\d{4})) \[(?<placeholder_name>[^]]*)\] (?<message>.*)'
tag: mongodb.service
galaxy_info:
author: "Chris Olstrom"
company: "TELUS digital"
description: "MongoDB is a document-oriented database."
license: MIT
platforms:
- name: Ubuntu
versions:
- trusty
categories:
- database:nosql
| ---
dependencies:
- role: telusdigital.apt-repository
repository_key: "0x9ecbec467f0ceb10"
repository_url: "deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen"
- role: telusdigital.logrotate
logrotate_name: mongod
- role: telusdigital.fluentd
fluentd_sources:
- path: "{{ mongodb_log_path }}"
format: '^(?<date_time>(?<date>[^T]*)T(?<time>[^\+]*)\+(?<time_offset>\d{4})) \[(?<placeholder_name>[^]]*)\] (?<message>.*)'
tag: mongodb.service
galaxy_info:
author: "Chris Olstrom"
company: "TELUS digital"
description: "MongoDB is a document-oriented database."
license: MIT
platforms:
- name: Ubuntu
versions:
- trusty
categories:
- database:nosql
|
Replace Node 15 with 16 in CI tests. | name: CI
on:
push:
branches-ignore:
- "dependabot/**"
pull_request:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node:
- 10
- 12
- 14
- 15
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js environment
uses: actions/setup-node@v2.1.5
with:
node-version: ${{ matrix.node }}
- name: Install packages
run: npm ci
- name: Run tests
run: npm test
| name: CI
on:
push:
branches-ignore:
- "dependabot/**"
pull_request:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node:
- 10
- 12
- 14
- 16
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js environment
uses: actions/setup-node@v2.1.5
with:
node-version: ${{ matrix.node }}
- name: Install packages
run: npm ci
- name: Run tests
run: npm test
|
Add RD Admin Portal Credentials after installation 2 | ---
- name: Installing PPTPD Server for RadiusDesk (Ubuntu 14+)
apt:
name="pptpd"
state=present
- name: Configuring PPTPD Server for RadiusDesk (Ubuntu 14+)
template:
dest="/etc/pptpd.conf"
src="pptpd/pptpd.conf.j2"
- name: Configuring RadiusDesk to Use PPTPD Server (Ubuntu 14+)
template:
dest="{{ nginx_webroot }}/cake2/rd_cake/Config/RadiusDesk.php"
group={{ web_group }}
owner={{ web_user }}
src=RadiusDesk.php.j2
validate='php -l %s'
- name: Ensuring PPTPD Client is writeable by Web Server User (Ubuntu 14+)
shell:
"chown root:{{ web_group }} {{ pptpd_client_dir }}/chap-secrets &&
chmod 0664 {{ pptpd_client_dir }}/chap-secrets
"
notify:
- Restart Pptpd | ---
- name: Installing PPTPD Server for RadiusDesk (Ubuntu 14+)
apt:
name="pptpd"
state=present
- name: Configuring PPTPD Server for RadiusDesk (Ubuntu 14+)
template:
dest="/etc/pptpd.conf"
src="pptpd/pptpd.conf.j2"
- name: Configuring RadiusDesk to Use PPTPD Server (Ubuntu 14+)
template:
dest="{{ nginx_webroot }}/cake2/rd_cake/Config/RadiusDesk.php"
group={{ web_group }}
owner={{ web_user }}
src=RadiusDesk.php.j2
validate='php -l %s'
- name: Ensuring PPTPD Client is writeable by Web Server User (Ubuntu 14+)
shell:
"chown root:{{ web_group }} {{ pptpd_client_dir }}/chap-secrets &&
chmod 0664 {{ pptpd_client_dir }}/chap-secrets
"
notify:
- Restart Pptpd
- debug: msg="{{ item.rdmsg }}"
with_items:
- { rdmsg: 'RADIUSDesk Admin Portal: http://{{ ansible_default_ipv4.address }}/rd/build/production/Rd/index.html' }
- { rdmsg: 'RADIUSDesk Admin Username: root' }
- { rdmsg: 'RADIUSDesk Admin Password: admin' } |
Switch back to www-data and include become: yes | ---
# A simple one-off playbook that gathers basic usage information from OpenedX hosts.
# This is used by the `activity_csv` management command.
- hosts: all
vars:
# This should be overridden to be more unique.
local_output_dir: /tmp/
remote_output_filename: /tmp/activity_report
tasks:
# We have to do a copy+command pair here (instead of script) in order to get
# separate channels for stdout and stderr.
# See also: https://github.com/ansible/ansible-modules-core/pull/4000/files
- name: Copy stats script
copy:
src: stats.py
dest: /tmp/collect_activity.py
become_user: edxapp
- name: Run stats script
command: >
/edx/bin/python.edxapp /tmp/collect_activity.py {{ inventory_hostname }} {{ remote_output_filename }}
register: stats_results
become_user: edxapp
# For debugging purposes:
# stdout contains the computed stats
# stderr contains any logs (including edX logs)
- debug:
var: stats_results
- name: Fetch stats
fetch:
src: '{{ remote_output_filename }}'
dest: '{{ local_output_dir }}/{{ inventory_hostname }}'
flat: yes
register: fetch_results
- debug:
var: fetch_results
| ---
# A simple one-off playbook that gathers basic usage information from OpenedX hosts.
# This is used by the `activity_csv` management command.
- hosts: all
vars:
# This should be overridden to be more unique.
local_output_dir: /tmp/
remote_output_filename: /tmp/activity_report
tasks:
# We have to do a copy+command pair here (instead of script) in order to get
# separate channels for stdout and stderr.
# See also: https://github.com/ansible/ansible-modules-core/pull/4000/files
- name: Copy stats script
copy:
src: stats.py
dest: /tmp/collect_activity.py
become: yes
become_user: www-data
- name: Run stats script
command: >
/edx/bin/python.edxapp /tmp/collect_activity.py {{ inventory_hostname }} {{ remote_output_filename }}
register: stats_results
become: yes
become_user: www-data
# For debugging purposes:
# stdout contains the computed stats
# stderr contains any logs (including edX logs)
- debug:
var: stats_results
- name: Fetch stats
fetch:
src: '{{ remote_output_filename }}'
dest: '{{ local_output_dir }}/{{ inventory_hostname }}'
flat: yes
register: fetch_results
- debug:
var: fetch_results
|
Configure GitHub to test on Node 12 and above | name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['10', '11', '12', '13', '14']
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
check-latest: true
- run: npm install
- run: npm test
env:
CI: true
- run: npm run lint
- run: npm run licenses
| name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['12', '13', '14']
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
check-latest: true
- run: npm install
- run: npm test
env:
CI: true
- run: npm run lint
- run: npm run licenses
|
Add significant query strings for VOA site | ---
site: voa
whitehall_slug: valuation-office-agency
homepage: https://www.gov.uk/government/organisations/valuation-office-agency
tna_timestamp: 20141002130923
host: www.voa.gov.uk
homepage_furl: www.gov.uk/voa
aliases:
- voa.gov.uk
- app.voa.gov.uk
- cti.voa.gov.uk
- manuals.voa.gov.uk
- www.manuals.voa.gov.uk
| ---
site: voa
whitehall_slug: valuation-office-agency
homepage: https://www.gov.uk/government/organisations/valuation-office-agency
tna_timestamp: 20141002130923
host: www.voa.gov.uk
homepage_furl: www.gov.uk/voa
aliases:
- voa.gov.uk
- app.voa.gov.uk
- cti.voa.gov.uk
- manuals.voa.gov.uk
- www.manuals.voa.gov.uk
options: --query-string lcn:EBAR
|
Enable Brakeman and Bundler-Audit in CodeClimate | engines:
rubocop:
enabled: true
scss-lint:
enabled: true
fixme:
enabled: true
duplication:
enabled: true
config:
languages:
- ruby
- javascript
ratings:
paths:
- "**.rb"
- "**.scss"
| engines:
rubocop:
enabled: true
scss-lint:
enabled: true
fixme:
enabled: true
duplication:
enabled: true
config:
languages:
- ruby
- javascript
brakeman:
enabled: true
bundler-audit:
enabled: true
ratings:
paths:
- "**.rb"
- "**.scss"
- Gemfile.lock
|
Remove `TRAVIS*` environment variables from regular compose file. We only need them on Travis CI. | version: "2"
services:
celery:
command: entrypoint.sh setup-django.sh celery.sh
extends: django
celerybeat:
command: entrypoint.sh setup-django.sh celerybeat.sh
extends: django
celeryflower:
command: entrypoint.sh setup-django.sh celeryflower.sh
extends: django
django:
command: entrypoint.sh setup-django.sh supervisord.sh
environment:
BASE_SETTINGS_MODULE: develop
TRAVIS:
TRAVIS_BRANCH:
TRAVIS_JOB_ID:
image: interaction/icekit:latest
tmpfs:
- /tmp
volumes:
- ./:/opt/django-icekit
elasticsearch:
image: interaction/elasticsearch-icu:1
haproxy:
image: dockercloud/haproxy:1.5.1
volumes:
- /var/run/docker.sock:/var/run/docker.sock
postgres:
image: onjin/alpine-postgres:9.4
redis:
command: redis-server --appendonly yes
image: redis:3-alpine
| version: "2"
services:
celery:
command: entrypoint.sh setup-django.sh celery.sh
extends: django
celerybeat:
command: entrypoint.sh setup-django.sh celerybeat.sh
extends: django
celeryflower:
command: entrypoint.sh setup-django.sh celeryflower.sh
extends: django
django:
command: entrypoint.sh setup-django.sh supervisord.sh
environment:
BASE_SETTINGS_MODULE: develop
image: interaction/icekit:latest
tmpfs:
- /tmp
volumes:
- ./:/opt/django-icekit
elasticsearch:
image: interaction/elasticsearch-icu:1
haproxy:
image: dockercloud/haproxy:1.5.1
volumes:
- /var/run/docker.sock:/var/run/docker.sock
postgres:
image: onjin/alpine-postgres:9.4
redis:
command: redis-server --appendonly yes
image: redis:3-alpine
|
Enforce brackets for symbol arrays in RuboCop | AllCops:
DefaultFormatter: clang
DisplayCopNames: true
TargetRubyVersion: 2.2
Layout/IndentArray:
Enabled: false
Layout/IndentHash:
Enabled: false
EnforcedStyle: align_braces
Layout/IndentHeredoc:
Enabled: false
Layout/MultilineBlockLayout:
Enabled: false
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
Lint/AmbiguousOperator:
Enabled: false
Lint/AmbiguousRegexpLiteral:
Enabled: false
Lint/NonLocalExitFromIterator:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/BlockLength:
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/LineLength:
Max: 120
Metrics/MethodLength:
Enabled: false
Metrics/ParameterLists:
Enabled: false
Style/AndOr:
Enabled: false
Style/BlockDelimiters:
Enabled: false
Style/ClassAndModuleChildren:
EnforcedStyle: compact
Style/Lambda:
EnforcedStyle: lambda
Style/MultilineBlockChain:
Enabled: false
Style/MutableConstant:
Exclude:
- lib/terraform/project_version.rb
Style/NegatedIf:
Enabled: false
Style/Not:
Enabled: false
Style/PercentLiteralDelimiters:
Enabled: false
Style/RegexpLiteral:
AllowInnerSlashes: true
EnforcedStyle: slashes
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/WordArray:
EnforcedStyle: brackets
| AllCops:
DefaultFormatter: clang
DisplayCopNames: true
TargetRubyVersion: 2.2
Layout/IndentArray:
Enabled: false
Layout/IndentHash:
Enabled: false
EnforcedStyle: align_braces
Layout/IndentHeredoc:
Enabled: false
Layout/MultilineBlockLayout:
Enabled: false
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
Lint/AmbiguousOperator:
Enabled: false
Lint/AmbiguousRegexpLiteral:
Enabled: false
Lint/NonLocalExitFromIterator:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/BlockLength:
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/LineLength:
Max: 120
Metrics/MethodLength:
Enabled: false
Metrics/ParameterLists:
Enabled: false
Style/AndOr:
Enabled: false
Style/BlockDelimiters:
Enabled: false
Style/ClassAndModuleChildren:
EnforcedStyle: compact
Style/Lambda:
EnforcedStyle: lambda
Style/MultilineBlockChain:
Enabled: false
Style/MutableConstant:
Exclude:
- lib/terraform/project_version.rb
Style/NegatedIf:
Enabled: false
Style/Not:
Enabled: false
Style/PercentLiteralDelimiters:
Enabled: false
Style/RegexpLiteral:
AllowInnerSlashes: true
EnforcedStyle: slashes
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/SymbolArray:
EnforcedStyle: brackets
Style/WordArray:
EnforcedStyle: brackets
|
Update target Ruby version for Rubocop | AllCops:
TargetRubyVersion: 2.4
Exclude:
- 'node_modules/**/*'
NewCops: enable
# Customize rules
Layout/LineLength:
Max: 100
Exclude:
- bin/**/*
- config/**/*
- test/**/*
Metrics/ClassLength:
Exclude:
- test/**/*
Metrics/BlockLength:
Exclude:
- test/**/*
- lib/tasks/**/*
Metrics/MethodLength:
Exclude:
- lib/tasks/location.rake
Style/FormatStringToken:
Enabled: false
Style/Documentation:
Exclude:
- test/**/*
Style/OptionalBooleanParameter:
Enabled: false
Lint/ConstantDefinitionInBlock:
Exclude:
- test/**/*
Lint/DuplicateBranch:
Enabled: false
| AllCops:
TargetRubyVersion: 2.6
Exclude:
- 'node_modules/**/*'
NewCops: enable
# Customize rules
Layout/LineLength:
Max: 100
Exclude:
- bin/**/*
- config/**/*
- test/**/*
Metrics/ClassLength:
Exclude:
- test/**/*
Metrics/BlockLength:
Exclude:
- test/**/*
- lib/tasks/**/*
Metrics/MethodLength:
Exclude:
- lib/tasks/location.rake
Style/FormatStringToken:
Enabled: false
Style/Documentation:
Exclude:
- test/**/*
Style/OptionalBooleanParameter:
Enabled: false
Lint/ConstantDefinitionInBlock:
Exclude:
- test/**/*
Lint/DuplicateBranch:
Enabled: false
|
Update isort recipe to version 4.2.15 | {% set version = "4.2.14" %}
{% set md5 = "555938e24911062b2febab248b419788" %}
package:
name: isort
version: {{ version }}
source:
fn: isort-{{version}}.tar.gz
url: https://pypi.io/packages/source/i/isort/isort-{{ version }}.tar.gz
md5: {{ md5 }}
build:
script: python setup.py install --single-version-externally-managed --record=record.txt
noarch: python
number: 0
requirements:
build:
- python
- setuptools
run:
- python
test:
imports:
- isort
about:
home: https://github.com/timothycrosley/isort
license: MIT License
summary: 'A Python utility / library to sort Python imports.'
description: |
isort is a Python utility / library to sort imports alphabetically, and
automatically separated into sections. It provides a command line utility,
Python library and plugins for various editors to quickly sort all your
imports. It currently cleanly supports Python 2.6 - 3.5 using pies to
achieve this without ugly hacks and/or py2to3.
doc_url: http://isort.readthedocs.io/en/latest/
dev_url: https://github.com/timothycrosley/isort
| {% set version = "4.2.15" %}
{% set md5 = "34915a2ce60e6fe3dbcbf5982deef9b4" %}
package:
name: isort
version: {{ version }}
source:
fn: isort-{{version}}.tar.gz
url: https://pypi.io/packages/source/i/isort/isort-{{ version }}.tar.gz
md5: {{ md5 }}
build:
script: python setup.py install --single-version-externally-managed --record=record.txt
noarch: python
number: 0
requirements:
build:
- python
- setuptools
run:
- python
test:
imports:
- isort
about:
home: https://github.com/timothycrosley/isort
license: MIT License
summary: 'A Python utility / library to sort Python imports.'
description: |
isort is a Python utility / library to sort imports alphabetically, and
automatically separated into sections. It provides a command line utility,
Python library and plugins for various editors to quickly sort all your
imports. It currently cleanly supports Python 2.6 - 3.5 using pies to
achieve this without ugly hacks and/or py2to3.
doc_url: http://isort.readthedocs.io/en/latest/
dev_url: https://github.com/timothycrosley/isort
|
Use the actual RHEL7 repository so it would stay up-to-date | ---
# Setup all of our php-fpm related repositories.
- name: Install repositories
yum: pkg={{item}} state=present
with_items:
- "https://dl.iuscommunity.org/pub/ius/stable/Redhat/7/x86_64/ius-release-1.0-15.ius.el7.noarch.rpm"
when: distro == "rhel7"
- name: Install repositories
yum: pkg={{item}} state=present
ignore_errors: yes
with_items:
- "https://centos7.iuscommunity.org/ius-release.rpm"
when: distro == "centos7"
# Mariadb repository for client
- copy:
src=mariadb/mariadb.repo
dest=/etc/yum.repos.d/mariadb.repo
| ---
# Setup all of our php-fpm related repositories.
- name: Install repositories
yum: pkg={{item}} state=present
with_items:
- "https://rhel7.iuscommunity.org/ius-release.rpm"
when: distro == "rhel7"
- name: Install repositories
yum: pkg={{item}} state=present
ignore_errors: yes
with_items:
- "https://centos7.iuscommunity.org/ius-release.rpm"
when: distro == "centos7"
# Mariadb repository for client
- copy:
src=mariadb/mariadb.repo
dest=/etc/yum.repos.d/mariadb.repo
|
Add nuage rest server port to haproxy firewall rules. | ---
galaxy_info:
author: Jason DeTiberus
description: OpenShift haproxy loadbalancer
company: Red Hat, Inc.
license: Apache License, Version 2.0
min_ansible_version: 1.9
platforms:
- name: EL
versions:
- 7
dependencies:
- role: openshift_facts
- role: os_firewall
os_firewall_allow:
- service: haproxy stats
port: "9000/tcp"
- service: haproxy balance
port: "{{ openshift_master_api_port | default(8443) }}/tcp"
- role: openshift_repos
| ---
galaxy_info:
author: Jason DeTiberus
description: OpenShift haproxy loadbalancer
company: Red Hat, Inc.
license: Apache License, Version 2.0
min_ansible_version: 1.9
platforms:
- name: EL
versions:
- 7
dependencies:
- role: openshift_facts
- role: os_firewall
os_firewall_allow:
- service: haproxy stats
port: "9000/tcp"
- service: haproxy balance
port: "{{ openshift_master_api_port | default(8443) }}/tcp"
- role: os_firewall
os_firewall_allow:
- service: nuage mon
port: "{{ nuage_mon_rest_server_port | default(9443) }}/tcp"
when: openshift_use_nuage | default(false) | bool
- role: openshift_repos
|
Update Save to… to 1.6 (6) | Categories:
- Navigation
License: CDDL-1.0
SourceCode: https://notabug.org/Umnik/SaveTo
IssueTracker: https://notabug.org/Umnik/SaveTo/issues
AutoName: Save to…
RepoType: git
Repo: https://notabug.org/Umnik/SaveTo.git
Builds:
- versionName: '1.0'
versionCode: 1
commit: '1.0'
subdir: app
gradle:
- yes
- versionName: '1.3'
versionCode: 3
commit: '1.3'
subdir: app
gradle:
- yes
- versionName: '1.4'
versionCode: 4
commit: '1.4'
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: '1.4'
CurrentVersionCode: 4
| Categories:
- Navigation
License: CDDL-1.0
SourceCode: https://notabug.org/Umnik/SaveTo
IssueTracker: https://notabug.org/Umnik/SaveTo/issues
AutoName: Save to…
RepoType: git
Repo: https://notabug.org/Umnik/SaveTo.git
Builds:
- versionName: '1.0'
versionCode: 1
commit: '1.0'
subdir: app
gradle:
- yes
- versionName: '1.3'
versionCode: 3
commit: '1.3'
subdir: app
gradle:
- yes
- versionName: '1.4'
versionCode: 4
commit: '1.4'
subdir: app
gradle:
- yes
- versionName: '1.6'
versionCode: 6
commit: '1.6'
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: '1.6'
CurrentVersionCode: 6
|
Update utilities script for synchronizing /etc/hosts with inventory file | ---
- hosts: all
tasks:
- blockinfile:
dest: /etc/hosts
block: "{{ hostvars[item].ansible_host }} {{ item }}"
marker: "# {mark} ANSIBLE MANAGED BLOCK {{ item }}"
with_items: "{{ groups['all'] }}"
become: true
| ---
- hosts: all
tasks:
- authorized_key:
user: vagrant
key: "{{ lookup('file', '/vagrant_data/id_rsa.pub') }}"
- lineinfile:
dest: /etc/hosts
regexp: '.*127\.0\.0\.1.*{{ inventory_hostname }}'
state: absent
become: true
- blockinfile:
dest: /etc/hosts
block: "{{ hostvars[item].ansible_host }} {{ item }}"
marker: "# {mark} ANSIBLE MANAGED BLOCK {{ item }}"
with_items: "{{ groups['all'] }}"
become: true
|
Add start of Upgrading chapter | site_name: PortPHP Documentation
theme: readthedocs
pages:
- index.md
- quickstart.md
- readers.md
- writers.md
- stepaggregator.md
- contributing.md
site_url: http://portphp.org
repo_url: https://github.com/portphp/portphp
markdown_extensions:
- toc:
baselevel: 3
permalink: true
- admonition
| site_name: PortPHP Documentation
theme: readthedocs
pages:
- index.md
- quickstart.md
- readers.md
- writers.md
- stepaggregator.md
- upgrading.md
- contributing.md
site_url: http://portphp.org
repo_url: https://github.com/portphp/portphp
markdown_extensions:
- toc:
baselevel: 3
permalink: true
- admonition
|
Use prooph/php:7.0-fpm as image for php | nginx:
image: prooph/nginx:www
ports:
- 8080:80
- 443:443
- 10081:10081
- 10082:10082
links:
- php:php
volumes_from:
- dataphp
php:
image: prooph/php:5.6-fpm-xdebug
links:
- mariadb:mariadb
volumes_from:
- dataphp
environment:
- ADAPTER=mysql
dataphp:
image: debian:jessie
volumes:
- .:/var/www
mariadb:
image: mariadb
ports:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD=dev
- MYSQL_USER=dev
- MYSQL_PASSWORD=dev
- MYSQL_DATABASE=proophessor
| nginx:
image: prooph/nginx:www
ports:
- 8080:80
- 443:443
- 10081:10081
- 10082:10082
links:
- php:php
volumes_from:
- dataphp
php:
image: prooph/php:7.0-fpm
links:
- mariadb:mariadb
volumes_from:
- dataphp
environment:
- ADAPTER=mysql
dataphp:
image: debian:jessie
volumes:
- .:/var/www
mariadb:
image: mariadb
ports:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD=dev
- MYSQL_USER=dev
- MYSQL_PASSWORD=dev
- MYSQL_DATABASE=proophessor
|
Set source directory as bind volume for development | version: '3.4'
volumes:
postgresql:
services:
web:
build:
context: .
volumes:
- /app/media
- /app/templates/docs
ports:
- 8000:8000
stdin_open: true
tty: true
depends_on:
- db
db:
image: postgres:11
ports:
- 5432:5432
volumes:
- postgresql:/var/lib/postgresql/data
environment:
POSTGRES_DB: 'lutris'
POSTGRES_USER: 'lutris'
POSTGRES_PASSWORD: 'admin'
| version: '3.4'
volumes:
postgresql:
media:
services:
web:
build:
context: .
volumes:
- type: volume
source: media
target: /app/media
volume:
nocopy: true
- type: bind
source: .
target: /app
ports:
- 8000:8000
stdin_open: true
tty: true
depends_on:
- db
db:
image: postgres:11
ports:
- 5432:5432
volumes:
- postgresql:/var/lib/postgresql/data
environment:
POSTGRES_DB: 'lutris'
POSTGRES_USER: 'lutris'
POSTGRES_PASSWORD: 'admin'
|
Add CRLF line endings for Appveyor | # Test against this version of Node.js
environment:
matrix:
- nodejs_version: '0.12'
- nodejs_version: '4'
# Latest version of Node
- nodejs_version: '5'
- nodejs_version: '1'
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
# install modules
- npm install
# link
- npm link
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
# run tests
- npm test
# Don't actually build.
build: off
| # CRLF Line Endings
init:
- git config --global core.autocrlf true
# Test against this version of Node.js
environment:
matrix:
- nodejs_version: '0.12'
- nodejs_version: '4'
# Latest version of Node
- nodejs_version: '5'
- nodejs_version: '1'
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
# install modules
- npm install
# link
- npm link
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
# run tests
- npm test
# Don't actually build.
build: off
|
Configure git before doing a push | name: Publish to npm
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- run: yarn install --frozen-lockfile
- run: yarn test
- run: yarn build
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: yarn config set version-git-message "Released v%s"
- run: yarn version --new-version ${{github.event.release.tag_name}}
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: git push
env:
github-token: ${{ secrets.GITHUB_TOKEN }}
| name: Publish to npm
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- run: yarn install --frozen-lockfile
- run: yarn test
- run: yarn build
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: yarn config set version-git-message "Released v%s"
- run: yarn version --new-version ${{ github.event.release.tag_name }}
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: git config user.email "ruben@kislaki.net"
- run: git config user.name "Ruben"
- run: git push
env:
github-token: ${{ secrets.GITHUB_TOKEN }}
|
Remove version number from nightly | version: "1.0.0-nightly.${BUILDID}"
rpm_version: "1.0.0~nightly${BUILDID}"
deb_version: "1.0.0~nightly${BUILDID}"
| version: "nightly.${BUILDID}"
rpm_version: "nightly${BUILDID}"
deb_version: "nightly${BUILDID}"
|
Add local overrides to e2e example | name: e2e_example
environment:
sdk: '>=1.9.1 <2.0.0'
dependencies:
build: ^0.9.0
build_barback: ^0.2.0
dev_dependencies:
build_runner: ^0.3.2
transformers:
- e2e_example:
$include: 'web/*.txt'
| name: e2e_example
environment:
sdk: '>=1.9.1 <2.0.0'
dependencies:
build: ^0.9.0
build_barback: ^0.2.0
dev_dependencies:
build_runner: ^0.3.2
transformers:
- e2e_example:
$include: 'web/*.txt'
dependency_overrides:
build:
path: ../build
build_barback:
path: ../build_barback
build_runner:
path: ../build_runner
|
Increase sqlite pool to avoid puma errors | # SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
#
default: &default
adapter: sqlite3
pool: 5
timeout: 5000
development:
<<: *default
database: db/development.sqlite3
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test: &test
<<: *default
database: db/test.sqlite3
production:
<<: *default
database: db/production.sqlite3
cucumber:
<<: *test
| # SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
#
default: &default
adapter: sqlite3
pool: 10
timeout: 5000
development:
<<: *default
database: db/development.sqlite3
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test: &test
<<: *default
database: db/test.sqlite3
production:
<<: *default
database: db/production.sqlite3
cucumber:
<<: *test
|
Use Drupal 8.0.2 rather than 8.0.x | ---
api: 2
# Basic Drush Make file for Drupal. Be sure to update the drupal_major_version
# variable inside config.yml if you change the major version in this file.
# Drupal core (major version, e.g. 6.x, 7.x, 8.x).
core: "8.x"
projects:
# Core.
drupal:
type: "core"
download:
# Drupal core branch (e.g. "6.x", "7.x", "8.0.x").
branch: "8.0.x"
working-copy: true
# Other modules.
devel: "1.x-dev"
migrate_api: "1.0"
migrate_plus: "1.0-beta1"
migrate_tools: "1.0-beta1"
migrate_ui: "1.0"
| ---
api: 2
# Basic Drush Make file for Drupal. Be sure to update the drupal_major_version
# variable inside config.yml if you change the major version in this file.
# Drupal core (major version, e.g. 6.x, 7.x, 8.x).
core: "8.x"
projects:
# Core.
drupal:
type: "core"
download:
# Drupal core branch (e.g. "6.x", "7.x", "8.0.x").
branch: "8.0.2"
working-copy: true
# Other modules.
devel: "1.x-dev"
migrate_api: "1.0"
migrate_plus: "1.0-beta1"
migrate_tools: "1.0-beta1"
migrate_ui: "1.0"
|
Update Travis config to use Xcode 9 | language: objective-c
osx_image: xcode8
xcode_workspace: ReceptionKit.xcworkspace
xcode_scheme: ReceptionKit
install:
- ./Scripts/install_swiftlint.sh
# Temporarily disable xctool: https://github.com/travis-ci/travis-ci/issues/3986
# xcodebuild runs swiftlint automatically
script:
# - swiftlint
# - xctool test -workspace ReceptionKit.xcworkspace -scheme ReceptionKit -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPad Pro'
- set -o pipefail && xcodebuild test -workspace ReceptionKit.xcworkspace -scheme ReceptionKit -destination 'platform=iOS Simulator,name=iPad Pro (12.9 inch)' | xcpretty
| language: objective-c
osx_image: xcode9
xcode_workspace: ReceptionKit.xcworkspace
xcode_scheme: ReceptionKit
install:
- ./Scripts/install_swiftlint.sh
# Temporarily disable xctool: https://github.com/travis-ci/travis-ci/issues/3986
# xcodebuild runs swiftlint automatically
script:
# - swiftlint
# - xctool test -workspace ReceptionKit.xcworkspace -scheme ReceptionKit -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPad Pro'
- set -o pipefail && xcodebuild test -workspace ReceptionKit.xcworkspace -scheme ReceptionKit -destination 'platform=iOS Simulator,name=iPad Pro (12.9 inch)' | xcpretty
|
Add conf files copying before in CI | language: python
services:
- mysql
python:
- "3.6"
install: "pip install -r requirements.txt"
script: python -m unittest
before_script:
- mysql -u root -e 'CREATE DATABASE salam_bot;'
- orator migrate -c config/database.py -p database/migrations/ -f
notifications:
email: false
| language: python
services:
- mysql
python:
- "3.6"
install: "pip install -r requirements.txt"
script: python -m unittest
before_script:
- cp config/app.example.py config/app.py
- cp config/database.example.py config/database.py
- mysql -u root -e 'CREATE DATABASE salam_bot;'
- orator migrate -c config/database.py -p database/migrations/ -f
notifications:
email: false
|
Make linter warnings fatal on Travis | sudo: false
language: node_js
node_js:
- 8
before_script:
- cd door-open-service/node-backend
script:
- npm install
- npm run lint
| sudo: false
language: node_js
node_js:
- 8
before_script:
- cd door-open-service/node-backend
script:
- npm install
- npm run lint -- --max-warnings=0
|
Switch to higher memory Travis | language: java
sudo: false
dist: trusty
jdk:
- oraclejdk8
- oraclejdk9
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
script: ./gradlew -I gradle/travis.gradle check --stacktrace
| language: java
sudo: required
dist: trusty
jdk:
- oraclejdk8
- oraclejdk9
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
script: ./gradlew -I gradle/travis.gradle check
|
Remove support for node.js 0.8. | language: node_js
# test on two node.js versions: 0.8 0.10
node_js:
- 0.8
- 0.10
# configure notifications (email, IRC, campfire etc)
# please update this section to your needs!
#notifications:
# irc: "irc.freenode.org#travis"
| language: node_js
# test on one node.js version: 0.10
node_js:
- 0.10
# configure notifications (email, IRC, campfire etc)
# please update this section to your needs!
#notifications:
# irc: "irc.freenode.org#travis"
|
Fix testing with Django 1.11. Currently only rc1. | language: python
cache: pip
sudo: false
python:
- 2.7
- 3.4
- 3.5
env:
- DJANGO='>=1.10,<1.11' WAGTAIL='>=1.8,<1.9'
- DJANGO='>=1.10,<1.11' WAGTAIL='>=1.9,<1.10'
- DJANGO='>=1.11,<1.12' WAGTAIL='>=1.8,<1.9'
- DJANGO='>=1.11,<1.12' WAGTAIL='>=1.9,<1.10'
services:
- postgresql: "9.2"
before_script:
- psql -c 'create database wagtail_pgsearchbackend;' -U postgres
install:
- pip install Django$DJANGO wagtail$WAGTAIL
- pip install -e . -r requirements-dev.txt
script:
make test
| language: python
cache: pip
sudo: false
python:
- 2.7
- 3.4
- 3.5
env:
- DJANGO='>=1.10,<1.11' WAGTAIL='>=1.8,<1.9'
- DJANGO='>=1.10,<1.11' WAGTAIL='>=1.9,<1.10'
- DJANGO='>=1.11rc1,<1.12' WAGTAIL='>=1.8,<1.9'
- DJANGO='>=1.11rc1,<1.12' WAGTAIL='>=1.9,<1.10'
services:
- postgresql: "9.2"
before_script:
- psql -c 'create database wagtail_pgsearchbackend;' -U postgres
install:
- pip install Django$DJANGO wagtail$WAGTAIL
- pip install -e . -r requirements-dev.txt
script:
make test
|
Add `addons` and change to use `xenial` image | language: generic
dist: trusty
sudo: false
notifications:
email:
on_success: never
on_failure: change
script:
- curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh
- npm run flow
env:
matrix:
- ATOM_CHANNEL=stable
- ATOM_CHANNEL=beta
| language: generic
notifications:
email:
on_success: never
on_failure: change
script:
- curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh
- npm run flow
env:
matrix:
- ATOM_CHANNEL=stable
- ATOM_CHANNEL=beta
dist: xenial
addons:
apt:
packages:
- build-essential
- fakeroot
- git
- libsecret-1-dev
- libgconf2-4 # TODO: Remove once Atom v1.39 is stable
sudo: false
|
Add Django 1.3 to the Travis configuration | language: python
python:
- "2.6"
- "2.7"
env:
- DJANGO="django>=1.5,<1.6 --use-mirrors"
- DJANGO="django>=1.4,<1.5 --use-mirrors"
install:
- pip install $DJANGO
script: python setup.py test
notifications:
email:
- jklaiho@iki.fi
| language: python
python:
- "2.6"
- "2.7"
env:
- DJANGO="django>=1.5,<1.6 --use-mirrors"
- DJANGO="django>=1.4,<1.5 --use-mirrors"
- DJANGO="django>=1.3,<1.4 --use-mirrors"
install:
- pip install $DJANGO
script: python setup.py test
notifications:
email:
- jklaiho@iki.fi
|
Drop symfony < 2.8 support | language: php
php: 5.6
env:
- SYMFONY_VERSION="2.1.*"
- SYMFONY_VERSION="2.2.*"
- SYMFONY_VERSION="2.3.*"
- SYMFONY_VERSION="2.4.*"
- SYMFONY_VERSION="2.5.*"
- SYMFONY_VERSION="2.6.*"
- SYMFONY_VERSION="2.7.*"
- SYMFONY_VERSION="2.8.*"
- SYMFONY_VERSION="3.0.*"
- SYMFONY_VERSION="3.1.*"
before_script:
- composer require --no-update symfony/framework-bundle:${SYMFONY_VERSION}
- composer install --prefer-source
script: bin/phpunit --coverage-clover clover.xml
after_script: bin/coveralls
branches:
only: master
notifications:
email: kevin@yappa.be
| language: php
php:
- "5.6"
- "7.0"
- hhvm
- nightly
env:
- SYMFONY_VERSION="2.8.*"
- SYMFONY_VERSION="3.0.*"
- SYMFONY_VERSION="3.1.*"
before_script:
- composer require --no-update symfony/framework-bundle:${SYMFONY_VERSION}
- composer install --prefer-source
script: bin/phpunit --coverage-clover clover.xml
after_script: bin/coveralls
branches:
only: master
notifications:
email: kevin@yappa.be
|
Fix fmt check for OSX build | language: go
go:
- 1.x
- master
os:
- linux
- osx
before_install:
- go get github.com/golang/lint/golint
- go get github.com/mattn/goveralls
install:
- echo "This is an override of the default install deps step in travis."
before_script:
- go vet $(go list ./... | grep -v vendor)
- test -z "$(gofmt -s -l . |& grep -v vendor | tee /dev/stderr)"
- go list ./... | grep -v /vendor/ | xargs -L1 golint
script:
- goveralls -service=travis-ci
| language: go
go:
- 1.x
- master
os:
- linux
- osx
before_install:
- go get github.com/golang/lint/golint
- go get github.com/mattn/goveralls
install:
- echo "This is an override of the default install deps step in travis."
before_script:
- go vet $(go list ./... | grep -v vendor)
- test -z "$(gofmt -s -l . 2>&1 | grep -v vendor | tee /dev/stderr)"
- go list ./... | grep -v /vendor/ | xargs -L1 golint
script:
- goveralls -service=travis-ci
|
Remove rbx 1.9 from CI. Some bug in it. | rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- jruby-19mode
- jruby-18mode
- rbx-19mode
- rbx-18mode
- ruby-head
- ree | rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- jruby-19mode
- jruby-18mode
#- rbx-19mode # Not working on travis
- rbx-18mode
- ruby-head
- ree |
Set Travis back to fail on warnings | language: r
cache: packages
sudo: false
r:
- bioc-release
- bioc-devel
warnings_are_errors: false
| language: r
cache: packages
sudo: false
r:
- bioc-release
- bioc-devel
|
Include the protoc compiler in the builds. | language: cpp
compiler:
- gcc
- clang
script: scons
before_install:
- sudo add-apt-repository -y ppa:boost-latest/ppa
- sudo apt-get update -qq
- sudo apt-get install -y libprotobuf-dev libboost1.55-all-dev
env:
- RIAK_CPP_BUILD_DEBUG=yes
- RIAK_CPP_BUILD_DEBUG=no
matrix:
fast_finish: true | language: cpp
compiler:
- gcc
- clang
script: scons
before_install:
- sudo add-apt-repository -y ppa:boost-latest/ppa
- sudo apt-get update -qq
- sudo apt-get install -y libprotobuf-dev protobuf-compiler libboost1.55-all-dev
env:
- RIAK_CPP_BUILD_DEBUG=yes
- RIAK_CPP_BUILD_DEBUG=no
matrix:
fast_finish: true |
Update CI script to check-bootstrap | language: c
compiler:
- clang
- gcc
script: ./configure CFLAGS=-fsanitize=address LDFLAGS=-fsanitize=address && make check
env:
global:
- ASAN_OPTIONS=detect_leaks=0
matrix:
include:
- os: linux
include:
- os: osx
#osx_image: xcode8
| language: c
compiler:
- clang
- gcc
script:
- ./configure CFLAGS=-fsanitize=address LDFLAGS=-fsanitize=address
- make bootstrap
- make check-bootstrap
env:
global:
- ASAN_OPTIONS=detect_leaks=0
matrix:
include:
- os: linux
include:
- os: osx
#osx_image: xcode8
|
Drop installation step, cause it is not required. | language: java
jdk:
- openjdk6
- oraclejdk7
- oraclejdk8
script: "mvn --show-version --errors --batch-mode -Prun-its clean verify"
cache:
directories:
- $HOME/.m2
branches:
except:
- gh-pages
notifications:
email:
- khmarbaise@apache.org
| language: java
jdk:
- openjdk6
- oraclejdk7
- oraclejdk8
# We don't need an install before
# we run the unit and integration tests.
install: true
script: "mvn --show-version --errors --batch-mode -Prun-its clean verify"
cache:
directories:
- $HOME/.m2
branches:
except:
- gh-pages
notifications:
email:
- khmarbaise@apache.org
|
Update config to reflect hackspace | # Site settings
title: Potteries Hackspace
description: A clean minimal Theme for Jekyll
email: admin@potterieshackspace.org
baseurl: /
url: "http://potterieshackspace.github.io"
#favicon
favicon: /favicon.png
#feed
feedburner_username: maangalabs
#twitter
twitter_username: pranavrajs
github_username: pranavrajs
#linkedin
linkedin_username: pranavrajs
#google analytics
google_analytics_id : UA-53386152-2
#gplus
gplus_username: 101893920934936418705
#fb_username
fb_username: pranav.tayberrycreative
#permalink /blog/2014/11/11/this-is-a-sample-post
permalink: /blog/:year/:month/:day/:title
# Build settings
markdown: kramdown
#Disqus configuration
disqus_short_name: maangalabscom
disqus_show_comment_count: true
#Can be used for multiple author blogs ! Add name to post For more visit the sample
authors:
pranavrajs:
display_name: Pranav Raj S
email: pranavrajs@gmail.com
fb: pranav.tayberrycreative
linkedin: pranavrajs
twitter: pranavrajs
github: pranavrajs
| title: Potteries Hackspace
description: The Potteries Hackspace website.
email: admin@potterieshackspace.org
baseurl: /
url: "http://potterieshackspace.github.io"
favicon: /favicon.png
feedburner_username:
twitter_username: potterieshacks
github_username: PotteriesHackspace
google_analytics_id:
gplus_username:
fb_username:
permalink: /blog/:year/:month/:day/:title
markdown: kramdown
disqus_short_name: potterieshackspace
disqus_show_comment_count: true
authors:
jpswade:
display_name: James Wade
email: jpswade@gmail.com
fb: jpswade
linkedin: jpswade
twitter: jpswade
github: jpswade
|
Change repo ownership to group | # This file describes this Open edX repo, as described in OEP-2:
# https://open-edx-proposals.readthedocs.io/en/latest/oep-0002-bp-repo-metadata.html#specification
nick: ctlg
openedx-release: {ref: master}
owner: jmyatt
oeps:
oep-2: true
oep-7: true
oep-18: true
tags:
- webservice
| # This file describes this Open edX repo, as described in OEP-2:
# https://open-edx-proposals.readthedocs.io/en/latest/oep-0002-bp-repo-metadata.html#specification
nick: ctlg
openedx-release: {ref: master}
owner:
type: team
team: edx/course-discovery-admins
oeps:
oep-2: true
oep-7: true
oep-18: true
tags:
- webservice
|
Fix date for last book | - date: 2015-10-28
generated: true
isbn: 9782757854655
- date: 2015-10-05
generated: true
isbn: 9782290032725
- date: 2015-11-12
generated: true
isbn: 9782811215729
- date: 2015-12-03
generated: true
isbn: 9782070457748
- date: 2015-12-10
generated: true
isbn: 9782266233200
- date: 2015-01-02
generated: true
isbn: 9782264059567
| - date: 2015-10-28
generated: true
isbn: 9782757854655
- date: 2015-10-05
generated: true
isbn: 9782290032725
- date: 2015-11-12
generated: true
isbn: 9782811215729
- date: 2015-12-03
generated: true
isbn: 9782070457748
- date: 2015-12-10
generated: true
isbn: 9782266233200
- date: 2016-01-02
isbn: 9782264059567
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.