Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Install blas and lapack for scipy | language: python
python:
- 2.7
# command to install dependencies
install:
- pip install -r requirements.txt
- python setup.py build_ext --inplace
# command to run tests
script: nosetests
| language: python
python:
- 2.7
before_install:
- sudo apt-get install gfortran libopenblas-dev liblapack-dev
# command to install dependencies
install:
- pip install -r requirements.txt
- python setup.py build_ext --inplace
# command to run tests
script: nosetests
|
Test on Node 0.8 using Travis CI. | language: "node_js"
node_js:
- 0.4
- 0.6
| language: "node_js"
node_js:
- 0.4
- 0.6
- 0.8
|
Remove node v5 for now | language: node_js
sudo: false
before_install:
- "export CODECLIMATE_REPO_TOKEN=75f11dd1965d32050fe735ad6c96f374d74f437651fd7a0ea31fbb021f6c36da"
install:
- "npm install grunt-cli codeclimate-test-reporter -g"
- "npm install"
script:
- "grunt ci"
node_js:
- "0.10"
- "0.12"
- "4"
- "5"
- "iojs-v1"
- "iojs-v2"
- "iojs-v3"
cache:
directories:
- 'node_modules'
| language: node_js
sudo: false
before_install:
- "export CODECLIMATE_REPO_TOKEN=75f11dd1965d32050fe735ad6c96f374d74f437651fd7a0ea31fbb021f6c36da"
install:
- "npm install grunt-cli codeclimate-test-reporter -g"
- "npm install"
script:
- "grunt ci"
node_js:
- "0.10"
- "0.12"
- "4"
- "iojs-v1"
- "iojs-v2"
- "iojs-v3"
cache:
directories:
- 'node_modules'
|
Drop Python 2 Travis CI configuration | language: python
cache:
- pip
- ccache
python:
- "2.7"
- "3.4"
- "3.5"
install:
- pip install -U pip wheel
- pip install cython
- READTHEDOCS=True travis_wait pip install -U -e .[travis]
script:
- flake8
- flake8 --config=.flake8.cython
- autopep8 -r . --diff | tee check_autopep8
- test ! -s check_autopep8
# To workaround Travis issue (https://github.com/travis-ci/travis-ci/issues/7261),
# ignore DeprecationWarning raised in `site.py`.
- python -Werror::DeprecationWarning -Wignore::DeprecationWarning:site -m compileall -f -q cupy cupyx examples tests docs
- pip install scipy
- pushd docs
- SPHINXOPTS=-W make html
- popd
sudo: false
| language: python
cache:
- pip
- ccache
python:
- "3.4"
- "3.5"
install:
- pip install -U pip wheel
- pip install cython
- READTHEDOCS=True travis_wait pip install -U -e .[travis]
script:
- flake8
- flake8 --config=.flake8.cython
- autopep8 -r . --diff | tee check_autopep8
- test ! -s check_autopep8
# To workaround Travis issue (https://github.com/travis-ci/travis-ci/issues/7261),
# ignore DeprecationWarning raised in `site.py`.
- python -Werror::DeprecationWarning -Wignore::DeprecationWarning:site -m compileall -f -q cupy cupyx examples tests docs
- pip install scipy
- pushd docs
- SPHINXOPTS=-W make html
- popd
sudo: false
|
Revert "Merge the environments required to pass" | language: node_js
node_js:
- "node"
env:
- BROWSERS=PhantomJS,jsdom,Firefox,Chrome,Opera,Safari,IE11,IE10,IE9
- BROWSERS=IE8
matrix:
allow_failures:
- env: BROWSERS=IE8
before_script: make lint
script: make test-ci
| language: node_js
node_js:
- "node"
env:
- BROWSERS=PhantomJS
- BROWSERS=jsdom
- BROWSERS=Firefox
- BROWSERS=Chrome
- BROWSERS=Opera
- BROWSERS=Safari
- BROWSERS=IE11
- BROWSERS=IE10
- BROWSERS=IE9
- BROWSERS=IE8
matrix:
allow_failures:
- env: BROWSERS=IE8
before_script: make lint
script: make test-ci
|
Update Travis CI config to use Xenial | language: python
sudo: false
cache:
directories:
- $HOME/.cache/pip
- $HOME/.pip-accel
os:
- linux
python:
- "3.5"
- "3.6"
- "3.7"
- "nightly"
matrix:
allow_failures:
- python: "nightly"
install:
- python -m pip install -U pip
- pip install -e .
script:
- python -V # py.test tests/
skip_join: false
| language: python
dist: xenial
sudo: required
cache:
directories:
- $HOME/.cache/pip
- $HOME/.pip-accel
os:
- linux
python:
- "3.5"
- "3.6"
- "3.7"
- "nightly"
matrix:
allow_failures:
- python: "nightly"
install:
- python -m pip install -U pip
- pip install -e .
script:
- python -V
skip_join: false
|
Revert "Changed Travis config, to run tests with Python 3.7." | language: python
sudo: required
services:
- cassandra
- redis-server
- mysql
- postgresql
dist: xenial # required for Python >= 3.7
python:
- "3.6"
- "3.7"
- "3.7-dev" # 3.7 development branch
- "3.8-dev" # 3.8 development branch
- "nightly" # nightly build
before_install:
- mysql -e 'CREATE DATABASE eventsourcing;'
before_script:
- psql -c 'create database eventsourcing;' -U postgres
install:
- pip install -U pip wheel
- CASS_DRIVER_NO_CYTHON=1 pip install -e .[testing]
- pip install pymysql
- pip install mysql-connector-python-rf
- pip install python-coveralls
env:
global:
- CASSANDRA_HOSTS=127.0.0.1
- MYSQL_USER=travis
- POSTGRES_USER=postgres
script:
- if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then
coverage run --concurrency=multiprocessing -m unittest discover eventsourcing.tests -v;
fi
- if [[ $TRAVIS_PYTHON_VERSION == pypy* ]]; then
python -m unittest discover eventsourcing.tests -v;
fi
after_success:
- if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then
coverage combine;
coveralls;
fi
| language: python
sudo: required
services:
- cassandra
- redis-server
- mysql
- postgresql
python:
# - 3.5 # we use f-strings
- 3.6
- 3.7-dev
- pypy3
before_install:
- mysql -e 'CREATE DATABASE eventsourcing;'
before_script:
- psql -c 'create database eventsourcing;' -U postgres
install:
- pip install -U pip wheel
- CASS_DRIVER_NO_CYTHON=1 pip install -e .[testing]
- pip install pymysql
- pip install mysql-connector-python-rf
- pip install python-coveralls
env:
global:
- CASSANDRA_HOSTS=127.0.0.1
- MYSQL_USER=travis
- POSTGRES_USER=postgres
script:
- if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then
coverage run --concurrency=multiprocessing -m unittest discover eventsourcing.tests -v;
fi
- if [[ $TRAVIS_PYTHON_VERSION == pypy* ]]; then
python -m unittest discover eventsourcing.tests -v;
fi
after_success:
- if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then
coverage combine;
coveralls;
fi
|
Remove 0.7 due to Express incompatibility. | language: node_js
node_js:
- 0.4
- 0.6
- 0.7
| language: node_js
node_js:
- 0.4
- 0.6
|
Add nigthly to test matrix | dist: trusty
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
# This triggers builds to run on the new TravisCI infrastructure.
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
## Cache composer
cache:
directories:
- $HOME/.composer/cache
before_script:
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist
script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
after_script:
- |
if [[ "$TRAVIS_PHP_VERSION" == '7.2' ]]; then
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
fi
| dist: trusty
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- nightly
# This triggers builds to run on the new TravisCI infrastructure.
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
## Cache composer
cache:
directories:
- $HOME/.composer/cache
before_script:
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist
script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
after_script:
- |
if [[ "$TRAVIS_PHP_VERSION" == '7.2' ]]; then
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
fi
|
Add a pile of JDK versions to test against for Travis CI | sudo: false
language: java
jdk:
- oraclejdk8
- oraclejdk7
- openjdk7
- openjdk6
env:
- TERM=dumb
after_success:
- gradle cobertura coveralls
| sudo: false
language: java
jdk:
- oraclejdk11
- oraclejdk10
- oraclejdk9
- oraclejdk8
- oraclejdk7
- openjdk11
- openjdk10
- openjdk9
- openjdk8
- openjdk7
- openjdk6
env:
- TERM=dumb
after_success:
- gradle cobertura coveralls
|
Disable strict variables checking (bug in concat) | ---
language: ruby
bundler_args: --without development
before_install: rm Gemfile.lock || true
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1.0
script: bundle exec rake test
env:
- PUPPET_VERSION="~> 2.7.0"
- PUPPET_VERSION="~> 3.5.0" STRICT_VARIABLES=yes
- PUPPET_VERSION="~> 3.6.0" STRICT_VARIABLES=yes
- PUPPET_VERSION="~> 3.7.0" STRICT_VARIABLES=yes
matrix:
exclude:
- rvm: 1.9.3
env: PUPPET_VERSION="~> 2.7.0"
- rvm: 2.0.0
env: PUPPET_VERSION="~> 2.7.0"
- rvm: 2.1.0
env: PUPPET_VERSION="~> 2.7.0"
- rvm: 2.1.0
| ---
language: ruby
bundler_args: --without development
before_install: rm Gemfile.lock || true
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1.0
script: bundle exec rake test
env:
- PUPPET_VERSION="~> 2.7.0"
- PUPPET_VERSION="~> 3.5.0"
- PUPPET_VERSION="~> 3.6.0"
- PUPPET_VERSION="~> 3.7.0"
matrix:
exclude:
- rvm: 1.9.3
env: PUPPET_VERSION="~> 2.7.0"
- rvm: 2.0.0
env: PUPPET_VERSION="~> 2.7.0"
- rvm: 2.1.0
env: PUPPET_VERSION="~> 2.7.0"
- rvm: 2.1.0
|
Use the latest Rubies on Travis CI | language: ruby
sudo: false
cache: bundler
install: true
before_install:
- mkdir $PWD/vendor/phantomjs && tar -xjf $PWD/vendor/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/vendor/phantomjs --strip-components=1
- export PATH=$PWD/vendor/phantomjs/bin:$PATH
- phantomjs --version
- gem update --system # Required to install rainbow 2.2.1 https://github.com/sickill/rainbow/issues/44#issuecomment-274412027
script:
- './script/ci'
rvm:
- 2.3.3
- 2.4.0
- jruby-9.1.6.0
- jruby-head
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- rvm: jruby-9.1.6.0
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/fde2367248d53de4fe70
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always
| language: ruby
sudo: false
cache: bundler
install: true
before_install:
- mkdir $PWD/vendor/phantomjs && tar -xjf $PWD/vendor/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/vendor/phantomjs --strip-components=1
- export PATH=$PWD/vendor/phantomjs/bin:$PATH
- phantomjs --version
- gem update --system # Required to install rainbow 2.2.1 https://github.com/sickill/rainbow/issues/44#issuecomment-274412027
script:
- './script/ci'
rvm:
- 2.3.4
- 2.4.1
- jruby-9.1.8.0
- jruby-head
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- rvm: jruby-9.1.8.0
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/fde2367248d53de4fe70
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always
|
Update from Hackage at 2015-06-29T21:42:23+0000 | homepage: ''
changelog-type: ''
hash: 5b8d04940fcc42f59807ff8ae4dcc76bbbc38e6e37395d4a0db49cbc6789424a
test-bench-deps: {}
maintainer: twanvl@gmail.com
synopsis: The Data.MultiSet container type
changelog: ''
basic-deps:
base: ! '>=4 && <5'
containers: ! '>=0.5'
all-versions:
- '0.1'
- '0.2'
- '0.2.1'
- '0.2.2'
author: Twan van Laarhoven
latest: '0.2.2'
description-type: haddock
description: ! 'A variation of Data.Set.
Multisets, sometimes also called bags, can contain multiple copies of the same key.'
license-name: BSD3
| homepage: ''
changelog-type: ''
hash: 9ef852710a2bb38a3a0657453a84f768858405b6bce172661a5c91ddd7fb518e
test-bench-deps: {}
maintainer: twanvl@gmail.com
synopsis: The Data.MultiSet container type
changelog: ''
basic-deps:
base: ! '>=4 && <5'
containers: ! '>=0.5'
all-versions:
- '0.1'
- '0.2'
- '0.2.1'
- '0.2.2'
- '0.3.0'
author: Twan van Laarhoven
latest: '0.3.0'
description-type: haddock
description: ! 'A variation of Data.Set.
Multisets, sometimes also called bags, can contain multiple copies of the same key.'
license-name: BSD3
|
Update renovatebot/github-action action to v32.240.5 | 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.238.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"
| 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.240.5
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 Common Voice to 0.2.10b (83) | Categories:
- Science & Education
License: GPL-3.0-only
AuthorName: Saverio Morelli
AuthorWebSite: https://saveriomorelli.com/
SourceCode: https://github.com/Sav22999/common-voice-android
IssueTracker: https://github.com/Sav22999/common-voice-android/issues
AutoName: Common Voice
RepoType: git
Repo: https://github.com/Sav22999/common-voice-android
Builds:
- versionName: 0.2.2b
versionCode: 73
commit: 0.2.2b
subdir: app
gradle:
- yes
- versionName: 0.2.8b
versionCode: 81
commit: 0.2.8b
subdir: app
gradle:
- yes
- versionName: 0.2.9b
versionCode: 82
commit: 0.2.9b
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 0.2.9b
CurrentVersionCode: 82
| Categories:
- Science & Education
License: GPL-3.0-only
AuthorName: Saverio Morelli
AuthorWebSite: https://saveriomorelli.com/
SourceCode: https://github.com/Sav22999/common-voice-android
IssueTracker: https://github.com/Sav22999/common-voice-android/issues
AutoName: Common Voice
RepoType: git
Repo: https://github.com/Sav22999/common-voice-android
Builds:
- versionName: 0.2.2b
versionCode: 73
commit: 0.2.2b
subdir: app
gradle:
- yes
- versionName: 0.2.8b
versionCode: 81
commit: 0.2.8b
subdir: app
gradle:
- yes
- versionName: 0.2.9b
versionCode: 82
commit: 0.2.9b
subdir: app
gradle:
- yes
- versionName: 0.2.10b
versionCode: 83
commit: 0.2.10b
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 0.2.10b
CurrentVersionCode: 83
|
Use double quotes instead of single quotes for testing | {% set name = "ftputil" %}
{% set version = "3.3.1" %}
{% set md5 = "464c5c9ccabceff4fd20346bf801e5d3" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
fn: {{ name }}-{{ version }}.tar.gz
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
md5: {{ md5 }}
build:
number: 0
script: python setup.py install --record record.txt
requirements:
build:
- python
run:
- python
test:
imports:
- ftputil
commands:
- python -c 'from ftputil import FTPHost'
about:
home: http://ftputil.sschwarzer.net/
license: BSD 3-Clause
summary: 'High-level FTP client library (virtual file system and more)'
description: |
ftputil is a high-level FTP client library for the Python programming
language. ftputil implements a virtual file system for accessing FTP
servers, that is, it can generate file-like objects for remote files.
The library supports many functions similar to those in the os, os.path
and shutil modules. ftputil has convenience functions for conditional
uploads and downloads, and handles FTP clients and servers in different
timezones.
doc_url: http://ftputil.sschwarzer.net/trac/wiki/Documentation
extra:
recipe-maintainers:
- edisongustavo
| {% set name = "ftputil" %}
{% set version = "3.3.1" %}
{% set md5 = "464c5c9ccabceff4fd20346bf801e5d3" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
fn: {{ name }}-{{ version }}.tar.gz
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
md5: {{ md5 }}
build:
number: 0
script: python setup.py install --record record.txt
requirements:
build:
- python
run:
- python
test:
imports:
- ftputil
commands:
- python -c "from ftputil import FTPHost"
about:
home: http://ftputil.sschwarzer.net/
license: BSD 3-Clause
summary: 'High-level FTP client library (virtual file system and more)'
description: |
ftputil is a high-level FTP client library for the Python programming
language. ftputil implements a virtual file system for accessing FTP
servers, that is, it can generate file-like objects for remote files.
The library supports many functions similar to those in the os, os.path
and shutil modules. ftputil has convenience functions for conditional
uploads and downloads, and handles FTP clients and servers in different
timezones.
doc_url: http://ftputil.sschwarzer.net/trac/wiki/Documentation
extra:
recipe-maintainers:
- edisongustavo
|
Add host name mapping to be able to connect to spark 1.5 in docker | machine:
services:
- docker
test:
override:
- lein test-all
post:
- lein with-profile spark2 test :only powderkeg.integration-test/rdd-spark-2.1.0
- lein with-profile spark1.5 test :only powderkeg.integration-test/rdd-spark-1.5.2 | machine:
hosts:
master: 127.0.0.1
services:
- docker
test:
override:
- lein test-all
post:
- lein with-profile spark2 test :only powderkeg.integration-test/rdd-spark-2.1.0
- lein with-profile spark1.5 test :only powderkeg.integration-test/rdd-spark-1.5.2 |
Add sudo to copy CA key role. | ---
- name: Copy CA SSH key to server.
copy:
src: ca.pub
dest: /etc/ssh
group: root
owner: root
mode: 644
- name: Harden /etc/ssh/sshd_config
template:
src: sshd_config_template.j2
dest: /etc/ssh/sshd_config
owner: root
group: root
mode: 0644
notify:
- restart sshd
| ---
- name: Copy CA SSH key to server.
sudo: yes
copy:
src: ca.pub
dest: /etc/ssh
group: root
owner: root
mode: 644
- name: Harden /etc/ssh/sshd_config
sudo: yes
template:
src: sshd_config_template.j2
dest: /etc/ssh/sshd_config
owner: root
group: root
mode: 0644
notify:
- restart sshd
|
Remove 401, 403, 404 & 405 from mail error | monolog:
handlers:
main:
type: fingers_crossed
action_level: error
handler: grouped
excluded_404s:
# regex: exclude all 404 errors from the logs
- ^/
grouped:
type: group
members: [nested, buffered]
nested:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.log"
level: debug
buffered:
type: buffer
handler: swift
swift:
type: swift_mailer
from_email: "%env(TECHNICAL_FROM)%"
to_email: "%env(TECHNICAL_TO)%"
subject: An Error Occurred!
level: error
console:
type: console
process_psr_3_messages: false
channels: ["!event", "!doctrine"]
deprecation:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.deprecations.log"
deprecation_filter:
type: filter
handler: deprecation
max_level: info
channels: ["php"]
| monolog:
handlers:
main:
type: fingers_crossed
action_level: error
handler: grouped
excluded_http_codes: [401, 403, 404, 405]
grouped:
type: group
members: [nested, buffered]
nested:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.log"
level: debug
buffered:
type: buffer
handler: swift
swift:
type: swift_mailer
from_email: "%env(TECHNICAL_FROM)%"
to_email: "%env(TECHNICAL_TO)%"
subject: An Error Occurred!
level: error
console:
type: console
process_psr_3_messages: false
channels: ["!event", "!doctrine"]
deprecation:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.deprecations.log"
deprecation_filter:
type: filter
handler: deprecation
max_level: info
channels: ["php"]
|
Add versioning file to index | site_name: Forge Documentation
pages:
- [index.md, Home]
- [styleguide.md, Style Guide]
- [gettingstarted/index.md, Getting Started, Home]
- [gettingstarted/structuring.md, Getting Started, Structuring Your Mod]
- [networking/index.md, Networking, Home]
- [networking/overview.md, Networking, Overview]
- [networking/simpleimpl.md, Networking, SimpleImpl]
| site_name: Forge Documentation
pages:
- [index.md, Home]
- [styleguide.md, Style Guide]
- [gettingstarted/index.md, Getting Started, Home]
- [gettingstarted/structuring.md, Getting Started, Structuring Your Mod]
- [networking/index.md, Networking, Home]
- [networking/overview.md, Networking, Overview]
- [networking/simpleimpl.md, Networking, SimpleImpl]
- [conventions/versioning.md, Conventions, Versioning]
|
Upgrade kube2iam to 0.6.0 and add liveness and readiness probes | apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: kube2iam
namespace: kube-system
labels:
application: kube2iam
version: v0.5.2
spec:
selector:
matchLabels:
application: kube2iam
updateStrategy:
type: RollingUpdate
template:
metadata:
labels:
application: kube2iam
version: v0.5.2
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
spec:
tolerations:
- key: CriticalAddonsOnly
operator: Exists
hostNetwork: true
containers:
- image: registry.opensource.zalan.do/teapot/kube2iam:0.5.2
name: kube2iam
args:
- --auto-discover-base-arn
- --verbose
ports:
- containerPort: 8181
hostPort: 8181
name: http
securityContext:
privileged: true
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 25m
memory: 25Mi
| apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: kube2iam
namespace: kube-system
labels:
application: kube2iam
version: v0.6.0
spec:
selector:
matchLabels:
application: kube2iam
updateStrategy:
type: RollingUpdate
template:
metadata:
labels:
application: kube2iam
version: v0.6.0
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
spec:
tolerations:
- key: CriticalAddonsOnly
operator: Exists
hostNetwork: true
containers:
- image: registry.opensource.zalan.do/teapot/kube2iam:0.6.0
name: kube2iam
args:
- --auto-discover-base-arn
- --verbose
ports:
- containerPort: 8181
hostPort: 8181
name: http
securityContext:
privileged: true
livenessProbe:
httpGet:
path: /healthz
port: 8181
timeoutSeconds: 1
readinessProbe:
httpGet:
path: /healthz
port: 8181
timeoutSeconds: 1
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 25m
memory: 25Mi
|
Remove the absent push job for the email_alert_api | govuk_env_sync::tasks:
"push_email_alert_api_production_daily":
ensure: "absent"
hour: "2"
minute: "01"
action: "push"
dbms: "postgresql"
storagebackend: "s3"
database: "email-alert-api_production"
temppath: "/var/lib/autopostgresqlbackup/email-alert-api_production"
url: "govuk-production-database-backups"
path: "postgresql-backend"
"push_publishing_api_production_daily":
ensure: "absent"
hour: "2"
minute: "30"
action: "push"
dbms: "postgresql"
storagebackend: "s3"
database: "publishing_api_production"
temppath: "/var/lib/autopostgresqlbackup/publishing_api_production"
url: "govuk-production-database-backups"
path: "postgresql-backend"
| govuk_env_sync::tasks:
"push_publishing_api_production_daily":
ensure: "absent"
hour: "2"
minute: "30"
action: "push"
dbms: "postgresql"
storagebackend: "s3"
database: "publishing_api_production"
temppath: "/var/lib/autopostgresqlbackup/publishing_api_production"
url: "govuk-production-database-backups"
path: "postgresql-backend"
|
Update from Hackage at 2020-09-22T22:53:24Z | homepage: ''
changelog-type: markdown
hash: 3000a45f79cfc3407e5de8017bb4388988b397c420b0555e1e97c0c9514edbf7
test-bench-deps: {}
maintainer: vamchale@gmail.com
synopsis: Dependency tracking for Futhark
changelog: |
# shake-futhark
## 0.1.0.2
* Nice-ify paths before `need`-ing them
## 0.1.0.1
* Fix bug
## 0.1.0.0
Initial release
basic-deps:
shake: -any
base: '>=4.3 && <5'
text: -any
filepath: -any
containers: '>=0.6'
futhark: '>=0.15'
directory: -any
all-versions:
- 0.1.0.1
- 0.1.0.2
author: Vanessa McHale
latest: 0.1.0.2
description-type: markdown
description: |
# shake-futhark
Get transitive dependencies via the [futhark
library](http://hackage.haskell.org/package/futhark).
This can be used with [shake](https://shakebuild.com/) for sensible dependency
tracking.
license-name: BSD-3-Clause
| homepage: ''
changelog-type: markdown
hash: 6a39d37bd22628a61c4fd48a8b039e7569b87a6146fe6c3037a1464f2cd691d3
test-bench-deps: {}
maintainer: vamchale@gmail.com
synopsis: Dependency tracking for Futhark
changelog: |
# shake-futhark
## 0.2.0.0
* Interleave `need`s
## 0.1.0.2
* Nice-ify paths before `need`-ing them
## 0.1.0.1
* Fix bug
## 0.1.0.0
Initial release
basic-deps:
shake: -any
base: '>=4.3 && <5'
text: -any
filepath: -any
containers: '>=0.6'
futhark: '>=0.15'
directory: -any
all-versions:
- 0.1.0.1
- 0.1.0.2
- 0.2.0.0
author: Vanessa McHale
latest: 0.2.0.0
description-type: markdown
description: |
# shake-futhark
Get transitive dependencies via the [futhark
library](http://hackage.haskell.org/package/futhark).
This can be used with [shake](https://shakebuild.com/) for sensible dependency
tracking.
license-name: BSD-3-Clause
|
Use cflinuxfs2 1.233 for cf-deployment v3.6.0 | ---
- type: replace
path: /releases/name=cflinuxfs2
value:
name: cflinuxfs2
version: 1.227.0
url: https://bosh.io/d/github.com/cloudfoundry/cflinuxfs2-release?v=1.227.0
sha1: 7d407ac592eed31ce5d857fd7eb03bbc9dd00965
| ---
- type: replace
path: /releases/name=cflinuxfs2
value:
name: cflinuxfs2
version: 1.233.0
url: https://bosh.io/d/github.com/cloudfoundry/cflinuxfs2-release?v=1.233.0
sha1: a64b14ff25c13a482124c094ab4884e2ebf67e08
|
Update from Hackage at 2020-07-20T15:05:40Z | homepage: ''
changelog-type: ''
hash: 9f405fb8ef4a9cb94ee5f6bdca1d4e2a59fa1c4aaa9607ab8a9799981fb9e6e4
test-bench-deps: {}
maintainer: mniip@mniip.com
synopsis: A strange message received at the Pegovka observatory
changelog: ''
basic-deps:
base: '>=4.10 && <4.15'
ghc-prim: -any
transformers: '>=0.5'
all-versions:
- 0.1.0.0
author: mniip
latest: 0.1.0.0
description-type: haddock
description: A strange message received at the Pegovka observatory. For more info
read https://icfpcontest2020.github.io/
license-name: MIT
| homepage: ''
changelog-type: ''
hash: 5a7a0c47b14d1dcdcbda0c383ab4b2ffd3a0d01dde8c155314e1409a6de3010d
test-bench-deps: {}
maintainer: mniip@mniip.com
synopsis: A strange message received at the Pegovka observatory
changelog: ''
basic-deps:
base: '>=4.10 && <4.15'
ghc-prim: -any
transformers: '>=0.5'
all-versions:
- 0.1.0.0
- 0.1.0.1
author: mniip
latest: 0.1.0.1
description-type: haddock
description: A strange message received at the Pegovka observatory. For more info
read https://icfpcontest2020.github.io/
license-name: MIT
|
Update from Hackage at 2022-09-17T13:08:57Z | homepage: ''
changelog-type: markdown
hash: a647190f118fd39256029e204b8503aa9e1a3be6caef9faf657bdb1c34a428c2
test-bench-deps: {}
maintainer: keid@aenor.ru
synopsis: Reactive Banana integration for Keid engine.
changelog: |
# Changelog for keid-frp-banana
## 0.1.0.0
Initial release
basic-deps:
rio: '>=0.1.12.0'
these: -any
base: '>=4.7 && <5'
reactive-banana: '>=1.3.0.0'
geomancy: '>=0.2.4.0'
keid-core: '>=0.1.6.1'
vulkan: -any
resourcet: -any
all-versions:
- 0.1.0.0
author: IC Rainbow
latest: 0.1.0.0
description-type: markdown
description: |
# Keid FRP - reactive-banana utils
license-name: BSD-3-Clause
| homepage: ''
changelog-type: markdown
hash: 5a15e61d8f1c21250a47c257c3ef0e6888df61b0ec5a098c1592e6db3a6c9294
test-bench-deps: {}
maintainer: keid@aenor.ru
synopsis: Reactive Banana integration for Keid engine.
changelog: |
# Changelog for keid-frp-banana
## 0.1.1.0
- Added more `Engine.Window.*` wrappers to `Engine.ReactiveBanana.Window`.
- Moved `Engine.ReactiveBanana.timer` to `Engine.ReactiveBanana.Timer.every`.
## 0.1.0.0
Initial release
basic-deps:
rio: '>=0.1.12.0'
these: -any
base: '>=4.7 && <5'
reactive-banana: '>=1.3.0.0'
geomancy: '>=0.2.4.0'
keid-core: '>=0.1.6.1'
vulkan: -any
resourcet: -any
all-versions:
- 0.1.0.0
- 0.1.1.0
author: IC Rainbow
latest: 0.1.1.0
description-type: markdown
description: |
# Keid FRP - reactive-banana utils
license-name: BSD-3-Clause
|
Drop support for Note.js version 4.x and 5.x. | name: Test
on:
push:
schedule:
- cron: '0 0 * * *'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [4.x, 5.x, 6.x, 10.x, 12.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
| name: Test
on:
push:
schedule:
- cron: '0 0 * * *'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [6.x, 10.x, 12.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
|
Fix mis-copied Scrutinizer-CI external coverage config | # .scrutinizer.yml
checks:
php:
code_rating: true
duplication: true
tools:
external_code_coverage:
runs: 2 # Scrutinizer will wait for two code coverage submissions
filter:
paths: [dwlstng.php, inc/*, tpl/*] | # .scrutinizer.yml
checks:
php:
code_rating: true
duplication: true
tools:
external_code_coverage:
timeout: 600 # Timeout in seconds.
filter:
paths: [dwlstng.php, inc/*, tpl/*] |
Update from Hackage at 2020-05-01T02:09:42Z | homepage: ''
changelog-type: markdown
hash: ba2b9f2a5b280477861fbb9eb860bf9708b160d95c7c0b563393af07c5df270f
test-bench-deps:
bytestring: -any
base: -any
tasty-hunit: -any
tasty: -any
lzo: -any
maintainer: vamchale@gmail.com
synopsis: minilzo bundled for Haskell
changelog: |
# lzo
## 0.1.1.0
* Added `lzoVersionString` etc.
* Set file mode bit more sensibly
## 0.1.0.0
Initial release
basic-deps:
bytestring: -any
digest-pure: -any
base: '>=4.9 && <5'
binary: -any
all-versions:
- 0.1.0.0
- 0.1.1.0
author: Vanessa McHale
latest: 0.1.1.0
description-type: markdown
description: |
# lzo
This bundles [minilzo](http://www.oberhumer.com/opensource/lzo/#minilzo) and
hence only offers one compression level.
It contains a file (frame) compressor as well as block compression. File
compression (and decompression) is fully lazy.
license-name: BSD-3-Clause
| homepage: ''
changelog-type: markdown
hash: ba2b9f2a5b280477861fbb9eb860bf9708b160d95c7c0b563393af07c5df270f
test-bench-deps:
bytestring: -any
base: -any
tasty-hunit: -any
tasty: -any
lzo: -any
maintainer: vamchale@gmail.com
synopsis: minilzo bundled for Haskell
changelog: |
# lzo
## 0.1.1.0
* Added `lzoVersionString` etc.
* Set file mode bit more sensibly
## 0.1.0.0
Initial release
basic-deps:
bytestring: -any
digest-pure: -any
base: '>=4.9 && <5'
binary: -any
all-versions:
- 0.1.1.0
author: Vanessa McHale
latest: 0.1.1.0
description-type: markdown
description: |
# lzo
This bundles [minilzo](http://www.oberhumer.com/opensource/lzo/#minilzo) and
hence only offers one compression level.
It contains a file (frame) compressor as well as block compression. File
compression (and decompression) is fully lazy.
license-name: BSD-3-Clause
|
Update CurrentVersion of Sharik to 2.5.0 (6) | Categories:
- Connectivity
License: MIT
AuthorName: marchellodev
AuthorWebSite: https://marchello.cf/
SourceCode: https://github.com/marchellodev/sharik
IssueTracker: https://github.com/marchellodev/sharik/issues
Changelog: https://github.com/marchellodev/sharik/releases
RepoType: git
Repo: https://github.com/marchellodev/sharik
Builds:
- versionName: '2.5'
versionCode: 10
commit: v2.5
output: build/app/outputs/apk/release/app-release.apk
srclibs:
- flutter@1.22.5
prebuild: echo 'android.applicationVariants.all { variant -> variant.outputs.all
{ output -> outputFileName = "app-${output.baseName}.apk" } }' >> android/app/build.gradle
build:
- $$flutter$$/bin/flutter config --no-analytics
- $$flutter$$/bin/flutter build apk
AutoUpdateMode: Version v%v
UpdateCheckMode: HTTP
UpdateCheckData: https://raw.githubusercontent.com/marchellodev/sharik/master/pubspec.yaml|versionCode:\s(.+)|.|version:\s(.+)
CurrentVersion: '2.5'
CurrentVersionCode: 10
| Categories:
- Connectivity
License: MIT
AuthorName: marchellodev
AuthorWebSite: https://marchello.cf/
SourceCode: https://github.com/marchellodev/sharik
IssueTracker: https://github.com/marchellodev/sharik/issues
Changelog: https://github.com/marchellodev/sharik/releases
AutoName: Sharik
RepoType: git
Repo: https://github.com/marchellodev/sharik
Builds:
- versionName: '2.5'
versionCode: 10
commit: v2.5
output: build/app/outputs/apk/release/app-release.apk
srclibs:
- flutter@1.22.5
prebuild: echo 'android.applicationVariants.all { variant -> variant.outputs.all
{ output -> outputFileName = "app-${output.baseName}.apk" } }' >> android/app/build.gradle
build:
- $$flutter$$/bin/flutter config --no-analytics
- $$flutter$$/bin/flutter build apk
AutoUpdateMode: Version v%v
UpdateCheckMode: HTTP
UpdateCheckData: https://raw.githubusercontent.com/marchellodev/sharik/master/pubspec.yaml|versionCode:\s(.+)|.|version:\s(.+)
CurrentVersion: 2.5.0
CurrentVersionCode: 6
|
Use container infrastructure with Travis. | language: ruby
rvm:
- "1.9.3"
script: bundle exec rspec spec && bundle exec middleman build
| language: ruby
sudo: false
rvm:
- "1.9.3"
script: bundle exec rspec spec && bundle exec middleman build
|
Disable CI build on bors working branches | language: rust
cache: cargo
rust:
- stable
- beta
- nightly
matrix:
allow_failures:
- rust: nightly
| language: rust
cache: cargo
rust:
- stable
- beta
- nightly
matrix:
allow_failures:
- rust: nightly
branches:
except:
- staging.tmp
- trying.tmp
|
Revert "Migrate Travis CI to container-based builds." | language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
install: "pip install -r requirements.txt"
before_script: flake8 pynlpir
script: make test
sudo: false
| language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
install: "pip install -r requirements.txt"
before_script: flake8 pynlpir
script: make test
|
Remove ruby-head from TravisCI testing (ffi build issues). | language: ruby
rvm:
- 1.9.3
- 1.9.2
- rbx-19mode
- jruby-19mode
- 1.8.7
- ree
- rbx-18mode
- jruby-18mode
- ruby-head
- jruby-head
| language: ruby
rvm:
- 1.9.3
- 1.9.2
- rbx-19mode
- jruby-19mode
- 1.8.7
- ree
- rbx-18mode
- jruby-18mode
- jruby-head
|
Remove support for Python 2.6 | language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
script: python setup.py test
| language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
script: python setup.py test
|
Compress the JUnit logs from Travis before uploading | notifications:
hipchat: ec8fcfa661addc56a361a8ef536320@integrations
language: java
matrix:
include:
- jdk: openjdk8
- jdk: oraclejdk8
- jdk: openjdk9
- jdk: openjdk10
- jdk: openjdk11
- jdk: oraclejdk11
- os: osx
osx_image: xcode9.2
env: JAVA_HOME=$(/usr/libexec/java_home)
script: ./build.sh -Dexist.autodeploy=off -Dtest.haltonerror=true -Dtest.haltonfailure=true clean clean-all all test
cache:
directories:
- $HOME/.ivy2
- $HOME/.m2
after_failure:
- tar -cf logs.zip test/junit/data
- curl -u $CHUNK_USER:$CHUNK_PW -sT logs.zip chunk.io
| language: java
matrix:
include:
- jdk: openjdk8
- jdk: oraclejdk8
- jdk: openjdk9
- jdk: openjdk10
- jdk: openjdk11
- jdk: oraclejdk11
- os: osx
osx_image: xcode9.2
env: JAVA_HOME=$(/usr/libexec/java_home)
script: ./build.sh -Dexist.autodeploy=off -Dtest.haltonerror=true -Dtest.haltonfailure=true clean clean-all all test
cache:
directories:
- $HOME/.ivy2
- $HOME/.m2
after_failure:
- tar -cjf junit-data.tar.bz2 test/junit/data
- curl -v -u $CHUNK_USER:$CHUNK_PW -sT junit-data.tar.bz2 chunk.io
notifications:
hipchat: ec8fcfa661addc56a361a8ef536320@integrations
|
Disable xdebug in Travis CI | language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
before_script:
- composer install --dev
script: phpunit -c phpunit.xml.dist
notifications:
email:
- info@endroid.nl
| language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
fast_finish: true
before_install:
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-rm xdebug.ini; fi;
- composer self-update && composer install --no-interaction
script:
- phpunit
notifications:
email:
- info@endroid.nl |
Update Travis node versions and env | sudo: false
language: node_js
node_js:
- '12'
- '10'
- '8'
| os: "linux"
dist: "bionic"
language: "node_js"
node_js:
- "14"
- "13"
- "12"
- "10"
|
Add node LTS version and remove 4.0.0 and 5.x | language: node_js
node_js:
- "node"
- "0.10.44"
- "0.12"
- "4.0.0"
- "5.0.0"
- "5.7.0"
script:
- "npm test"
| language: node_js
node_js:
- "node"
- "0.10.44"
- "0.12"
- "4.6.0"
script:
- "npm test"
|
Upgrade to latest node LTS. | language: node_js
node_js:
- "6.5"
dist: trusty
sudo: false
# vim: ts=2:sw=2:et
| language: node_js
node_js:
- "6.9.4"
dist: trusty
sudo: false
# vim: ts=2:sw=2:et
|
Use an up-to-date version of Node.js too, Travis | language: node_js
node_js:
- 0.8
before_script:
- npm update -g npm
- npm install -g grunt-cli
| language: node_js
node_js:
- 0.10
before_script:
- npm update -g npm
- npm install -g grunt-cli
|
Prepare GTK 3's development package | dist: xenial
language: cpp
os:
- linux
# - osx
osx_image: xcode10
cache:
directories:
- posix/src
- xcode/src
env:
global:
- MAKEFLAGS="-j 2"
compiler:
- gcc
- clang
addons:
apt:
packages:
- uuid-dev
homebrew:
packages:
- libtool
install:
- if [ "$TRAVIS_OS_NAME" = linux -a "$CXX" = "g++" ]; then export CFLAGS="-g0 -O0" CXXFLAGS="-g0 -O0"; fi
- if [ "$TRAVIS_OS_NAME" = linux -a "$CXX" = "clang++" ]; then export CFLAGS="-g0 -O0" CXXFLAGS="-g0 -O0"; fi
- if [ "$TRAVIS_OS_NAME" = linux ]; then cd posix; else cd xcode; fi
- if [ "$TRAVIS_OS_NAME" = osx ]; then echo "PKG_CONFIG = /usr/local/bin/pkg-config" > config.mk; fi
- make -s download
- travis_wait 60 make -s external
- make -s all
script:
- if [ "$TRAVIS_OS_NAME" = linux ]; then make check; else make; fi # in posix/ or xcode/
| dist: xenial
language: cpp
os:
- linux
# - osx
osx_image: xcode10
cache:
directories:
- posix/src
- xcode/src
env:
global:
- MAKEFLAGS="-j 2"
compiler:
- gcc
- clang
addons:
apt:
packages:
- libgtk-3-dev
- uuid-dev
homebrew:
packages:
- libtool
install:
- if [ "$TRAVIS_OS_NAME" = linux -a "$CXX" = "g++" ]; then export CFLAGS="-g0 -O0" CXXFLAGS="-g0 -O0"; fi
- if [ "$TRAVIS_OS_NAME" = linux -a "$CXX" = "clang++" ]; then export CFLAGS="-g0 -O0" CXXFLAGS="-g0 -O0"; fi
- if [ "$TRAVIS_OS_NAME" = linux ]; then cd posix; else cd xcode; fi
- if [ "$TRAVIS_OS_NAME" = osx ]; then echo "PKG_CONFIG = /usr/local/bin/pkg-config" > config.mk; fi
- make -s download
- travis_wait 60 make -s external
- make -s all
script:
- if [ "$TRAVIS_OS_NAME" = linux ]; then make check; else make; fi # in posix/ or xcode/
|
Add code cov service triggers for CI; | language: objective-c
osx_image: xcode7.2
xcode_workspace: PuzzleAnimation.xcworkspace
xcode_scheme: PuzzleAnimation
xcode_sdk: iphonesimulator9.2
| language: objective-c
osx_image: xcode7.2
xcode_workspace: PuzzleAnimation.xcworkspace
xcode_scheme: PuzzleAnimation
xcode_sdk: iphonesimulator9.2
before_install:
- pip install codecov
after_success:
- codecov |
Fix the hsqldb tests in Travis | language: java
jdk:
- oraclejdk8
addons:
postgresql: "9.3"
before_script:
- psql -U postgres -c "create user test with password 'test';"
- psql -c 'create database test owner test;' -U postgres
script:
- mvn -e -P hsqldb verify
- mvn -e -Dpostgres.database.url=jdbc:postgresql:test -Dpostgres.database.user=test -Dpostgres.database.password=test -P postgresql verify
after_failure:
- echo "\n=== SUREFIRE REPORTS ===\n"
- for F in target/surefire-reports/*.txt; do echo $F; cat $F; echo; done
| language: java
jdk:
- oraclejdk8
addons:
postgresql: "9.3"
before_script:
- psql -U postgres -c "create user test with password 'test';"
- psql -c 'create database test owner test;' -U postgres
script:
- mvn -e "-Dhsqldb.database.url=jdbc:hsqldb:file:target/hsqldb;shutdown=true" -Dhsqldb.database.user=SA -Dhsqldb.database.password= -P hsqldb verify
- mvn -e -Dpostgres.database.url=jdbc:postgresql:test -Dpostgres.database.user=test -Dpostgres.database.password=test -P postgresql verify
after_failure:
- echo "\n=== SUREFIRE REPORTS ===\n"
- for F in target/surefire-reports/*.txt; do echo $F; cat $F; echo; done
|
Use the new Travis Docker infrastructure and stuff | language: go
go:
- 1.2
- 1.3
- tip
install: make updatedeps
script:
- GOMAXPROCS=2 make test
#- go test -race ./...
matrix:
allow_failures:
- go: tip
| sudo: false
language: go
go:
- 1.2
- 1.3
- 1.3
- tip
install: make updatedeps
script:
- GOMAXPROCS=2 make test
#- go test -race ./...
branches:
only:
- master
notifications:
irc:
channels:
- "irc.freenode.org#packer-tool"
skip_join: true
use_notice: true
matrix:
fast_finish: true
allow_failures:
- go: tip
|
Remove Python 3.3 due to error in Travis download routine | language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "nightly"
# command to install dependencies
install: "pip install -r requirements.txt"
# command to run tests
script: nose2
| language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "nightly"
# command to install dependencies
install: "pip install -r requirements.txt"
# command to run tests
script: nose2
|
Update for Chef 15 license agreement and Chef Workstation | sudo: required
dist: trusty
addons:
apt:
sources:
- chef-current-trusty
packages:
- chefdk
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
branches:
only:
- master
services: docker
env:
matrix:
- INSTANCE=default-amazonlinux
- INSTANCE=default-amazonlinux-2
- INSTANCE=default-centos-6
- INSTANCE=default-centos-7
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(chef shell-init bash)"
- chef --version
- cookstyle --version
- foodcritic --version
script: KITCHEN_LOCAL_YAML=kitchen.dokken.yml kitchen verify ${INSTANCE}
matrix:
include:
- script:
- chef exec delivery local all
env: UNIT_AND_LINT=1
| addons:
apt:
sources:
- chef-current-xenial
packages:
- chef-workstation
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
env:
- CHEF_LICENSE=accept
branches:
only:
- master
services: docker
env:
matrix:
- INSTANCE=default-amazonlinux
- INSTANCE=default-amazonlinux-2
- INSTANCE=default-centos-6
- INSTANCE=default-centos-7
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(chef shell-init bash)"
- chef --version
- cookstyle --version
- foodcritic --version
script: KITCHEN_LOCAL_YAML=kitchen.dokken.yml kitchen verify ${INSTANCE}
matrix:
include:
- script:
- chef exec delivery local all
env:
- UNIT_AND_LINT=1
- CHEF_LICENSE=accept
|
Use the new build env on Travis | language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
env:
- SYMFONY_VERSION="~2.3"
# Test against previous minor releases of Symfony 2.x to ensure that we
# actually support the versions we specify in our requirements.
- SYMFONY_VERSION="2.3.*"
before_script:
# Use --prefer-source to download dependencies via git and avoid GitHub API
# rate limits resulting in 502 HTTP responses, build errors and
# Composer\Downloader\TransportException.
# https://github.com/symfony/symfony/issues/4687
- composer install --dev --no-interaction --prefer-source
# Update the Symfony version to test against.
- composer require symfony/options-resolver:${SYMFONY_VERSION}
script:
- mkdir -p build/logs
- php vendor/bin/phpunit -c phpunit.xml.dist
| language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
env:
- SYMFONY_VERSION="~2.3"
# Test against previous minor releases of Symfony 2.x to ensure that we
# actually support the versions we specify in our requirements.
- SYMFONY_VERSION="2.3.*"
sudo: false
before_script:
# Use --prefer-source to download dependencies via git and avoid GitHub API
# rate limits resulting in 502 HTTP responses, build errors and
# Composer\Downloader\TransportException.
# https://github.com/symfony/symfony/issues/4687
- composer install --dev --no-interaction --prefer-source
# Update the Symfony version to test against.
- composer require symfony/options-resolver:${SYMFONY_VERSION}
script:
- mkdir -p build/logs
- php vendor/bin/phpunit -c phpunit.xml.dist
|
Use devel devtools so circular dependencies work | # R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: r
sudo: false
cache: packages
r_github_packages:
- rstats-db/DBItest
| # R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: r
sudo: false
cache: packages
r_github_packages:
- hadley/devtools
|
Add Go 1.8 to the CI test | language: go
go:
- 1.6
- 1.7
- tip
| language: go
go:
- 1.6
- 1.7
- 1.8
- tip
|
Use new container based Travis infrastructure and use built-in caching for dependencies | language: ruby
rvm:
- 2.2
env: DATABASE_URL=postgres://postgres@localhost/timeoverflow_test
before_script:
- psql -c 'create database timeoverflow_test;' -U postgres
- RAILS_ENV=test bundle exec rake db:migrate
| language: ruby
rvm:
- 2.2
env: DATABASE_URL=postgres://postgres@localhost/timeoverflow_test
before_script:
- psql -c 'create database timeoverflow_test;' -U postgres
- RAILS_ENV=test bundle exec rake db:migrate
sudo: false
cache: bundler |
Set TravisCI to start redis-server before running tests | language: ruby
rvm:
- "1.9.3"
services:
- mongodb
bundler_args: --without development
before_install: ./script/ci/replace_local_paths.sh
branches:
except:
- master
| language: ruby
rvm:
- "1.9.3"
services:
- mongodb
- redis-server
bundler_args: --without development
before_install: ./script/ci/replace_local_paths.sh
branches:
except:
- master
|
Test MRI 2.3 on Travis | language: ruby
sudo: false
rvm:
- "1.9.3"
- "2.0"
- "2.1.10"
- "2.2.7"
- "2.4.1"
- "jruby-9.1.8.0"
cache: bundler
| language: ruby
sudo: false
rvm:
- "1.9.3"
- "2.0"
- "2.1.10"
- "2.2.7"
- "2.3.4"
- "2.4.1"
- "jruby-9.1.8.0"
cache: bundler
|
Add more packages and cache them | language: scala
sudo: false
cache:
directories:
- $HOME/.ivy2
- $HOME/spark
scala:
- 2.10.4
before_install:
- pip install --user codecov unittest2
script:
- "export SPARK_CONF_DIR=./log4j/"
- sbt compile test
- "[ -f spark] || mkdir spark && wget http://d3kbcqa49mib13.cloudfront.net/spark-1.6.1-bin-hadoop2.6.tgz && cd .."
- "tar -xvf ./spark/spark-1.6.1-bin-hadoop2.6.tgz"
- "export SPARK_HOME=`pwd`/spark-1.6.1-bin-hadoop2.6/"
- "export PYTHONPATH=$SPARK_HOME/python:`ls -1 $SPARK_HOME/python/lib/py4j-*-src.zip`:$PYTHONPATH"
- "nosetests --with-doctest --doctest-options=+ELLIPSIS --logging-level=INFO --detailed-errors --verbosity=2 --with-coverage --cover-html-dir=./htmlcov"
after_success:
# For now no coverage report
- codecov | language: scala
sudo: false
cache:
directories:
- $HOME/.ivy2
- $HOME/spark
- $HOME/.cache/pip
scala:
- 2.10.4
before_install:
- pip install --user codecov unittest2 nose pep8 pylint scipy pandas
script:
- "export SPARK_CONF_DIR=./log4j/"
- sbt compile test
- "[ -f spark] || mkdir spark && wget http://d3kbcqa49mib13.cloudfront.net/spark-1.6.1-bin-hadoop2.6.tgz && cd .."
- "tar -xvf ./spark/spark-1.6.1-bin-hadoop2.6.tgz"
- "export SPARK_HOME=`pwd`/spark-1.6.1-bin-hadoop2.6/"
- "export PYTHONPATH=$SPARK_HOME/python:`ls -1 $SPARK_HOME/python/lib/py4j-*-src.zip`:$PYTHONPATH"
- "nosetests --with-doctest --doctest-options=+ELLIPSIS --logging-level=INFO --detailed-errors --verbosity=2 --with-coverage --cover-html-dir=./htmlcov"
after_success:
# For now no coverage report
- codecov |
Add "play dist" to the build script. | language: scala
scala:
- 2.10.3
before_script:
- npm install bower
- npm install grunt-cli
- gem install sass
- cd public
- npm install
- bower install
- cd ..
script:
- sbt test
- cd public
- grunt test
- play dist
deploy:
provider: heroku
api_key:
secure: RwSpEp49ALY8s4x6/HonZXrm0URSl8rgyLsZ8PhRQHN/P/pgPnUwsEWh6yxcHKR4dyq1ib6doKNzkAHfafoUvgIKgnTruJ9KmR3yqvXx8wZpd9Kos57XXKm0yfhfc8XVBgeBst79zTFDAO7WDs0Lp0r+xRCHo0nTqulD/xRXxJU=
skip_cleanup: true
app:
develop: bridge-development
| language: scala
scala:
- 2.10.3
before_script:
- npm install bower
- npm install grunt-cli
- gem install sass
- cd public
- npm install
- bower install
- cd ..
script:
- sbt test
- cd public
- grunt test
- cd ..
- play dist
deploy:
provider: heroku
api_key:
secure: RwSpEp49ALY8s4x6/HonZXrm0URSl8rgyLsZ8PhRQHN/P/pgPnUwsEWh6yxcHKR4dyq1ib6doKNzkAHfafoUvgIKgnTruJ9KmR3yqvXx8wZpd9Kos57XXKm0yfhfc8XVBgeBst79zTFDAO7WDs0Lp0r+xRCHo0nTqulD/xRXxJU=
skip_cleanup: true
app:
develop: bridge-development
|
Add new ruby versions to Travis config | language: ruby
sudo: false
cache: bundler
rvm:
- 2.3.1
- jruby-9.2.0.0
matrix:
allow_failures:
- rvm: jruby-9.2.0.0
notifications:
email: false
deploy:
provider: rubygems
api_key:
secure: jL1lH/wfeRa5MoZRHvkXcZP/Ch7huFxqzbvhEV7UZhiDUBnApcJWkb346jeLEDYnFObUhqhaCZ1/l4fDeSFg2GgatSfEnoWATFVkIf1e4TTGAePlS+4qqsGOcr+XrjP6CEf4o4JACdLuSoT9dtUFj0xkFLnDWILxneXIrqDE9VU=
gem: redis-session-store
on:
tags: true
repo: roidrage/redis-session-store
rvm: 2.3.1
| language: ruby
sudo: false
cache: bundler
rvm:
- 2.3.7
- 2.4.4
- 2.5.1
- jruby-9.2.0.0
matrix:
allow_failures:
- rvm: jruby-9.2.0.0
notifications:
email: false
deploy:
provider: rubygems
api_key:
secure: jL1lH/wfeRa5MoZRHvkXcZP/Ch7huFxqzbvhEV7UZhiDUBnApcJWkb346jeLEDYnFObUhqhaCZ1/l4fDeSFg2GgatSfEnoWATFVkIf1e4TTGAePlS+4qqsGOcr+XrjP6CEf4o4JACdLuSoT9dtUFj0xkFLnDWILxneXIrqDE9VU=
gem: redis-session-store
on:
tags: true
repo: roidrage/redis-session-store
rvm: 2.3.1
|
Allow failures in 0.12 for now. | language: node_js
node_js:
- "0.8"
- "0.10"
- "0.12"
before_install:
- travis_retry npm install -g npm
- travis_retry npm install
script:
- npm test
notifications:
email:
- travis@nodejitsu.com
irc: "irc.freenode.org#nodejitsu"
| language: node_js
node_js:
- "0.8"
- "0.10"
- "0.12"
before_install:
- travis_retry npm install -g npm
- travis_retry npm install
script:
- npm test
matrix:
allow_failures:
- node_js: "0.12"
notifications:
email:
- travis@nodejitsu.com
irc: "irc.freenode.org#nodejitsu"
|
Add explanatory comments, update gh-pages message | language: node_js
node_js:
- "4.2"
- "stable"
sudo: false
cache:
directories:
- node_modules
after_script:
- |
# RELEASE_BRANCHES and NPM_TOKEN defined in Travis settings panel
declare exitCode
$(npm bin)/travis-after-all
exitCode=$?
if [[
$exitCode = 0 &&
$RELEASE_BRANCHES =~ $TRAVIS_BRANCH &&
$TRAVIS_PULL_REQUEST = "false"
]]; then
echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
npm --no-git-tag-version version $(node -p -e "require('./package.json').version")-${TRAVIS_COMMIT:0:5}
npm publish
git config --global user.email $(git log --pretty=format:"%ce" -n1)
git config --global user.name $(git log --pretty=format:"%cn" -n1)
./node_modules/.bin/gh-pages -x -r https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git -d playground -m "Travis build ${TRAVIS_BUILD_NUMBER}"
fi
| language: node_js
node_js:
- "4.2"
- "stable"
sudo: false
cache:
directories:
- node_modules
after_script:
- |
# RELEASE_BRANCHES and NPM_TOKEN defined in Travis settings panel
declare exitCode
$(npm bin)/travis-after-all
exitCode=$?
if [[
# Execute after all jobs finish successfully
$exitCode = 0 &&
# Only release on release branches
$RELEASE_BRANCHES =~ $TRAVIS_BRANCH &&
# Don't release on PR builds
$TRAVIS_PULL_REQUEST = "false"
]]; then
# Authenticate NPM
echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
# Set version to commit SHA
npm --no-git-tag-version version $(node -p -e "require('./package.json').version")-${TRAVIS_COMMIT:0:5}
npm publish
# Publish to gh-pages as most recent committer
git config --global user.email $(git log --pretty=format:"%ce" -n1)
git config --global user.name $(git log --pretty=format:"%cn" -n1)
./node_modules/.bin/gh-pages -x -r https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git -d playground -m "Build for $(git log --pretty=format:%H)"
fi
|
Update from Hackage at 2015-06-28T04:19:30+0000 | homepage: https://github.com/KazumaSATO/digitalocean-kzs
changelog-type: ''
hash: 58d172f2170493c606c2e006dd777d809d20cd80ec2ee067752c7991d4da1891
test-bench-deps:
base: -any
hspec: ! '>=1.3'
doctest: ! '>=0.9.3'
digitalocean-kzs: -any
maintainer: r.nakamura1989@gmail.com
synopsis: digitalocean api for haskell
changelog: ''
basic-deps:
bytestring: ! '>=0.10 && <0.11'
base: ! '>=4.7 && <4.8'
text: ! '>=0.10 && <2'
HTTP: ! '>=4000 && <4001'
transformers: ! '>=0.3 && <0.5'
http-conduit: ! '>=2.1 && <2.2'
http-types: ! '>=0.8.6'
aeson: ! '>=0.6 && <0.9'
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.0.2'
author: Ryotaro NAKAMURA
latest: '0.1.0.2'
description-type: haddock
description: DigitalOcean api for haskell
license-name: MIT
| homepage: https://github.com/KazumaSATO/digitalocean-kzs
changelog-type: ''
hash: 374f16df5da105f8ca6ad22b3133be4b0166538b45092e59cd78c7ada2a9ff31
test-bench-deps:
base: -any
hspec: ! '>=1.3'
doctest: ! '>=0.9.3'
digitalocean-kzs: -any
maintainer: r.nakamura1989@gmail.com
synopsis: digitalocean api for haskell
changelog: ''
basic-deps:
bytestring: ! '>=0.10 && <0.11'
base: ! '>=4.8 && <4.9'
text: ! '>=0.10 && <2'
HTTP: ! '>=4000 && <4001'
transformers: ! '>=0.3 && <0.5'
http-conduit: ! '>=2.1 && <2.2'
http-types: ! '>=0.8.6'
aeson: ! '>=0.6 && <0.9'
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.0.2'
- '0.1.0.3'
author: Ryotaro NAKAMURA
latest: '0.1.0.3'
description-type: haddock
description: DigitalOcean api for haskell
license-name: MIT
|
Update jekyll config with common settings | name: Hangload
markdown: redcarpet
permalink: pretty
| name: Hangload
description: "Hangload -- The new way to load your bike"
exclude: [README.md, package.json, index.js, Rakefile, node_modules, src]
permalink: pretty
repository: hangload/static
|
Update from Hackage at 2018-02-27T23:08:30Z | homepage: https://github.com/erisco/data-list-zigzag
changelog-type: markdown
hash: 3bb0a0377b90bf7abf1dbb3603f0a22b5818a45e76e774b7840ed31a8b5b552e
test-bench-deps: {}
maintainer: eric.brisco@gmail.com
synopsis: A list but with a balanced enumeration of Cartesian product.
changelog: ! "# Revision history for data-list-zigzag\r\n\r\n## 0.1.0.0 -- 2017-04-27\r\n\r\n*
First version. Released on an unsuspecting world.\r\n"
basic-deps:
base: ! '>=4.9 && <4.10'
all-versions:
- '0.1.0.0'
- '0.1.1.0'
author: Eric Brisco
latest: '0.1.1.0'
description-type: haddock
description: A list but with a balanced enumeration of Cartesian product.
license-name: BSD3
| homepage: https://github.com/erisco/data-list-zigzag
changelog-type: markdown
hash: cf3e7cb8ad15e68c76dcceb64a67c76d988a94a8636809b0fe8a28a021627f27
test-bench-deps: {}
maintainer: eric.brisco@gmail.com
synopsis: A list but with a balanced enumeration of Cartesian product.
changelog: ! "# Revision history for data-list-zigzag\r\n\r\n## 0.1.0.0 -- 2017-04-27\r\n\r\n*
First version. Released on an unsuspecting world.\r\n"
basic-deps:
base: ! '>=4.9 && <=9223372036854775807'
all-versions:
- '0.1.0.0'
- '0.1.1.0'
- '0.1.1.1'
author: Eric Brisco
latest: '0.1.1.1'
description-type: haddock
description: A list but with a balanced enumeration of Cartesian product.
license-name: BSD3
|
Add missed Russian translation into roles and access manager | ru:
label_support_checkbox: "Отправить e-mail клиенту поддержки"
email_was_send_to_supportclient: "Этот ответ был отправлен клиенту поддержки"
| ru:
label_support_checkbox: "Отправить e-mail клиенту поддержки"
email_was_send_to_supportclient: "Этот ответ был отправлен клиенту поддержки"
permission_treat_user_as_supportclient: "Определять пользователя как клиента техподдержки"
|
Add default value for upnpc_port_redirects | ---
huawei_local_ip: 192.168.8.100 | ---
huawei_local_ip: 192.168.8.100
upnpc_port_redirects: [] |
Fix timeout issue with jobs | # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: ddt test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/test.txt
- name: Lint with flake8
run: |
pip install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with nosetests
run: |
pip install python-nose
nosetests
| # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: ddt test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/test.txt
- name: Lint with flake8
run: |
pip install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with nosetests
run: |
pip install nose-parameterized
nosetests
|
Add gcc to build requirements, since c++ source files moust be compiled | package:
name: smhasher
version: "0.150.1"
source:
fn: smhasher-0.150.1.tar.gz
url: https://pypi.python.org/packages/5f/b2/421c060300f1449646787273ecd7df558f6f8e4caee3d6fbe8b193cd60d4/smhasher-0.150.1.tar.gz
md5: 4fc61f36b141e137dd2d71ecd0167866
requirements:
build:
- python
run:
- python
- libgcc
test:
# Python imports
imports:
- smhasher
# commands:
# You can put test commands to be run here. Use this to test that the
# entry points work.
# You can also put a file called run_test.py in the recipe that will be run
# at test time.
# requires:
# Put any additional test requirements here. For example
# - nose
about:
home: http://github.com/phensley/python-smhasher
license: MIT License
summary: 'Python extension for smhasher hash functions'
license_family: MIT
| package:
name: smhasher
version: "0.150.1"
source:
fn: smhasher-0.150.1.tar.gz
url: https://pypi.python.org/packages/5f/b2/421c060300f1449646787273ecd7df558f6f8e4caee3d6fbe8b193cd60d4/smhasher-0.150.1.tar.gz
md5: 4fc61f36b141e137dd2d71ecd0167866
requirements:
build:
- python
- gcc
run:
- python
- libgcc
test:
# Python imports
imports:
- smhasher
# commands:
# You can put test commands to be run here. Use this to test that the
# entry points work.
# You can also put a file called run_test.py in the recipe that will be run
# at test time.
# requires:
# Put any additional test requirements here. For example
# - nose
about:
home: http://github.com/phensley/python-smhasher
license: MIT License
summary: 'Python extension for smhasher hash functions'
license_family: MIT
|
Update from Forestry.io - Updated Forestry configuration | ---
new_page_extension: md
auto_deploy: false
admin_path: ''
webhook_url:
sections:
- type: jekyll-posts
label: Posts
create: all
match: "**/*"
- type: jekyll-pages
label: Pages
create: all
- type: directory
path: _uploads
label: Uploads
create: all
match: "**/*"
upload_dir: uploads
public_path: "/uploads"
front_matter_path: ''
use_front_matter_path: false
file_template: ":filename:"
build:
preview_command: bundle exec jekyll build --drafts --unpublished --future -d _site
publish_command: bundle exec jekyll build -d _site
preview_env:
- JEKYLL_ENV=staging
publish_env:
- JEKYLL_ENV=production
preview_output_directory: _site
output_directory: _site
| ---
new_page_extension: md
auto_deploy: false
admin_path: ''
webhook_url:
sections:
- type: directory
path: fulgur/gallery
label: Albums
create: all
match: "**/*"
new_doc_ext: ".html"
- type: jekyll-posts
label: Posts
create: all
match: "**/*"
- type: jekyll-pages
label: Pages
create: all
- type: directory
path: _uploads
label: Uploads
create: all
match: "**/*"
upload_dir: uploads
public_path: "/uploads"
front_matter_path: ''
use_front_matter_path: false
file_template: ":filename:"
build:
preview_command: bundle exec jekyll build --drafts --unpublished --future -d _site
publish_command: bundle exec jekyll build -d _site
preview_env:
- JEKYLL_ENV=staging
publish_env:
- JEKYLL_ENV=production
preview_output_directory: _site
output_directory: _site
|
Update tokens in Application restart event analysis report | details:
name: Application restart event analysis
shortDescription: Shows application restart events from event log.
longDescription: |
Frequent restarts may mean that there are issues to resolve.
terms:
applicationRestartEvents: Application restart events
countEndEvent: <count> <count:end|ends>
countStartEvent: <count> <count:start|starts>
countTotalEvent: <count> total <count:event|events>
spanningEarliestLatest: spanning <earliestTime> - <latestTime>.
| details:
name: Application restart event analysis
shortDescription: Shows application restart events from event log.
longDescription: |
Frequent restarts may mean that there are issues to resolve.
terms:
applicationRestartEvents: Application restart events
countEndEvent: <count> <count|end|ends>
countStartEvent: <count> <count|start|starts>
countTotalEvent: <count> total <count|event|events>
spanningEarliestLatest: spanning <earliestTime> - <latestTime>.
|
Deploy command fails on Wheezy, use Chef 13 on CentOS | ---
driver:
name: docker
privileged: true
provision_command:
# https://github.com/test-kitchen/kitchen-docker/issues/285:
- mkdir -p /run/sshd
- apt-get -qq -y install chef || true
- apt-get -qq -y install exim4-base || true
- apt-get -qq -y install shellcheck || true
require_chef_omnibus: false
provisioner:
log_level: warn
platforms:
- name: debian-stretch
- name: debian-jessie
- name: debian-wheezy
# wheezy chef package is 10.12
driver:
require_chef_omnibus: 12.0.3
- name: debian-buster
- name: debian-bullseye
- name: ubuntu-18.04
- name: centos-7
driver:
require_chef_omnibus: 12
provision_command:
- yum install -y rubygems
| ---
driver:
name: docker
privileged: true
provision_command:
# https://github.com/test-kitchen/kitchen-docker/issues/285:
- mkdir -p /run/sshd
- apt-get -qq -y install chef || true
- apt-get -qq -y install exim4-base || true
- apt-get -qq -y install shellcheck || true
require_chef_omnibus: false
provisioner:
log_level: warn
platforms:
- name: debian-stretch
- name: debian-jessie
- name: debian-wheezy
# wheezy chef package is 10.12
driver:
require_chef_omnibus: 12.0.3
provision_command:
- /bin/true
- name: debian-buster
- name: debian-bullseye
- name: ubuntu-18.04
- name: centos-7
driver:
require_chef_omnibus: 13
provision_command:
- yum install -y rubygems
|
Move entry in alphabetical order. | name: Security Tools
description:
projects:
- active_model_otp
- alpaca
- brakeman
- codesake-dawn
- loofah
- look/xss_terminate
- mhartl/find_mass_assignment
- param_protected
- rails_xss
- ryanlowe/audit_mass_assignment
- shellex
- sudo_attributes
- tarantula
- wwidea/cross_site_sniper
- macker
| name: Security Tools
description:
projects:
- active_model_otp
- alpaca
- brakeman
- codesake-dawn
- loofah
- look/xss_terminate
- macker
- mhartl/find_mass_assignment
- param_protected
- rails_xss
- ryanlowe/audit_mass_assignment
- shellex
- sudo_attributes
- tarantula
- wwidea/cross_site_sniper
|
Set env to make django-debug-toolbar working | version: '2'
services:
django:
build:
context: .
dockerfile: ./compose/develop/django/Dockerfile
volumes:
- .:/app
ports:
- "8000:8000"
| version: '2'
services:
django:
build:
context: .
dockerfile: ./compose/develop/django/Dockerfile
volumes:
- .:/app
environment:
- USE_DOCKER=yes
ports:
- "8000:8000"
|
Fix Jamroom missing leading / in location. | # URL: http://www.jamroom.net/
# CVE-2013-6804 Update Jamroom Search module to version 1.1.1 HTB23184
# CVE-2014-5098 Update Jamroom Search module to version 1.2.2 HTB23224
# CVE-2009-1318 N/A http://osvdb.org/53784
# CVE-2010-2463 4.1.9 http://osvdb.org/65684
# CVE-2012-XXXX 4.2.7 http://osvdb.org/79425 http://st2tea.blogspot.fi/2012/02/jamroom-cross-site-scripting.html http://secunia.com/advisories/48077/
Jamroom:
1:
location: ['modules/jrCore/include.php']
secure_version: '4.2.7'
regexp: ['.*?version.*?(?P<version>[0-9.]+)']
cve: 'http://osvdb.org/79425 http://st2tea.blogspot.fi/2012/02/jamroom-cross-site-scripting.html http://secunia.com/advisories/48077/'
fingerprint: detect_general
post_processing: ['php5.fcgi']
| # URL: http://www.jamroom.net/
# CVE-2013-6804 Update Jamroom Search module to version 1.1.1 HTB23184
# CVE-2014-5098 Update Jamroom Search module to version 1.2.2 HTB23224
# CVE-2009-1318 N/A http://osvdb.org/53784
# CVE-2010-2463 4.1.9 http://osvdb.org/65684
# CVE-2012-XXXX 4.2.7 http://osvdb.org/79425 http://st2tea.blogspot.fi/2012/02/jamroom-cross-site-scripting.html http://secunia.com/advisories/48077/
Jamroom:
1:
location: ['/modules/jrCore/include.php']
secure_version: '4.2.7'
regexp: ['.*?version.*?(?P<version>[0-9.]+)']
cve: 'http://osvdb.org/79425 http://st2tea.blogspot.fi/2012/02/jamroom-cross-site-scripting.html http://secunia.com/advisories/48077/'
fingerprint: detect_general
post_processing: ['php5.fcgi']
|
Revert "gatekeeper: enable GkRegionValueMismatch everywhere" | apiVersion: constraints.gatekeeper.sh/v1beta1
kind: GkRegionValueMismatch
metadata:
name: regionvaluemismatch
labels:
on-prod-ui: 'true'
spec:
enforcementAction: deny
match: {{ include "match_active_helm_releases" . | indent 4 }}
parameters:
helmManifestParserURL: {{ quote .Values.helm_manifest_parser_url }}
region: {{.Values.global.region | required ".Values.global.region not found"}}
| apiVersion: constraints.gatekeeper.sh/v1beta1
kind: GkRegionValueMismatch
metadata:
name: regionvaluemismatch
labels:
on-prod-ui: 'true'
spec:
enforcementAction: {{ if and (.Values.global.region | hasPrefix "qa-") (eq .Values.cluster_type "baremetal" "scaleout") -}} deny {{- else -}} dryrun {{- end }} # TODO: enable everywhere (only qa for now for testing)
match: {{ include "match_active_helm_releases" . | indent 4 }}
parameters:
helmManifestParserURL: {{ quote .Values.helm_manifest_parser_url }}
region: {{.Values.global.region | required ".Values.global.region not found"}}
|
Update RMS hours for week 35 | name: RMS
subtitle: Regents Hall of Mathematical Sciences
category: Academia
# image: regents-hall-math
schedule:
- title: Hours
hours:
# - {days: [Mo, Tu, We, Th, Fr], from: '7:00am', to: '12:00am'}
# - {days: [Sa, Su], from: '8:00am', to: '12:00am'}
- {days: [Mo, Tu, We, Th], from: '7:00am', to: '10:00pm'}
- {days: [Fr], from: '7:00am', to: '8:00pm'}
- {days: [Sa], from: '9:00am', to: '8:00pm'}
- {days: [Su], from: '9:00am', to: '10:00pm'}
breakSchedule:
fall: []
thanksgiving: []
winter: []
interim: []
spring: []
easter: []
summer:
- title: Hours
hours:
- {days: [Mo, Tu, We, Th], from: '7:00am', to: '10:00pm'}
- {days: [Fr], from: '7:00am', to: '8:00pm'}
- {days: [Sa], from: '9:00am', to: '8:00pm'}
- {days: [Su], from: '9:00am', to: '10:00pm'}
| name: RMS
subtitle: Regents Hall of Mathematical Sciences
category: Academia
# image: regents-hall-math
schedule:
- title: Hours
hours:
- {days: [Mo, Tu, We, Th, Fr, Sa, Su], from: '7:00am', to: '10:00pm'}
breakSchedule:
fall: []
thanksgiving: []
winter: []
interim: []
spring: []
easter: []
summer:
- title: Hours
hours:
- {days: [Mo, Tu, We, Th], from: '7:00am', to: '10:00pm'}
- {days: [Fr], from: '7:00am', to: '8:00pm'}
- {days: [Sa], from: '9:00am', to: '8:00pm'}
- {days: [Su], from: '9:00am', to: '10:00pm'}
|
Revert "re add postgres to the mix" | branches:
only:
- 'master'
- 'rails3.2'
language: ruby
rvm:
- ree
- 1.9.2
env:
- DB=postgres BUILD_TYPE=other
- DB=mysql BUILD_TYPE=other
- DB=postgres BUILD_TYPE=cucumber
- DB=mysql BUILD_TYPE=cucumber
before_install:
- "./script/ci/before_install.sh"
bundler_args: "--without development production heroku"
before_script: "./script/ci/before.sh"
script: "bundle exec rake travis"
notifications:
irc:
channels:
- 'irc.freenode.org:6667#diaspora-dev'
| branches:
only:
- 'master'
- 'rails3.2'
language: ruby
rvm:
- ree
- 1.9.2
env:
# - DB=postgres BUILD_TYPE=other
- DB=mysql BUILD_TYPE=other
# - DB=postgres BUILD_TYPE=cucumber
- DB=mysql BUILD_TYPE=cucumber
before_install:
- "./script/ci/before_install.sh"
bundler_args: "--without development production heroku"
before_script: "./script/ci/before.sh"
script: "bundle exec rake travis"
notifications:
irc:
channels:
- 'irc.freenode.org:6667#diaspora-dev'
|
Add after_script hook to report code coverage to code climate | language: node_js
node_js:
- '0.11'
- '0.10'
before_script:
- npm install -g istanbul
- npm install -g mocha
script:
- npm run coverage
| language: node_js
node_js:
- '0.11'
- '0.10'
before_script:
- npm install -g istanbul
- npm install -g mocha
script:
- npm run coverage
after_script:
- npm install codeclimate-test-reporter && cat coverage/lcov.info | codeclimate
env:
global:
- secure: h0A1kKlSKOjR5q7xAeX/NjaZGWKFHK3DS/0mTGWSx+ZTnWPDabqvlVBtPKJduBMTKar8GGRJu4l2bkrovDq6Qdkbopr1uF993T6iRe4o1JJSwQrJKJ2wem7MVjj3jab3OoIhVI01Oi2sh/+IMwKU9Cw0ZebN6NW3qKONSWNuuVY=
|
Remove 3.11 again: it doesn't exist yet. | name: build
on: [push]
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v2
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install Requirements
run: |
python -m pip install --upgrade pip
pip install -r requirements/dev.txt
- name: Run Tests
run: |
cd test
env PYTHONPATH=.. python -m unittest --verbose all
cd ..
env PYTHONPATH=. coverage run test/all.py
| name: build
on: [push]
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10'
steps:
- uses: actions/checkout@v2
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install Requirements
run: |
python -m pip install --upgrade pip
pip install -r requirements/dev.txt
- name: Run Tests
run: |
cd test
env PYTHONPATH=.. python -m unittest --verbose all
cd ..
env PYTHONPATH=. coverage run test/all.py
|
Add Go 1.17 to build matrix | on:
push:
pull_request:
types: [synchronize]
schedule:
- cron: "0 0 1,11,21 * *"
name: "Build and Test"
jobs:
test:
strategy:
fail-fast: false
matrix:
go-version:
- 1.13.x
- 1.14.x
- 1.15.x
- 1.16.x
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: go test ./...
- name: Test coverage
run: go test -coverprofile="cover.out" ./... # quotes needed for powershell
- name: Send coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: cover.out
flag-name: go${{ matrix.go-version }}-${{ matrix.os }}
parallel: true
# notifies that all test jobs are finished.
finish:
needs: test
runs-on: ubuntu-latest
steps:
- uses: shogo82148/actions-goveralls@v1
with:
parallel-finished: true
| on:
push:
pull_request:
types: [synchronize]
schedule:
- cron: "0 0 1,11,21 * *"
name: "Build and Test"
jobs:
test:
strategy:
fail-fast: false
matrix:
go-version:
- 1.13.x
- 1.14.x
- 1.15.x
- 1.16.x
- 1.17.x
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: go test ./...
- name: Test coverage
run: go test -coverprofile="cover.out" ./... # quotes needed for powershell
- name: Send coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: cover.out
flag-name: go${{ matrix.go-version }}-${{ matrix.os }}
parallel: true
# notifies that all test jobs are finished.
finish:
needs: test
runs-on: ubuntu-latest
steps:
- uses: shogo82148/actions-goveralls@v1
with:
parallel-finished: true
|
Fix AppVeyor git line ending config | build_script:
- build.cmd verify
clone_depth: 1
test: off
deploy: off | init:
- git config --global core.autocrlf true
build_script:
- build.cmd verify
clone_depth: 1
test: off
deploy: off |
Update GPG repo key download | ---
- name: Add OpenVPN repo GPG key (Debian)
apt_key:
id: E158C569
url: https://swupdate.openvpn.net/repos/repo-public.gpg
when: openvpn_use_external_repo
- name: Add OpenVPN repo sources (Debian)
apt_repository:
filename: openvpn
repo: deb http://swupdate.openvpn.net/apt {{ ansible_lsb.codename }} main
when: openvpn_use_external_repo
register: openvpn_repo_action
- name: Install requirements (Debian)
apt: name={{item}}
with_items: [openvpn, udev, openssl, zip]
- name: Update OpenVPN (Debian)
apt: name=openvpn state=latest
when: openvpn_use_external_repo and openvpn_repo_action.changed
- name: Install dependencies (Debian)
apt: name={{item}}
when: openvpn_use_pam_users|default(false)
with_items: [libpam-pwdfile, python-passlib]
- name: Install easy-rsa package (Debian)
apt: name=easy-rsa
when: openvpn_use_system_easyrsa
- name: Install LDAP dependencies (Debian)
apt: name=openvpn-auth-ldap force=yes
when: openvpn_use_ldap
- name: Install bridge dependencies (Debian)
apt: name={{item}}
when: openvpn_bridge
with_items: [bridge-utils]
| ---
- name: Add OpenVPN repo GPG key (Debian)
apt_key:
id: 8E6DA8B4E158C569
keyserver: pgp.mit.edu
state: present
when: openvpn_use_external_repo
- name: Add OpenVPN repo sources (Debian)
apt_repository:
filename: openvpn
repo: deb http://swupdate.openvpn.net/apt {{ ansible_lsb.codename }} main
when: openvpn_use_external_repo
register: openvpn_repo_action
- name: Install requirements (Debian)
apt: name={{item}}
with_items: [openvpn, udev, openssl, zip]
- name: Update OpenVPN (Debian)
apt: name=openvpn state=latest
when: openvpn_use_external_repo and openvpn_repo_action.changed
- name: Install dependencies (Debian)
apt: name={{item}}
when: openvpn_use_pam_users|default(false)
with_items: [libpam-pwdfile, python-passlib]
- name: Install easy-rsa package (Debian)
apt: name=easy-rsa
when: openvpn_use_system_easyrsa
- name: Install LDAP dependencies (Debian)
apt: name=openvpn-auth-ldap force=yes
when: openvpn_use_ldap
- name: Install bridge dependencies (Debian)
apt: name={{item}}
when: openvpn_bridge
with_items: [bridge-utils]
|
Update Lentil Translate to 1.2.5 (17) | AntiFeatures:
- NonFreeNet
Categories:
- Reading
License: AGPL-3.0-only
SourceCode: https://github.com/yaxarat/lingvaandroid
IssueTracker: https://github.com/yaxarat/lingvaandroid/issues
AutoName: Lentil Translate
RepoType: git
Repo: https://github.com/yaxarat/lingvaandroid.git
Builds:
- versionName: 1.2.4
versionCode: 15
commit: 9d18162a01fb03d8bf52af3c7c69b0a53d260779
subdir: app
sudo:
- apt-get update
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
gradle:
- yes
- versionName: 1.2.5
versionCode: 16
commit: 9c107e2ea99dfe8e6f63377a55978a59da8f954e
subdir: app
gradle:
- yes
AutoUpdateMode: Version
UpdateCheckMode: Tags
CurrentVersion: 1.2.5
CurrentVersionCode: 16
| AntiFeatures:
- NonFreeNet
Categories:
- Reading
License: AGPL-3.0-only
SourceCode: https://github.com/yaxarat/lingvaandroid
IssueTracker: https://github.com/yaxarat/lingvaandroid/issues
AutoName: Lentil Translate
RepoType: git
Repo: https://github.com/yaxarat/lingvaandroid.git
Builds:
- versionName: 1.2.4
versionCode: 15
commit: 9d18162a01fb03d8bf52af3c7c69b0a53d260779
subdir: app
sudo:
- apt-get update
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
gradle:
- yes
- versionName: 1.2.5
versionCode: 16
commit: 9c107e2ea99dfe8e6f63377a55978a59da8f954e
subdir: app
gradle:
- yes
- versionName: 1.2.5
versionCode: 17
commit: d93d0ccfa73cbceb83b04a14d9992c490129f34f
subdir: app
gradle:
- yes
AutoUpdateMode: Version
UpdateCheckMode: Tags
CurrentVersion: 1.2.5
CurrentVersionCode: 17
|
Add new tagging format for kubernetes_cluster_tag for AWS | - type: replace
path: /tags?
value:
KubernetesCluster: ((kubernetes_cluster_tag))
| - type: replace
path: /tags?
value:
KubernetesCluster: ((kubernetes_cluster_tag))
kubernetes.io/cluster/((kubernetes_cluster_tag)): ""
|
Update from Hackage at 2019-10-28T12:19:14Z | homepage: https://github.com/ethercrow/lightstep-haskell#readme
changelog-type: ''
hash: 08db639c8e34287f6b17df78a4dd62aa56918df9c5163f98390ed2c3e16b528f
test-bench-deps: {}
maintainer: Dmitry Ivanov <ethercrow@gmail.com>
synopsis: LightStep OpenTracing client library
changelog: ''
basic-deps:
exceptions: -any
stm: -any
base: ! '>=4.12 && <5'
http2-client-grpc: -any
unordered-containers: -any
text: -any
http2-client: -any
async: -any
containers: -any
lens: -any
chronos: -any
proto-lens: -any
mtl: -any
lightstep-haskell: -any
transformers: -any
proto-lens-runtime: -any
all-versions:
- 0.1.0
- 0.1.1
- 0.1.2
- 0.1.3
author: ''
latest: 0.1.3
description-type: haddock
description: LightStep OpenTracing client library. Uses GRPC transport via proto-lens.
license-name: Apache-2.0
| homepage: https://github.com/ethercrow/lightstep-haskell#readme
changelog-type: ''
hash: 248fd943a6e8fa5a3c1210970d6b432d43436dbbb794fe9caf3a1377eba85190
test-bench-deps: {}
maintainer: Dmitry Ivanov <ethercrow@gmail.com>
synopsis: LightStep OpenTracing client library
changelog: ''
basic-deps:
stm: -any
base: ! '>=4.12 && <5'
http2-client-grpc: -any
unordered-containers: -any
text: -any
safe-exceptions: -any
http2-client: -any
async: -any
containers: -any
lens: -any
chronos: -any
proto-lens: -any
mtl: -any
lightstep-haskell: -any
transformers: -any
proto-lens-runtime: -any
all-versions:
- 0.1.0
- 0.1.1
- 0.1.2
- 0.1.3
- 0.1.4
author: ''
latest: 0.1.4
description-type: haddock
description: LightStep OpenTracing client library. Uses GRPC transport via proto-lens.
license-name: Apache-2.0
|
Use noarch and limit version of python | {% set name = "sos-rmarkdown" %}
{% set version = "0.1.1" %}
package:
name: "{{ name|lower }}"
version: "{{ version }}"
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: d67523c57e41b522bef91078565b616bfceeec66b7d250acd965e73d479f743b
build:
number: 0
skip: True # [py2k]
script:
- {{ PYTHON }} -m pip install . --no-deps -vv
requirements:
host:
- pip
- python
run:
- python
- sos-notebook
- sos-r
- markdown-kernel
- papermill
- sos-papermill
- nbformat
test:
imports:
- sos_rmarkdown
about:
home: https://github.com/vatlab/sos-rmarkdown
license: BSD
license_family: BSD
license_file: LICENSE
summary: "A converter from Rmarkdown to SoS Notebook"
doc_url: https://github.com/vatlab/sos-rmarkdown
dev_url: https://github.com/vatlab/sos-rmarkdown
extra:
recipe-maintainers:
- BoPeng
| {% set name = "sos-rmarkdown" %}
{% set version = "0.1.1" %}
package:
name: "{{ name|lower }}"
version: "{{ version }}"
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: d67523c57e41b522bef91078565b616bfceeec66b7d250acd965e73d479f743b
build:
number: 0
noarch: python
script:
- {{ PYTHON }} -m pip install . --no-deps -vv
requirements:
host:
- pip
- python >=3.6
run:
- python >=3.6
- sos-notebook
- sos-r
- markdown-kernel
- papermill
- sos-papermill
- nbformat
test:
imports:
- sos_rmarkdown
about:
home: https://github.com/vatlab/sos-rmarkdown
license: BSD
license_family: BSD
license_file: LICENSE
summary: "A converter from Rmarkdown to SoS Notebook"
doc_url: https://github.com/vatlab/sos-rmarkdown
dev_url: https://github.com/vatlab/sos-rmarkdown
extra:
recipe-maintainers:
- BoPeng
|
Exclude `to` as a warned variable name | included:
- ../Triassic
disabled_rules:
- line_length
- todo
variable_name:
excluded:
- id
| included:
- ../Triassic
disabled_rules:
- line_length
- todo
variable_name:
excluded:
- id
- to
|
Remove docker cache for now... probably just downloading will be faster | machine:
services:
- docker
dependencies:
cache_directories:
- "~/docker"
- "~/openvas"
pre:
- if [[ ! -e ~/docker ]]; then mkdir -p ~/docker; fi
- if [[ ! -e ~/openvas ]]; then cd ~ && wget http://s3.mikespla.in/openvas/data.tar.gz && tar -zxvf data.tar.gz && rm -rf data.tar.gz; fi
override:
- if [[ -e ~/docker/image.tar ]]; then docker load -i ~/docker/image.tar; fi:
timeout: 600
- curl --fail -L -O https://github.com/phusion/baseimage-docker/archive/master.tar.gz && tar xzf master.tar.gz && sudo ./baseimage-docker-master/install-tools.sh
- docker build --no-cache -t mikesplain/openvas_base openvas_base:
timeout: 900
post:
- docker save mikesplain/openvas > ~/docker/image.tar
- cp ~/docker/image.tar $CIRCLE_ARTIFACTS
test:
override:
- case $CIRCLE_NODE_INDEX in 0) make testbase ;; 1) make testfull ;; esac:
parallel: true
timeout: 1200
post:
- make cleanup
| machine:
services:
- docker
dependencies:
cache_directories:
- "~/openvas"
pre:
- if [[ ! -e ~/openvas ]]; then cd ~ && wget http://s3.mikespla.in/openvas/data.tar.gz && tar -zxvf data.tar.gz && rm -rf data.tar.gz; fi
override:
- curl --fail -L -O https://github.com/phusion/baseimage-docker/archive/master.tar.gz && tar xzf master.tar.gz && sudo ./baseimage-docker-master/install-tools.sh
- docker build --no-cache -t mikesplain/openvas_base openvas_base:
timeout: 900
test:
override:
- case $CIRCLE_NODE_INDEX in 0) make testbase ;; 1) make testfull ;; esac:
parallel: true
timeout: 1200
post:
- make cleanup
|
Add temporary workaround for CircleCI problem | machine:
pre:
- curl -sS https://static.rust-lang.org/rustup.sh > rustup.sh
- chmod +x ./rustup.sh
- ./rustup.sh --yes
- sudo apt-get install libXxf86vm-dev libosmesa6-dev
environment:
GLIUM_HEADLESS_TESTS: 1
test:
override:
- cargo build --verbose -j 2
- cargo test --features "glutin" --verbose -j 2
- cargo test --no-default-features --features "glutin" --verbose -j 2
- cargo build --features "glutin" --verbose -j 2
#- cargo test --manifest-path macros/Cargo.toml -j 2
general:
branches:
ignore:
- gh-pages
| machine:
pre:
- curl -sS https://static.rust-lang.org/rustup.sh > rustup.sh
- chmod +x ./rustup.sh
- ./rustup.sh --yes
- sudo apt-get install libXxf86vm-dev libosmesa6-dev
environment:
GLIUM_HEADLESS_TESTS: 1
test:
override:
# temporary workaround until cargo#2078 is ready
- eval `ssh-agent` && ssh-add /home/ubuntu/.ssh/id_circleci_github && cargo build --verbose -j 2
- cargo test --features "glutin" --verbose -j 2
- cargo test --no-default-features --features "glutin" --verbose -j 2
- cargo build --features "glutin" --verbose -j 2
#- cargo test --manifest-path macros/Cargo.toml -j 2
general:
branches:
ignore:
- gh-pages
|
Test depended on large local virtual raster. Including a test tif to run tests for now. | test:
override:
- py.test tests/
dependencies:
pre:
- pip install pytest
- sudo apt-get install gdal-bin libgdal1-dev
- sudo apt-get install libgdal-dev
- sudo apt-get install python-gdal
- sudo apt-get install build-essential python-all-dev
- wget http://download.osgeo.org/gdal/2.0.0/gdal-2.0.0.tar.gz; tar xvfz gdal-2.0.0.tar.gz; cd gdal-2.0.0;
- ./configure --with-python; sudo make; sudo make install
- python setup.py install
| test:
override:
- py.test tests/
dependencies:
pre:
- pip install pytest
- sudo apt-get install gdal-bin libgdal1-dev
- sudo apt-get install libgdal-dev
- sudo apt-get install python-gdal
- sudo apt-get install build-essential python-all-dev
- wget http://download.osgeo.org/gdal/2.0.0/gdal-2.0.0.tar.gz; tar xvfz gdal-2.0.0.tar.gz; cd gdal-2.0.0; ./configure --with-python; sudo make; sudo make install
- python setup.py install
|
Update branch list in GitHub Action workflow | name: Java CI
on:
pull_request:
branches:
- 4.1-maintenance
- 4.1-development
- 5.0-development
push:
branches:
- 4.1-maintenance
- 4.1-development
- 5.0-development
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
java_version: [8, 11]
os:
- ubuntu-latest
env:
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java_version }}
- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Print Java and Maven versions
run: ./mvnw -B -ff -s .github/settings.xml -v
- name: Build with Maven
run: ./mvnw -B -ff -s .github/settings.xml install -Dmaven.test.skip=true -Dmaven.javadoc.skip=true
- name: Run tests
run: ./mvnw -B -ff -s .github/settings.xml verify
| name: Java CI
on:
pull_request:
branches:
- release/*
push:
branches:
- release/*
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
java_version: [8, 11]
os:
- ubuntu-latest
env:
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java_version }}
- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Print Java and Maven versions
run: ./mvnw -B -ff -s .github/settings.xml -v
- name: Build with Maven
run: ./mvnw -B -ff -s .github/settings.xml install -Dmaven.test.skip=true -Dmaven.javadoc.skip=true
- name: Run tests
run: ./mvnw -B -ff -s .github/settings.xml verify
|
Update to codecov-action@v2, Python 3.10-dev to 3.10 | ---
name: Tests
on:
push:
branches-ignore:
- auto-backport-of-pr-[0-9]+
- v[0-9]+.[0-9]+.[0-9x]+-doc
pull_request:
jobs:
test:
name: "Python ${{ matrix.python-version }} ${{ matrix.name-suffix }}"
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10-dev"]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade pytest pytest-cov pytest-xdist
- name: Install cycler
run: |
python -m pip install --no-deps .
- name: Run pytest
run: |
pytest -raR -n auto --cov --cov-report=
- name: Upload code coverage
uses: codecov/codecov-action@v1
| ---
name: Tests
on:
push:
branches-ignore:
- auto-backport-of-pr-[0-9]+
- v[0-9]+.[0-9]+.[0-9x]+-doc
pull_request:
jobs:
test:
name: "Python ${{ matrix.python-version }} ${{ matrix.name-suffix }}"
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade pytest pytest-cov pytest-xdist
- name: Install cycler
run: |
python -m pip install --no-deps .
- name: Run pytest
run: |
pytest -raR -n auto --cov --cov-report=
- name: Upload code coverage
uses: codecov/codecov-action@v2
|
Use full branch name as build_image.sh argument | ---
- hosts: all
tasks:
- name: Run node setup script
shell: "{{ zuul.projects['git.openstack.org/openstack/monasca-common'].src_dir }}/playbooks/setup_ci.sh"
become: true
- name: Changing permission of Docker socket to 666
file:
path: /run/docker.sock
mode: 666
become: true
- name: Build Docker image
shell: "{{ zuul.project.src_dir }}/docker/build_image.sh {{ zuul.tag if zuul.pipeline == 'release' else zuul.branch | basename }}"
become: true
- name: List images
shell: "docker images --format '{% raw %}{{ .Repository }}:{{ .Tag }}{% endraw %}' | grep monasca"
| ---
- hosts: all
tasks:
- name: Run node setup script
shell: "{{ zuul.projects['git.openstack.org/openstack/monasca-common'].src_dir }}/playbooks/setup_ci.sh"
become: true
- name: Changing permission of Docker socket to 666
file:
path: /run/docker.sock
mode: 666
become: true
- name: Build Docker image
shell: "{{ zuul.project.src_dir }}/docker/build_image.sh {{ zuul.tag if zuul.pipeline == 'release' else zuul.branch }}"
become: true
- name: List images
shell: "docker images --format '{% raw %}{{ .Repository }}:{{ .Tag }}{% endraw %}' | grep monasca"
|
Move to "Ready for review" column if label event matches | name: Pull Request Ready for Review
on:
pull_request:
types: [labeled]
jobs:
addToProject:
runs-on: ubuntu-latest
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
| name: Pull Request Ready for Review
on:
pull_request:
types: [labeled]
jobs:
addToProject:
runs-on: ubuntu-latest
steps:
- name: Move to "Ready for review" column
if: github.event.label.name == 'ready for review')
uses: alex-page/github-project-automation-plus@v0.1.1
with:
project: Artemis Development
column: Ready for review
repo-token: ${{ secrets.GH_TOKEN_ADD_TO_PROJECT }}
|
Fix deps to included modules | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
pkg.name: hw/drivers/chg_ctrl/da1469x_charger
pkg.description:
pkg.keywords:
- Charge Controller
- DA1469x
pkg.deps:
- "@apache-mynewt-core/kernel/os"
- "@apache-mynewt-core/hw/hal"
pkg.deps.DA1469X_CHARGER_USE_CHARGE_CONTROL:
- '@apache-mynewt-core/hw/charge-control'
| #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
pkg.name: hw/drivers/chg_ctrl/da1469x_charger
pkg.description:
pkg.keywords:
- Charge Controller
- DA1469x
pkg.deps:
- "@apache-mynewt-core/kernel/os"
- "@apache-mynewt-core/hw/hal"
pkg.deps.DA1469X_CHARGER_CLI:
- "@apache-mynewt-core/util/parse"
pkg.deps.GPADC_BATTERY:
- '@apache-mynewt-core/hw/drivers/adc/gpadc_da1469x'
pkg.deps.SDADC_BATTERY:
- '@apache-mynewt-core/hw/drivers/adc/sdadc_da1469x'
pkg.deps.DA1469X_CHARGER_USE_CHARGE_CONTROL:
- '@apache-mynewt-core/hw/charge-control'
|
Update license on conda recipe | package:
name: pythonnet
version: {{ environ.get('GIT_DESCRIBE_TAG', '').replace('-dev', '.dev') }}
build:
skip: True # [not win]
number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }}
{% if environ.get('GIT_DESCRIBE_NUMBER', '0') == '0' %}string: py{{ environ.get('PY_VER').replace('.', '') }}_0
{% else %}string: py{{ environ.get('PY_VER').replace('.', '') }}_{{ environ.get('GIT_BUILD_STR', 'GIT_STUB') }}{% endif %}
source:
git_url: ../
requirements:
build:
- python
- setuptools
run:
- python
test:
imports:
- clr
about:
home: https://github.com/pythonnet/pythonnet
license: ZPL
| package:
name: pythonnet
version: {{ environ.get('GIT_DESCRIBE_TAG', '').replace('-dev', '.dev') }}
build:
skip: True # [not win]
number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }}
{% if environ.get('GIT_DESCRIBE_NUMBER', '0') == '0' %}string: py{{ environ.get('PY_VER').replace('.', '') }}_0
{% else %}string: py{{ environ.get('PY_VER').replace('.', '') }}_{{ environ.get('GIT_BUILD_STR', 'GIT_STUB') }}{% endif %}
source:
git_url: ../
requirements:
build:
- python
- setuptools
run:
- python
test:
imports:
- clr
about:
home: https://github.com/pythonnet/pythonnet
license: MIT
|
Add workflow_dispatch to github actions | # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python package
on:
push:
branches: [ master, tproxy_mark_param ]
pull_request:
branches: [ master, tproxy_mark_param ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-tests.txt
- name: Lint with flake8
run: |
flake8 sshuttle tests --count --show-source --statistics
- name: Test with pytest
run: |
PYTHONPATH=$PWD pytest
| # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python package
on:
push:
branches: [ master, tproxy_mark_param ]
pull_request:
branches: [ master, tproxy_mark_param ]
workflow_dispatch:
branches: [ tproxy_mark_param ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-tests.txt
- name: Lint with flake8
run: |
flake8 sshuttle tests --count --show-source --statistics
- name: Test with pytest
run: |
PYTHONPATH=$PWD pytest
|
Update TubeLab to 1.0.5 (7) | Categories:
- Internet
License: GPL-3.0-only
AuthorName: Thomas
AuthorWebSite: https://fedilab.app/
SourceCode: https://framagit.org/tom79/fedilab-tube
IssueTracker: https://framagit.org/tom79/fedilab-tube/issues
AutoName: TubeLab
RepoType: git
Repo: https://framagit.org/tom79/fedilab-tube
Builds:
- versionName: 1.0.0
versionCode: 1
commit: 1.0.0
subdir: app
gradle:
- yes
- versionName: 1.0.3
versionCode: 5
commit: 1.0.3
subdir: app
gradle:
- yes
- versionName: 1.0.4
versionCode: 6
commit: 1.0.4
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 1.0.4
CurrentVersionCode: 6
| Categories:
- Internet
License: GPL-3.0-only
AuthorName: Thomas
AuthorWebSite: https://fedilab.app/
SourceCode: https://framagit.org/tom79/fedilab-tube
IssueTracker: https://framagit.org/tom79/fedilab-tube/issues
AutoName: TubeLab
RepoType: git
Repo: https://framagit.org/tom79/fedilab-tube
Builds:
- versionName: 1.0.0
versionCode: 1
commit: 1.0.0
subdir: app
gradle:
- yes
- versionName: 1.0.3
versionCode: 5
commit: 1.0.3
subdir: app
gradle:
- yes
- versionName: 1.0.4
versionCode: 6
commit: 1.0.4
subdir: app
gradle:
- yes
- versionName: 1.0.5
versionCode: 7
commit: 1.0.5
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 1.0.5
CurrentVersionCode: 7
|
Enable the "blockchain" Ansible role. | ---
- hosts:
- local
- staging
- prod
gather_facts: yes
roles:
- { role: "common" }
- { role: "front-web", tags: ["website"] }
- { role: "app-web", tags: ["website"] }
- { role: "api-db", tags: ["website", "database"] }
- { role: "api-web", tags: ["website", "api"] }
| ---
- hosts:
- local
- staging
- prod
gather_facts: yes
roles:
- { role: "common" }
- { role: "front-web", tags: ["website"] }
- { role: "app-web", tags: ["website"] }
- { role: "api-db", tags: ["website", "database"] }
- { role: "api-web", tags: ["website", "api"] }
- { role: "blockchain", tags: ["database"] }
|
Use Install-Product instead of Update-NodeJsInstallation | # appveyor file
# http://www.appveyor.com/docs/appveyor-yml
init:
- git config --global core.autocrlf input
# what combinations to test
environment:
matrix:
- nodejs_version: 0.10
- nodejs_version: 0.11
- nodejs_version: 0.12
install:
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
- npm install -g gulp
- npm install
build: off
test_script:
- node --version
- npm --version
- ps: gulp test
- cmd: gulp test
| # appveyor file
# http://www.appveyor.com/docs/appveyor-yml
init:
- git config --global core.autocrlf input
# what combinations to test
environment:
matrix:
- nodejs_version: 0.10
- nodejs_version: 0.11
- nodejs_version: 0.12
install:
- ps: Install-Product node $env:nodejs_version x64
- npm install -g gulp
- npm install
build: off
test_script:
- node --version
- npm --version
- ps: gulp test
- cmd: gulp test
|
Fix disable patched_rpms repo task in tempest plugin | ---
- name: Install libguestfs-tools
become: yes
package:
name: libguestfs-tools
state: present
- name: Download tempest image
get_url:
dest: "~/tempest_image"
url: "{{ test.image }}"
- name: Push repos to guest image tempest will use for testing
command: "virt-copy-in -a ~/tempest_image /etc/yum.repos.d /etc/"
- name: Disable 'patched-rpms' yum repository in guest image
command: "virt-customize -a ~/tempest_image --run-command \"yum-config-manager --disable patched-rpms\""
- name: Install packages in guest image tempest will use for testing
command: "virt-customize -a ~/tempest_image --install {{ test.images.packages }} --selinux-relabel"
| ---
- name: Install libguestfs-tools
become: yes
package:
name: libguestfs-tools
state: present
- name: Download tempest image
get_url:
dest: "~/tempest_image"
url: "{{ test.image }}"
- name: Push repos to guest image tempest will use for testing
command: "virt-copy-in -a ~/tempest_image /etc/yum.repos.d /etc/"
- name: Disable 'patched-rpms' yum repository in guest image
command: "virt-customize -a ~/tempest_image --run-command \"yum-config-manager --disable patched-rpms\""
failed_when: false
- name: Install packages in guest image tempest will use for testing
command: "virt-customize -a ~/tempest_image --install {{ test.images.packages }} --selinux-relabel"
|
Bring CI config in line with howett.net/plist | stages:
- test
go-test-cover:latest:
image: golang:alpine
stage: test
script:
- go test -v -cover
coverage: '/^coverage: \d+\.\d+/'
go-test:1.6:
image: golang:1.6-alpine
stage: test
script:
- go test
go-test:1.4:
image: golang:1.4-alpine
stage: test
script:
- go test
| image: golang:alpine
stages:
- test
variables:
GO_PACKAGE: "howett.net/ranger"
before_script:
- "mkdir -p $(dirname $GOPATH/src/$GO_PACKAGE)"
- "ln -s $(pwd) $GOPATH/src/$GO_PACKAGE"
- "cd $GOPATH/src/$GO_PACKAGE"
.template:go-test: &template-go-test
stage: test
script:
- go test
go-test-cover:latest:
stage: test
script:
- go test -v -cover
coverage: '/^coverage: \d+\.\d+/'
go-test-appengine:latest:
stage: test
script:
- go test -tags appengine
go-test:1.4:
<<: *template-go-test
image: golang:1.4-alpine
|
Remove gcloud builder test that requires authorization | # In this directory, run the following command to build this builder.
# $ gcloud container builds submit . --config=cloudbuild.yaml
steps:
- name: 'gcr.io/cloud-builders/docker'
args: ['build', '--tag=gcr.io/$PROJECT_ID/gcloud', '.']
- name: 'gcr.io/$PROJECT_ID/gcloud'
args: ['info']
# Invoke a command that requires auth, to check that it gets piped through
# correctly.
- name: 'gcr.io/$PROJECT_ID/gcloud'
args: ['source', 'repos', 'clone', 'default']
images: ['gcr.io/$PROJECT_ID/gcloud']
| # In this directory, run the following command to build this builder.
# $ gcloud container builds submit . --config=cloudbuild.yaml
steps:
- name: 'gcr.io/cloud-builders/docker'
args: ['build', '--tag=gcr.io/$PROJECT_ID/gcloud', '.']
- name: 'gcr.io/$PROJECT_ID/gcloud'
args: ['info']
images: ['gcr.io/$PROJECT_ID/gcloud']
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.