Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Remove linking of dotfiles to home dir | - clean: ['~']
- link:
~/.dotfiles: ''
~/.gitconfig: gitconfig
~/.tmux.conf: tmux.conf
~/.vim: vim/
~/.vimrc: vimrc
- shell:
- [git submodule update --init --recursive, Installing submodules]
| - clean: ['~']
- link:
~/.gitconfig: gitconfig
~/.tmux.conf: tmux.conf
~/.vim: vim/
~/.vimrc: vimrc
- shell:
- [git submodule update --init --recursive, Installing submodules]
|
Fix port name of alertmanager svc in prometheus config | apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metadata:
name: prow
namespace: prow-monitoring
spec:
replicas: 2
storage:
volumeClaimTemplate:
metadata:
name: prometheus
spec:
accessModes:
- "ReadWriteOnce"
storageClassName: "standard"
resources:
requests:
storage: 100Gi
retention: "30d"
serviceAccountName: prometheus-prow
alerting:
alertmanagers:
- namespace: prow-monitoring
name: alertmanager
port: web
enableAdminAPI: false
ruleSelector:
matchLabels:
role: alert-rules
prometheus: prow
serviceMonitorSelector:
matchExpressions:
- key: app
operator: Exists
version: v2.7.1
baseImage: docker.io/prom/prometheus
externalLabels: {}
listenLocal: false
nodeSelector: {}
securityContext:
fsGroup: 2000
runAsNonRoot: true
runAsUser: 1000
| apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metadata:
name: prow
namespace: prow-monitoring
spec:
replicas: 2
storage:
volumeClaimTemplate:
metadata:
name: prometheus
spec:
accessModes:
- "ReadWriteOnce"
storageClassName: "standard"
resources:
requests:
storage: 100Gi
retention: "30d"
serviceAccountName: prometheus-prow
alerting:
alertmanagers:
- namespace: prow-monitoring
name: alertmanager
port: http
enableAdminAPI: false
ruleSelector:
matchLabels:
role: alert-rules
prometheus: prow
serviceMonitorSelector:
matchExpressions:
- key: app
operator: Exists
version: v2.7.1
baseImage: docker.io/prom/prometheus
externalLabels: {}
listenLocal: false
nodeSelector: {}
securityContext:
fsGroup: 2000
runAsNonRoot: true
runAsUser: 1000
|
Correct error in build image | build: target/
privileged: true
targets:
build:
- docker build latest/
release:
files:
- $GIT_SSH_KEY:/root/.ssh/id_rsa:0600
run: bash construi/release/script.sh
| build: latest
privileged: true
targets:
build:
- docker build latest/
release:
files:
- $GIT_SSH_KEY:/root/.ssh/id_rsa:0600
run: bash construi/release/script.sh
|
Add GitHub action job for connectedCheck | name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build the project
run: ./gradlew build
| name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: Build the project
run: ./gradlew build
connectedCheck:
runs-on: macos-latest
strategy:
matrix:
api-level: [21, 23, 29]
target: [default, google_apis]
steps:
- name: checkout
uses: actions/checkout@v2
- name: run connectedCheck
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
target: ${{ matrix.target }}
arch: x86_64
profile: Nexus 6
script: ./gradlew connectedCheck
|
Fix error when installing from ansible-galaxy and github | ---
galaxy_info:
author: kosssi
description: Install phpStorm.
min_ansible_version: 1.4
license: MIT
platforms:
- name: Ubuntu
versions:
- all
categories:
- system
- development
- web
| ---
galaxy_info:
author: kosssi
description: Install phpStorm.
min_ansible_version: 1.4
license: MIT
platforms:
- name: Ubuntu
versions:
- all
categories:
- system
- development
- web
dependencies: [] |
Update github action to use jdk 18 | name: Build and Test
on:
pull_request:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@859c33240bd026ce8d5f711f5adcc65c2f8eafc1
- name: Build with Gradle
run: ./gradlew --no-daemon build bootJar | name: Build and Test
on:
pull_request:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 18
uses: actions/setup-java@v3
with:
java-version: '18'
distribution: 'adopt'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@859c33240bd026ce8d5f711f5adcc65c2f8eafc1
- name: Build with Gradle
run: ./gradlew --no-daemon build bootJar |
Add Github auth to CI | name: "Unit tests"
on:
pull_request:
branches:
- "master"
push:
branches:
- "master"
jobs:
unit-test:
name: "Unit tests"
runs-on: "ubuntu-20.04"
strategy:
matrix:
php-version:
- "7.4"
- "8.0"
dependencies:
- "highest"
- "lowest"
steps:
- name: "Checkout"
uses: "actions/checkout@v2"
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php-version }}"
- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v1"
with:
dependency-versions: "${{ matrix.dependencies }}"
- name: "Run PHPUnit"
run: "composer test"
| name: "Unit tests"
on:
pull_request:
branches:
- "master"
push:
branches:
- "master"
jobs:
unit-test:
name: "Unit tests"
runs-on: "ubuntu-20.04"
strategy:
matrix:
php-version:
- "7.4"
- "8.0"
dependencies:
- "highest"
- "lowest"
steps:
- name: "Checkout"
uses: "actions/checkout@v2"
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php-version }}"
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v1"
with:
dependency-versions: "${{ matrix.dependencies }}"
- name: "Run PHPUnit"
run: "composer test"
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Set bundler to deployment mode in CI | version: v1.0
name: Test ETModel
agent:
machine:
type: e1-standard-2
os_image: ubuntu2004
blocks:
- name: RSpec
task:
env_vars:
- name: DATABASE_URL
value: mysql2://root@localhost/etmodel_test?pool=5&encoding=utf8mb4
- name: RAILS_ENV
value: test
- name: BUNDLE_JOBS
value: '4'
- name: CI
value: 'true'
jobs:
- name: Test
commands:
- checkout
- sem-service start mysql 8
- cache restore
- bundle install --local deployment 'true' --local path 'vendor/bundle'
- yarn install
- cache store
- cat /dev/null > config/database.yml
- bundle exec rails webpacker:compile
- bundle exec rails db:setup
- bundle exec rspec --format RspecJunitFormatter --out junit.xml --format progress
epilogue:
always:
commands:
- test-results publish junit.xml
promotions:
- name: Deploy to staging
pipeline_file: deploy_staging.yml
auto_promote:
when: "result = 'passed' and branch = 'master'"
- name: Deploy to production
pipeline_file: deploy_production.yml
auto_promote:
when: "result = 'passed' and branch = 'production'"
| version: v1.0
name: Test ETModel
agent:
machine:
type: e1-standard-2
os_image: ubuntu2004
blocks:
- name: RSpec
task:
env_vars:
- name: DATABASE_URL
value: mysql2://root@localhost/etmodel_test?pool=5&encoding=utf8mb4
- name: RAILS_ENV
value: test
- name: BUNDLE_JOBS
value: '4'
- name: CI
value: 'true'
jobs:
- name: Test
commands:
- checkout
- sem-service start mysql 8
- cache restore
- bundle config set --local deployment 'true'
- bundle install
- yarn install
- cache store
- cat /dev/null > config/database.yml
- bundle exec rails webpacker:compile
- bundle exec rails db:setup
- bundle exec rspec --format RspecJunitFormatter --out junit.xml --format progress
epilogue:
always:
commands:
- test-results publish junit.xml
promotions:
- name: Deploy to staging
pipeline_file: deploy_staging.yml
auto_promote:
when: "result = 'passed' and branch = 'master'"
- name: Deploy to production
pipeline_file: deploy_production.yml
auto_promote:
when: "result = 'passed' and branch = 'production'"
|
Fix Go1.10 version in workflows | name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
strategy:
matrix:
go-version: [1.14, 1.15]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
- name: Test
run: go test -race -v ./... -coverprofile=coverage.txt -covermode=atomic
- name: Codecov
uses: codecov/codecov-action@v1.2.1
with:
files: coverage.txt
backward-compatibility-test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.7, 1.8, 1.9, 1.10]
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Test
run: go test -race -v ./...
| name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
strategy:
matrix:
go-version: [1.14, 1.15]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Test
run: go test -race -v ./... -coverprofile=coverage.txt -covermode=atomic
- name: Codecov
uses: codecov/codecov-action@v1.2.1
with:
files: coverage.txt
backward-compatibility-test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.7, 1.8, 1.9, "1.10"]
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Test
run: go test -race -v ./...
|
Add python lower bound in logrun recipe | {% set name = "logrun" %}
{% set version = "0.1.2" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/logrun-{{ version }}.tar.gz
sha256: ee5c1bbebde011bd0ce4305411dd1d320872bdcfe4c30044936e473ba5d170ff
build:
number: 0
noarch: python
script: {{ PYTHON }} -m pip install . -vv
requirements:
host:
- pip
- python
run:
- dill
- gitpython
- psutil
- python
- python-xxhash
test:
imports:
- logrun
- logrun.utils
commands:
- pip check
requires:
- pip
about:
home: https://github.com/dccsillag/logrun
summary: A convenient experiment logging package for Python
license: MIT
license_file: LICENSE
extra:
recipe-maintainers:
- dccsillag
| {% set name = "logrun" %}
{% set version = "0.1.2" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/logrun-{{ version }}.tar.gz
sha256: ee5c1bbebde011bd0ce4305411dd1d320872bdcfe4c30044936e473ba5d170ff
build:
number: 0
noarch: python
script: {{ PYTHON }} -m pip install . -vv
requirements:
host:
- pip
- python >=3.6
run:
- dill
- gitpython
- psutil
- python >=3.6
- python-xxhash
test:
imports:
- logrun
- logrun.utils
commands:
- pip check
requires:
- pip
about:
home: https://github.com/dccsillag/logrun
summary: A convenient experiment logging package for Python
license: MIT
license_file: LICENSE
extra:
recipe-maintainers:
- dccsillag
|
Use the correct highlighter supported in gh-pages | defaults:
-
scope:
path: ""
values:
layout: default
-
scope:
path: "docs"
values:
layout: docs
tab: docs
sass:
sass_dir: _sass
style: :compressed
baseurl: "/marathon"
highlighter: pygments
lsi: false
markdown: kramdown
kramdown:
extensions: [with_toc_data, tables]
safe: true
source: .
exclude: [vendor/bundle]
| defaults:
-
scope:
path: ""
values:
layout: default
-
scope:
path: "docs"
values:
layout: docs
tab: docs
sass:
sass_dir: _sass
style: :compressed
baseurl: "/marathon"
highlighter: rouge
lsi: false
markdown: kramdown
kramdown:
extensions: [with_toc_data, tables]
safe: true
source: .
exclude: [vendor/bundle]
|
Update from Forestry.io - Updated Forestry configuration | ---
new_page_extension: md
auto_deploy: false
admin_path: ''
webhook_url:
sections:
- type: heading
label: JTemporal
- type: jekyll-posts
label: Posts
create: all
- type: jekyll-pages
label: Pages
create: all
- type: heading
label: Tema
- type: directory
path: _layouts
label: Layouts
create: documents
match: "**/*"
new_doc_ext: html
- type: directory
path: _includes
label: Includes
create: documents
match: "**/*"
new_doc_ext: html
upload_dir: images
public_path: images
front_matter_path: images
use_front_matter_path: true
file_template: ":filename:"
instant_preview: true
build:
preview_command: 'bundle exec jekyll build --config _dev_config.yml --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
instant_preview_command: bundle exec jekyll serve --config _dev_config.yml --drafts
--unpublished --future --port 8080 --host 0.0.0.0 -d _site
install_dependencies_command: bundle install --path vendor/bundle
preview_docker_image: forestryio/ruby:2.6
mount_path: "/srv"
| ---
new_page_extension: md
auto_deploy: false
admin_path: ''
webhook_url:
sections:
- type: heading
label: JTemporal
- type: jekyll-posts
label: Posts
create: all
- type: jekyll-pages
label: Pages
create: all
- type: heading
label: Tema
- type: directory
path: _layouts
label: Layouts
create: documents
match: "**/*"
new_doc_ext: html
- type: directory
path: _includes
label: Includes
create: documents
match: "**/*"
new_doc_ext: html
upload_dir: images
public_path: ''
front_matter_path: images
use_front_matter_path: true
file_template: ":filename:"
instant_preview: true
build:
preview_command: 'bundle exec jekyll build --config _dev_config.yml --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
instant_preview_command: bundle exec jekyll serve --config _dev_config.yml --drafts
--unpublished --future --port 8080 --host 0.0.0.0 -d _site
install_dependencies_command: bundle install --path vendor/bundle
preview_docker_image: forestryio/ruby:2.6
mount_path: "/srv"
|
Reduce desired code cov value | codecov:
ci:
- travis-ci
coverage:
range: 80..100
round: nearest
precision: 2 | codecov:
ci:
- travis-ci
coverage:
range: 60..90
round: nearest
precision: 2 |
Disable `Metrics/BlockLength` for spec files and gemspec | inherit_from: .rubocop_todo.yml
| inherit_from: .rubocop_todo.yml
Metrics/BlockLength:
Exclude:
- 'spec/**/*.rb'
- 'googleauth.gemspec'
|
Save the port binary as an artifact on Appveyor | version: build{build}
install:
- cinst elixir
- cinst mingw
- SET PATH=C:\ProgramData\chocolatey\lib\Elixir\bin;C:\tools\mingw64\bin;%PATH%
build_script:
- mix local.hex --force
- mix deps.get
- mix compile
- mix test test/uartless_test.exs
| version: build{build}
install:
- cinst elixir
- cinst mingw
- SET PATH=C:\ProgramData\chocolatey\lib\Elixir\bin;C:\tools\mingw64\bin;%PATH%
build_script:
- mix local.hex --force
- mix deps.get
- mix compile
- mix test test/uartless_test.exs
artifacts:
- path: priv/nerves_uart.exe
|
Build directory now canonical `build` (which is in .gitignore) | version: 0.8.{build}
environment:
matrix:
# array of all environments used to test builds
- GENERATOR: Visual Studio 14 2015
CFG: Debug
- GENERATOR: Visual Studio 12 2013
CFG: Debug
- GENERATOR: Visual Studio 14 2015 Win64
CFG: Debug
- GENERATOR: Visual Studio 12 2013 Win64
CFG: Debug
cache:
- "%LocalAppData%\\pip"
- "C:\\Python27\\Lib\\site-packages"
build:
parallel: true
build_script:
# enable calling pip directly
- cmd: set PATH=%SystemDrive%\Python27\Scripts;%PATH%
- cmd: pip install autobahntestsuite
- cmd: wstest --autobahnversion
- cmd: cmake --version
- cmd: md builds
- cmd: cd builds
- cmd: cmake -G "%GENERATOR%" -DWS_AUTOBAHN_TESTS=ON ..
- cmd: cmake --build .
test_script:
- cmd: ctest --output-on-failure -C "%CFG%"
| version: 0.8.{build}
environment:
matrix:
# array of all environments used to test builds
- GENERATOR: Visual Studio 14 2015
CFG: Debug
- GENERATOR: Visual Studio 12 2013
CFG: Debug
- GENERATOR: Visual Studio 14 2015 Win64
CFG: Debug
- GENERATOR: Visual Studio 12 2013 Win64
CFG: Debug
cache:
- "%LocalAppData%\\pip"
- "C:\\Python27\\Lib\\site-packages"
build:
parallel: true
build_script:
# enable calling pip directly
- cmd: set PATH=%SystemDrive%\Python27\Scripts;%PATH%
- cmd: pip install autobahntestsuite
- cmd: wstest --autobahnversion
- cmd: cmake --version
- cmd: md build
- cmd: cd build
- cmd: cmake -G "%GENERATOR%" -DWS_AUTOBAHN_TESTS=ON ..
- cmd: cmake --build .
test_script:
- cmd: ctest --output-on-failure -C "%CFG%"
|
Change Vulkan SDK download link | image: Visual Studio 2017
version: 0.1.0+{build}
install:
- appveyor DownloadFile https://vulkan.lunarg.com/sdk/home#sdk/downloadConfirm/1.0.61.1/windows/VulkanSDK-1.0.61.1-Installer.exe
- VulkanSDK-1.0.61.1-Installer.exe /S
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
build_script:
- mkdir build
- cd build
- cmake .. -G "Visual Studio 15 Win64"
- cmake --build .
| image: Visual Studio 2017
version: 0.1.0+{build}
install:
- appveyor DownloadFile https://vulkan.lunarg.com/sdk/download/1.0.61.1/windows/VulkanSDK-1.0.61.1-Installer.exe
- VulkanSDK-1.0.61.1-Installer.exe /S
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
build_script:
- mkdir build
- cd build
- cmake .. -G "Visual Studio 15 Win64"
- cmake --build .
|
Enable JDK 11 for AppVeyor | # Configuration for Appveyor CI
version: '{build}'
image: Visual Studio 2017
clone_depth: 10000
# branches to build
branches:
# whitelist
only:
- master
- new-master
- javadoc
- /^branch-.*$/
- /^[0-9]+-.*$/
matrix:
fast_finish: true
environment:
matrix:
- JAVA_HOME: C:\Program Files\Java\jdk1.8.0
- JAVA_HOME: C:\Program Files\Java\jdk9
- JAVA_HOME: C:\Program Files\Java\jdk10
build_script:
- mvn clean -V install -DskipTests -Dmaven.javadoc.skip=true -Djavax.net.ssl.trustStorePassword=changeit
test_script:
- mvn -Dsurefire.useFile=false -Djavax.net.ssl.trustStorePassword=changeit verify javadoc:javadoc javadoc:test-javadoc
cache:
- C:\maven\
- C:\Users\appveyor\.m2
# End .appveyor.yml
| # Configuration for Appveyor CI
version: '{build}'
image: Visual Studio 2017
clone_depth: 10000
# branches to build
branches:
# whitelist
only:
- master
- new-master
- javadoc
- /^branch-.*$/
- /^[0-9]+-.*$/
matrix:
fast_finish: true
environment:
matrix:
- JAVA_HOME: C:\Program Files\Java\jdk1.8.0
- JAVA_HOME: C:\Program Files\Java\jdk9
- JAVA_HOME: C:\Program Files\Java\jdk10
- JAVA_HOME: C:\Program Files\Java\jdk11
build_script:
- mvn clean -V install -DskipTests -Dmaven.javadoc.skip=true -Djavax.net.ssl.trustStorePassword=changeit
test_script:
- mvn -Dsurefire.useFile=false -Djavax.net.ssl.trustStorePassword=changeit verify javadoc:javadoc javadoc:test-javadoc
cache:
- C:\maven\
- C:\Users\appveyor\.m2
# End .appveyor.yml
|
Add ecosystem.json to mounted volumes/files | version: '2.0'
services:
app:
# image: divante/vue-storefront:latest
build:
context: .
dockerfile: docker/vue-storefront/Dockerfile
env_file: docker/vue-storefront/default.env
environment:
VS_ENV: dev
volumes:
- '.babelrc:/var/www/.babelrc'
- './config:/var/www/config'
- './core:/var/www/core'
- './.eslintignore:/var/www/.eslintignore'
- './.eslintrc.js:/var/www/.eslintrc.js'
- './lerna.json:/var/www/lerna.json'
- './package.json:/var/www/package.json'
- './src:/var/www/src'
- './var:/var/www/var'
tmpfs:
- /var/www/dist
ports:
- '3000:3000'
| version: '2.0'
services:
app:
# image: divante/vue-storefront:latest
build:
context: .
dockerfile: docker/vue-storefront/Dockerfile
env_file: docker/vue-storefront/default.env
environment:
VS_ENV: dev
volumes:
- '.babelrc:/var/www/.babelrc'
- './config:/var/www/config'
- './core:/var/www/core'
- './ecosystem.json:/var/www/ecosystem.json'
- './.eslintignore:/var/www/.eslintignore'
- './.eslintrc.js:/var/www/.eslintrc.js'
- './lerna.json:/var/www/lerna.json'
- './package.json:/var/www/package.json'
- './src:/var/www/src'
- './var:/var/www/var'
tmpfs:
- /var/www/dist
ports:
- '3000:3000'
|
Add max_allow_packet to mysql container. | version: '3.4'
services:
web:
image: mozmeao/kitsune:base-dev-latest
command: ./manage.py runserver 0.0.0.0:8000
user: ${UID:-kitsune}
depends_on:
- mariadb
- elasticsearch
- redis
ports:
- "8000:8000"
mariadb:
image: mariadb:10.0
environment:
- MYSQL_ROOT_PASSWORD=kitsune
- MYSQL_USER=kitsune
- MYSQL_PASSWORD=kitsune
- MYSQL_DATABASE=kitsune
entrypoint:
- docker-entrypoint.sh
- --character-set-server=utf8
- --collation-server=utf8_unicode_ci
volumes:
- mysqlvolume:/var/lib/mysql
elasticsearch:
image: elasticsearch:2.4
redis:
image: redis:3
volumes:
mysqlvolume:
| version: '3.4'
services:
web:
image: mozmeao/kitsune:base-dev-latest
command: ./manage.py runserver 0.0.0.0:8000
user: ${UID:-kitsune}
depends_on:
- mariadb
- elasticsearch
- redis
ports:
- "8000:8000"
mariadb:
image: mariadb:10.0
environment:
- MYSQL_ROOT_PASSWORD=kitsune
- MYSQL_USER=kitsune
- MYSQL_PASSWORD=kitsune
- MYSQL_DATABASE=kitsune
entrypoint:
- docker-entrypoint.sh
- --character-set-server=utf8
- --collation-server=utf8_unicode_ci
- --max_allowed_packet=1073741824
volumes:
- mysqlvolume:/var/lib/mysql
elasticsearch:
image: elasticsearch:2.4
redis:
image: redis:3
volumes:
mysqlvolume:
|
Update platforms and config format | ---
driver:
name: vagrant
provisioner:
name: chef_zero
driver_config:
require_chef_omnibus: true
platforms:
- name: centos-5.11
- name: centos-6.6
- name: centos-7.1
- name: debian-6.0.10
run_list:
- recipe[apt]
- name: debian-7.8
run_list:
- recipe[apt]
- name: fedora-20
- name: fedora-21
- name: ubuntu-12.04
run_list:
- recipe[apt]
- name: ubuntu-14.04
run_list:
- recipe[apt]
suites:
- name: default
run_list:
- recipe[stompserver::default]
| driver:
name: vagrant
provisioner:
name: chef_zero
platforms:
- name: centos-5.11
- name: centos-6.7
- name: centos-7.1
- name: debian-7.8
run_list:
- recipe[apt]
- name: debian-8.1
run_list:
- recipe[apt]
- name: fedora-21
- name: ubuntu-12.04
run_list:
- recipe[apt::default]
- name: ubuntu-14.04
run_list:
- recipe[apt::default]
suites:
- name: default
run_list:
- recipe[stompserver::default]
|
Change debian tasks file style and add become statement | ---
# Debian install tasks
- name : Install sudo (Debian)
apt :
name : "{{ item }}"
state : present
update_cache : True
cache_valid_time : 3600
with_items : "{{ account_management_packages }}"
| ---
# Debian install tasks
- name: Install account management packages
become: True
apt:
name: "{{ item }}"
state: present
update_cache: True
cache_valid_time: 3600
with_items: "{{ account_management_packages }}"
|
Work around geerlingguy.jenkins' issues with Jenkins 2.0 | ---
- hosts: vagrant
# The unit tests expect that a basic installation is present, because they
# limit the role application to the part they're testing with tags.
roles:
- solita.jenkins
tasks:
- apt: name={{ item }} state=present
become: yes
with_items:
- ruby-dev
- g++
- command: gem install bundler
become: yes
- command: bundle install
args:
chdir: /solita.jenkins/test
| ---
- hosts: vagrant
pre_tasks:
# Work around https://github.com/geerlingguy/ansible-role-jenkins/issues/47
- name: Fetch Jenkins 1.658
get_url:
url: http://pkg.jenkins-ci.org/debian/binary/jenkins_1.658_all.deb
dest: /tmp/jenkins_1.658_all.deb
- name: Install Jenkins 1.658
apt: deb=/tmp/jenkins_1.658_all.deb
become: yes
# The unit tests expect that a basic installation is present, because they
# limit the role application to the part they're testing with tags.
roles:
- solita.jenkins
tasks:
- apt: name={{ item }} state=present
become: yes
with_items:
- ruby-dev
- g++
- command: gem install bundler
become: yes
- command: bundle install
args:
chdir: /solita.jenkins/test
|
Enable MBSync plugin to update metadata | directory: ~/media/music
library: ~/media/music/musiclibrary.blb
asciify_paths: yes
import:
move: no
languages: en
plugins: >
chroma
fromfilename
fetchart
fetchart:
store_source: yes
| directory: ~/media/music
library: ~/media/music/musiclibrary.blb
asciify_paths: yes
import:
move: no
languages: en
plugins: >
chroma
fromfilename
fetchart
mbsync
fetchart:
store_source: yes
|
Increase max of line length | inherit_from: .rubocop_todo.yml
Metrics/LineLength:
Exclude:
- 'redmine_activity.gemspec'
- 'spec/**/*'
Style/PercentLiteralDelimiters:
Enabled: false
Style/UnneededPercentQ:
Enabled: false
| inherit_from: .rubocop_todo.yml
Metrics/LineLength:
Max: 100
Exclude:
- 'redmine_activity.gemspec'
- 'spec/**/*'
Style/PercentLiteralDelimiters:
Enabled: false
Style/UnneededPercentQ:
Enabled: false
|
Expand constraint on package_config dependency. | name: mockito
version: 5.0.0-nullsafety.6
description: A mock framework inspired by Mockito.
homepage: https://github.com/dart-lang/mockito
environment:
sdk: '>=2.12.0-0 <3.0.0'
dependencies:
analyzer: '>=0.39.15 <0.42.0'
build: ^1.3.0
code_builder: ^3.4.0
collection: ^1.15.0-nullsafety.5
dart_style: ^1.3.6
matcher: ^0.12.10-nullsafety.3
meta: ^1.3.0-nullsafety
path: ^1.8.0-nullsafety.3
source_gen: ^0.9.6
test_api: ^0.2.19-nullsafety
dev_dependencies:
build_runner: ^1.0.0
build_test: ^1.1.0
build_web_compilers: '>=1.0.0 <3.0.0'
http: ^0.13.0-nullsafety.0
package_config: ^2.0.0-nullsafety.0
pedantic: ^1.10.0-nullsafety
test: ^1.16.0-nullsafety.12
| name: mockito
version: 5.0.0-nullsafety.6
description: A mock framework inspired by Mockito.
homepage: https://github.com/dart-lang/mockito
environment:
sdk: '>=2.12.0-0 <3.0.0'
dependencies:
analyzer: '>=0.39.15 <0.42.0'
build: ^1.3.0
code_builder: ^3.4.0
collection: ^1.15.0-nullsafety.5
dart_style: ^1.3.6
matcher: ^0.12.10-nullsafety.3
meta: ^1.3.0-nullsafety
path: ^1.8.0-nullsafety.3
source_gen: ^0.9.6
test_api: ^0.2.19-nullsafety
dev_dependencies:
build_runner: ^1.0.0
build_test: ^1.1.0
build_web_compilers: '>=1.0.0 <3.0.0'
http: ^0.13.0-nullsafety.0
package_config: '>=1.9.3 <3.0.0'
pedantic: ^1.10.0-nullsafety
test: ^1.16.0-nullsafety.12
|
Remove errant option on password modification action | ---
# this is a demo of how the user commands work and how to reference salted passwords
# in vars sections. You could also use vars_files if you like (see other examples)
- hosts: all
user: root
vars:
# created with:
# crypt.crypt('This is my Password', '$1$SomeSalt')
password: $1$SomeSalt$UqddPX3r4kH3UL5jq5/ZI.
tasks:
# Walk through account creation, modification, and deletion
- name: test basic user account creation
action: user name=tset comment=TsetUser group=users shell=/sbin/nologin createhome=no
# the following is just a simple example of how you don't have to include
# the 'name' element for each task
- action: user name=tset comment=NyetUser
- action: user name=tset password=$password supplementary
# The following will add the user to supplementary groups.
# Add the user to the groups dialout and uucp.
- action: user name=tset groups=dialout,uucp
# Add the user to the groups dialout and wheel,
# This will remove tset from the group uucp.
- action: user name=tset groups=dialout,wheel
# Add the user to the group uucp. Because append=yes, the user
# will not be removed from the groups dialout and wheel.
- action: user name=tset groups=uucp append=yes
# Finally, remove the user.
- action: user name=tset state=absent
| ---
# this is a demo of how the user commands work and how to reference salted passwords
# in vars sections. You could also use vars_files if you like (see other examples)
- hosts: all
user: root
vars:
# created with:
# crypt.crypt('This is my Password', '$1$SomeSalt')
password: $1$SomeSalt$UqddPX3r4kH3UL5jq5/ZI.
tasks:
# Walk through account creation, modification, and deletion
- name: test basic user account creation
action: user name=tset comment=TsetUser group=users shell=/sbin/nologin createhome=no
# the following is just a simple example of how you don't have to include
# the 'name' element for each task
- action: user name=tset comment=NyetUser
- action: user name=tset password=$password
# The following will add the user to supplementary groups.
# Add the user to the groups dialout and uucp.
- action: user name=tset groups=dialout,uucp
# Add the user to the groups dialout and wheel,
# This will remove tset from the group uucp.
- action: user name=tset groups=dialout,wheel
# Add the user to the group uucp. Because append=yes, the user
# will not be removed from the groups dialout and wheel.
- action: user name=tset groups=uucp append=yes
# Finally, remove the user.
- action: user name=tset state=absent
|
Update SimpleLogin to 1.8 (14) | Categories:
- Internet
License: Apache-2.0
AuthorName: SimpleLogin
AuthorEmail: hi@simplelogin.io
AuthorWebSite: https://simplelogin.io/
WebSite: https://simplelogin.io/
SourceCode: https://github.com/simple-login/Simple-Login-Android
IssueTracker: https://github.com/simple-login/Simple-Login-Android/issues
AutoName: SimpleLogin
RepoType: git
Repo: https://github.com/simple-login/Simple-Login-Android
Builds:
- versionName: 1.4-fdroid
versionCode: 5
commit: '1.4'
subdir: SimpleLogin/app
gradle:
- fdroid
- versionName: 1.4.1
versionCode: 6
commit: 1.4.1
subdir: SimpleLogin/app
gradle:
- fdroid
- versionName: '1.7'
versionCode: 13
commit: '1.7'
subdir: SimpleLogin/app
gradle:
- fdroid
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: '1.7'
CurrentVersionCode: 13
| Categories:
- Internet
License: Apache-2.0
AuthorName: SimpleLogin
AuthorEmail: hi@simplelogin.io
AuthorWebSite: https://simplelogin.io/
WebSite: https://simplelogin.io/
SourceCode: https://github.com/simple-login/Simple-Login-Android
IssueTracker: https://github.com/simple-login/Simple-Login-Android/issues
AutoName: SimpleLogin
RepoType: git
Repo: https://github.com/simple-login/Simple-Login-Android
Builds:
- versionName: 1.4-fdroid
versionCode: 5
commit: '1.4'
subdir: SimpleLogin/app
gradle:
- fdroid
- versionName: 1.4.1
versionCode: 6
commit: 1.4.1
subdir: SimpleLogin/app
gradle:
- fdroid
- versionName: '1.7'
versionCode: 13
commit: '1.7'
subdir: SimpleLogin/app
gradle:
- fdroid
- versionName: '1.8'
versionCode: 14
commit: '1.8'
subdir: SimpleLogin/app
gradle:
- fdroid
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: '1.8'
CurrentVersionCode: 14
|
Set PHP version environment variable | name: ci
on:
push:
branches:
- master
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.0']
steps:
- name: set up php
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: checkout
uses: actions/checkout@v2
- run: |
bash tests/before_script.sh
bash tests/script.sh
| name: ci
on:
push:
branches:
- master
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.0']
steps:
- name: set up php
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: checkout
uses: actions/checkout@v2
- run: |
bash tests/before_script.sh
bash tests/script.sh
env:
TRAVIS_PHP_VERSION: ${{ matrix.php }}
|
Disable cache if package.json changes | environment:
nodejs_version: "6"
install:
- ps: Install-Product node 6
- "npm -g install npm@latest"
- "set PATH=%APPDATA%\\npm;%PATH%"
- "npm install --no-optional"
cache:
- "node_modules"
- "%APPDATA%\\npm-cache"
build: off
test_script:
- "node --version"
- "npm --version"
- "npm test"
| environment:
nodejs_version: "6"
install:
- ps: Install-Product node 6
- "npm -g install npm@latest"
- "set PATH=%APPDATA%\\npm;%PATH%"
- "npm install --no-optional"
cache:
- "node_modules -> package.json"
- "%APPDATA%\\npm-cache -> package.json"
build: off
test_script:
- "node --version"
- "npm --version"
- "npm test"
|
Enable AppVeyor only for master/develop and PRs | environment:
matrix:
- configuration: Release
# - configuration: Debug
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf input
os: Visual Studio 2015
# clone directory
clone_folder: c:\projects\osrm
platform: x64
build_script:
- CALL appveyor-build.bat
test: off
artifacts:
- path: osrm_Release.zip
name: osrm_Release.zip
# - path: osrm_Debug.zip
# name: osrm_Debug.zip
deploy:
provider: FTP
server:
secure: ef7oiQTTXFGt8NdNiOHm/uRFVrUttzyFbIlnaeHhQvw=
username:
secure: Bw+Se2GTJxA6+GtRkEc//tQSBHOuFIuJHBjFwR9cD+8=
password:
secure: eqwESZqxMXC/j5mOCpaXuw==
folder: /
enable_ssl: true
active_mode: false
# notifications:
# - provider: HipChat
# auth_token:
# secure: boLE7BjcahdIUxv9jkN7U3F8iOASF+MkhtctlVoWJoo=
# room: Directions
| environment:
matrix:
- configuration: Release
# - configuration: Debug
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf input
os: Visual Studio 2015
# clone directory
clone_folder: c:\projects\osrm
platform: x64
build_script:
- CALL appveyor-build.bat
test: off
artifacts:
- path: osrm_Release.zip
name: osrm_Release.zip
# - path: osrm_Debug.zip
# name: osrm_Debug.zip
branches:
only:
- master
- develop
deploy:
provider: FTP
server:
secure: ef7oiQTTXFGt8NdNiOHm/uRFVrUttzyFbIlnaeHhQvw=
username:
secure: Bw+Se2GTJxA6+GtRkEc//tQSBHOuFIuJHBjFwR9cD+8=
password:
secure: eqwESZqxMXC/j5mOCpaXuw==
folder: /
enable_ssl: true
active_mode: false
# notifications:
# - provider: HipChat
# auth_token:
# secure: boLE7BjcahdIUxv9jkN7U3F8iOASF+MkhtctlVoWJoo=
# room: Directions
|
Use full path to PHP | clone_folder: c:\projects\gears\string
install:
- cinst php
- php -r "copy('https://getcomposer.org/composer.phar', '%SystemRoot%\composer');"
build_script:
- cd c:\projects\gears\string && composer install
test_script:
- cd c:\projects\gears\string && .\vendor\bin\robo test
deploy: off
| clone_folder: c:\projects\gears\string
install:
- cinst php
- c:\tools\php\php.exe -r "copy('https://getcomposer.org/composer.phar', '%SystemRoot%\composer');"
build_script:
- cd c:\projects\gears\string && composer install
test_script:
- cd c:\projects\gears\string && .\vendor\bin\robo test
deploy: off
|
Update from Hackage at 2017-06-12T21:36:48Z | homepage: https://github.com/swift-nav/loup
changelog-type: ''
hash: 4ddb7b43057e07174b49e2c306764d241ed9a1c1c892c4dca44d575c0534efef
test-bench-deps: {}
maintainer: Mark Fine <dev@swiftnav.com>
synopsis: Amazon Simple Workflow Service Wrapper for Work Pools.
changelog: ''
basic-deps:
amazonka: -any
bytestring: -any
optparse-generic: -any
base: ==4.8.*
time: -any
shakers: -any
unordered-containers: -any
uuid: -any
preamble: -any
monad-control: -any
lifted-base: -any
conduit: -any
turtle: -any
loup: -any
lifted-async: -any
amazonka-swf: -any
aeson: -any
yaml: -any
all-versions:
- '0.0.1'
- '0.0.2'
- '0.0.3'
author: Swift Navigation Inc.
latest: '0.0.3'
description-type: haddock
description: Loup is a wrapper around Amazon Simple Workflow Service for Work Pools.
license-name: MIT
| homepage: https://github.com/swift-nav/loup
changelog-type: ''
hash: 741833124c5028599f250cf6fd6c102614036323e6ee0d7e7c0ebca09f4c3b05
test-bench-deps: {}
maintainer: Mark Fine <dev@swiftnav.com>
synopsis: Amazon Simple Workflow Service Wrapper for Work Pools.
changelog: ''
basic-deps:
amazonka: -any
bytestring: -any
optparse-generic: -any
base: ==4.8.*
time: -any
shakers: -any
unordered-containers: -any
uuid: -any
preamble: -any
monad-control: -any
lifted-base: -any
conduit: -any
turtle: -any
loup: -any
lifted-async: -any
amazonka-swf: -any
aeson: -any
yaml: -any
all-versions:
- '0.0.1'
- '0.0.2'
- '0.0.3'
- '0.0.4'
author: Swift Navigation Inc.
latest: '0.0.4'
description-type: haddock
description: Loup is a wrapper around Amazon Simple Workflow Service for Work Pools.
license-name: MIT
|
Add configs before installing services. Some get started automatically | ---
- include: kube_files.yml
become: true
become_user: root
- include: "{{ item }}"
with_first_found:
- files:
- "packages_{{ ansible_distribution|lower }}_{{ ansible_distribution_release|lower }}.yml"
- "packages_{{ ansible_distribution|lower }}.yml"
- "packages_{{ ansible_os_family|lower }}.yml"
skip: true
become: true
become_user: root
- include: docker_groups.yml
become: true
become_user: root
- include: romana_cni.yml
become: true
become_user: root
- include: "service_configs_{{ ansible_service_mgr }}.yml"
become: true
become_user: root
- include: start_services.yml
become: true
become_user: root
| ---
- include: kube_files.yml
become: true
become_user: root
- include: "service_configs_{{ ansible_service_mgr }}.yml"
become: true
become_user: root
- include: "{{ item }}"
with_first_found:
- files:
- "packages_{{ ansible_distribution|lower }}_{{ ansible_distribution_release|lower }}.yml"
- "packages_{{ ansible_distribution|lower }}.yml"
- "packages_{{ ansible_os_family|lower }}.yml"
skip: true
become: true
become_user: root
- include: docker_groups.yml
become: true
become_user: root
- include: romana_cni.yml
become: true
become_user: root
- include: start_services.yml
become: true
become_user: root
|
Add svn as an install candidate for the Ubuntu 14 hosts. | ---
classes:
- base
ldapclient::ldapclient_packages:
- ldap-auth-client
- ldap-utils
- libldap-2.4-2
base::basepackages:
- bash
- ca-certificates
- git
- zsh
- apt-file
| ---
classes:
- base
base::basepackages:
- bash
- ca-certificates
- git
- zsh
- apt-file
ldapclient::ldapclient_packages:
- ldap-auth-client
- ldap-utils
- libldap-2.4-2
subversionclient::packages:
- subversion
|
Remove inclusion of role variables as we switched to host vars | ---
# tasks to setup a download server
- name: Include variables
include_vars: "main.yml"
- name: add group
group: name={{ download_group }} system=yes state=present
sudo: yes
- name: add user
user: name={{ download_user }} home={{ download_destination }} comment="OpenVZ download server" createhome=yes system=yes shell=/sbin/nologin
sudo: yes
- name: add apache to group
user: name=apache append=yes groups={{ download_group }}
sudo: yes
- name: setup crontab
cron: user="{{ download_user }}" name="Update OpenVZ download files" minute="00" hour="*/2" job="rsync -av --delete rsync://{{ upstream_mirror }} {{ download_destination }}/" cron_file=openvz-mirror-autoupdate
sudo: yes
| ---
# tasks to setup a download server
#- name: Include variables
# include_vars: "main.yml"
- name: add group
group: name={{ download_group }} system=yes state=present
sudo: yes
- name: add user
user: name={{ download_user }} home={{ download_destination }} comment="OpenVZ download server" createhome=yes system=yes shell=/sbin/nologin
sudo: yes
- name: add apache to group
user: name=apache append=yes groups={{ download_group }}
sudo: yes
- name: setup crontab
cron: user="{{ download_user }}" name="Update OpenVZ download files" minute="00" hour="*/2" job="rsync -av --delete rsync://{{ upstream_mirror }} {{ download_destination }}/" cron_file=openvz-mirror-autoupdate
sudo: yes
|
Remove noarch and try only win | {% set name = "cif2cell" %}
{% set version = "1.2.10" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://sourceforge.net/projects/cif2cell/files/{{ name }}-{{ version }}.tar.gz
sha256: 2268a2d6d26650433a1c5e51c98e400cf92e458036879e231088555d75e3e8bf
build:
noarch: python
number: 0
script: {{ PYTHON }} -m pip install . --no-deps -vv
requirements:
host:
- python <3
- pip
- pycifrw
run:
- python <3
- pycifrw
test:
commands:
- cif2cell -h
about:
home: https://sourceforge.net/projects/cif2cell/
license: GNU GPLv3
license_family: GPL
license_file: LICENSE
summary: 'CIF2Cell is a tool to generate the geometrical setup for various electronic structure codes from a CIF (Crystallographic Information Framework) file.'
extra:
recipe-maintainers:
- npavlovikj
| {% set name = "cif2cell" %}
{% set version = "1.2.10" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://sourceforge.net/projects/cif2cell/files/{{ name }}-{{ version }}.tar.gz
sha256: 2268a2d6d26650433a1c5e51c98e400cf92e458036879e231088555d75e3e8bf
build:
skip: True # [unix]
number: 0
script: {{ PYTHON }} -m pip install . --no-deps -vv
requirements:
host:
- python <3
- pip
- pycifrw
run:
- python <3
- pycifrw
test:
commands:
- cif2cell -h
about:
home: https://sourceforge.net/projects/cif2cell/
license: GNU GPLv3
license_family: GPL
license_file: LICENSE
summary: 'CIF2Cell is a tool to generate the geometrical setup for various electronic structure codes from a CIF (Crystallographic Information Framework) file.'
extra:
recipe-maintainers:
- npavlovikj
|
Update Metronome to Americium (12) | Categories:
- Multimedia
License: GPL-3.0-or-later
SourceCode: https://notabug.org/wael/Metronome
IssueTracker: https://notabug.org/wael/Metronome/issues
AutoName: Metronome
RepoType: git
Repo: https://notabug.org/wael/Metronome.git
Builds:
- versionName: Americium
versionCode: 11
commit: v11.1
subdir: app
gradle:
- yes
rm:
- app/src/main/res/ic_launcher(1).zip
AutoUpdateMode: Version
UpdateCheckMode: Tags ^v[0-9.]*$
CurrentVersion: Americium
CurrentVersionCode: 11
| Categories:
- Multimedia
License: GPL-3.0-or-later
SourceCode: https://notabug.org/wael/Metronome
IssueTracker: https://notabug.org/wael/Metronome/issues
AutoName: Metronome
RepoType: git
Repo: https://notabug.org/wael/Metronome.git
Builds:
- versionName: Americium
versionCode: 11
commit: v11.1
subdir: app
gradle:
- yes
rm:
- app/src/main/res/ic_launcher(1).zip
- versionName: Americium
versionCode: 12
commit: e358e27bdebe28d7d348df79439d8a28b8e740d9
subdir: app
gradle:
- yes
rm:
- app/src/main/res/ic_launcher(1).zip
AutoUpdateMode: Version
UpdateCheckMode: Tags ^v[0-9.]*$
CurrentVersion: Americium
CurrentVersionCode: 12
|
Use strict YAML array notation | ---
# Action definition metadata
name: "echochain"
description: "Simple Action Chain workflow"
# `runner_type` has value `action-chain` to identify that action is an ActionChain.
runner_type: "action-chain"
# `entry_point` path to the ActionChain definition file, relative to the pack's action directory.
entry_point: "chains/echochain.yaml"
enabled: true
parameters:
skip_notify:
default: c2
notify:
on_complete:
message: "\"@channel: Action succeeded.\""
channels: ["slack"]
| ---
# Action definition metadata
name: "echochain"
description: "Simple Action Chain workflow"
# `runner_type` has value `action-chain` to identify that action is an ActionChain.
runner_type: "action-chain"
# `entry_point` path to the ActionChain definition file, relative to the pack's action directory.
entry_point: "chains/echochain.yaml"
enabled: true
parameters:
skip_notify:
default: c2
notify:
on_complete:
message: "\"@channel: Action succeeded.\""
channels:
- "slack"
|
Update from Hackage at 2018-02-10T15:23:57Z | homepage: ''
changelog-type: ''
hash: 2fb36ceebd8d0517749c3a2ab0dae6a64d0fd3a64a4ecc7d35fc947ad93e2de4
test-bench-deps:
bytestring: -any
base: -any
hspec: -any
geos: -any
cassava: -any
mtl: -any
vector: -any
maintainer: pfrance@gmail.com
synopsis: Bindings for GEOS.
changelog: ''
basic-deps:
bytestring: -any
base: <=4.10.1
mtl: -any
transformers: -any
vector: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.1.0'
author: Peter France
latest: '0.1.1.0'
description-type: haddock
description: This is a Haskell binding to Geos, the open-source geometry library,
which includes geometry types, predicate functions and other operations, spatially
indexed geometries, and parsers for WKB and WKT formats.
license-name: MIT
| homepage: ''
changelog-type: ''
hash: 9bf15d76ff4aa0daa240406b742c708b799fd8c0995edfcd7067cae0e24ae48f
test-bench-deps:
bytestring: -any
base: <=4.10.1.0
hspec: -any
geos: -any
cassava: -any
mtl: -any
vector: -any
maintainer: pfrance@gmail.com
synopsis: Bindings for GEOS.
changelog: ''
basic-deps:
bytestring: -any
base: <=4.10.1.0
mtl: -any
transformers: -any
vector: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.1.0'
- '0.1.1.1'
author: Peter France
latest: '0.1.1.1'
description-type: haddock
description: This is a Haskell binding to Geos, the open-source geometry library,
which includes geometry types, predicate functions and other operations, spatially
indexed geometries, and parsers for WKB and WKT formats.
license-name: MIT
|
Add sequelize db:migrate command for Travis | language: node_js
node_js:
- "6.11.0"
services:
- postgresql
before_script:
- psql -c 'create database postit_test;' -U postgres
- psql -c "CREATE USER joe1 WITH PASSWORD '1234';" -U postgres
script: npm run coverage
after_success: 'npm run coveralls'
| language: node_js
node_js:
- "6.11.0"
services:
- postgresql
before_script:
- psql -c 'create database postit_test;' -U postgres
- psql -c "CREATE USER joe1 WITH PASSWORD '1234';" -U postgres
- sequelize db:migrate
script: npm run coverage
after_success: 'npm run coveralls'
|
Add Ruby 2.5.0 to the supported Rubies in the Travis CI config. | language: ruby
rvm:
- 2.4.3
- 2.3.6
- 2.2.9
- jruby
env:
- RAILS_VERSION=5.1
- RAILS_VERSION=4.2
matrix:
allow_failures:
- rvm: jruby
| language: ruby
rvm:
- 2.5.0
- 2.4.3
- 2.3.6
- 2.2.9
- jruby
env:
- RAILS_VERSION=5.1
- RAILS_VERSION=4.2
matrix:
allow_failures:
- rvm: jruby
|
Drop support for Go 1.9 and 1.10 and add test on Go 1.13 | language: go
before_install:
- go get github.com/stretchr/testify
go:
- 1.9
- '1.10'
- '1.11'
- '1.12'
- tip
script:
- go test -v ./...
| language: go
before_install:
- go get github.com/stretchr/testify
go:
- '1.11'
- '1.12'
- '1.13'
- tip
script:
- go test -v ./...
|
Update list of tested Python versions. | language: python
sudo: false
python:
- 2.7
- 3.3
- 3.4
- 3.5
- 3.6
- nightly
- pypy
- pypy3.3-5.2-alpha1
install:
- travis_retry pip install tox-travis
script:
- travis_retry tox
| language: python
sudo: false
python:
- 2.7
- 3.4
- 3.5
- 3.6
- nightly
- pypy
- pypy3
install:
- travis_retry pip install tox-travis
script:
- travis_retry tox
|
Configure automatic deployment to PyPI on tags | # Config file for automatic testing at travis-ci.org
dist: xenial
sudo: false
language: python
python:
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8-dev"
install: pip install 'tox-travis ~= 0.12.0'
script: tox
before_cache:
- rm -rf $HOME/.cache/pip/log
cache:
directories:
- $HOME/.cache/pip
| dist: xenial
sudo: false
language: python
python:
- '3.4'
- '3.5'
- '3.6'
- '3.7'
- 3.8-dev
install: pip install 'tox-travis ~= 0.12.0'
script: tox
deploy:
provider: pypi
user: dmtucker
password:
secure: rvVuJw187OTFkNmJrEPK4U9mUX5nR+mqSPcEgqhIMW3XivIqkKdSvlFPq0imOrAT4TmxLGTvDFVT9TykOlTtp8LURmIyF+IhcvCaDaNC/TwN4vwqFPignlAeXK8R6quFfEzPE+Em1zqLsSWwzATxLKFpY9W8YnvrW5ygG/xOxeKl2O4yB3t4EmXIguT/hDMWkWAdHgGSp8Ves/U6nNhi5hb1yOVr6iORPeBK2BzxvxauIesN7GsQW2Yf5RIIrmk9EoclwpFJSWmmQBP2CozujFvC4zBJmAQ5JUbDQ99CSr8kxgMUvhr+Fx19mvqyps1WijCqV+AevHLU/usCko+YZkMlsz0cZYTRVHwU9JWyuLO9HEI4OlMVyf3qY4HQAoTv6AwofLFnYuZ/7Uf7KmvJ0USOjMJXhEkCGhaECw+e131s4cGQLNzbZCt14ICOrUT3uxwgFqYWvOdd+mMqnzcgIw7dYxSC9+JKINeVTryucmsqGVZ8eX0M6WqEf9iktHblrv2CftkYwOK9T0BVi1gLxW3r88+NwZt4l08fjvNa2RbeqMoWKBMmPywuKBwwFjb4vxz2VbaoQqdDdAXlOPVjZMsG8Z73XCquPu/QDJey/5K/iL48bjMRkOFZWzjTWFhG8DbdrEANfa9R25V/VWmpRLTG0lgK/84CdB0eyORbpbE=
distributions: sdist bdist_wheel
skip_existing: true
on:
repo: dbader/pytest-mypy
tags: true
python: '3.4'
before_cache:
- rm -rf $HOME/.cache/pip/log
cache:
directories:
- "$HOME/.cache/pip"
|
Update rubygems and bundler on CI | language: ruby
cache:
apt: true
directories:
- vendor/bundle
- $HOME/.cache/pip
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1.0
- jruby
install:
- bundle install --path vendor/bundle --jobs=3 --retry=3
| language: ruby
cache:
apt: true
directories:
- vendor/bundle
- $HOME/.cache/pip
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1.0
- jruby
before_install:
- gem update --system
- gem install bundler
install:
- bundle install --path vendor/bundle --jobs=3 --retry=3
|
Add continuous integration with HHVM | language: php
before_script:
- wget http://getcomposer.org/composer.phar
- php composer.phar install
php:
- 5.4
- 5.3 | language: php
before_script:
- wget http://getcomposer.org/composer.phar
- php composer.phar install
php:
- 5.4
- 5.3
- hhvm |
Use python 3.6-8 for CI. | language: python
dist: trusty
python:
- 2.7
- 3.4
- 3.5
- 3.6
matrix:
include:
- python: 3.7
dist: xenial
sudo: true
services:
- redis-server
install: "pip install -r requirements.txt"
script: python runtests.py
| language: python
dist: xenial
python:
- 2.7
- 3.6
- 3.7
- 3.8
services:
- redis-server
install: "pip install -r requirements.txt"
script: python runtests.py
|
Remove building of internal tools | language: rust
sudo: false
rust:
- 1.7.0
- stable
- beta
- nightly
matrix:
include:
- rust: nightly
env: FEATURES="unstable"
script: |
cargo build --verbose --features "${FEATURES}"
cargo test --verbose --features "${FEATURES}"
| language: rust
sudo: false
rust:
- 1.7.0
- stable
- beta
- nightly
script: |
cargo build --verbose --features "${FEATURES}"
cargo test --verbose --features "${FEATURES}"
|
Remove rbx from Travis build schedule | language: ruby
rvm:
# - "1.8.7"
- "1.9.2"
- "1.9.3"
# - jruby-18mode # JRuby in 1.8 mode
# - jruby-19mode # JRuby in 1.9 mode
# - rbx-18mode
- rbx-19mode
# uncomment this line if your project needs to run something other than `rake`:
script: bundle exec rspec spec | language: ruby
rvm:
# - "1.8.7"
- "1.9.2"
- "1.9.3"
# - jruby-18mode # JRuby in 1.8 mode
# - jruby-19mode # JRuby in 1.9 mode
# - rbx-18mode
# - rbx-19mode
# uncomment this line if your project needs to run something other than `rake`:
script: bundle exec rspec spec |
Add pod lib lint to Travis | osx_image: xcode61
language: objective-c
before_install: gem install cocoapods xcpretty -N
cache: cocoapods
podfile: JazzHandsDemo/Podfile
script:
- export LC_CTYPE=en_US.UTF-8
- export LANG=en_US.UTF-8
- set -o pipefail && xcodebuild -workspace JazzHandsDemo/JazzHandsDemo.xcworkspace -scheme JazzHandsDemo -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 6" clean test | xcpretty -c
| osx_image: xcode61
language: objective-c
before_install: gem install cocoapods xcpretty -N
cache: cocoapods
podfile: JazzHandsDemo/Podfile
script:
- export LC_CTYPE=en_US.UTF-8
- export LANG=en_US.UTF-8
- set -o pipefail && xcodebuild -workspace JazzHandsDemo/JazzHandsDemo.xcworkspace -scheme JazzHandsDemo -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 6" clean test | xcpretty -c
- pod lib lint --quick
|
Allow rbx builds to fail on TravisCI | language: ruby
rvm:
- 2.0.0
- 2.1.8
- 2.2.4
- 2.3.0
- jruby-9.1.9.0
- rbx-2.2.7
gemfile:
- gemfiles/activesupport_3.gemfile
- gemfiles/activesupport_4_1.gemfile
- gemfiles/activesupport_4_2.gemfile
- gemfiles/activesupport_5_0.gemfile
- gemfiles/activesupport_5_1.gemfile
matrix:
exclude:
- rvm: 2.0.0
gemfile: gemfiles/activesupport_5_0.gemfile
- rvm: 2.0.0
gemfile: gemfiles/activesupport_5_1.gemfile
- rvm: 2.1.8
gemfile: gemfiles/activesupport_5_0.gemfile
- rvm: 2.1.8
gemfile: gemfiles/activesupport_5_1.gemfile
| language: ruby
rvm:
- 2.0.0
- 2.1.8
- 2.2.4
- 2.3.0
- jruby-9.1.9.0
- rbx-2
gemfile:
- gemfiles/activesupport_3.gemfile
- gemfiles/activesupport_4_1.gemfile
- gemfiles/activesupport_4_2.gemfile
- gemfiles/activesupport_5_0.gemfile
- gemfiles/activesupport_5_1.gemfile
matrix:
exclude:
- rvm: 2.0.0
gemfile: gemfiles/activesupport_5_0.gemfile
- rvm: 2.0.0
gemfile: gemfiles/activesupport_5_1.gemfile
- rvm: 2.1.8
gemfile: gemfiles/activesupport_5_0.gemfile
- rvm: 2.1.8
gemfile: gemfiles/activesupport_5_1.gemfile
allow_failures:
- rvm: rbx-2
|
Add code climate repo token | language: node_js
node_js:
- '0.12'
- '0.10'
- iojs
| language: node_js
node_js:
- '0.12'
- '0.10'
- iojs
env:
global:
- secure: XR2+j2DOmq8FY5xKiJ4JGYFtMdrF+owqZpU6mq8nJH4bEACAGtATgrKy4agxC5ROMpt0BeU10dXXrtwQzMXdaI6oaPIhMEuzIc/Kcwhxx4zbcNSzqmwohwnL+BywfQvgGma/GPRGocpMdhIjU3GoomgxyAqKPJTSmuMQ8LOpZw9+OnjVhTwRh1rIaAEyXW+7S+H0O+oqENHx/3X0tYybC71/jMVBpRZ9o8Z09IxX2a1CAI2ZQ/U4wVkgbUbPl1ikh+mW7IU0DrGVNzpJdFGA944Upo65XWGrlU1h4J2Zr0A0TjYGCydYDzgxuCSfLXENm17R3xpY5RH8jmNYeoiSTbXNDjIw3uguxlhLJxmziXP2M0n5+fQT/rfIW5SGVIyAIfieKwD8xOyM62HqFMRCImgvh6VJsrtgBd5IHYWSJ+e08vMuGzniRx4S5ZYBE0cM1LZjOZT/+H/9ocLSRlGpI1q8KMz4LhFlRmuocJf2sdr/tI194Cxltcm0TJKnAFID7kQM/a/po6IPWgAISGlgxMNj1Cr8s16U78IUkykgc1da+/nGoq9yMKF7j5i1FPDdaekRNGeOmKqxMYiAM05WslzzNbC0zYL8geDpMCR4lKnfBlZJS4u6GhR5ZnzE+tx3h+S0q5qiXYdVON//WGtV9Ll/9r4G1gnEV8bFmnCKKC8=
|
Change PHP versions on Travis CI | language: php
php:
- 5.6
- 7
- 7.1
- 7.2
- hhvm
before_script:
- composer install
script:
- mkdir -p build/logs
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_script:
- vendor/bin/coveralls -v
| language: php
php:
- 7.1
- 7.2
- hhvm
before_script:
- if [[ $TRAVIS_PHP_VERSION = hhv* ]]; then echo hhvm.php7.all=1 >> /etc/hhvm/php.ini; fi
- composer install
script:
- mkdir -p build/logs
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_script:
- vendor/bin/coveralls -v
matrix:
allow_failures:
- php: hhvm
|
Update for Travis-CI testing, fix CICD setup. | language: c
dist: trusty
services:
- postgresql
before_script:
# Add an IPv6 config - see the corresponding Travis issue
# https://github.com/travis-ci/travis-ci/issues/8361
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
fi
- psql -c 'create role gabor;' -U postgres
- psql -c "alter role gabor with password 'gabor';" -U postgres
- psql -c 'create database testje;' -U postgres
- psql -c 'grant all privileges on database testje to gabor;' -U postgres
- psql -c 'create table boeken (id integer, titel varchar(100));' -U gabor -d testje
- psql -c "insert into boeken values(1,'handboek')" -U gabor -d testje
- psql -c "insert into boeken values(2,'telefoongids')" -U gabor -d testje
before_install:
- sudo chmod 777 /var/log/syslog
- sudo ln -s /usr/bin/make /usr/bin/gmake
- sudo sudo apt-get install libbsd-dev
script: ./runtests.sh
| language: c
dist: trusty
services:
- postgresql
before_script:
# Add an IPv6 config - see the corresponding Travis issue
# https://github.com/travis-ci/travis-ci/issues/8361
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
fi
- psql -c 'create role gabor;' -U postgres
- psql -c "alter role gabor with password 'gabor';" -U postgres
- psql -c "alter role gabor login;" -U postgres
- psql -c 'create database testje;' -U postgres
- psql -c 'grant all privileges on database testje to gabor;' -U postgres
- psql -c 'create table boeken (id integer, titel varchar(100));' -U gabor -d testje
- psql -c "insert into boeken values(1,'handboek')" -U gabor -d testje
- psql -c "insert into boeken values(2,'telefoongids')" -U gabor -d testje
before_install:
- sudo chmod 777 /var/log/syslog
- sudo ln -s /usr/bin/make /usr/bin/gmake
- sudo sudo apt-get install libbsd-dev
script: ./runtests.sh
|
Test latest PATCH release for every MINOR release of Ruby. | language: ruby
bundler_args: "--without development"
before_install:
- gem install bundler
rvm:
- 1.9.3
- 2.0.0
- 2.2.3
- 2.3.0
script:
- gem build xmlhasher.gemspec
- gem install xmlhasher-*
| language: ruby
bundler_args: "--without development"
before_install:
- gem install bundler
rvm:
- 1.9.3
- 2.0.0
- 2.1.10
- 2.2.7
- 2.3.4
- 2.4.1
script:
- gem build xmlhasher.gemspec
- gem install xmlhasher-*
|
Configure rbx by rvm shortcuts | language: ruby
rvm:
- "2.0"
- "2.1"
- "2.2"
- "2.3.1"
- rbx-2
gemfile:
- gemfiles/rails_4.1.8.gemfile
- gemfiles/rails_4.1.10.gemfile
- gemfiles/rails_4.2.1.gemfile
- gemfiles/rails_5.0.0.1.gemfile
matrix:
exclude:
- rvm: 2.0
gemfile: gemfiles/rails_5.0.0.1.gemfile
- rvm: 2.1
gemfile: gemfiles/rails_5.0.0.1.gemfile
- rvm: 2.2
gemfile: gemfiles/rails_5.0.0.1.gemfile
script:
- cd test/dummy
- RAILS_ENV=test bundle exec rake db:create db:migrate --trace
- cd ../..
- rake test
| language: ruby
rbx-1[.4.3]
rbx-2.3[.0]
rbx-2.4[.1]
rbx[-2.5.8]
rvm:
- "2.0"
- "2.1"
- "2.2"
- "2.3.1"
- "rbx-1"
- "rbx-2.3"
- "rbx-2.4"
- "rbx"
gemfile:
- gemfiles/rails_4.1.8.gemfile
- gemfiles/rails_4.1.10.gemfile
- gemfiles/rails_4.2.1.gemfile
- gemfiles/rails_5.0.0.1.gemfile
matrix:
exclude:
- rvm: 2.0
gemfile: gemfiles/rails_5.0.0.1.gemfile
- rvm: 2.1
gemfile: gemfiles/rails_5.0.0.1.gemfile
- rvm: 2.2
gemfile: gemfiles/rails_5.0.0.1.gemfile
script:
- cd test/dummy
- RAILS_ENV=test bundle exec rake db:create db:migrate --trace
- cd ../..
- rake test
|
Fix Logtalk install when running Travis CI builds | sudo: required
language: bash
services:
- docker
install:
- docker pull swipl:stable
- sudo LogtalkDotOrg/logtalk3/scripts/install.sh
script:
- docker run -it --name test --entrypoint=/bin/bash library/swipl -c "logtalk_user_setup && cd ~/logtalk/tests/logtalk && logtalk_tester"
| sudo: required
language: bash
services:
- docker
install:
- docker pull swipl:stable
- sudo scripts/install.sh
script:
- docker run -it --name test --entrypoint=/bin/bash library/swipl -c "logtalk_user_setup && cd ~/logtalk/tests/logtalk && logtalk_tester"
|
Update Travis CI build file | language: generic
os:
- linux
- osx
env:
global:
- CONDA_PREFIX=$HOME/conda
- MINICONDA_URL_BASE="https://repo.continuum.io/miniconda/Miniconda2-latest"
- TRAVIS_PYTHON_VERSION="2.7"
sudo: false
before_install:
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
OS="MacOSX-x86_64"
else
OS="Linux-x86_64"
fi
- curl $MINICONDA_URL_BASE-$OS.sh > $HOME/miniconda.sh
- bash $HOME/miniconda.sh -b -p $CONDA_PREFIX
- export PATH="$CONDA_PREFIX/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda install python=$TRAVIS_PYTHON_VERSION
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
conda install gcc libgfortran cmake
else
conda install gfortran_linux-64 cmake
export FC=$CONDA_PREFIX/bin/x86_64-conda_cos6-linux-gnu-gfortran
fi
install:
- mkdir _build && cd _build
- cmake .. -DCMAKE_INSTALL_PREFIX=$(pwd)/../_install -DCMAKE_VERBOSE_MAKEFILE=True
- make install
before_script:
- source ../.ci/travis/update_rpaths.sh
script:
- ctest
| language: generic
os:
- linux
- osx
env:
global:
- CONDA_PREFIX=$HOME/conda
- MINICONDA_URL_BASE="https://repo.continuum.io/miniconda/Miniconda3-latest"
- TRAVIS_PYTHON_VERSION="3.*"
before_install:
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
OS="MacOSX-x86_64"
else
OS="Linux-x86_64"
fi
- curl $MINICONDA_URL_BASE-$OS.sh > $HOME/miniconda.sh
- bash $HOME/miniconda.sh -b -p $CONDA_PREFIX
- export PATH="$CONDA_PREFIX/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no --add channels conda-forge
- conda install python=$TRAVIS_PYTHON_VERSION cmake fortran-compiler
- conda activate root
install:
- mkdir _build && cd _build
- cmake .. -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX
- make
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
- source ../.ci/travis/update_rpaths.sh
fi
- make install
script:
- ctest
|
Reduce build time by not doing coverage text, that can be done out of band and committed to the repo | language: php
php:
- 5.3
- 5.4
services:
- mongodb
before_script:
- phpenv config-add travis-php.ini
- wget --quiet http://getcomposer.org/composer.phar
- php composer.phar install
- mkdir logs
- touch logs/application.log
- mkdir -p data/DoctrineMongoODMModule/Hydrator
- mkdir -p data/SmartyModule/templates_c
- sudo easy_install pip
- sudo pip install jsonschema
script: phpunit -d memory_limit=2056M --coverage-text -c module/SelfService/test/phpunit.xml | language: php
php:
- 5.3
- 5.4
services:
- mongodb
before_script:
- phpenv config-add travis-php.ini
- wget --quiet http://getcomposer.org/composer.phar
- php composer.phar install
- mkdir logs
- touch logs/application.log
- mkdir -p data/DoctrineMongoODMModule/Hydrator
- mkdir -p data/SmartyModule/templates_c
- sudo easy_install pip
- sudo pip install jsonschema
script: phpunit -d memory_limit=2056M -c module/SelfService/test/phpunit.xml |
Enable campfire notification for Travis | language: node_js
node_js:
- 0.6
script: script/test
| script: script/test
language: node_js
notifications:
campfire:
rooms:
secure: VR6rWk0YhezBWnD8jPjSD8h/Q83S3NT0F34Au1vswt+/+Ku19S8X44vGVUG+NYdYyhg7uOqUaPN1Jr3KCpdcXgHEpUYiyBGJ8ebltavcjeHYWqK6ghcqgSnbDkifuC7Eu/9LcrOMOXgt+zkXjiVXW3+zyGVDcrs4cQ2vGY2DTYA=
node_js:
- 0.6
|
Add missing sonatype profile, quiet maven | # Use docker-based infrastructure
sudo: false
language: java
jdk:
- oraclejdk8
notifications:
irc: "chat.freenode.net#seedstack-dev"
cache:
directories:
- "$HOME/.m2/repository"
install: /bin/true
script:
- mvn -B -U -T 4 -Pjavadoc,compatibility install jacoco:report
- mvn -B coveralls:report -DrepoToken=$COVERALLS_TOKEN
after_success:
- echo "<settings><servers><server><id>sonatype-nexus-snapshots</id><username>\${env.SONATYPE_USER}</username><password>\${env.SONATYPE_PASS}</password></server></servers></settings>" > ~/settings.xml
- "[[ $TRAVIS_PULL_REQUEST == \"false\" && $TRAVIS_BRANCH == \"master\" ]] && mvn deploy --settings ~/settings.xml -DskipTests=true -Pjavadoc"
| # Use docker-based infrastructure
sudo: false
language: java
jdk:
- oraclejdk8
notifications:
irc: "chat.freenode.net#seedstack-dev"
cache:
directories:
- "$HOME/.m2/repository"
install: /bin/true
script:
- mvn -q -B -U -T 4 -Pjavadoc,compatibility,staging install jacoco:report
- mvn -q -B coveralls:report -DrepoToken=$COVERALLS_TOKEN
after_success:
- echo "<settings><servers><server><id>sonatype-nexus-snapshots</id><username>\${env.SONATYPE_USER}</username><password>\${env.SONATYPE_PASS}</password></server></servers></settings>" > ~/settings.xml
- "[[ $TRAVIS_PULL_REQUEST == \"false\" && $TRAVIS_BRANCH == \"master\" ]] && mvn -q deploy --settings ~/settings.xml -DskipTests=true -Pjavadoc"
|
Add exclude tag for foodcritic | language: ruby
rvm:
- 2.1.5
script:
- bundle exec rubocop
- bundle exec foodcritic -f any cookbooks
| language: ruby
rvm:
- 2.1.5
script:
- bundle exec rubocop
- bundle exec foodcritic --epic-fail any --tags ~FC003 cookbooks
|
Change to use the latest Rubies | ---
language: ruby
before_install: "gem install bundler -v '< 2.0'"
script: bundle exec rake ci
rvm:
- 2.0.0
- 2.1.10
- 2.2.10
- 2.3.8
- 2.4.6
- 2.5.5
- 2.6.3
- ruby-head
- jruby-9.2.6.0
- jruby-head
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
fast_finish: true
branches:
only: master
notifications:
email: false
| ---
language: ruby
before_install: "gem install bundler -v '< 2.0'"
script: bundle exec rake ci
rvm:
- 2.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
- ruby-head
- jruby-9.2.11.0
- jruby-head
- truffleruby
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- rvm: jruby-9.2.11.0
- rvm: truffleruby
fast_finish: true
branches:
only: master
notifications:
email: false
|
Fix Travis caching for sbt 1.3.x. | language: scala
scala:
- 2.12.10
sudo: false
jdk:
- openjdk8
script:
- sbt ++$TRAVIS_SCALA_VERSION server/test client/test
# Tricks to avoid unnecessary cache updates, from
# http://www.scala-sbt.org/0.13/docs/Travis-CI-with-sbt.html
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/
install:
- . $HOME/.nvm/nvm.sh
- nvm install stable
- nvm use stable
- npm install
- npm install jsdom@9.12.0
| language: scala
scala:
- 2.12.10
sudo: false
jdk:
- openjdk8
script:
- sbt ++$TRAVIS_SCALA_VERSION server/test client/test
cache:
directories:
- $HOME/.cache/coursier
- $HOME/.ivy2/cache
- $HOME/.sbt
install:
- . $HOME/.nvm/nvm.sh
- nvm install stable
- nvm use stable
- npm install
- npm install jsdom@9.12.0
# Tricks to avoid unnecessary cache updates, from
# https://www.scala-sbt.org/1.x/docs/Travis-CI-with-sbt.html#Caching
before_cache:
- rm -fv $HOME/.ivy2/.sbt.ivy.lock
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
- find $HOME/.sbt -name "*.lock" -print -delete
|
Add PHP 7.1 and 7.2 | sudo: false
language: php
php:
- '5.4'
- '5.6'
- '7.0'
- hhvm
- nightly
install:
- cat composer.json
- composer self-update
- rm composer.lock
- composer install -o --profile
script: vendor/bin/phpunit
| sudo: false
language: php
php:
- '5.4'
- '5.6'
- '7.0'
- '7.1'
- '7.2'
- hhvm
- nightly
install:
- cat composer.json
- composer self-update
- rm composer.lock
- composer install -o --profile
script: vendor/bin/phpunit
|
Make value documentation a little clearer | pachd:
storage:
backend: AMAZON
amazon:
amazonBucket: blah
# this is an example access key ID from https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html
id: AKIAIOSFODNN7EXAMPLE
# this is an example secret access key (ibid.)
secret: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
cloudFrontDistribution: cfd-123
| pachd:
storage:
backend: AMAZON
amazon:
amazonBucket: blah
# this is an example access key ID taken from https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html
id: AKIAIOSFODNN7EXAMPLE
# this is an example secret access key taken from https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html
secret: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
cloudFrontDistribution: cfd-123
|
Update RadarWeather to 1.4 (14) | AntiFeatures:
- NonFreeNet
Categories:
- Internet
License: GPL-3.0-only
AuthorName: woheller69
SourceCode: https://github.com/woheller69/weather
IssueTracker: https://github.com/woheller69/weather/issues
Changelog: https://github.com/woheller69/weather/blob/main/CHANGELOG.md
AutoName: RadarWeather
RepoType: git
Repo: https://github.com/woheller69/weather
Builds:
- versionName: '1.0'
versionCode: 9
commit: V1.0
subdir: app
gradle:
- yes
- versionName: '1.1'
versionCode: 11
commit: V1.1
subdir: app
gradle:
- yes
- versionName: '1.2'
versionCode: 12
commit: V1.2
subdir: app
gradle:
- yes
- versionName: '1.3'
versionCode: 13
commit: V1.3
subdir: app
gradle:
- yes
AutoUpdateMode: Version V%v
UpdateCheckMode: Tags
CurrentVersion: '1.3'
CurrentVersionCode: 13
| AntiFeatures:
- NonFreeNet
Categories:
- Internet
License: GPL-3.0-only
AuthorName: woheller69
SourceCode: https://github.com/woheller69/weather
IssueTracker: https://github.com/woheller69/weather/issues
Changelog: https://github.com/woheller69/weather/blob/main/CHANGELOG.md
AutoName: RadarWeather
RepoType: git
Repo: https://github.com/woheller69/weather
Builds:
- versionName: '1.0'
versionCode: 9
commit: V1.0
subdir: app
gradle:
- yes
- versionName: '1.1'
versionCode: 11
commit: V1.1
subdir: app
gradle:
- yes
- versionName: '1.2'
versionCode: 12
commit: V1.2
subdir: app
gradle:
- yes
- versionName: '1.3'
versionCode: 13
commit: V1.3
subdir: app
gradle:
- yes
- versionName: '1.4'
versionCode: 14
commit: V1.4
subdir: app
gradle:
- yes
AutoUpdateMode: Version V%v
UpdateCheckMode: Tags
CurrentVersion: '1.4'
CurrentVersionCode: 14
|
Add back title, add empty hours, and add note | name: Bag Lunch Line
category: Food
schedule:
- title:
hours: CLOSED
breakSchedule:
fall: []
thanksgiving: []
winter: []
interim: []
spring: []
easter: []
summer: []
| name: Bag Lunch Line
category: Food
schedule:
- title: Hours
notes: Closed until further notice
hours: []
breakSchedule:
fall: []
thanksgiving: []
winter: []
interim: []
spring: []
easter: []
summer: []
|
Use TRAVIS_REPO_SLUG env variable for Travis tests | ---
# Tests for vsftpd role
- hosts: localhost
remote_user: root
roles:
- "infOpen/ansible-role-vsftpd"
post_tasks:
- include: ./test_common.yml
vars:
vsftpd_banned_email_file: '/tmp/foo/vsftpd.banned_emails'
vsftpd_chroot_list_file: '/tmp/foo/vsftpd.chroot_list'
vsftpd_email_password_file: '/tmp/foo/vsftpd.email_passwords'
vsftpd_userlist_file: '/tmp/foo/vsftpd.user_list'
vsftpd_additional_directories_group: travis
vsftpd_additional_directories_owner: travis
vsftpd_additional_files_group: travis
vsftpd_additional_files_owner: travis
| ---
# Tests for vsftpd role
- hosts: localhost
remote_user: root
roles:
- "{{ role_name }}"
post_tasks:
- include: ./test_common.yml
vars:
role_name: "{{ lookup('env','TRAVIS_REPO_SLUG') }}"
vsftpd_banned_email_file: '/tmp/foo/vsftpd.banned_emails'
vsftpd_chroot_list_file: '/tmp/foo/vsftpd.chroot_list'
vsftpd_email_password_file: '/tmp/foo/vsftpd.email_passwords'
vsftpd_userlist_file: '/tmp/foo/vsftpd.user_list'
vsftpd_additional_directories_group: travis
vsftpd_additional_directories_owner: travis
vsftpd_additional_files_group: travis
vsftpd_additional_files_owner: travis
|
Fix old import namespace name compat | # set for EasyCodingStandard
services:
# class has to be final, abstract or Doctrine entity
SlamCsFixer\FinalInternalClassFixer: ~
# import namespaces for classes, constants and functions
# configuration: https://github.com/slevomat/coding-standard#slevomatcodingstandardnamespacesreferenceusednamesonly-
SlevomatCodingStandard\Sniffs\Namespaces\ReferenceUsedNamesOnlySniff:
allowFallbackGlobalFunctions: true
allowFallbackGlobalConstants: true
# see https://github.com/symplify/codingstandard to see all loaded Symplify checkers
Symplify\CodingStandard\:
resource: '../src'
# checkers that needs configuration to run
exclude: '../src/{Sniffs/DeadCode/UnusedPublicMethodSniff.php,Sniffs/CleanCode/ForbiddenParentClassSniff.php,Fixer/Order/MethodOrderByTypeFixer.php}'
| # set for EasyCodingStandard
services:
# class has to be final, abstract or Doctrine entity
SlamCsFixer\FinalInternalClassFixer: ~
# import namespaces for classes, constants and functions
# configuration: https://github.com/slevomat/coding-standard#slevomatcodingstandardnamespacesreferenceusednamesonly-
SlevomatCodingStandard\Sniffs\Namespaces\ReferenceUsedNamesOnlySniff:
searchAnnotations: true
allowFallbackGlobalFunctions: true
allowFallbackGlobalConstants: true
# see https://github.com/symplify/codingstandard to see all loaded Symplify checkers
Symplify\CodingStandard\:
resource: '../src'
# checkers that needs configuration to run
exclude: '../src/{Sniffs/DeadCode/UnusedPublicMethodSniff.php,Sniffs/CleanCode/ForbiddenParentClassSniff.php,Fixer/Order/MethodOrderByTypeFixer.php}'
|
Update Substitution plan to 1.3.0 (5) | Categories:
- Internet
License: GPL-3.0-only
SourceCode: https://codeberg.org/vertretungsplan/client-android
IssueTracker: https://codeberg.org/vertretungsplan/client-android/issues
AutoName: Substitution plan
RepoType: git
Repo: https://codeberg.org/vertretungsplan/client-android.git
Builds:
- versionName: 1.0.0
versionCode: 1
commit: release-1.0.0
subdir: app
gradle:
- yes
- versionName: 1.0.1
versionCode: 2
commit: release-1.0.1
subdir: app
gradle:
- yes
- versionName: 1.1.0
versionCode: 3
commit: release-1.1.0
subdir: app
gradle:
- yes
- versionName: 1.2.0
versionCode: 4
commit: release-1.2.0
subdir: app
gradle:
- yes
AutoUpdateMode: Version release-%v
UpdateCheckMode: Tags
CurrentVersion: 1.2.0
CurrentVersionCode: 4
| Categories:
- Internet
License: GPL-3.0-only
SourceCode: https://codeberg.org/vertretungsplan/client-android
IssueTracker: https://codeberg.org/vertretungsplan/client-android/issues
AutoName: Substitution plan
RepoType: git
Repo: https://codeberg.org/vertretungsplan/client-android.git
Builds:
- versionName: 1.0.0
versionCode: 1
commit: release-1.0.0
subdir: app
gradle:
- yes
- versionName: 1.0.1
versionCode: 2
commit: release-1.0.1
subdir: app
gradle:
- yes
- versionName: 1.1.0
versionCode: 3
commit: release-1.1.0
subdir: app
gradle:
- yes
- versionName: 1.2.0
versionCode: 4
commit: release-1.2.0
subdir: app
gradle:
- yes
- versionName: 1.3.0
versionCode: 5
commit: 0c8522445c8920040e37c1f546270bd06392e0ac
subdir: app
gradle:
- yes
AutoUpdateMode: Version release-%v
UpdateCheckMode: Tags
CurrentVersion: 1.3.0
CurrentVersionCode: 5
|
Update from Hackage at 2017-05-07T17:20:34Z | homepage: https://github.com/phadej/functor-classes-compat#readme
changelog-type: ''
hash: 7bf659ed6c2b61ae1748a0d00213cff6960d82603bd77f363452a497800f4018
test-bench-deps: {}
maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
synopsis: Data.Functor.Classes instances for core packages
changelog: ''
basic-deps:
base: ! '>=4.9 && <4.10'
unordered-containers: ! '>=0.2.8.0 && <0.3'
containers: ! '>=0.5.9.1 && <0.6'
hashable: ! '>=1.0.1.1 && <1.3'
vector: ! '>=0.12 && <0.13'
all-versions:
- '1'
author: Oleg Grenrus <oleg.grenrus@iki.fi>
latest: '1'
description-type: markdown
description: ! '`Data.Functor.Classes` instances for core packages:
- `containers`
- `vector`
- `unordered-containers`
'
license-name: BSD3
| homepage: https://github.com/phadej/functor-classes-compat#readme
changelog-type: ''
hash: 14c1e7fd585522284429b627efea55737f0e536edc9e0d9e7fa00810805f7411
test-bench-deps: {}
maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
synopsis: Data.Functor.Classes instances for core packages
changelog: ''
basic-deps:
base: ! '>=4.9 && <4.11'
unordered-containers: ! '>=0.2.8.0 && <0.3'
containers: ! '>=0.5.9.1 && <0.6'
hashable: ! '>=1.0.1.1 && <1.3'
vector: ! '>=0.12 && <0.13'
all-versions:
- '1'
author: Oleg Grenrus <oleg.grenrus@iki.fi>
latest: '1'
description-type: markdown
description: ! '`Data.Functor.Classes` instances for core packages:
- `containers`
- `vector`
- `unordered-containers`
'
license-name: BSD3
|
Update default FMT for tools | ---
upload_path: "/static/images/"
frontmatter_file_url_template: "/images/"
body_file_url_template: "/images/"
new_page_extension: md
auto_deploy: false
admin_path: admin
webhook_url:
sections:
article:
default_front_matter_template: article
book:
default_front_matter_template: book
event:
default_front_matter_template: event
review:
default_front_matter_template: review
version: '0.26'
| ---
upload_path: "/static/images/"
frontmatter_file_url_template: "/images/"
body_file_url_template: "/images/"
new_page_extension: md
auto_deploy: false
admin_path: admin
webhook_url:
sections:
article:
default_front_matter_template: article
book:
default_front_matter_template: book
event:
default_front_matter_template: event
review:
default_front_matter_template: review
review:
default_front_matter_template: tool
version: '0.26'
|
Add container git ssh key to authorized keys on host | ---
- name: Create admin group
group: name=admin state=present
- name: Allow admin group to sudo without password
lineinfile:
dest=/etc/sudoers
state=present
regexp='^%admin ALL\='
line='%admin ALL=(ALL) NOPASSWD:ALL'
validate='visudo -cf %s'
- name: Create development environment user
user:
name={{ docker_dev_user }}
shell=/bin/bash
groups=admin
append=yes
generate_ssh_key=yes
ssh_key_bits=2048
ssh_key_file=.ssh/id_rsa_git_host
ssh_key_comment={{ docker_dev_user }}.git@docker
password=$6$rounds=100000$aeToEWdpYROoxarJ$6PVPIT5dwxFJ1lnGD28K4n2zUj1SGPQCoBmrKh4lbLng3y0/Wlb/t4x9JPGTva/Q9MOIRzNF3vKQsrdF1o.YS0 # add a (long, encrypted) password or key based ssh login does not work
- name: Add public key for dev environment user
authorized_key: user=vagrant key="{{ lookup('file', '/home/vagrant/.ssh/docker-dev.pub') }}"
| ---
- name: Create admin group
group: name=admin state=present
- name: Allow admin group to sudo without password
lineinfile:
dest=/etc/sudoers
state=present
regexp='^%admin ALL\='
line='%admin ALL=(ALL) NOPASSWD:ALL'
validate='visudo -cf %s'
- name: Create development environment user
user:
name={{ docker_dev_user }}
shell=/bin/bash
groups=admin
append=yes
generate_ssh_key=yes
ssh_key_bits=2048
ssh_key_file=.ssh/id_rsa_git_host
ssh_key_comment={{ docker_dev_user }}.git@docker
password=$6$rounds=100000$aeToEWdpYROoxarJ$6PVPIT5dwxFJ1lnGD28K4n2zUj1SGPQCoBmrKh4lbLng3y0/Wlb/t4x9JPGTva/Q9MOIRzNF3vKQsrdF1o.YS0 # add a (long, encrypted) password or key based ssh login does not work
- name: Add public key for dev environment user
authorized_key: user=vagrant key="{{ lookup('file', '/home/vagrant/.ssh/docker-dev.pub') }}"
- name: Add container git only ssh key to authorized keys on host
local_action:
authorized_key
user=vagrant
key="{{ docker_dev_user_git_key.ssh_public_key }}"
key_options='no-port-forwarding,no-agent-forwarding,command="git-shell -c \"$SSH_ORIGINAL_COMMAND\""'
state=present
|
Add faster builds config for Travis CI | language: ruby
rvm:
- 1.9.3
- 2.0.0
script: bundle exec rake test
| sudo: false
language: ruby
rvm:
- 2.0.0
cache: bundler
script: bundle exec rake test
|
Add python 3.2 to the build matix. | language: python
python:
- "2.7"
- "2.6"
install:
- "pip install --upgrade setuptools"
- "python bootstrap.py"
- "./bin/buildout"
script:
- "./bin/nosetests"
| language: python
python:
- "2.7"
- "2.6"
- "3.2"
install:
- "pip install --upgrade setuptools"
- "python bootstrap.py"
- "./bin/buildout"
script:
- "./bin/nosetests"
|
Change triproxy dev service to LoadBalancer | apiVersion: v1
kind: Service
metadata:
labels:
app: stf-triproxy-dev
name: stf-triproxy-dev
spec:
ports:
- port: 7250
targetPort: 7250
name: bind-pub
- port: 7260
targetPort: 7260
name: bind-dealer
- port: 7270
targetPort: 7270
name: bind-pull
selector:
app: stf-triproxy-dev
| apiVersion: v1
kind: Service
metadata:
labels:
app: stf-triproxy-dev
name: stf-triproxy-dev
spec:
ports:
- port: 7250
targetPort: 7250
name: bind-pub
- port: 7260
targetPort: 7260
name: bind-dealer
- port: 7270
targetPort: 7270
name: bind-pull
type: LoadBalancer
selector:
app: stf-triproxy-dev
|
Update from Forestry.io - Updated Forestry configuration | ---
label: colinha
hide_body: false
fields:
- name: layout
label: Layout
type: text
hidden: false
default: post
- name: title
label: Title
type: text
hidden: false
default: Título
- name: date
label: Date
type: datetime
hidden: false
default: 2019-02-21 03:00:00 +0000
- name: img
label: Img
type: file
hidden: false
default: "/images/colinha.png"
- name: comments
label: Comments
type: boolean
hidden: false
default: true
- name: tags
label: Tags
type: tag_list
hidden: false
default:
- colinha
pages:
- _posts/diferenciando-json-loads-de-json-load-e-uma-pitade-de-bigquery.md
- _drafts/_posts/fazendo-o-descritivo-de-clusters.md
- _drafts/_posts/como-dar-nome-a-pontos-nos-gráficos-do-matplotlib.md
- _posts/estou-usando-um-cms-e-você-deveria-também.md
- _posts/estou-usando-um-cms-e-você-deveria-também.md
| ---
label: variados
hide_body: false
fields:
- name: layout
label: Layout
type: text
hidden: false
default: post
- name: title
label: Title
type: text
hidden: false
default: Título
- name: date
label: Date
type: datetime
hidden: false
default: 2019-02-21 03:00:00 +0000
- name: img
label: Img
type: file
hidden: false
default: "/images/variados.png"
- name: comments
label: Comments
type: boolean
hidden: false
default: true
- name: tags
label: Tags
type: tag_list
hidden: false
default:
- artigo
- variados
- miscelanea
pages:
- _posts/diferenciando-json-loads-de-json-load-e-uma-pitade-de-bigquery.md
- _drafts/_posts/fazendo-o-descritivo-de-clusters.md
- _drafts/_posts/como-dar-nome-a-pontos-nos-gráficos-do-matplotlib.md
- _posts/estou-usando-um-cms-e-você-deveria-também.md
- _posts/estou-usando-um-cms-e-você-deveria-também.md
|
Add fast-exit to feedstock conversion | jobs:
- job: create_feedstocks
condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')
pool:
vmImage: ubuntu-16.04
strategy:
maxParallel: 1
timeoutInMinutes: 60
steps:
- script: |
# Avoid wasting CI time if there are now recipes ready for conversion
if [ "$(ls recipes/*/meta.yaml | grep -v recipe/example/meta.yaml --count)" -eq 0 ]; then
echo "No new recipes found, exiting..."
exit 0
fi
echo "Creating feedstocks from the recipe(s)."
git config --global user.name "Azure Pipelines on github.com/conda-forge/staged-recipes"
git config --global user.email "conda-forge@googlegroups.com"
source ./.travis_scripts/create_feedstocks
displayName: Create feedstocks
env:
PROD_BINSTAR_TOKEN: $(PROD_BINSTAR_TOKEN)
STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN)
GH_TOKEN: $(GH_TOKEN)
CIRCLE_TOKEN: $(CIRCLE_TOKEN)
TRAVIS_TOKEN: $(TRAVIS_TOKEN)
GH_TRAVIS_TOKEN: $(GH_TRAVIS_TOKEN)
TRAVIS_TOKEN2: $(TRAVIS_TOKEN2)
AZURE_TOKEN: $(AZURE_TOKEN)
DRONE_TOKEN: $(DRONE_TOKEN)
GH_DRONE_TOKEN: $(GH_DRONE_TOKEN)
| schedules:
- cron: "*/15 * * * *"
displayName: Feedstock conversion trigger
branches:
include:
- master
jobs:
- job: create_feedstocks
condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')
pool:
vmImage: ubuntu-16.04
strategy:
maxParallel: 1
timeoutInMinutes: 60
steps:
- script: |
# Avoid wasting CI time if there are now recipes ready for conversion
if [ "$(ls recipes/*/meta.yaml | grep -v recipe/example/meta.yaml --count)" -eq 0 ]; then
echo "No new recipes found, exiting..."
exit 0
fi
echo "Creating feedstocks from the recipe(s)."
git config --global user.name "Azure Pipelines on github.com/conda-forge/staged-recipes"
git config --global user.email "conda-forge@googlegroups.com"
source ./.travis_scripts/create_feedstocks
displayName: Create feedstocks
env:
PROD_BINSTAR_TOKEN: $(PROD_BINSTAR_TOKEN)
STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN)
GH_TOKEN: $(GH_TOKEN)
CIRCLE_TOKEN: $(CIRCLE_TOKEN)
TRAVIS_TOKEN: $(TRAVIS_TOKEN)
GH_TRAVIS_TOKEN: $(GH_TRAVIS_TOKEN)
TRAVIS_TOKEN2: $(TRAVIS_TOKEN2)
AZURE_TOKEN: $(AZURE_TOKEN)
DRONE_TOKEN: $(DRONE_TOKEN)
GH_DRONE_TOKEN: $(GH_DRONE_TOKEN)
|
Remove join filter from pip module tasks | ---
# Copyright 2014, Rackspace US, Inc.
#
# Licensed 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.
- include: lxc_install_apt.yml
static: no
when:
- ansible_pkg_mgr == 'apt'
tags:
- install-apt
- include: lxc_install_yum.yml
static: no
when:
- ansible_pkg_mgr == 'yum'
tags:
- install-yum
- name: Install pip packages
pip:
name: "{{ lxc_pip_packages | join(' ') }}"
state: "{{ lxc_hosts_pip_package_state }}"
extra_args: >-
{{ (pip_install_upper_constraints is defined) | ternary('--constraint ' + pip_install_upper_constraints | default(''),'') }}
{{ pip_install_options | default('') }}
{{ lxc_hosts_pip_install_options | default('') }}
register: install_packages
until: install_packages|success
retries: 5
delay: 2
tags:
- lxc-pip-packages
| ---
# Copyright 2014, Rackspace US, Inc.
#
# Licensed 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.
- include: lxc_install_apt.yml
static: no
when:
- ansible_pkg_mgr == 'apt'
tags:
- install-apt
- include: lxc_install_yum.yml
static: no
when:
- ansible_pkg_mgr == 'yum'
tags:
- install-yum
- name: Install pip packages
pip:
name: "{{ lxc_pip_packages }}"
state: "{{ lxc_hosts_pip_package_state }}"
extra_args: >-
{{ (pip_install_upper_constraints is defined) | ternary('--constraint ' + pip_install_upper_constraints | default(''),'') }}
{{ pip_install_options | default('') }}
{{ lxc_hosts_pip_install_options | default('') }}
register: install_packages
until: install_packages|success
retries: 5
delay: 2
tags:
- lxc-pip-packages
|
Fix typo in Spanish translation | es:
admin:
actions:
dropzone:
dictDefaultMessage: "Arrastra archivos aquí para subirlos"
dictFallbackMessage: "Tu navegador no soporta subir archivos arrastrándolos."
dictFallbackText: "Porfavor usa el formulario para subir tus archivos como en los viejos tiempos."
dictFileTooBig: "El archivo es muy grande ({{filesize}}MiB). Tamaño máximo: {{maxFilesize}}MiB."
dictInvalidFileType: "No puedes subir archivos de este tipo."
dictResponseError: "El servidor respondió con un código {{statusCode}}."
dictCancelUpload: "Cancelar subida"
dictCancelUploadConfirmation: "¿Estas seguro que quieres cancelar esta subida?"
dictRemoveFile: "Eliminar archivo"
dictMaxFilesExceeded: "No puedes subir mas archivos."
title: "Subida múltiple"
menu: "Subida múltiple para %{model_label} '%{object_label}'"
breadcrumb: "Subida múltiple"
link: "Subida múltiple"
bulk_link: "Subida múltiple seleccionada %{model_label_plural}"
done: "Subida finalizada"
| es:
admin:
actions:
dropzone:
dictDefaultMessage: "Arrastra archivos aquí para subirlos"
dictFallbackMessage: "Tu navegador no soporta subir archivos arrastrándolos."
dictFallbackText: "Por favor usa el formulario para subir tus archivos como en los viejos tiempos."
dictFileTooBig: "El archivo es muy grande ({{filesize}}MiB). Tamaño máximo: {{maxFilesize}}MiB."
dictInvalidFileType: "No puedes subir archivos de este tipo."
dictResponseError: "El servidor respondió con código {{statusCode}}."
dictCancelUpload: "Cancelar subida"
dictCancelUploadConfirmation: "¿Estas seguro que quieres cancelar esta subida?"
dictRemoveFile: "Eliminar archivo"
dictMaxFilesExceeded: "No puedes subir mas archivos."
title: "Subida múltiple"
menu: "Subida múltiple para %{model_label} '%{object_label}'"
breadcrumb: "Subida múltiple"
link: "Subida múltiple"
bulk_link: "Subida múltiple seleccionada %{model_label_plural}"
done: "Subida finalizada"
|
Add missing keyring to gitlab ci config | stages:
- test
tests:python:
stage: test
image: python:3
services:
- postgres:9
variables:
POSTGRES_DB: zoudb
POSTGRES_USER: postgres
POSTGRES_PASSWORD: mysecretpassword
DB_HOST: postgres
script:
# Update
- echo "deb http://www.deb-multimedia.org jessie main non-free" | tee -a /etc/apt/sources.list
- apt update
- apt install -y python-dev libpq-dev
- apt install -y --force-yes ffmpeg
# Install requirements
- pip install -r requirements.txt
# Run Tests
- PYTHONPATH=. py.test
tags:
- test
| stages:
- test
tests:python:
stage: test
image: python:3
services:
- postgres:9
variables:
POSTGRES_DB: zoudb
POSTGRES_USER: postgres
POSTGRES_PASSWORD: mysecretpassword
DB_HOST: postgres
script:
# Update
- echo "deb http://www.deb-multimedia.org jessie main non-free" | tee -a /etc/apt/sources.list
- apt install deb-multimedia-keyring
- apt update
- apt install -y python-dev libpq-dev
- apt install -y --force-yes ffmpeg
# Install requirements
- pip install -r requirements.txt
# Run Tests
- PYTHONPATH=. py.test
tags:
- test
|
Use older version of google-resumable-media because of strict pinning in google-cloud-storage. | {% set version = "0.1.1" %}
package:
name: google-resumable-media
version: {{ version }}
source:
fn: google-resumable-media-{{ version }}.tar.gz
url: https://pypi.io/packages/source/g/google-resumable-media/google-resumable-media-{{ version }}.tar.gz
sha256: 4e5a10cfd4ff5775bb7f31c074831595facfe453b3d52eefa0c4185f5723abd3
build:
number: 0
script: python setup.py install --single-version-externally-managed --record record.txt
requirements:
build:
- python
- setuptools
run:
- python
- six
test:
imports:
- google
- google.resumable_media
- google.resumable_media.requests
about:
home: https://github.com/GoogleCloudPlatform/google-resumable-media-python
summary: Utilities for Google Media Downloads and Resumable Uploads
doc_url: https://googlecloudplatform.github.io/google-resumable-media-python
dev_url: https://github.com/GoogleCloudPlatform/google-resumable-media-python
license: Apache-2.0
license_family: APACHE
license_file: {{ RECIPE_DIR }}/LICENSE
extra:
recipe-maintainers:
- johanneskoester
| {% set version = "0.0.2" %}
package:
name: google-resumable-media
version: {{ version }}
source:
fn: google-resumable-media-{{ version }}.tar.gz
url: https://pypi.io/packages/source/g/google-resumable-media/google-resumable-media-{{ version }}.tar.gz
sha256: c48e88da9f4e876ee3a79c9e872425745ffb05bfc236d1b0d98527fbb6410c82
build:
number: 0
script: python setup.py install --single-version-externally-managed --record record.txt
requirements:
build:
- python
- setuptools
run:
- python
- six
test:
imports:
- google
- google.resumable_media
- google.resumable_media.requests
about:
home: https://github.com/GoogleCloudPlatform/google-resumable-media-python
summary: Utilities for Google Media Downloads and Resumable Uploads
doc_url: https://googlecloudplatform.github.io/google-resumable-media-python
dev_url: https://github.com/GoogleCloudPlatform/google-resumable-media-python
license: Apache-2.0
license_family: APACHE
license_file: {{ RECIPE_DIR }}/LICENSE
extra:
recipe-maintainers:
- johanneskoester
|
Update from Hackage at 2018-10-12T16:16:56Z | homepage: ''
changelog-type: markdown
hash: cfddeb2156aadd75234b992554f877a65abebf78b6105aa036626d6dc311bea2
test-bench-deps: {}
maintainer: andygill@ku.edu
synopsis: blank-canvas frontend for Yampa
changelog: ! '## 0.2.2
* Allow building with `blank-canvas-0.6` and `Yampa-0.10`
## 0.2.1
* Allowed building with `base-4.8.0.0` and `time-1.5`
'
basic-deps:
Yampa: ! '>=0.9.6 && <0.12'
stm: ! '>=2.4 && <2.6'
base: ! '>=4.7 && <4.12'
time: ! '>=1.4 && <1.9'
text: ! '>=1.1 && <1.3'
blank-canvas: ! '>=0.5 && <0.7'
yampa-canvas: -any
all-versions:
- '0.2'
- '0.2.2'
author: Neil Sculthorpe
latest: '0.2.2'
description-type: markdown
description: ! 'yampa-canvas
============
Blank Canvas backend for Yampa
'
license-name: BSD3
| homepage: ''
changelog-type: markdown
hash: 40342318303cc5a26cd0089e2938f7e423942ac111f93957c891f8edea976e15
test-bench-deps: {}
maintainer: andygill@ku.edu
synopsis: blank-canvas frontend for Yampa
changelog: ! '## 0.2.2
* Allow building with `blank-canvas-0.6` and `Yampa-0.10`
## 0.2.1
* Allowed building with `base-4.8.0.0` and `time-1.5`
'
basic-deps:
Yampa: ! '>=0.9.6 && <0.12'
stm: ! '>=2.4 && <2.6'
base: ! '>=4.7 && <4.13'
time: ! '>=1.4 && <1.9'
text: ! '>=1.1 && <1.3'
blank-canvas: ! '>=0.5 && <0.7'
yampa-canvas: -any
all-versions:
- '0.2'
- '0.2.2'
author: Neil Sculthorpe
latest: '0.2.2'
description-type: markdown
description: ! 'yampa-canvas
============
Blank Canvas backend for Yampa
'
license-name: BSD3
|
Enable Zipkin tests in the CF acceptance tests | properties:
acceptance_tests:
api: (( concat properties.cc.external_host "." properties.system_domain ))
apps_domain: (( grab properties.app_domains[0] ))
system_domain: (( grab properties.system_domain ))
admin_user: "admin"
admin_password: (( grab secrets.uaa_admin_password ))
test_password: (( grab secrets.test_user_password ))
skip_ssl_validation: false
backend: "diego"
skip_diego_unsupported_tests: true
include_tasks: true
include_v3: false
include_security_groups: true
include_routing: true
include_internet_dependent: true
include_logging: true
include_operator: true
include_services: true
include_ssh: true
include_docker: true
include_route_services: true
artifacts_directory: "/tmp/artifacts"
use_existing_user: false
smoke_tests:
api: (( grab properties.acceptance_tests.api ))
apps_domain: (( grab properties.app_domains[0] ))
user: "admin"
password: (( grab secrets.uaa_admin_password ))
org: "SMOKE_TESTS"
space: "SMOKE_TESTS"
use_existing_org: false
use_existing_space: false
skip_ssl_validation: false
artifacts_directory: "/tmp/artifacts"
suite_name: CF_SMOKE_TESTS
logging_app: ''
runtime_app: ''
ginkgo_opts: ''
backend: ''
| properties:
acceptance_tests:
api: (( concat properties.cc.external_host "." properties.system_domain ))
apps_domain: (( grab properties.app_domains[0] ))
system_domain: (( grab properties.system_domain ))
admin_user: "admin"
admin_password: (( grab secrets.uaa_admin_password ))
test_password: (( grab secrets.test_user_password ))
skip_ssl_validation: false
backend: "diego"
skip_diego_unsupported_tests: true
include_tasks: true
include_v3: false
include_security_groups: true
include_routing: true
include_internet_dependent: true
include_logging: true
include_operator: true
include_services: true
include_ssh: true
include_docker: true
include_route_services: true
include_zipkin: true
artifacts_directory: "/tmp/artifacts"
use_existing_user: false
smoke_tests:
api: (( grab properties.acceptance_tests.api ))
apps_domain: (( grab properties.app_domains[0] ))
user: "admin"
password: (( grab secrets.uaa_admin_password ))
org: "SMOKE_TESTS"
space: "SMOKE_TESTS"
use_existing_org: false
use_existing_space: false
skip_ssl_validation: false
artifacts_directory: "/tmp/artifacts"
suite_name: CF_SMOKE_TESTS
logging_app: ''
runtime_app: ''
ginkgo_opts: ''
backend: ''
|
Add `-R` option in `pg_basebackup` command | ---
- name: Stop PostgreSQL
service:
name: "{{ postgresql_service }}"
state: "stopped"
become: yes
- name: Remove PostgreSQL data dir
file:
path: "{{ postgresql_data_path }}/main"
state: absent
become: yes
- name: Take base backup of PostgreSQL database
shell: "{{ item }}"
environment:
PGPASSWORD: "{{ postgresql_replication_password }}"
become: yes
become_user: "{{ postgresql_user }}"
with_items:
- pg_basebackup -h {{ postgresql_master_host }} -p {{ postgresql_master_port }} -D {{ postgresql_data_path }}/main -U {{ postgresql_replication_user }} -X stream
- sleep 15
- name: Configure PostgreSQL replication
template:
src: recovery.conf.j2
dest: "{{ postgresql_data_path }}/main/recovery.conf"
owner: "{{ postgresql_user }}"
group: "{{ postgresql_group }}"
mode: 0640
become: yes
when: postgresql_version is version('12', '<')
| ---
- name: Stop PostgreSQL
service:
name: "{{ postgresql_service }}"
state: "stopped"
become: yes
- name: Remove PostgreSQL data dir
file:
path: "{{ postgresql_data_path }}/main"
state: absent
become: yes
- name: Take base backup of PostgreSQL database
shell: "{{ item }}"
environment:
PGPASSWORD: "{{ postgresql_replication_password }}"
become: yes
become_user: "{{ postgresql_user }}"
with_items:
- pg_basebackup -h {{ postgresql_master_host }} -p {{ postgresql_master_port }} -D {{ postgresql_data_path }}/main -U {{ postgresql_replication_user }} -X stream -R
- sleep 15
- name: Configure PostgreSQL replication
template:
src: recovery.conf.j2
dest: "{{ postgresql_data_path }}/main/recovery.conf"
owner: "{{ postgresql_user }}"
group: "{{ postgresql_group }}"
mode: 0640
become: yes
when: postgresql_version is version('12', '<')
|
Update from Hackage at 2018-12-05T00:38:17Z | homepage: ''
changelog-type: markdown
hash: dc115ed3c770471a3cc63288ae4be52c186a8eff53bdff39d1231869da9b7491
test-bench-deps: {}
maintainer: kai@kzhang.org
synopsis: A minimal Haskell bindings to DRMAA C library.
changelog: ! '# Revision history for drmaa
## 0.1.0.0 -- YYYY-mm-dd
* First version. Released on an unsuspecting world.
'
basic-deps:
inline-c: -any
base: ! '>=4.7 && <5.0'
directory: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.1'
- '0.2.0'
author: Kai Zhang
latest: '0.2.0'
description-type: haddock
description: A minimal Haskell bindings to DRMAA C library.
license-name: BSD3
| homepage: ''
changelog-type: markdown
hash: cbc4f2546a37f1abfe07ac6361e3b43b9fbaec41b84d53156cbdc532a1a244b1
test-bench-deps: {}
maintainer: kai@kzhang.org
synopsis: A Haskell bindings to the DRMAA C library.
changelog: ! '# Revision history for drmaa
## 0.1.0.0 -- YYYY-mm-dd
* First version. Released on an unsuspecting world.
'
basic-deps:
exceptions: -any
base: ! '>=4.7 && <5.0'
directory: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.1'
- '0.2.0'
- '0.3.0'
author: Kai Zhang
latest: '0.3.0'
description-type: haddock
description: A Haskell bindings to the DRMAA C library.
license-name: BSD3
|
Add volume mapping for local dev, add worker using same image as web, use .env file | feeder:
build: .
container_name: feeder-prx-org
env_file:
- .env.compose
links:
- db
ports:
- "3000:3000"
db:
image: postgres
env_file:
- .env.compose
ports:
- "5432:5432"
| feeder:
build: .
volumes:
- .:/app
container_name: feeder-web
env_file:
- .env
links:
- db
ports:
- "3000:3000"
command: web
worker:
image: feederprxorg_feeder
volumes:
- .:/app
container_name: feeder-worker
env_file:
- .env
links:
- db
command: worker
db:
image: postgres
env_file:
- .env
ports:
- "5432:5432"
|
Update from Hackage at 2016-11-08T18:39:08Z | homepage: ''
changelog-type: ''
hash: 207b61f90d4815b0e8438a1a729b4d412b6ae903e8ad38cdfdc61eb999f75079
test-bench-deps: {}
maintainer: elise@jabberwocky.eu benl@ouroborus.net
synopsis: Gloss picture data types and rendering functions.
changelog: ''
basic-deps:
bytestring: ==0.10.*
OpenGL: ! '>=2.12 && <3.1'
bmp: ==1.2.*
GLUT: ==2.7.*
base: ! '>=4.8 && <4.10'
containers: ==0.5.*
all-versions:
- '1.9.1.1'
- '1.9.2.1'
- '1.9.3.1'
- '1.10.1.1'
- '1.10.2.1'
- '1.10.3.1'
- '1.10.3.3'
author: Elise Huard
latest: '1.10.3.3'
description-type: haddock
description: ! 'Gloss picture data types and rendering functions. These functions
don''t do any window management. If you want gloss to setup your window as
well then use the plain @gloss@ package.'
license-name: MIT
| homepage: ''
changelog-type: ''
hash: 08243b2d67e4a072df2fece4d48b6ee2c67ed5c182c336a6fb19767b76238fee
test-bench-deps: {}
maintainer: elise@jabberwocky.eu benl@ouroborus.net
synopsis: Gloss picture data types and rendering functions.
changelog: ''
basic-deps:
bytestring: ==0.10.*
OpenGL: ! '>=2.12 && <3.1'
bmp: ==1.2.*
GLUT: ==2.7.*
base: ! '>=4.8 && <4.10'
containers: ==0.5.*
all-versions:
- '1.9.1.1'
- '1.9.2.1'
- '1.9.3.1'
- '1.10.1.1'
- '1.10.2.1'
- '1.10.3.1'
- '1.10.3.3'
- '1.10.3.4'
author: Elise Huard
latest: '1.10.3.4'
description-type: haddock
description: ! 'Gloss picture data types and rendering functions. These functions
don''t do any window management. If you want gloss to setup your window as
well then use the plain @gloss@ package.'
license-name: MIT
|
Use terse Cucumber output by default | <%
rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --tags ~@wip"
%>
default: <%= std_opts %> features
wip: --tags @wip:3 --wip features
rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip
| <%
rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} --strict --tags ~@wip"
%>
default: <%= std_opts %> features
wip: --tags @wip:3 --wip features
rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip
|
Fix dependencies for building tatomecab dict | ---
- name: Modify dictionary with warifuri (this takes a long time)
become: false
command: ./build.sh chdir=/tmp/tatomecab/warifuri
- name: Build dictionary - configure
become: false
command: ./configure --with-charset=UTF-8 chdir=/tmp/tatomecab/warifuri/mecab-naist-jdic-0.6.3b-20111013
- name: Build dictionary - make
become: false
command: make chdir=/tmp/tatomecab/warifuri/mecab-naist-jdic-0.6.3b-20111013
- name: Install dictionary - create install directory
file:
path: "{{tatomecab_dict_dir}}"
state: directory
- name: Install dictionary - copy files
copy:
mode: 0644
remote_src: yes
src: "/tmp/tatomecab/warifuri/mecab-naist-jdic-0.6.3b-20111013/{{item}}"
dest: "{{tatomecab_dict_dir}}"
with_items:
- char.bin
- dicrc
- matrix.bin
- sys.dic
- unk.dic
- name: Install dictionary - set tatomecab dictionnary as default
lineinfile:
path: /etc/mecabrc
regexp: "^dicdir ="
line: "dicdir = {{tatomecab_dict_dir}}"
| ---
- name: Install dependencies for building dictionary
apt:
name: libmecab-dev
state: present
- name: Modify dictionary with warifuri (this takes a long time)
become: false
command: ./build.sh chdir=/tmp/tatomecab/warifuri
- name: Build dictionary - configure
become: false
command: ./configure --with-charset=UTF-8 chdir=/tmp/tatomecab/warifuri/mecab-naist-jdic-0.6.3b-20111013
- name: Build dictionary - make
become: false
command: make chdir=/tmp/tatomecab/warifuri/mecab-naist-jdic-0.6.3b-20111013
- name: Install dictionary - create install directory
file:
path: "{{tatomecab_dict_dir}}"
state: directory
- name: Install dictionary - copy files
copy:
mode: 0644
remote_src: yes
src: "/tmp/tatomecab/warifuri/mecab-naist-jdic-0.6.3b-20111013/{{item}}"
dest: "{{tatomecab_dict_dir}}"
with_items:
- char.bin
- dicrc
- matrix.bin
- sys.dic
- unk.dic
- name: Install dictionary - set tatomecab dictionnary as default
lineinfile:
path: /etc/mecabrc
regexp: "^dicdir ="
line: "dicdir = {{tatomecab_dict_dir}}"
|
Use version range instead of single version | title: By-passing Protection of PharStreamWrapper Interceptor
link: https://typo3.org/security/advisory/typo3-psa-2018-001/
branches:
1.x:
time: 2018-10-18 13:59:00
versions: ['>=1.0.0', '<2.0.0']
2.x:
time: 2018-10-18 13:59:00
versions: ['2.0.0']
3.x:
time: 2018-10-18 13:58:00
versions: ['3.0.0']
reference: composer://typo3/phar-stream-wrapper
| title: By-passing Protection of PharStreamWrapper Interceptor
link: https://typo3.org/security/advisory/typo3-psa-2018-001/
branches:
1.x:
time: 2018-10-18 13:59:00
versions: ['>=1.0.0', '<2.0.0']
2.x:
time: 2018-10-18 13:59:00
versions: ['>=2.0.0', '<2.0.1']
3.x:
time: 2018-10-18 13:58:00
versions: ['>=3.0.0', '<3.0.1']
reference: composer://typo3/phar-stream-wrapper
|
Add a notice about WordPress' X_FORWARDED_PROTO issue | version: '3'
services:
https-portal:
image: steveltn/https-portal:1
ports:
- 80:80
- 443:443
links:
- wordpress
# Restart https-portal on failure or after Docker host restart.
restart: always
environment:
# Forward wordpress.example.com to the WordPress container.
# You can set up multiple domains at once.
DOMAINS: 'example.com -> http://wordpress'
STAGE: local
# Using staging server by default, for there is a rate limit on production.
# Uncomment to use Let's Encrypt production server.
# STAGE: production
volumes:
- https-portal-data:/var/lib/https-portal
wordpress:
image: wordpress
links:
- db:mysql
db:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: '<a secure password>'
volumes:
https-portal-data:
| # Note: Recent version of Wordpress doesn't respect `X_FORWARDED_PROTO`
# header sent by HTTPS-PORTAL.
# Please refer to Section "Fixing protocol errors" to fix it after installing
# https://www.nan-labs.com/blog/dockerize-secure-wordpress-behind-proxy
version: '3'
services:
https-portal:
image: steveltn/https-portal:1
ports:
- 80:80
- 443:443
links:
- wordpress
# Restart https-portal on failure or after Docker host restart.
restart: always
environment:
# Forward wordpress.example.com to the WordPress container.
# You can set up multiple domains at once.
DOMAINS: 'https-portal-test.steveltn.me -> http://wordpress'
STAGE: production
# Using staging server by default, for there is a rate limit on production.
# Uncomment to use Let's Encrypt production server.
# STAGE: production
volumes:
- https-portal-data:/var/lib/https-portal
wordpress:
image: wordpress
links:
- db:mysql
db:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: '<a secure password>'
volumes:
https-portal-data:
|
Check javadoc on JRE 8. | version: 2.1
jobs:
test_8:
environment:
GRADLE_OPTS: "-Dorg.gradle.workers.max=2"
docker:
- image: cimg/openjdk:8.0
steps:
- checkout
- run:
name: gradlew test
command: ./gradlew test
- store_test_results:
path: build/test-results/test
test_11:
docker:
- image: cimg/openjdk:11.0
steps:
- checkout
- run:
name: gradlew test
command: ./gradlew test
- run:
name: gradlew spotlessCheck
command: ./gradlew spotlessCheck
- run:
name: gradlew javadoc
command: ./gradlew javadoc
- store_test_results:
path: build/test-results/test
workflows:
version: 2
workflow:
jobs:
- test_8
- test_11 | version: 2.1
jobs:
test_8:
environment:
GRADLE_OPTS: "-Dorg.gradle.workers.max=2"
docker:
- image: cimg/openjdk:8.0
steps:
- checkout
- run:
name: gradlew test
command: ./gradlew test
- run:
name: gradlew javadoc
command: ./gradlew javadoc
- store_test_results:
path: build/test-results/test
test_11:
docker:
- image: cimg/openjdk:11.0
steps:
- checkout
- run:
name: gradlew test
command: ./gradlew test
- run:
name: gradlew spotlessCheck
command: ./gradlew spotlessCheck
- store_test_results:
path: build/test-results/test
workflows:
version: 2
workflow:
jobs:
- test_8
- test_11 |
Revert "Chore: Manually build and push docker image" | name: dotfiles
on: push
jobs:
archlinux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Pull docker image
run: docker-compose pull
- name: Run Archlinux installer
run: docker-compose up --build --exit-code-from dotfiles
- name: Log into registry
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login \
docker.pkg.github.com -u ${{ github.actor }} --password-stdin
- name: Push Docker images
run: |
docker push ${{ github.actor }}/dotfiles/archlinux-dotfiles
osx:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Cache homebrew packages
uses: actions/cache@v2
env:
cache-name: cache-installed-packages
with:
path: |
$HOME/Library/Caches/Homebrew
$HOME/.pyenv
$HOME/Library/Caches/pip
/usr/local/Caskroom
/usr/local/opt
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Homebrew cleanup
run: brew cleanup
- name: Install Ansible
run: brew install ansible
- name: Install Ansible galaxies
run: ansible-galaxy install -r requirements.yml
- name: Run Ansible
run: ansible-playbook -i inventory osx.yml
| name: dotfiles
on: push
jobs:
archlinux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build and push Docker images
uses: docker/build-push-action@v1
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.actor }}/dotfiles/archlinux-dotfiles
registry: docker.pkg.github.com
tag_with_ref: true
tag_with_sha: true
osx:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Cache homebrew packages
uses: actions/cache@v2
env:
cache-name: cache-installed-packages
with:
path: |
$HOME/Library/Caches/Homebrew
$HOME/.pyenv
$HOME/Library/Caches/pip
/usr/local/Caskroom
/usr/local/opt
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Homebrew cleanup
run: brew cleanup
- name: Install Ansible
run: brew install ansible
- name: Install Ansible galaxies
run: ansible-galaxy install -r requirements.yml
- name: Run Ansible
run: ansible-playbook -i inventory osx.yml
|
Use ramsey/composer-install in test workflow | name: Tests
on:
- "push"
- "pull_request"
jobs:
tests:
runs-on: ubuntu-latest
continue-on-error: "${{ matrix.php-versions == '8.2' }}"
strategy:
matrix:
php-versions: ['8.0', '8.1', '8.2']
steps:
- uses: actions/checkout@v2
- name: "Cache Composer packages"
id: "composer-cache"
uses: actions/cache@v2
with:
path: "vendor"
key: ${{ runner.os }}-php-${{ matrix.php-versions }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
"${{ runner.os }}-php-"
- name: "Setup PHP Action"
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php-versions }}"
extensions: "intl, xdebug"
- name: "Install dependencies"
if: steps.composer-cache.outputs.cache-hit != 'true' && matrix.php-versions != '8.2'
run: composer install --prefer-dist --no-progress --no-suggest
- name: "Install dependencies 8.1"
if: steps.composer-cache.outputs.cache-hit != 'true' && matrix.php-versions == '8.2'
run: composer install --prefer-dist --no-progress --no-suggest --ignore-platform-reqs
- name: "Unit + Integration"
run: vendor/bin/phpunit
- name: "Mutation tests"
run: vendor/bin/infection --min-msi=97 --no-progress --threads=5
| name: Tests
on:
- "push"
- "pull_request"
jobs:
tests:
runs-on: ubuntu-latest
continue-on-error: "${{ matrix.php-versions == '8.2' }}"
strategy:
matrix:
php-versions: ['8.0', '8.1', '8.2']
steps:
- uses: actions/checkout@v2
- name: "Setup PHP Action"
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php-versions }}"
extensions: "intl, xdebug"
- name: "Install dependencies"
uses: "ramsey/composer-install@v1"
if: matrix.php-versions != '8.2'
with:
composer-options: "--prefer-dist --no-progress --no-suggest"
- name: "Install dependencies 8.2"
uses: "ramsey/composer-install@v1"
if: matrix.php-versions == '8.2'
with:
composer-options: "--prefer-dist --no-progress --no-suggest --ignore-platform-reqs"
- name: "Unit + Integration"
run: vendor/bin/phpunit
- name: "Mutation tests"
run: vendor/bin/infection --min-msi=97 --no-progress --threads=5
|
Update from Hackage at 2018-10-21T17:18:50Z | homepage: ''
changelog-type: ''
hash: 467504786bff2d277e5462231f06ee9cba843e09ffb3f64b9be2f04b83d54550
test-bench-deps: {}
maintainer: dylan@dylex.net
synopsis: ZIP archive streaming using conduits
changelog: ''
basic-deps:
exceptions: -any
bytestring: -any
base: ! '>=4.9 && <5'
time: -any
filepath: -any
conduit: -any
conduit-extra: -any
binary-conduit: -any
binary: ! '>=0.7.2'
zip-stream: -any
zlib: -any
mtl: -any
transformers-base: -any
digest: -any
transformers: -any
resourcet: -any
primitive: -any
directory: -any
all-versions:
- '0.1'
- '0.1.0.1'
- '0.1.1'
author: Dylan Simon
latest: '0.1.1'
description-type: haddock
description: Process (extract and create) zip files as streams (e.g., over the network),
accessing contained files without having to write the zip file to disk (unlike zip-conduit).
license-name: BSD3
| homepage: ''
changelog-type: ''
hash: 78cd3244efbfba99184d17f5923980282f7d1b8f6d71c6e8af14e516e4239691
test-bench-deps: {}
maintainer: dylan@dylex.net
synopsis: ZIP archive streaming using conduits
changelog: ''
basic-deps:
exceptions: -any
bytestring: -any
base: ! '>=4.9 && <5'
time: -any
text: -any
filepath: -any
conduit: -any
conduit-extra: -any
binary-conduit: -any
binary: ! '>=0.7.2'
zip-stream: -any
zlib: -any
mtl: -any
transformers-base: -any
digest: -any
transformers: -any
resourcet: -any
primitive: -any
directory: -any
all-versions:
- '0.1'
- '0.1.0.1'
- '0.1.1'
- '0.2.0.1'
author: Dylan Simon
latest: '0.2.0.1'
description-type: haddock
description: Process (extract and create) zip files as streams (e.g., over the network),
accessing contained files without having to write the zip file to disk (unlike zip-conduit).
license-name: BSD3
|
Update to add global 301 | ---
site: dwp_jobcentre
host: www.jobcentre.gov.uk
redirection_date: 1st June 2013
tna_timestamp: 20130128102031
title: Department for Work & Pensions
homepage: https://www.gov.uk/
css: department-for-work-pensions
---
| ---
site: dwp_jobcentre
host: www.jobcentre.gov.uk
redirection_date: 1st June 2013
tna_timestamp: 20130128102031
title: Department for Work & Pensions
furl: www.gov.uk
homepage: https://www.gov.uk/
global: =301 https://www.gov.uk/
css: department-for-work-pensions
---
|
Add name to job in GitHub action | name: Create and publish Docker images
on:
# push:
# branches: ['develop']
workflow_dispatch:
jobs:
create-and-publish-dev-image:
# if: github.ref == 'refs/heads/develop'
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
# ref: develop
- name: Start system
run: ./dev start
- name: Create production static files
run: ./dev static_prod
# - name: Migrate database
# run: ./dev migrate
# - name: Load resources
# run: ./dev ???
- name: Collect staticfiles
run: ./dev collect_static
- name: Log in to the Container registry
uses: docker/login-action@v1.10.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v2.6.1
with:
context: .
push: true
tags: uccser/cs-unplugged:develop
| name: Create and publish Docker images
on:
# push:
# branches: ['develop']
workflow_dispatch:
jobs:
create-and-publish-dev-image:
name: Create and publish dev image
# if: github.ref == 'refs/heads/develop'
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
# ref: develop
- name: Start system
run: ./dev start
- name: Create production static files
run: ./dev static_prod
# - name: Migrate database
# run: ./dev migrate
# - name: Load resources
# run: ./dev ???
- name: Collect staticfiles
run: ./dev collect_static
- name: Log in to the Container registry
uses: docker/login-action@v1.10.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v2.6.1
with:
context: .
push: true
tags: uccser/cs-unplugged:develop
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.