Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Add release unit test job | presubmits:
kubernetes/release:
- name: pull-release-cluster-up
always_run: true
labels:
preset-service-account: "true"
preset-k8s-ssh: "true"
preset-bazel-scratch-dir: "true"
preset-bazel-remote-cache-enabled: "true"
preset-pull-kubernetes-e2e: "true"
spec:
containers:
- args:
- --root=/go/src
- --repo=k8s.io/kubernetes
- --repo=k8s.io/release=$(PULL_REFS)
- --upload=gs://kubernetes-jenkins/pr-logs
- --timeout=90
- --scenario=kubernetes_e2e
- --
- --build=bazel
- --cluster=
- --down=false
- --extract=local
- --gcp-node-image=gci
- --gcp-nodes=4
- --gcp-zone=us-west1-b
- --provider=gce
- --stage=gs://kubernetes-release-pull/ci/pull-release-cluster-up
- --test_args=--ginkgo.focus=definitely-not-a-real-focus
- --timeout=65m
image: gcr.io/k8s-testimages/kubekins-e2e:v20190420-93fab49-master
resources:
requests:
memory: "6Gi"
| presubmits:
kubernetes/release:
- name: pull-release-cluster-up
always_run: true
labels:
preset-service-account: "true"
preset-k8s-ssh: "true"
preset-bazel-scratch-dir: "true"
preset-bazel-remote-cache-enabled: "true"
preset-pull-kubernetes-e2e: "true"
spec:
containers:
- args:
- --root=/go/src
- --repo=k8s.io/kubernetes
- --repo=k8s.io/release=$(PULL_REFS)
- --upload=gs://kubernetes-jenkins/pr-logs
- --timeout=90
- --scenario=kubernetes_e2e
- --
- --build=bazel
- --cluster=
- --down=false
- --extract=local
- --gcp-node-image=gci
- --gcp-nodes=4
- --gcp-zone=us-west1-b
- --provider=gce
- --stage=gs://kubernetes-release-pull/ci/pull-release-cluster-up
- --test_args=--ginkgo.focus=definitely-not-a-real-focus
- --timeout=65m
image: gcr.io/k8s-testimages/kubekins-e2e:v20190420-93fab49-master
resources:
requests:
memory: "6Gi"
- name: unit-test
always_run: true
decorate: true
path_alias: k8s.io/release
spec:
containers:
- image: golang:1.12
command:
- go
args:
- test
- ./...
|
Fix expression to disable expansion pool | trigger:
batch: true
branches:
include:
- master
pr:
branches:
include:
- master
paths:
exclude:
- docs/src/main/asciidoc/*
- docs/src/main/asciidoc/images/*
- README.md
- CONTRIBUTING.md
- LICENSE.txt
- dco.txt
- .github/ISSUE_TEMPLATE/*.md
variables:
MAVEN_CACHE_FOLDER: $(Pipeline.Workspace)/.m2/repository/
MAVEN_OPTS: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)'
QUARKUS_LOCAL_REPO: $(MAVEN_CACHE_FOLDER)
# Force everything to use VMs if the expansion pool is disabled. Otherwise send PRs to the expansion pool and everything else to the hosted VMs
LINUX_USE_VMS: $[ or(not(variables['quarkus_expansion_enabled']), not(contains(variables['Build.SourceBranch'], '/pull/'))) ]
stages:
- template: ci-templates/stages.yml
parameters:
poolSettings:
vmImage: 'Ubuntu 16.04'
displayPrefix: '(Azure Hosted)'
expectUseVMs: true
- template: ci-templates/stages.yml
parameters:
poolSettings:
name: 'Expansion'
displayPrefix: '(Expansion)'
expectUseVMs: false
| trigger:
batch: true
branches:
include:
- master
pr:
branches:
include:
- master
paths:
exclude:
- docs/src/main/asciidoc/*
- docs/src/main/asciidoc/images/*
- README.md
- CONTRIBUTING.md
- LICENSE.txt
- dco.txt
- .github/ISSUE_TEMPLATE/*.md
variables:
MAVEN_CACHE_FOLDER: $(Pipeline.Workspace)/.m2/repository/
MAVEN_OPTS: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)'
QUARKUS_LOCAL_REPO: $(MAVEN_CACHE_FOLDER)
# Force everything to use VMs if the expansion pool is disabled. Otherwise send PRs to the expansion pool and everything else to the hosted VMs
LINUX_USE_VMS: $[ or(eq(variables['quarkus_expansion_enabled'], 'false'), not(contains(variables['Build.SourceBranch'], '/pull/'))) ]
stages:
- template: ci-templates/stages.yml
parameters:
poolSettings:
vmImage: 'Ubuntu 16.04'
displayPrefix: '(Azure Hosted)'
expectUseVMs: true
- template: ci-templates/stages.yml
parameters:
poolSettings:
name: 'Expansion'
displayPrefix: '(Expansion)'
expectUseVMs: false
|
Disable stable builds for now | clone_depth: 1
environment:
matrix:
- channel: beta
target: i686-pc-windows-msvc
- channel: beta
target: x86_64-pc-windows-msvc
- channel: nightly
target: i686-pc-windows-msvc
- channel: nightly
target: x86_64-pc-windows-msvc
- channel: beta
target: i686-pc-windows-gnu
- channel: beta
target: x86_64-pc-windows-gnu
- channel: nightly
target: i686-pc-windows-gnu
- channel: nightly
target: x86_64-pc-windows-gnu
# Allow failure for stable channel because
# some used Rust features are not available yet
allow_failures:
- channel: stable
target: i686-pc-windows-msvc
- channel: stable
target: x86_64-pc-windows-msvc
- channel: stable
target: i686-pc-windows-gnu
- channel: stable
target: x86_64-pc-windows-gnu
install:
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init -yv --default-toolchain %channel% --default-host %target%
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
- rustc -vV
- cargo -vV
build_script:
- cargo build -vv
test_script:
- cargo test -vv
deploy: off
| clone_depth: 1
environment:
matrix:
# Allow failure for stable channel because
# some used Rust features are not available yet
#allow_failures:
# - channel: stable
# target: i686-pc-windows-msvc
# - channel: stable
# target: x86_64-pc-windows-msvc
# - channel: stable
# target: i686-pc-windows-gnu
# - channel: stable
# target: x86_64-pc-windows-gnu
- channel: beta
target: i686-pc-windows-msvc
- channel: beta
target: x86_64-pc-windows-msvc
- channel: nightly
target: i686-pc-windows-msvc
- channel: nightly
target: x86_64-pc-windows-msvc
- channel: beta
target: i686-pc-windows-gnu
- channel: beta
target: x86_64-pc-windows-gnu
- channel: nightly
target: i686-pc-windows-gnu
- channel: nightly
target: x86_64-pc-windows-gnu
install:
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init -yv --default-toolchain %channel% --default-host %target%
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
- rustc -vV
- cargo -vV
build_script:
- cargo build -vv
test_script:
- cargo test -vv
deploy: off
|
Annotate PR's with ESLint errors | name: Node CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10.x
- name: yarn install, build, and test
run: |
yarn install
yarn run build
yarn run lint --quiet
yarn run jest
env:
CI: true
| name: Node CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10.x
- name: ESLint and annotate pull requests
uses: gimenete/eslint-action@1.0
if: github.event == 'pull_request'
- name: yarn install, build, and test
run: |
yarn install
yarn run lint --quiet
yarn run build
yarn run jest
env:
CI: true
|
Fix nginx path in nfs pod example. | #
# This pod imports nfs-server.default.kube.local:/ into /var/www/html
#
apiVersion: v1beta3
kind: Pod
metadata:
name: nfs-web
spec:
containers:
- name: web
image: nginx
ports:
- name: web
containerPort: 80
protocol: tcp
volumeMounts:
# name must match the volume name below
- name: nfs
mountPath: "/var/www/html"
volumes:
- name: nfs
nfs:
# FIXME: use the right hostname
server: nfs-server.default.kube.local
path: "/"
readOnly: false
| #
# This pod imports nfs-server.default.kube.local:/ into /var/www/html
#
apiVersion: v1beta3
kind: Pod
metadata:
name: nfs-web
spec:
containers:
- name: web
image: nginx
ports:
- name: web
containerPort: 80
protocol: tcp
volumeMounts:
# name must match the volume name below
- name: nfs
mountPath: "/usr/share/nginx/html"
volumes:
- name: nfs
nfs:
# FIXME: use the right hostname
server: nfs-server.default.kube.local
path: "/"
readOnly: false
|
Update from Hackage at 2018-09-22T01:37:03Z | homepage: ''
changelog-type: ''
hash: 323c77e91fb5c380ac15188dbd50908b4af5c860dd6453a4435149ee75d995ec
test-bench-deps:
tasty-smallcheck: ! '>=0.8'
base: ! '>=4.11 && <5'
smallcheck: ! '>=1.1.4'
ival: -any
tasty: ! '>=1.0'
maintainer: strake888@gmail.com
synopsis: Intervals
changelog: ''
basic-deps:
alg: ! '>=0.2.6 && <0.3'
base: ! '>=4.7 && <5'
all-versions:
- '0.1.0.0'
author: M Farkas-Dyck
latest: '0.1.0.0'
description-type: markdown
description: ! '# ival
'
license-name: BSD3
| homepage: ''
changelog-type: ''
hash: 66882dd27939f47da7fff94873dd33c95a988a63f587421ca51a5be3183cdc0c
test-bench-deps:
tasty-smallcheck: ! '>=0.8'
alg: ! '>=0.2.6 && <0.3'
base: ! '>=4.11 && <5'
smallcheck: ! '>=1.1.4'
ival: -any
tasty: ! '>=1.0'
maintainer: strake888@gmail.com
synopsis: Intervals
changelog: ''
basic-deps:
alg: ! '>=0.2.6 && <0.3'
base: ! '>=4.7 && <5'
all-versions:
- '0.1.0.0'
- '0.2.0.0'
author: M Farkas-Dyck
latest: '0.2.0.0'
description-type: markdown
description: ! '# ival
'
license-name: BSD3
|
Set and use PostgreSQL psql variable as string | version: 1.0.0-{build}
init:
- SET PATH=%PYTHON%;%PYTHON%\Scripts;C:\Program Files\PostgreSQL\12\bin\;%PATH%
image:
- Visual Studio 2019
- Ubuntu1804
- macos
environment:
PGUSER: postgres
PGPASSWORD: Password12!
matrix:
- PYTHON: "C:\\Python38"
PYTHON_VERSION: "3.8.1"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python38-x64"
PYTHON_VERSION: "3.8.1"
PYTHON_ARCH: "64"
cache:
- '%LOCALAPPDATA%\pip\Cache'
# services:
# - postgresql12
# https://github.com/appveyor/ci/issues/3299
install:
- pip install --upgrade --requirement requirements.txt
build_script:
- net start postgresql-x64-12
- createdb harmonbot
- psql --variable=pgpassword=%PGPASSWORD% < "CREATE USER harmonbot WITH PASSWORD pgpassword"
test_script:
- cd Discord && python Harmonbot.py
- cd ../Telegram && python Telegram_Harmonbot.py
| version: 1.0.0-{build}
init:
- SET PATH=%PYTHON%;%PYTHON%\Scripts;C:\Program Files\PostgreSQL\12\bin\;%PATH%
image:
- Visual Studio 2019
- Ubuntu1804
- macos
environment:
PGUSER: postgres
PGPASSWORD: Password12!
matrix:
- PYTHON: "C:\\Python38"
PYTHON_VERSION: "3.8.1"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python38-x64"
PYTHON_VERSION: "3.8.1"
PYTHON_ARCH: "64"
cache:
- '%LOCALAPPDATA%\pip\Cache'
# services:
# - postgresql12
# https://github.com/appveyor/ci/issues/3299
install:
- pip install --upgrade --requirement requirements.txt
build_script:
- net start postgresql-x64-12
- createdb harmonbot
- psql --variable=pgpassword="%PGPASSWORD%" < "CREATE USER harmonbot WITH PASSWORD :'pgpassword'"
test_script:
- cd Discord && python Harmonbot.py
- cd ../Telegram && python Telegram_Harmonbot.py
|
Use a tagged version in the examples | version: "2"
services:
world:
build:
context: https://github.com/dst-academy/docker-dontstarvetogether.git#:build
args:
MODS: 378160973,492173795,407705132
container_name: world
hostname: world
tty: true
stdin_open: true
command: dst-server start --update=all
env_file: world.env
ports:
- "10999:10999/udp"
volumes:
- ./world:/var/lib/dsta/cluster
| version: "2"
services:
world:
build:
context: https://github.com/dst-academy/docker-dontstarvetogether.git#v0.8.0:build
args:
MODS: 378160973,492173795,407705132
container_name: world
hostname: world
tty: true
stdin_open: true
command: dst-server start --update=all
env_file: world.env
ports:
- "10999:10999/udp"
volumes:
- ./world:/var/lib/dsta/cluster
|
Add Microsoft Edge as browser to CI tests | ui: mocha-bdd
browserify:
- transform: babelify
browsers:
- name: firefox
version: 37..latest
platform: Mac 10.10
- name: opera
version: latest
platform: Mac 10.10
- name: chrome
version: 36..latest
- name: safari
version: 7..latest
- name: ie
version: 10..latest
- name: android
version: '4.4..latest'
- name: iphone
version: '6.0..latest'
| ui: mocha-bdd
browserify:
- transform: babelify
browsers:
- name: firefox
version: 37..latest
platform: Mac 10.10
- name: opera
version: latest
platform: Mac 10.10
- name: chrome
version: 36..latest
- name: safari
version: 7..latest
- name: ie
version: 10..latest
- name: android
version: '4.4..latest'
- name: iphone
version: '6.0..latest'
- name: MicrosoftEdge
platform: Windows 10
version: '20.10240..latest'
|
Fix path to wait_for_emulator script | language: android
jdk: oraclejdk8
env:
global:
- ANDROID_API_LEVEL=23
- ANDROID_BUILD_TOOLS_VERSION=23.0.1
- ANDROID_ABI=armeabi-v7a
android:
components:
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
- android-$ANDROID_API_LEVEL
before_install:
- echo "y" | android update sdk -a --no-ui --filter sys-img-armeabi-v7a-android-$ANDROID_API_LEVEL,sys-img-x86_64-android-$ANDROID_API_LEVEL
- echo no | android create avd --force -n test -t android-$ANDROID_API_LEVEL --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
before_script:
- ./ci/wait_for_emulator
- adb shell input keyevent 82 & | language: android
jdk: oraclejdk8
env:
global:
- ANDROID_API_LEVEL=23
- ANDROID_BUILD_TOOLS_VERSION=23.0.1
- ANDROID_ABI=armeabi-v7a
android:
components:
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
- android-$ANDROID_API_LEVEL
before_install:
- echo "y" | android update sdk -a --no-ui --filter sys-img-armeabi-v7a-android-$ANDROID_API_LEVEL,sys-img-x86_64-android-$ANDROID_API_LEVEL
- echo no | android create avd --force -n test -t android-$ANDROID_API_LEVEL --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
before_script:
- ./travis/wait_for_emulator
- adb shell input keyevent 82 & |
Update Travis environment to Java 11 | sudo: required
dist: xenial
addons:
apt:
packages:
- bc
- parallel
language: java
jdk:
- openjdk9
script: make verify
| sudo: required
dist: xenial
addons:
apt:
packages:
- bc
- parallel
language: java
jdk:
- openjdk11
- oraclejdk11
script: make verify
|
Exclude rails 5 with ruby under 2.1 tests from Travis | language: ruby
script: bundle exec rake spec
rvm:
- 2.0.0
- 2.1
- 2.2.4
- ruby-head
gemfile:
- gemfiles/Gemfile-rails.3.2.x
- gemfiles/Gemfile-rails.4.0.x
- gemfiles/Gemfile-rails.4.1.x
- gemfiles/Gemfile-rails.4.2.x
- gemfiles/Gemfile-rails.5.0.0.beta1
sudo: false
matrix:
exclude:
- rvm: ruby-head
gemfile: gemfiles/Gemfile-rails.3.2.x
allow_failures:
- rvm: ruby-head
| language: ruby
script: bundle exec rake spec
rvm:
- 2.0.0
- 2.1
- 2.2.4
- ruby-head
gemfile:
- gemfiles/Gemfile-rails.3.2.x
- gemfiles/Gemfile-rails.4.0.x
- gemfiles/Gemfile-rails.4.1.x
- gemfiles/Gemfile-rails.4.2.x
- gemfiles/Gemfile-rails.5.0.0.beta1
sudo: false
matrix:
exclude:
- rvm: ruby-head
gemfile: gemfiles/Gemfile-rails.3.2.x
- rvm: 2.0.0
gemfile: gemfiles/Gemfile-rails.5.0.0.beta1
- rvm: 2.1
gemfile: gemfiles/Gemfile-rails.5.0.0.beta1
allow_failures:
- rvm: ruby-head
|
Use simpler Travis pip caching syntax | sudo: false
cache:
directories:
- $HOME/.cache/pip
language: python
matrix:
include:
- python: 2.7
env: TOXENV=py27,py27-flake8
- python: 3.4
env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36,py36-flake8
- python: pypy
env: TOXENV=pypy
- python: pypy3
env: TOXENV=pypy3
services:
- memcached
install:
- travis_retry pip install tox
script:
- travis_retry tox -- -m unit,integration
| sudo: false
cache: pip
language: python
matrix:
include:
- python: 2.7
env: TOXENV=py27,py27-flake8
- python: 3.4
env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36,py36-flake8
- python: pypy
env: TOXENV=pypy
- python: pypy3
env: TOXENV=pypy3
services:
- memcached
install:
- travis_retry pip install tox
script:
- travis_retry tox -- -m unit,integration
|
Use PhantomJS 2.0 on Travis | ---
language: node_js
node_js:
- "4"
sudo: false
cache:
directories:
- node_modules
env:
- EMBER_TRY_SCENARIO=default
- EMBER_TRY_SCENARIO=ember-1.13
- EMBER_TRY_SCENARIO=ember-release
- EMBER_TRY_SCENARIO=ember-beta
- EMBER_TRY_SCENARIO=ember-canary
matrix:
fast_finish: true
allow_failures:
- env: EMBER_TRY_SCENARIO=ember-canary
before_install:
- export PATH=/usr/local/phantomjs-2.0.0/bin:$PATH
- "npm config set spin false"
- "npm install -g npm@^2"
install:
- npm install -g bower
- npm install
- bower install
script:
- ember try $EMBER_TRY_SCENARIO test
| ---
language: node_js
node_js:
- "4"
sudo: false
cache:
directories:
- node_modules
env:
- EMBER_TRY_SCENARIO=default
- EMBER_TRY_SCENARIO=ember-1.13
- EMBER_TRY_SCENARIO=ember-release
- EMBER_TRY_SCENARIO=ember-beta
- EMBER_TRY_SCENARIO=ember-canary
matrix:
fast_finish: true
allow_failures:
- env: EMBER_TRY_SCENARIO=ember-canary
before_install:
- export PATH=/usr/local/phantomjs-2.0.0/bin:$PATH
- "npm config set spin false"
- "npm install -g npm@^2"
install:
- npm install -g bower
- npm install
- bower install
- mkdir travis-phantomjs
- wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2
- tar -xvf $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -C $PWD/travis-phantomjs
- export PATH=$PWD/travis-phantomjs:$PATH
script:
- ember try $EMBER_TRY_SCENARIO test
|
Test Node.js versions to 6, 8 and 10 | sudo: false
language: node_js
node_js:
- '7'
- '6'
- '4.1.1'
| language: node_js
node_js:
- 10
- 8
- 6
|
Disable Travis CI checks for 3.7 nightly version of Python | language: python
python:
- "3.4"
- "3.5"
- "3.5-dev" # 3.5 development branch
- "3.6"
- "3.6-dev" # 3.6 development branch
- "3.7-dev" # 3.7 development branch
- "nightly" # currently points to 3.7-dev
env:
- GEVENT=true
- GEVENT=false
install: pip install gevent PyYaml
script: python -m pytest -vv tests
notifications:
email:
on_success: change
on_failure: change
| language: python
python:
- "3.4"
- "3.5"
- "3.5-dev" # 3.5 development branch
- "3.6"
- "3.6-dev" # 3.6 development branch
# - "3.7-dev" # 3.7 development branch
# - "nightly" # currently points to 3.7-dev
env:
- GEVENT=true
- GEVENT=false
install: pip install gevent PyYaml
script: python -m pytest -vv tests
notifications:
email:
on_success: change
on_failure: change
|
Update recipe-cms dependency for builds | language: php
dist: trusty
cache:
directories:
- $HOME/.composer/cache/files
php:
- 7.1
- 7.2
- nightly
env:
global:
- DB=SQLITE
- PDO=1
matrix:
fast_finish: true
include:
- php: 7.2
env: PDO=0 PHPCS_TEST=1
allow_failure:
- php: nightly
before_script:
# Init PHP
- phpenv rehash
- phpenv config-rm xdebug.ini
- export PATH=~/.composer/vendor/bin:$PATH
- echo 'memory_limit = 2048M' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
# Install composer dependencies
- composer validate
- composer require --no-update silverstripe/recipe-cms:1.0.x-dev
- composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
- if [[ $PHPCS_TEST ]]; then composer global require squizlabs/php_codesniffer:^3 --prefer-dist --no-interaction --no-progress --no-suggest -o; fi
script:
- vendor/bin/phpunit vendor/silverstripe/framework/tests
- if [[ $PHPCS_TEST ]]; then composer run-script lint; fi
| language: php
dist: trusty
cache:
directories:
- $HOME/.composer/cache/files
php:
- 7.1
- 7.2
- nightly
env:
global:
- DB=SQLITE
- PDO=1
matrix:
fast_finish: true
include:
- php: 7.2
env: PDO=0 PHPCS_TEST=1
allow_failure:
- php: nightly
before_script:
# Init PHP
- phpenv rehash
- phpenv config-rm xdebug.ini
- export PATH=~/.composer/vendor/bin:$PATH
- echo 'memory_limit = 2048M' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
# Install composer dependencies
- composer validate
- composer require --no-update silverstripe/recipe-cms:2.x-dev
- composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
- if [[ $PHPCS_TEST ]]; then composer global require squizlabs/php_codesniffer:^3 --prefer-dist --no-interaction --no-progress --no-suggest -o; fi
script:
- vendor/bin/phpunit vendor/silverstripe/framework/tests
- if [[ $PHPCS_TEST ]]; then composer run-script lint; fi
|
Add 0.12 and iojs to CI run. | language: node_js
node_js:
- "0.11"
- "0.10"
before_install:
- npm update -g npm
- npm install -g bob coveralls --loglevel error
script:
- bob build
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
| sudo: false
language: node_js
node_js:
- "0.11"
- "0.10"
- "0.12"
- iojs
before_install:
- npm update -g npm
- npm install -g bob coveralls --loglevel error
script:
- bob build
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
|
Move deps to install hook | language: python
python:
- "3.3"
virtualenv:
system_site_packages: true
before_install:
- sudo apt-get -qq update
- sudo apt-get -y install python3-pyqt5
install:
- "pip install markdown whoosh"
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script: python test.py
| language: python
sudo: required
dist: trusty
python:
- "3.3"
virtualenv:
system_site_packages: true
install:
- sudo apt-get update -q
- sudo apt-get install python3-pyqt5 -y
- "pip install markdown whoosh"
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script: python test.py
|
Use only the Gradle Wrapper for Travis-CI | dist: bionic
language: java
jdk:
- openjdk8
- openjdk11
before_install:
- chmod +x gradlew gradle/wrapper/gradle-wrapper.jar
install:
- gradle wrapper
- ./gradlew compileJava
#after_failure:
#- cat build/test-results/*.xml
| dist: bionic
language: java
jdk:
- openjdk8
- openjdk11
before_install:
- chmod +x gradlew gradle/wrapper/gradle-wrapper.jar
install:
- ./gradlew wrapper
- ./gradlew compileJava
#after_failure:
#- cat build/test-results/*.xml
|
Remove release tagging from Travis | dist: xenial
#https://docs.travis-ci.com/user/languages/java/#Caching
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
matrix:
include:
- stage: build
language: java
jdk: openjdk11
script:
- "./gradlew -i check jacocoRootReport"
after_success:
- bash <(curl -s https://codecov.io/bash)
cache:
directories:
- "$HOME/.m2"
- "$HOME/.gradle"
- stage: tag
if: branch = master AND type != "pull_request"
script: 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then ./release-tag.sh; fi'
| dist: xenial
#https://docs.travis-ci.com/user/languages/java/#Caching
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
matrix:
include:
- stage: build
language: java
jdk: openjdk11
script:
- "./gradlew -i check jacocoRootReport"
after_success:
- bash <(curl -s https://codecov.io/bash)
cache:
directories:
- "$HOME/.m2"
- "$HOME/.gradle"
|
Put back the original tavis config file | language: cpp
compiler:
- clang
- gcc
env:
- BUILDTOOL=autotools
- BUILDTOOL=cmake
install:
- sudo apt-get update --fix-missing
- sudo apt-get install valgrind
- wget https://googlemock.googlecode.com/files/gmock-1.6.0.zip
- unzip gmock-1.6.0.zip
- cd gmock-1.6.0
- ./configure && make
- cd ..
before_script:
- export GMOCK_HOME=$TRAVIS_BUILD_DIR/gmock-1.6.0
- export GTEST_HOME=$TRAVIS_BUILD_DIR/gmock-1.6.0/gtest
- export CPPUTEST_BUILD_DIR=$TRAVIS_BUILD_DIR/cpputest_build
- mkdir -p $CPPUTEST_BUILD_DIR && cd $CPPUTEST_BUILD_DIR
script:
- git config remote.origin.url
# - ../scripts/travis_ci_build.sh
| language: cpp
compiler:
- clang
- gcc
env:
- BUILDTOOL=autotools
- BUILDTOOL=cmake
install:
- sudo apt-get update --fix-missing
- sudo apt-get install valgrind
- wget https://googlemock.googlecode.com/files/gmock-1.6.0.zip
- unzip gmock-1.6.0.zip
- cd gmock-1.6.0
- ./configure && make
- cd ..
before_script:
- export GMOCK_HOME=$TRAVIS_BUILD_DIR/gmock-1.6.0
- export GTEST_HOME=$TRAVIS_BUILD_DIR/gmock-1.6.0/gtest
- export CPPUTEST_BUILD_DIR=$TRAVIS_BUILD_DIR/cpputest_build
- mkdir -p $CPPUTEST_BUILD_DIR && cd $CPPUTEST_BUILD_DIR
script:
- ../scripts/travis_ci_build.sh
|
Exclude HHVM with --prefer-lowest option from build matrix as it's throwing errors | language: php
sudo: false
php:
- 5.4
- 5.5
- 5.6
- 7
- hhvm
env:
- COMPOSER_OPTS=""
- COMPOSER_OPTS="--prefer-lowest"
before_script:
- travis_retry composer self-update
- travis_retry composer update $COMPOSER_OPTS
script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- if [ "$TRAVIS_PHP_VERSION" != 7 ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
| language: php
sudo: false
php:
- 5.4
- 5.5
- 5.6
- 7
- hhvm
env:
- COMPOSER_OPTS=""
- COMPOSER_OPTS="--prefer-lowest"
matrix:
exclude:
- php: hhvm
env: COMPOSER_OPTS="--prefer-lowest"
before_script:
- travis_retry composer self-update
- travis_retry composer update $COMPOSER_OPTS
script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- if [ "$TRAVIS_PHP_VERSION" != 7 ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
|
Build verbosely and remove make dist | language: c
os:
- osx
compiler:
- clang
- gcc
before_script:
- brew update
- brew install libarchive
- brew install openssl
- brew install kyua
- autoreconf -i
script:
- ./configure
- make
- make dist
- make check
after_failure:
- kyua report --verbose
| language: c
os:
- osx
compiler:
- clang
- gcc
before_script:
- brew update
- brew install libarchive
- brew install openssl
- brew install kyua
- autoreconf -i
script:
- ./configure
- make V=1
- make check
after_failure:
- kyua report --verbose
|
Update Ruby version in Travis config. | language: ruby
rvm:
- 2.3.3
sudo: false
services:
- redis-server
addons:
code_climate:
repo_token: 48aeb1397404fe6079c14bbca8911959d29b44065e305a70b1bc6604d3effe46
before_script:
- bundle exec rake db:migrate RAILS_ENV=test
| language: ruby
rvm:
- 2.5.1
sudo: false
services:
- redis-server
addons:
code_climate:
repo_token: 48aeb1397404fe6079c14bbca8911959d29b44065e305a70b1bc6604d3effe46
before_script:
- bundle exec rake db:migrate RAILS_ENV=test
|
Upgrade vala.c from 0.22 to 0.30 | language: c
compiler: gcc
sudo: required
dist: xenial
before_install:
- sudo add-apt-repository ppa:vala-team/ppa -y
- sudo apt-get update -y
- sudo apt-get install -y xvfb build-essential gnome-common libglib2.0-dev libgtk-3-dev libgee-0.8 libjson-glib-1.0.0 libjson-glib-dev libvala-0.22-dev valac-0.22 libvte-2.90-dev libsoup2.4-dev
after_success:
- bash <(curl -s https://codecov.io/bash)
script:
- NO_AT_BRIDGE=1 TRAVIS=true xvfb-run make
- NO_AT_BRIDGE=1 TRAVIS=true xvfb-run make test-coverage
| language: c
compiler: gcc
sudo: required
dist: xenial
before_install:
- sudo add-apt-repository ppa:vala-team/ppa -y
- sudo apt-get update -y
- sudo apt-get install -y xvfb build-essential gnome-common libglib2.0-dev libgtk-3-dev libgee-0.8 libjson-glib-1.0.0 libjson-glib-dev libvala-0.30-dev valac-0.30 libvte-2.90-dev libsoup2.4-dev
after_success:
- bash <(curl -s https://codecov.io/bash)
script:
- NO_AT_BRIDGE=1 TRAVIS=true xvfb-run make
- NO_AT_BRIDGE=1 TRAVIS=true xvfb-run make test-coverage
|
Revert "Maybe need latex for os/x now?" | os:
- linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-8
- g++-8
- gfortran-8
homebrew:
packages:
- gnu-tar
global:
- MAKEFLAGS="-j 2"
matrix:
include:
- os: osx
osx_image: xcode9.4
env:
- MODE=build
dist: xenial
sudo: required
latex: true
language: r
git:
submodules: false
install:
- mkdir -p ~/.R
- ./util/travis/install-$TRAVIS_OS_NAME
script: "./util/travis/script"
env:
matrix:
- MODE=test IMX_OPT_ENGINE=NPSOL
- MODE=test IMX_OPT_ENGINE=CSOLNP
- MODE=test IMX_OPT_ENGINE=SLSQP
- MODE=cran-check
branches:
except:
- stable # already tested
before_deploy:
- openssl aes-256-cbc -K $encrypted_45bb258eabb3_key -iv $encrypted_45bb258eabb3_iv -in util/travis/deploy_rsa.enc -out /tmp/deploy_rsa -d
- eval "$(ssh-agent -s)"
- chmod 600 /tmp/deploy_rsa
- ssh-add /tmp/deploy_rsa
deploy:
provider: script
skip_cleanup: true
script: ./util/travis/deploy
on: master
| os:
- linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-8
- g++-8
- gfortran-8
homebrew:
packages:
- gnu-tar
global:
- MAKEFLAGS="-j 2"
matrix:
include:
- os: osx
osx_image: xcode9.4
env:
- MODE=build
latex: false
dist: xenial
sudo: required
latex: true
language: r
git:
submodules: false
install:
- mkdir -p ~/.R
- ./util/travis/install-$TRAVIS_OS_NAME
script: "./util/travis/script"
env:
matrix:
- MODE=test IMX_OPT_ENGINE=NPSOL
- MODE=test IMX_OPT_ENGINE=CSOLNP
- MODE=test IMX_OPT_ENGINE=SLSQP
- MODE=cran-check
branches:
except:
- stable # already tested
before_deploy:
- openssl aes-256-cbc -K $encrypted_45bb258eabb3_key -iv $encrypted_45bb258eabb3_iv -in util/travis/deploy_rsa.enc -out /tmp/deploy_rsa -d
- eval "$(ssh-agent -s)"
- chmod 600 /tmp/deploy_rsa
- ssh-add /tmp/deploy_rsa
deploy:
provider: script
skip_cleanup: true
script: ./util/travis/deploy
on: master
|
Remove matrix options from Travis configuration file | language: java
jdk: openjdk11
sudo: true
matrix:
include:
- jdk: openjdk11
before_install:
- rm "${JAVA_HOME}/lib/security/cacerts"
- ln -s /etc/ssl/certs/java/cacerts "${JAVA_HOME}/lib/security/cacerts"
script:
- cd buildinggame
- mvn clean install -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2 -D maven.wagon.http.ssl.insecure=true -D maven.wagon.http.ssl.allowall=true | language: java
jdk: openjdk11
sudo: true
script:
- cd buildinggame
- mvn clean install -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2 -D maven.wagon.http.ssl.insecure=true -D maven.wagon.http.ssl.allowall=true |
Update Travis to macOS Sierra | language: csharp
sudo: required
dist: trusty
addons:
apt:
packages:
- gettext
- libcurl4-openssl-dev
- libicu-dev
- libssl-dev
- libunwind8
- zlib1g
env:
global:
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
mono: none
os:
- linux
- osx
branches:
only:
- master
- release
- dev
- /^(.*\/)?ci-.*$/
before_install:
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; fi
script:
- ./build.sh
notifications:
webhooks:
secure: "imfp26oc8QAWwRdbLoeyNWhkJnE/fD/80B7GD3jac0MEfjJiNjox1bKzgXfUlxZE8MITQk5F+TX00fm4/YYHQSQQqzQSUM1P/02OM+PAbSyVX8MqII2+ECJC1x5UcoCI/hbQW5wAVzhCv9qDirJSbRFAAv0c3+alBrZs4RuYf4w="
on_success: always
on_failure: always
on_start: always
| language: csharp
sudo: false
dist: trusty
env:
global:
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
mono: none
os:
- linux
- osx
osx_image: xcode8.2
branches:
only:
- master
- release
- dev
- /^(.*\/)?ci-.*$/
before_install:
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; fi
script:
- ./build.sh
|
Use a current version of bower again | dist: trusty
group: beta
language: node_js
node_js:
- node
addons:
firefox: latest-esr
cache:
directories:
- node_modules
- "$HOME/.cache/bower"
before_install:
- "if [ -d node_modules ] && [ x$(cat node_modules/.last-node-version 2>/dev/null) != x$(node -e 'console.log(process.version)') ]; then npm rebuild --update-binary && node -e 'console.log(process.version)' > node_modules/.last-node-version; fi"
before_script:
- npm install web-component-tester bower@1.7.9 polylint
- $(npm bin)/bower install
- $(npm bin)/polylint --no-recursion
script:
- xvfb-run $(npm bin)/wct
| dist: trusty
group: beta
language: node_js
node_js:
- node
addons:
firefox: latest-esr
cache:
directories:
- node_modules
- "$HOME/.cache/bower"
before_install:
- "if [ -d node_modules ] && [ x$(cat node_modules/.last-node-version 2>/dev/null) != x$(node -e 'console.log(process.version)') ]; then npm rebuild --update-binary && node -e 'console.log(process.version)' > node_modules/.last-node-version; fi"
before_script:
- npm install web-component-tester bower polylint
- $(npm bin)/bower install
- $(npm bin)/polylint --no-recursion
script:
- xvfb-run $(npm bin)/wct
|
Add in echo for outputting to a file | language: ruby
rvm:
- "1.9.2"
- "1.9.3"
- "2.0.0"
script: "bundle exec ruby ./spec_helper.rb"
before_install:
- touch ~/.netrc
- "# This entry was added for connecting to the Acquia Cloud API\nmachine cloudapi.acquia.com\n login me@acquia.com\n password t0ps3cret" > ~/.netrc
| language: ruby
rvm:
- "1.9.2"
- "1.9.3"
- "2.0.0"
script: "bundle exec ruby ./spec_helper.rb"
before_install:
- touch ~/.netrc
- echo "# This entry was added for connecting to the Acquia Cloud API\nmachine cloudapi.acquia.com\n login me@acquia.com\n password t0ps3cret" > ~/.netrc
|
Change Poco library to download from dpkg server | # Become Ubuntu 14.04 Trusty
dist: trusty
language: cpp
addons:
apt:
packages:
- cmake
- libboost-all-dev
- cppcheck
- clang-3.6
- clang-format-3.6
- valgrind
- doxygen
compiler:
- gcc
os:
- linux
before_install:
- "wget https://packagecloud.io/uilianries/poco/packages/ubuntu/trusty/libpoco-1.7_1.7-1_amd64.deb && sudo dpkg -i libpoco-1.7_1.7-1_amd64.deb"
script:
- script/linter.sh
- script/static-analysis.sh
- script/build.sh
- script/valgrind.sh build/test/test_gpio
branches:
only:
- develop
| # Become Ubuntu 14.04 Trusty
dist: trusty
language: cpp
addons:
apt:
packages:
- cmake
- libboost-all-dev
- cppcheck
- clang-3.6
- clang-format-3.6
- valgrind
- doxygen
- curl
compiler:
- gcc
os:
- linux
before_install:
- "curl -s https://packagecloud.io/install/repositories/uilianries/poco/script.deb.sh | sudo bash && sudo apt-get install libpoco-1.7=1.7-1"
script:
- script/linter.sh
- script/static-analysis.sh
- script/build.sh
- script/valgrind.sh build/test/test_gpio
branches:
only:
- develop
|
Stop testing with Python nightly versions on Travis as the linters may not be updated as quickly. | dist: trusty
sudo: false
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "nightly"
before_install:
- pip install --upgrade setuptools pip
- pip install --upgrade virtualenv
install:
- pip install --upgrade flake8 pylint
- pip --version
- virtualenv --version
- flake8 --version
- pylint --version
- git --version
before_script:
- flake8 --count ${TRAVIS_BUILD_DIR}
# Do not run pylint on nightly Python versions as they may not be compatible
- |
if [[ $TRAVIS_PYTHON_VERSION != "nightly" ]]; then
pylint ${TRAVIS_BUILD_DIR}
fi
- pip install pytest-cov codecov
script:
- py.test lithium/tests.py -v --cov . --cov-report term-missing
after_success:
- codecov
| dist: trusty
sudo: false
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
before_install:
- pip install --upgrade setuptools pip
- pip install --upgrade virtualenv
install:
- pip install --upgrade flake8 pylint
- pip --version
- virtualenv --version
- flake8 --version
- pylint --version
- git --version
before_script:
- flake8 --count ${TRAVIS_BUILD_DIR}
- pylint ${TRAVIS_BUILD_DIR}
- pip install pytest-cov codecov
script:
- py.test lithium/tests.py -v --cov . --cov-report term-missing
after_success:
- codecov
|
Build Matrix Extended to Python 3.6 | language: python
python:
- 3.4
- 3.5
script: python setup.py test
notifications:
- email: false
| language: python
python:
- 3.4
- 3.5
- 3.6
script: python setup.py test
notifications:
- email: false
|
Update cflinuxfs2 to 1.242.0 to fix git CVE | ---
- type: replace
path: /releases/name=cflinuxfs2
value:
name: cflinuxfs2
url: https://bosh.io/d/github.com/cloudfoundry/cflinuxfs2-release?v=1.241.0
version: 1.241.0
sha1: adce7383e1eb8d60351c1204d0d947a235893c39
| ---
- type: replace
path: /releases/name=cflinuxfs2
value:
name: cflinuxfs2
url: https://bosh.io/d/github.com/cloudfoundry/cflinuxfs2-release?v=1.242.0
version: 1.242.0
sha1: 99821c729c05646c203a684a15a0971a5af08e35
|
Update from Hackage at 2018-10-24T03:38:45Z | homepage: ''
changelog-type: ''
hash: 305174f65dfb1dfe8d30bb9ad4bdb576817a90f5153d36072b4c66d8e684e3df
test-bench-deps:
inline-c: -any
base: ! '>=4 && <5'
hspec: -any
safe-exceptions: -any
inline-c-cpp: -any
maintainer: francesco@fpcomplete.com
synopsis: Lets you embed C++ code into Haskell.
changelog: ''
basic-deps:
inline-c: ! '>=0.6.1.0'
base: ! '>=4.7 && <5'
safe-exceptions: -any
template-haskell: -any
all-versions:
- '0.1.0.0'
- '0.2.0.0'
- '0.2.0.1'
- '0.2.0.2'
- '0.2.1.0'
- '0.2.2.1'
- '0.3.0.0'
author: Francesco Mazzoli
latest: '0.3.0.0'
description-type: haddock
description: ! 'Utilities to inline C++ code into Haskell using inline-c. See
tests for example on how to build.'
license-name: MIT
| homepage: ''
changelog-type: ''
hash: 916ffd22c097f399a47f6ddb9313e2ce36d8051755dd702c23f8d20a370fee09
test-bench-deps:
inline-c: -any
base: ! '>=4 && <5'
hspec: -any
safe-exceptions: -any
inline-c-cpp: -any
maintainer: francesco@fpcomplete.com
synopsis: Lets you embed C++ code into Haskell.
changelog: ''
basic-deps:
inline-c: ! '>=0.6.1.0'
base: ! '>=4.7 && <5'
safe-exceptions: -any
template-haskell: -any
all-versions:
- '0.1.0.0'
- '0.2.0.0'
- '0.2.0.1'
- '0.2.0.2'
- '0.2.1.0'
- '0.2.2.1'
- '0.3.0.1'
author: Francesco Mazzoli
latest: '0.3.0.1'
description-type: haddock
description: ! 'Utilities to inline C++ code into Haskell using inline-c. See
tests for example on how to build.'
license-name: MIT
|
Update from Hackage at 2019-09-05T21:04:52Z | homepage: ''
changelog-type: markdown
hash: 68e7d126c7c3b69c20ab9f54b385be66f42338af9909822c13574caf6549a4e9
test-bench-deps: {}
maintainer: vanessa.mchale@iohk.io
synopsis: Bind media keys to work with Spotify
changelog: ! "# xmonad-spotify\n\n## 0.1.1.0\n\n * Add `audioStop` and add appropriate
keybindings\n\n## 0.1.0.1\n\n * Generalize type signatures\n * Remove dependency
on `xmonad-contrib` and `xmonad`\n\n## 0.1.0.0\n\nInitial release\n"
basic-deps:
base: ! '>=4.8 && <5'
X11: -any
containers: -any
dbus: -any
all-versions:
- 0.1.0.0
- 0.1.0.1
- 0.1.1.0
author: Vanessa McHale
latest: 0.1.1.0
description-type: markdown
description: ! '# xmonad-spotify
This library provides some functionality related to Spotify via `dbus`.
'
license-name: BSD-3-Clause
| homepage: ''
changelog-type: markdown
hash: 61f9a53978ccf04b258b706836a326da8f295e5bb7d3f7390b4191f189c973ab
test-bench-deps: {}
maintainer: vamchale@gmail.com
synopsis: Bind media keys to work with Spotify
changelog: |
# xmonad-spotify
## 0.1.2.0
* Add `audioStopWith` etc., `mediaKeysWith`
## 0.1.1.0
* Add `audioStop` and add appropriate keybindings
## 0.1.0.1
* Generalize type signatures
* Remove dependency on `xmonad-contrib` and `xmonad`
## 0.1.0.0
Initial release
basic-deps:
base: ! '>=4.8 && <5'
X11: -any
containers: -any
dbus: -any
all-versions:
- 0.1.0.0
- 0.1.0.1
- 0.1.1.0
- 0.1.2.0
author: Vanessa McHale
latest: 0.1.2.0
description-type: markdown
description: |
# xmonad-spotify
This library provides some functionality related to Spotify via `dbus`.
license-name: BSD-3-Clause
|
Fix identation and a typo in autoscaling group definition. |
# basic information for generating and executing this definition
SenzaInfo:
StackName: spilo
Parameters:
- EtcdDiscoveryUrl:
Description: "Discovery URL for the etcd service"
- ImageVersion:
Description: "Docker image version of spilo."
# a list of senza components to apply to the definition
SenzaComponents:
# this basic configuration is required for the other components
- Configuration:
Type: Senza::StupsAutoConfiguration # auto-detect network setup
# will create a launch configuration and auto scaling group with scaling triggers
- AppServer:
Type: Senza::TaupageAutoScalingGroup
Autoscaling:
Minumum: 3
Maximum: 3
MetricType: CPU
InstanceType: t2.micro
SecurityGroups:
- app-spilo
IamRoles:
- app-spilo
TaupageConfig:
runtime: Docker
source: "{{Arguments.ImageVersion}}"
ports:
5432: 5432
environment:
SCOPE: "{{Arguments.version}}"
ETCD_DISCOVERY_URL: "{{Arguments.EtcdDiscoveryUrl}}"
root: true
|
# basic information for generating and executing this definition
SenzaInfo:
StackName: spilo
Parameters:
- EtcdDiscoveryUrl:
Description: "Discovery URL for the etcd service"
- ImageVersion:
Description: "Docker image version of spilo."
# a list of senza components to apply to the definition
SenzaComponents:
# this basic configuration is required for the other components
- Configuration:
Type: Senza::StupsAutoConfiguration # auto-detect network setup
# will create a launch configuration and auto scaling group with scaling triggers
- AppServer:
Type: Senza::TaupageAutoScalingGroup
AutoScaling:
Minimum: 3
Maximum: 3
MetricType: CPU
InstanceType: t2.micro
SecurityGroups:
- app-spilo
IamRoles:
- app-spilo
TaupageConfig:
runtime: Docker
source: "{{Arguments.ImageVersion}}"
ports:
5432: 5432
environment:
SCOPE: "{{Arguments.version}}"
ETCD_DISCOVERY_URL: "{{Arguments.EtcdDiscoveryUrl}}"
root: true
|
Hide description and add link real github account | # Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing these this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change this file, please restart the server process.
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: Гарадскі дашборд
email: help@opendata.by
description: > # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
baseurl: "/city-dashboard" # the subpath of your site, e.g. /blog
url: "opendataby.github.io" # the base hostname & protocol for your site
twitter_username: jekyllrb
github_username: jekyll
# Build settings
markdown: kramdown
# theme: minima
| # Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing these this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change this file, please restart the server process.
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: Гарадскі дашборд
email: help@opendata.by
#description: > # this means to ignore newlines until "baseurl:"
# Write an awesome description for your new site here. You can edit this
# line in _config.yml. It will appear in your document head meta (for
# Google search results) and in your feed.xml site description.
baseurl: "/city-dashboard" # the subpath of your site, e.g. /blog
url: "opendataby.github.io" # the base hostname & protocol for your site
#twitter_username: jekyllrb
github_username: opendataby
# Build settings
markdown: kramdown
# theme: minima
|
Add site title and description | url: "http://www.orangedaisy.co"
repository: orangedaisy/orangedaisy.github.io
# Build settings
markdown: kramdown
permalink: pretty
host: 0.0.0.0
port: 3000
plugins:
- jekyll-feed
exclude:
- Gemfile
- Gemfile.lock
- CNAME
| title: "orange daisy"
description: "orange daisy is a team of web craftsmen from southern Appalachia."
url: "http://www.orangedaisy.co"
repository: orangedaisy/orangedaisy.github.io
# Build settings
markdown: kramdown
permalink: pretty
host: 0.0.0.0
port: 3000
plugins:
- jekyll-feed
exclude:
- Gemfile
- Gemfile.lock
- CNAME
|
Format test results as JUnit XML | version: 2
jobs:
build:
docker:
- image: circleci/golang:1.9
working_directory: /go/src/github.com/bluekeyes/hatpear
steps:
- checkout
- run: go get -v -t -d ./...
- run: go test -v ./...
- run: go vet ./...
| version: 2
jobs:
build:
docker:
- image: circleci/golang:1.9
working_directory: /go/src/github.com/bluekeyes/hatpear
steps:
- checkout
- run: mkdir -p /tmp/test-results
- run: go get github.com/jstemmer/go-junit-report
- run:
name: Build and Test
command: |
trap "go-junit-report < /tmp/test-results/go-test.out > /tmp/test-results/go-test-report.xml" EXIT
go test -v ./... | tee /tmp/test-results/go-test.out
- run: go vet ./...
- store_artifacts:
path: /tmp/test-results
destination: raw-test-output
- store_test_results:
path: /tmp/test-results
|
Update from Forestry.io - Updated Forestry configuration | ---
upload_path: "/uploads/:year:/:month:/:day:"
frontmatter_file_url_template: "/uploads/:year:/:month:/:day:"
body_file_url_template: "/uploads/:year:/:month:/:day:"
new_page_extension: md
auto_deploy: true
admin_path:
webhook_url:
collections:
| ---
upload_path: "/uploads/:year:/:month:"
frontmatter_file_url_template: "/uploads/:year:/:month:"
body_file_url_template: "/uploads/:year:/:month:"
new_page_extension: md
auto_deploy: true
admin_path:
webhook_url:
collections:
|
Update URL for UW Menu | - title: Tailor
caption: Static analyzer for Swift.
thumbnail: tailor
live: https://tailor.sh
github: https://github.com/sleekbyte/tailor
- title: Nspire
caption: Nspire Innovation Network website.
thumbnail: nspire
live: https://nspire.alykhan.com
github: https://github.com/alykhank/nspire/tree/gh-pages
- title: Linkbelt
caption: Linkbelt iOS app.
thumbnail: linkbelt
live: https://linkbelt.github.io
github: https://github.com/linkbelt
- title: UW Menu
caption: Weekly menus for UW’s on-campus eateries.
thumbnail: uwmenu
live: http://uwmenu.com
github: https://github.com/alykhank/FoodMenu
thumbnail_tall: true
- title: Calculator
caption: iOS Reverse Polish Notation calculator.
thumbnail: calculator
github: https://github.com/alykhank/calculator
thumbnail_tall: true
- title: NextRide
caption: Brampton Transit JSON API.
thumbnail: nextride
live: http://nextride.alykhan.com
github: https://github.com/alykhank/NextRide
thumbnail_tall: true
| - title: Tailor
caption: Static analyzer for Swift.
thumbnail: tailor
live: https://tailor.sh
github: https://github.com/sleekbyte/tailor
- title: Nspire
caption: Nspire Innovation Network website.
thumbnail: nspire
live: https://nspire.alykhan.com
github: https://github.com/alykhank/nspire/tree/gh-pages
- title: Linkbelt
caption: Linkbelt iOS app.
thumbnail: linkbelt
live: https://linkbelt.github.io
github: https://github.com/linkbelt
- title: UW Menu
caption: Weekly menus for UW’s on-campus eateries.
thumbnail: uwmenu
live: http://uwmenu.alykhan.com
github: https://github.com/alykhank/FoodMenu
thumbnail_tall: true
- title: Calculator
caption: iOS Reverse Polish Notation calculator.
thumbnail: calculator
github: https://github.com/alykhank/calculator
thumbnail_tall: true
- title: NextRide
caption: Brampton Transit JSON API.
thumbnail: nextride
live: http://nextride.alykhan.com
github: https://github.com/alykhank/NextRide
thumbnail_tall: true
|
Remove OSX exception on user creation. | ---
# Root ansible playbook
- hosts: all
tasks:
- name: Create groups by distribution and version
group_by: key={{ ansible_distribution }}-{{ ansible_distribution_version }}
- name: Create groups by distribution
group_by: key={{ ansible_distribution }}
- name: Create a distribution based OS family
group_by: key={{ ansible_os_family }}
vars:
sshd: sshd
bind: bind
roles:
- bootstrap
- common
- { role: deploy, when: "ansible_distribution != 'MacOSX'" }
- hosts: EL
gather_facts: no
roles:
- ntp
- hosts: Fedora
gather_facts: no
roles:
- ntp
- firewalld
- hosts: Ubuntu
gather_facts: no
roles:
- ntp
- include: mailman.yml
- include: dnsservers.yml
- include: webservers.yml
- include: jenkins-slaves.yml
- include: jenkins-master.yml
- include: developer.yml
- include: localhost.yml
- include: remote.yml
- include: haus.yml
| ---
# Root ansible playbook
- hosts: all
tasks:
- name: Create groups by distribution and version
group_by: key={{ ansible_distribution }}-{{ ansible_distribution_version }}
- name: Create groups by distribution
group_by: key={{ ansible_distribution }}
- name: Create a distribution based OS family
group_by: key={{ ansible_os_family }}
vars:
sshd: sshd
bind: bind
roles:
- bootstrap
- common
- { role: deploy }
- hosts: EL
gather_facts: no
roles:
- ntp
- hosts: Fedora
gather_facts: no
roles:
- ntp
- firewalld
- hosts: Ubuntu
gather_facts: no
roles:
- ntp
- include: mailman.yml
- include: dnsservers.yml
- include: webservers.yml
- include: jenkins-slaves.yml
- include: jenkins-master.yml
- include: developer.yml
- include: localhost.yml
- include: remote.yml
- include: haus.yml
|
Use 'tag' parameter for NPM publishing pipeline | # publishes a package to NPM (passed in as $(pkg) variable)
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
steps:
- task: NodeTool@0
inputs:
versionSpec: '12.x'
displayName: 'Install Node.js'
- script: |
# ensure latest npm is installed
npm install -g npm
npm config set //registry.npmjs.org/:_authToken=$(azure-sdk-npm-token)
# grab the file specified
wget $(pkg)
rc=$?; if [ $rc -ne 0 ]; then exit $rc ; fi
# publish it to npm
for file in *.tgz
do
npm publish $file --tag latest --access public
rc=$?; if [ $rc -ne 0 ]; then exit $rc ; fi
done
| # publishes a package to NPM (passed in as $(pkg) variable)
# you can also customize the tag used for NPM with the $(tag) variable (defaults to 'latest')
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
steps:
- task: NodeTool@0
inputs:
versionSpec: '12.x'
displayName: 'Install Node.js'
- script: |
# ensure latest npm is installed
npm install -g npm
npm config set //registry.npmjs.org/:_authToken=$(azure-sdk-npm-token)
# grab the file specified
wget $(pkg)
rc=$?; if [ $rc -ne 0 ]; then exit $rc ; fi
# determine the tag
npmTag = "latest"
if [ -n "$(tag)" ]; then
npmTag = $(tag)
fi
# publish it to npm
for file in *.tgz
do
npm publish $file --tag $npmTag --access public
rc=$?; if [ $rc -ne 0 ]; then exit $rc ; fi
done
|
Load /etc/environment when running coreos-cloudinit so $private_ipv4 will get populated. | #cloud-config
coreos:
units:
- name: real-cloud-config.service
command: start
content: |
[Unit]
Description=Real cloud-config
[Service]
ExecStartPre=/usr/bin/rkt run \
--net=host \
--volume=dns,kind=host,source=/etc/resolv.conf,readOnly=true \
--mount=volume=dns,target=/etc/resolv.conf \
--volume=awsenv,kind=host,source=/var/run/coreos,readOnly=false \
--mount=volume=awsenv,target=/var/run/coreos \
--trust-keys-from-https \
quay.io/coreos/awscli \
-- \
aws s3 --region ${region} cp ${s3_uri}/__FILE__ /var/run/coreos/cloud_config.yml
ExecStart=/usr/bin/coreos-cloudinit --from-file /var/run/coreos/cloud_config.yml
write_files:
- path: /etc/environment
permissions: 0644
content: |
COREOS_PUBLIC_IPV4=$public_ipv4
COREOS_PRIVATE_IPV4=$private_ipv4
| #cloud-config
coreos:
units:
- name: real-cloud-config.service
command: start
content: |
[Unit]
Description=Real cloud-config
[Service]
EnvironmentFile=/etc/environment
ExecStartPre=/usr/bin/rkt run \
--net=host \
--volume=dns,kind=host,source=/etc/resolv.conf,readOnly=true \
--mount=volume=dns,target=/etc/resolv.conf \
--volume=awsenv,kind=host,source=/var/run/coreos,readOnly=false \
--mount=volume=awsenv,target=/var/run/coreos \
--trust-keys-from-https \
quay.io/coreos/awscli \
-- \
aws s3 --region ${region} cp ${s3_uri}/__FILE__ /var/run/coreos/cloud_config.yml
ExecStart=/usr/bin/coreos-cloudinit --from-file /var/run/coreos/cloud_config.yml
write_files:
- path: /etc/environment
permissions: 0644
content: |
COREOS_PUBLIC_IPV4=$public_ipv4
COREOS_PRIVATE_IPV4=$private_ipv4
|
Switch some more components to kubernetes-entrypoint | kind: Deployment
apiVersion: extensions/v1beta1
metadata:
name: manila-scheduler
labels:
system: openstack
type: backend
component: manila
spec:
replicas: 1
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 0
maxSurge: 3
selector:
matchLabels:
name: manila-scheduler
template:
metadata:
labels:
name: manila-scheduler
spec:
containers:
- name: manila-scheduler
image: {{.Values.global.image_repository}}/{{.Values.global.image_namespace}}/ubuntu-source-manila-scheduler-m3:{{.Values.image_version_manila_scheduler_m3}}
imagePullPolicy: IfNotPresent
command:
- bash
args:
- /container.init/manila-scheduler-start
env:
- name: DEBUG_CONTAINER
value: "false"
volumeMounts:
- mountPath: /manila-etc
name: manila-etc
- mountPath: /container.init
name: container-init
volumes:
- name: manila-etc
configMap:
name: manila-etc
- name: container-init
configMap:
name: manila-bin
| kind: Deployment
apiVersion: extensions/v1beta1
metadata:
name: manila-scheduler
labels:
system: openstack
type: backend
component: manila
spec:
replicas: 1
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 0
maxSurge: 3
selector:
matchLabels:
name: manila-scheduler
template:
metadata:
labels:
name: manila-scheduler
spec:
containers:
- name: manila-scheduler
image: {{.Values.global.image_repository}}/{{.Values.global.image_namespace}}/ubuntu-source-manila-scheduler-m3:{{.Values.image_version_manila_scheduler_m3}}
imagePullPolicy: IfNotPresent
command:
- /usr/local/bin/kubernetes-entrypoint
env:
- name: COMMAND
value: "bash /container.init/manila-scheduler-start"
- name: NAMESPACE
value: {{ .Release.Namespace }}
- name: DEPENDENCY_SERVICE
value: "manila-api,rabbitmq"
- name: DEBUG_CONTAINER
value: "false"
volumeMounts:
- mountPath: /manila-etc
name: manila-etc
- mountPath: /container.init
name: container-init
volumes:
- name: manila-etc
configMap:
name: manila-etc
- name: container-init
configMap:
name: manila-bin
|
Update workflow to create a pull request. | on:
pull_request:
branches:
- staging
types:
- closed
jobs:
create_pull_request_to_production:
runs-on: ubuntu-latest
if: github.event.pull_request.merged
steps:
- uses: actions/github-script@0.8.0
with:
script: |
console.log(context)
| on:
pull_request:
branches:
- staging
types:
- closed
jobs:
create_pull_request_to_production:
runs-on: ubuntu-latest
if: github.event.pull_request.merged
steps:
- uses: actions/github-script@0.8.0
with:
script: |
github.pulls.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: context.payload.pull_request.title.replace(/deploy to staging/i, 'Deploy to Production'),
head: context.ref,
base: 'master',
body: context.payload.pull_request.body
})
|
Update from Hackage at 2019-11-09T22:36:05Z | homepage: https://github.com/mtth/yx
changelog-type: ''
hash: 58cf429ececa7ef82592a6e879eca3576702be30328e00aae2ea28861c2ffda6
test-bench-deps:
bytestring: ! '>=0.10'
base: ! '>=4.7 && <5'
hspec: ! '>=2.5 && <2.6'
array: ! '>=0.5'
yx: -any
maintainer: mtth@apache.org
synopsis: Row-major coordinates
changelog: ''
basic-deps:
bytestring: ! '>=0.10'
base: ! '>=4.7 && <5'
array: ! '>=0.5'
all-versions:
- 0.0.1.0
- 0.0.1.1
- 0.0.2.0
author: Matthieu Monsch
latest: 0.0.2.0
description-type: markdown
description: |
# yx
license-name: BSD-3-Clause
| homepage: https://github.com/mtth/yx
changelog-type: ''
hash: 2196994b76bf7e5923c32930adf8695881b3ae791d9c5ddb0b78da4781e086b5
test-bench-deps:
bytestring: ! '>=0.10'
base: ! '>=4.8 && <5'
hspec: ! '>=2.7'
array: ! '>=0.5'
yx: -any
maintainer: mtth@apache.org
synopsis: Row-major coordinates
changelog: ''
basic-deps:
bytestring: ! '>=0.10'
base: ! '>=4.8 && <5'
array: ! '>=0.5'
lattices: ! '>=2.0'
all-versions:
- 0.0.1.0
- 0.0.1.1
- 0.0.2.0
- 0.0.3.0
author: Matthieu Monsch
latest: 0.0.3.0
description-type: markdown
description: |
# YX [](https://hackage.haskell.org/package/yx) [](https://travis-ci.org/mtth/yx)
Bitmap-friendly 2D coordinates.
license-name: BSD-3-Clause
|
Disable 'ids' check in CSSLint | ---
engines:
csslint:
enabled: true
duplication:
enabled: true
config:
languages:
- javascript
eslint:
enabled: false
checks:
no-console:
enabled: false
fixme:
enabled: true
ratings:
paths:
- "**.css"
- "**.js"
exclude_paths:
- test/
- bower_components/
| ---
engines:
csslint:
enabled: true
checks:
ids:
enabled: false
duplication:
enabled: true
config:
languages:
- javascript
eslint:
enabled: false
checks:
no-console:
enabled: false
fixme:
enabled: true
ratings:
paths:
- "**.css"
- "**.js"
exclude_paths:
- test/
- bower_components/
|
Update summer convenience store hours | name: Convenience Store
image: convenience
category: Supplies and Books
schedule:
- title: Hours
hours:
- {days: [Mo, Tu, We, Th, Fr], from: '8:00am', to: '8:00pm'}
- {days: [Sa], from: '10:00am', to: '8:00pm'}
- {days: [Su], from: '12:00pm', to: '4:00pm'}
breakSchedule:
fall: []
thanksgiving: []
winter: []
interim: []
spring: []
easter: []
summer: []
| name: Convenience Store
image: convenience
category: Supplies and Books
schedule:
- title: Hours
hours:
- {days: [Mo, Tu, We, Th, Fr], from: '5:00pm', to: '8:00pm'}
- {days: [Sa], from: '4:00pm', to: '8:00pm'}
- {days: [Su], from: '12:00pm', to: '4:00pm'}
breakSchedule:
fall: []
thanksgiving: []
winter: []
interim: []
spring: []
easter: []
summer:
- title: Hours
hours:
- {days: [Mo, Tu, We, Th, Fr], from: '5:00pm', to: '8:00pm'}
- {days: [Sa], from: '4:00pm', to: '8:00pm'}
- {days: [Su], from: '12:00pm', to: '4:00pm'}
|
Swap Ubuntu 14.04 testing for Ubuntu 18.04 | driver:
name: vagrant
provisioner:
name: chef_zero
require_chef_omnibus: 14
attributes:
firewall:
allow_ssh: true
allow_winrm: true
allow_mosh: true
allow_loopback: true
allow_icmp: true
firewalld:
permanent: true
platforms:
- name: centos-6
- name: centos-7
- name: debian-7
run_list:
- recipe[apt]
- name: debian-8
run_list:
- recipe[apt]
- name: debian-9
run_list:
- recipe[apt::default]
- name: ubuntu-14.04
run_list:
- recipe[apt::default]
- name: ubuntu-16.04
run_list:
- recipe[apt::default]
- name: windows-2012r2
suites:
- name: default
run_list:
- recipe[firewall::default]
- recipe[firewall-test::default]
- name: iptables
excludes:
- centos-5
- centos-6
- debian-7
- debian-8
- windows-2012r2
run_list:
- recipe[firewall-test::default]
attributes:
firewall:
ubuntu_iptables: true
redhat7_iptables: true
| driver:
name: vagrant
provisioner:
name: chef_zero
require_chef_omnibus: 14
attributes:
firewall:
allow_ssh: true
allow_winrm: true
allow_mosh: true
allow_loopback: true
allow_icmp: true
firewalld:
permanent: true
platforms:
- name: centos-6
- name: centos-7
- name: debian-7
run_list:
- recipe[apt]
- name: debian-8
run_list:
- recipe[apt]
- name: debian-9
run_list:
- recipe[apt::default]
- name: ubuntu-16.04
run_list:
- recipe[apt::default]
- name: ubuntu-18.04
run_list:
- recipe[apt::default]
- name: windows-2012r2
suites:
- name: default
run_list:
- recipe[firewall::default]
- recipe[firewall-test::default]
- name: iptables
excludes:
- centos-5
- centos-6
- debian-7
- debian-8
- windows-2012r2
run_list:
- recipe[firewall-test::default]
attributes:
firewall:
ubuntu_iptables: true
redhat7_iptables: true
|
Update license_finder configuration to work with version 6 | ---
- - :whitelist
- MIT
- :who:
:why:
:versions: []
:when: 2017-07-22 20:02:01.192601619 Z
- - :whitelist
- LGPL-2.1
- :who:
:why:
:versions: []
:when: 2017-07-22 20:03:43.469353721 Z
- - :whitelist
- New BSD
- :who:
:why:
:versions: []
:when: 2017-07-22 20:07:41.665410261 Z
- - :whitelist
- LGPL-2.1+
- :who:
:why:
:versions: []
:when: 2017-09-24 15:29:40.197970856 Z
| ---
- - :permit
- MIT
- :who:
:why:
:versions: []
:when: 2017-07-22 20:02:01.192601619 Z
- - :permit
- LGPL-2.1
- :who:
:why:
:versions: []
:when: 2017-07-22 20:03:43.469353721 Z
- - :permit
- New BSD
- :who:
:why:
:versions: []
:when: 2017-07-22 20:07:41.665410261 Z
- - :permit
- LGPL-2.1+
- :who:
:why:
:versions: []
:when: 2017-09-24 15:29:40.197970856 Z
|
Create workflow to copy PR template onto Dependabot PRs | name: Copy PR template to Dependabot PRs
on:
pull_request_target:
types: [opened]
jobs:
copy_pr_template:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- uses: actions/checkout@v3
- name: Fetch PR template
id: fetch-pr-template
uses: juliangruber/read-file-action@v1
with:
path: .github/pull_request_template.md
- name: Create comment
uses: peter-evans/create-or-update-comment@v2
with:
issue-number: ${{ github.event.number }}
body: ${{ steps.fetch-pr-template.outputs.content }}
| name: Copy PR template to Dependabot PRs
on:
pull_request_target:
types: [opened]
permissions:
contents: read
pull-requests: write
jobs:
copy_pr_template:
name: Copy PR template to Dependabot PR
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- uses: actions/checkout@v3
- name: Post PR template as a comment
uses: actions/github-script@v6
with:
script: |
const fs = require('fs')
const body = [
"pull_request_template.md",
".github/pull_request_template.md",
"docs/pull_request_template.md",
].
filter(path => fs.existsSync(path)).
map(path => fs.readFileSync(path)).
join("\n")
if (body !== "") {
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body
})
}
|
Make sure firewalld is installed on instances | - name: enable password auth
copy:
src: sshd_config
dest: /etc/ssh/sshd_config
notify: restart sshd
- name: ensure libselinux-python
yum:
name: libselinux-python
update_cache: yes
- name: allow passwordless sudo for user
lineinfile:
dest: /etc/sudoers
state: present
line: '{{ username }} ALL=(ALL) NOPASSWD: ALL'
- name: disable requiretty
lineinfile:
dest: /etc/sudoers
state: present
line: Defaults !requiretty
regexp: ^Defaults
- name: disable selinux
lineinfile:
line: SELINUX=permissive
state: present
dest: /etc/selinux/config
regexp: ^SELINUX=
register: selinux_disable
- block:
- name: reboot server
shell: sleep 2 && shutdown -r 1 "selinux change...rebooting..."
async: 0
poll: 0
ignore_errors: yes
- name: wait for instance
delegate_to: localhost
become: no
wait_for:
port: 22
host: '{{ ansible_host }}'
search_regex: OpenSSH
timeout: 500
delay: 120
when: selinux_disable|changed
| - name: enable password auth
copy:
src: sshd_config
dest: /etc/ssh/sshd_config
notify: restart sshd
- name: Install firewalld and libselinux-python
yum:
name: "{{ item }}"
state: present
with_items:
- libselinux-python
- firewalld
when:
- "ansible_os_family == 'RedHat' or ansible_os_family == 'CentOS'"
- "ansible_distribution_major_version | int >= 7"
- name: allow passwordless sudo for user
lineinfile:
dest: /etc/sudoers
state: present
line: '{{ username }} ALL=(ALL) NOPASSWD: ALL'
- name: disable requiretty
lineinfile:
dest: /etc/sudoers
state: present
line: Defaults !requiretty
regexp: ^Defaults
- name: disable selinux
lineinfile:
line: SELINUX=permissive
state: present
dest: /etc/selinux/config
regexp: ^SELINUX=
register: selinux_disable
- block:
- name: reboot server
shell: sleep 2 && shutdown -r 1 "selinux change...rebooting..."
async: 0
poll: 0
ignore_errors: yes
- name: wait for instance
delegate_to: localhost
become: no
wait_for:
port: 22
host: '{{ ansible_host }}'
search_regex: OpenSSH
timeout: 500
delay: 120
when: selinux_disable|changed
|
Fix CD not building .NET Framework | name: publish to nuget
on:
push:
branches:
- develop # Your default release branch
jobs:
publish:
name: list on nuget
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Required for a specific dotnet version that doesn't come with ubuntu-latest / windows-latest
# Visit bit.ly/2synnZl to see the list of SDKs that are pre-installed with ubuntu-latest / windows-latest
# - name: Setup dotnet
# uses: actions/setup-dotnet@v1
# with:
# dotnet-version: 3.1.100
# Publish
- name: publish netsparkle.new on version change
uses: rohith/publish-nuget@v2
with:
PROJECT_FILE_PATH: src/NetSparkle/NetSparkle.csproj # Relative to repository root
# VERSION_FILE_PATH: Directory.Build.props # Filepath with version info, relative to repository root. Defaults to project file
# VERSION_REGEX: <Version>(.*)<\/Version> # Regex pattern to extract version info in a capturing group
TAG_COMMIT: false # Flag to enable / disalge git tagging
# TAG_FORMAT: v* # Format of the git tag, [*] gets replaced with version
NUGET_KEY: ${{secrets.NUGET_API_KEY}} # nuget.org API key
| name: publish to nuget
on:
push:
branches:
- develop # Your default release branch
jobs:
publish:
name: list on nuget
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
# Required for a specific dotnet version that doesn't come with ubuntu-latest / windows-latest
# Visit bit.ly/2synnZl to see the list of SDKs that are pre-installed with ubuntu-latest / windows-latest
# - name: Setup dotnet
# uses: actions/setup-dotnet@v1
# with:
# dotnet-version: 3.1.100
# Publish
- name: publish netsparkle.new on version change
uses: rohith/publish-nuget@v2
with:
PROJECT_FILE_PATH: src/NetSparkle/NetSparkle.csproj # Relative to repository root
# VERSION_FILE_PATH: Directory.Build.props # Filepath with version info, relative to repository root. Defaults to project file
# VERSION_REGEX: <Version>(.*)<\/Version> # Regex pattern to extract version info in a capturing group
TAG_COMMIT: false # Flag to enable / disalge git tagging
# TAG_FORMAT: v* # Format of the git tag, [*] gets replaced with version
NUGET_KEY: ${{secrets.NUGET_API_KEY}} # nuget.org API key
|
Add a large number of MongoDB Configuration variables | ---
# Variables shared across all staging playbooks
ansible_user: admin
# Defined in Terrafrom (temporarily static)
db_data_device: "/dev/xvdf"
db_data_device_fstype: "ext4"
db_data_path: "/data"
db_data_mount_opts: "defaults,auto,noatime,noexec 0 0"
| ---
# Variables shared across all staging playbooks
ansible_user: admin
# Defined in Terrafrom (temporarily static)
db_data_device: "/dev/xvdf"
db_data_device_fstype: "ext4"
db_data_path: "/data"
db_data_mount_opts: "defaults,auto,noatime,noexec 0 0"
# MongoDB Configuration Variables (used in configure_mongo.yml task)
mongodb_user: mongodb # Default (Debian)
mongodb_daemon_name: mongodb # Default (Debian)
mongodb_conf_auth: true # Run with security
mongodb_conf_bind_ip: 127.0.0.1 # Comma separated list of ip addresses to listen on
mongodb_conf_dbpath: "{{ db_data_path }}" # Directory for datafiles
mongodb_conf_fork: true # Fork server process
mongodb_conf_httpinterface: false # Enable http interface
mongodb_conf_journal: true # Enable journaling
mongodb_conf_logappend: true # Append to logpath instead of over-writing
mongodb_conf_logpath: /var/log/mongodb/{{ mongodb_daemon_name }}.log # Log file to send write to instead of stdout
mongodb_conf_port: 27017 # Specify port number
# MongoDB User Variables (used in configure_auth.yml task)
# Passwords are stored outside version control
mongodb_user_admins:
- {
name: picoAdmin
password: "{{ picoAdmin_db_password }}",
roles: "userAdminAnyDatabase"
}
- {
name: cocoAdmin
password: "{{ cocoAdmin_db_password }}",
roles: "userAdminAnyDatabase"
}
mongodb_root_admin_name: rootAdmin
mongodb_root_admin_password: "{{ root_db_password }}"
picoCTF_db_name: picoCTF3
# Add additional users here
mongodb_users:
- {
name: picoWeb,
password: "{{ picoWeb_db_password }}",
roles: readWrite,
database: "{{ picoCTF_db_name }}"
}
- {
name: cocoWeb,
password: "{{ cocoWeb_db_password }}",
roles: readWrite,
database: "{{ picoCTF_db_name }}"
}
|
Switch check to run on PRs | name: End-to-end tests
on: [push]
jobs:
cypress-run:
runs-on: ubuntu-latest
container: cypress/browsers:node14.16.0-chrome89-ff77
steps:
- name: Checkout
uses: actions/checkout@v1
# - name: Set up build cache
# uses: actions/cache@v2
# with:
# path: ${{ github.workspace }}/.next/cache
# key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}
# - name: Install
# run: npm install --include=dev
# Install NPM dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
uses: cypress-io/github-action@v2
with:
start: npm run start
# quote the url to be safe against YML parsing surprises
wait-on: 'http://localhost:3000/demo'
quiet: true
| name: End-to-end tests
on: [pull_request]
jobs:
cypress-run:
runs-on: ubuntu-latest
container: cypress/browsers:node14.16.0-chrome89-ff77
steps:
- name: Checkout
uses: actions/checkout@v1
# - name: Set up build cache
# uses: actions/cache@v2
# with:
# path: ${{ github.workspace }}/.next/cache
# key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}
# - name: Install
# run: npm install --include=dev
# Install NPM dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
uses: cypress-io/github-action@v2
with:
start: npm run start
# quote the url to be safe against YML parsing surprises
wait-on: 'http://localhost:3000/demo'
quiet: true
|
Set the environment for github ci. | # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test
| # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: sudo apt-get install libpixman-1-dev
- run: sudo apt-get install libcairo-dev
- run: sudo apt-get install libsdl-pango-dev
- run: sudo apt-get install libjpeg-dev
- run: sudo apt-get install libgif-dev
- run: npm ci
- run: npm run build --if-present
- run: npm test
|
Remove scenario reference, so the DB backend is really switched | - job-template:
name: 'cloud-mkcloud{version}-job-mariadb-{arch}'
node: cloud-trigger
disabled: '{obj:disabled}'
triggers:
- timed: 'H 2 * * *'
logrotate:
numToKeep: -1
daysToKeep: 7
builders:
- trigger-builds:
- project: openstack-mkcloud
condition: SUCCESS
block: true
current-parameters: true
predefined-parameters: |
TESTHEAD=1
cloudsource=develcloud{version}
nodenumber=2
mkcloudtarget=all_batch
want_database_sql_engine=mysql
tempestoptions={tempestoptions}
label={label}
scenario=cloud{version}-2nodes-default.yml
want_node_aliases=controller=1,compute-kvm=1
job_name=cloud-mkcloud{version}-job-mariadb-{arch}
| - job-template:
name: 'cloud-mkcloud{version}-job-mariadb-{arch}'
node: cloud-trigger
disabled: '{obj:disabled}'
triggers:
- timed: 'H 2 * * *'
logrotate:
numToKeep: -1
daysToKeep: 7
builders:
- trigger-builds:
- project: openstack-mkcloud
condition: SUCCESS
block: true
current-parameters: true
predefined-parameters: |
TESTHEAD=1
cloudsource=develcloud{version}
nodenumber=2
mkcloudtarget=all_noreboot
want_database_sql_engine=mysql
tempestoptions={tempestoptions}
label={label}
want_node_aliases=controller=1,compute-kvm=1
job_name=cloud-mkcloud{version}-job-mariadb-{arch}
|
Update Ansible version in meta | galaxy_info:
role_name: docker_ce
author: Bjorn Oscarsson
company: none
description: "Installs and configures Docker Community Edition (CE)"
min_ansible_version: 2.5
license: MIT
platforms:
- name: Fedora
versions:
- 25
- 26
- 27
- 28
- 29
- name: EL
versions:
- 7
- name: Debian
versions:
- wheezy
- jessie
- stretch
- buster
- name: Ubuntu
versions:
- trusty
- artful
- xenial
- bionic
- cosmic
galaxy_tags:
- docker
- containers
- virtualization
- compose
- orchestration
- system
dependencies: []
| galaxy_info:
role_name: docker_ce
author: Bjorn Oscarsson
company: none
description: "Installs and configures Docker Community Edition (CE)"
min_ansible_version: 2.6
license: MIT
platforms:
- name: Fedora
versions:
- 25
- 26
- 27
- 28
- 29
- name: EL
versions:
- 7
- name: Debian
versions:
- wheezy
- jessie
- stretch
- buster
- name: Ubuntu
versions:
- trusty
- artful
- xenial
- bionic
- cosmic
galaxy_tags:
- docker
- containers
- virtualization
- compose
- orchestration
- system
dependencies: []
|
Update Key Mapper to 2.0.0-beta.3 (28) | Categories:
- System
License: GPL-3.0-only
SourceCode: https://github.com/sds100/KeyMapper
IssueTracker: https://github.com/sds100/KeyMapper/issues
Changelog: https://github.com/sds100/KeyMapper/blob/HEAD/CHANGELOG.md
AutoName: Key Mapper
RepoType: git
Repo: https://github.com/sds100/KeyMapper
Builds:
- versionName: 1.1.6
versionCode: 24
commit: v1.1.6
subdir: app
gradle:
- yes
- versionName: 1.1.7
versionCode: 25
commit: v1.1.7
subdir: app
gradle:
- yes
- versionName: 2.0.0-beta.1
versionCode: 26
commit: v2.0.0-beta.1
subdir: app
gradle:
- yes
- versionName: 2.0.0-beta.2
versionCode: 27
commit: v2.0.0-beta.2
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 2.0.0-beta.2
CurrentVersionCode: 27
| Categories:
- System
License: GPL-3.0-only
SourceCode: https://github.com/sds100/KeyMapper
IssueTracker: https://github.com/sds100/KeyMapper/issues
Changelog: https://github.com/sds100/KeyMapper/blob/HEAD/CHANGELOG.md
AutoName: Key Mapper
RepoType: git
Repo: https://github.com/sds100/KeyMapper
Builds:
- versionName: 1.1.6
versionCode: 24
commit: v1.1.6
subdir: app
gradle:
- yes
- versionName: 1.1.7
versionCode: 25
commit: v1.1.7
subdir: app
gradle:
- yes
- versionName: 2.0.0-beta.1
versionCode: 26
commit: v2.0.0-beta.1
subdir: app
gradle:
- yes
- versionName: 2.0.0-beta.2
versionCode: 27
commit: v2.0.0-beta.2
subdir: app
gradle:
- yes
- versionName: 2.0.0-beta.3
versionCode: 28
commit: v2.0.0-beta.3
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 2.0.0-beta.3
CurrentVersionCode: 28
|
Add 61A info for fall 16 | resources:
- number: 0
description: Intro and Lost on the Moon
downloads:
- name: Slides
type: slides
link: ???
locations:
- type: Office Hour
time: ???
location: ???
- type: Office Hour
time: ???
location: ???
- type: Discussion
time: ???
location: ???
- type: Lab
time: ???
location: ???
| resources:
- number: 0
description: Intro and Lost on the Moon
downloads:
- name: Slides
type: slides
link: ???
locations:
- type: Office Hours
time: Th 4:00-6:00pm
location: 109 Morgan
- type: Discussion
time: Th 11:30-12:30pm
location: 540AB Cory
- type: Lab
time: Th 11:30-12:30pm
location: 275 Soda
|
Switch command execution from ps to cmd. | version: 1.0.{build}
pull_requests:
do_not_increment_build_number: true
max_jobs: 2
configuration: Debug
platform: x86
clone_depth: 1
before_build:
- ps: cmake.exe -G "Visual Studio 14 2015" -B"./Build" -H"./" -DCMAKE_INSTALL_PREFIX=%APPVEYOR_BUILD_FOLDER%/Install
build:
project: Build/INSTALL.vcxproj
parallel: true
verbosity: minimal
test_script:
- ps: $env:APPVEYOR_BUILD_FOLDER/Build/Test/$env:CONFIGURATION/Test.exe
before_deploy:
- ps: msbuild Build/Package.vcxproj
deploy:
- provider: GitHub
release: Project
description: Short description.
auth_token:
secure: gomSq79o3pnZMbng5Z7SYa+C5rFDRCYkA3BC/0MTe/Tnup4QMNKFwTzmtN7pxY36
artifact: Package/*.exe
on:
appveyor_repo_tag: true
| version: 1.0.{build}
pull_requests:
do_not_increment_build_number: true
max_jobs: 2
configuration: Debug
platform: x86
clone_depth: 1
before_build:
- cmd: cmake.exe -G "Visual Studio 14 2015" -B.\Build -H.\ -DCMAKE_INSTALL_PREFIX=%APPVEYOR_BUILD_FOLDER%\Install
build:
project: Build\INSTALL.vcxproj
parallel: true
verbosity: minimal
test_script:
- cmd: Build\Test\%CONFIGURATION%\Test.exe
before_deploy:
- cmd: msbuild Build\Package.vcxproj
deploy:
- provider: GitHub
release: Project
description: Short description.
auth_token:
secure: gomSq79o3pnZMbng5Z7SYa+C5rFDRCYkA3BC/0MTe/Tnup4QMNKFwTzmtN7pxY36
artifact: Package/*.exe
on:
appveyor_repo_tag: true
|
Build Debug first, should be a faster build | version: '{build}'
clone_folder: c:\projects\cactusjump
# Build worker image (VM template)
image: Visual Studio 2015
configuration:
- Release
- Debug
cache:
- build\googletest-source
- build\googletest-download
before_build:
- cmd: mkdir build && cd build && cmake --version && cmake ..
build:
project: build\CactusJumpTests.sln
parallel: true | version: '{build}'
clone_folder: c:\projects\cactusjump
# Build worker image (VM template)
image: Visual Studio 2015
configuration:
- Debug
- Release
cache:
- build\googletest-source
- build\googletest-download
before_build:
- cmd: mkdir build && cd build && cmake --version && cmake ..
build:
project: build\CactusJumpTests.sln
parallel: true |
Upgrade pip for Windows tests | branches:
only:
- release
- pre-release
environment:
COLUMNS: 999
matrix:
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python37-x64"
# Disable for 0.7 pre-release
# See https://ci.appveyor.com/project/GuildAI/guildai/builds/31131417/job/g9r6vucfl0cnmhba
#- PYTHON: "C:\\Python38-x64"
install:
- "%PYTHON%\\python.exe -m pip install -U setuptools"
- "%PYTHON%\\python.exe -m pip install wheel"
- "%PYTHON%\\python.exe -m pip install twine"
- "%PYTHON%\\python.exe -m pip install -r requirements-windows.txt"
- "%PYTHON%\\python.exe -m pip install pandas"
build: off
test_script:
- "%PYTHON%\\python.exe setup.py bdist_wheel"
- "%PYTHON%\\python.exe guild\\scripts\\guild check -nT"
after_test:
- "%PYTHON%\\python.exe -m twine upload --skip-existing dist\\*.whl"
artifacts:
- path: dist\*
| branches:
only:
- release
- pre-release
environment:
COLUMNS: 999
matrix:
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python37-x64"
# Disable for 0.7 pre-release
# See https://ci.appveyor.com/project/GuildAI/guildai/builds/31131417/job/g9r6vucfl0cnmhba
#- PYTHON: "C:\\Python38-x64"
install:
- "%PYTHON%\\python.exe -m pip install -U pip"
- "%PYTHON%\\python.exe -m pip install -U setuptools"
- "%PYTHON%\\python.exe -m pip install wheel"
- "%PYTHON%\\python.exe -m pip install twine"
- "%PYTHON%\\python.exe -m pip install -r requirements-windows.txt"
- "%PYTHON%\\python.exe -m pip install pandas"
build: off
test_script:
- "%PYTHON%\\python.exe setup.py bdist_wheel"
- "%PYTHON%\\python.exe guild\\scripts\\guild check -nT"
after_test:
- "%PYTHON%\\python.exe -m twine upload --skip-existing dist\\*.whl"
artifacts:
- path: dist\*
|
Update from Hackage at 2018-09-02T12:38:30Z | homepage: ''
changelog-type: ''
hash: 7152c8ad2eb5b145d3b6e1bb80ed1bcb7e0d2edcc1657860c1cbbc8e7c72ba4e
test-bench-deps:
test-framework-hunit: -any
test-framework: -any
base: <5
prettyclass: -any
language-glsl: -any
parsec: -any
HUnit: -any
maintainer: noteed@gmail.com
synopsis: GLSL abstract syntax tree, parser, and pretty-printer
changelog: ''
basic-deps:
base: <5
prettyclass: -any
language-glsl: -any
parsec: -any
all-versions:
- '0.0.0'
- '0.0.1'
- '0.0.2'
- '0.1.0'
- '0.1.1'
- '0.2.0'
- '0.2.1'
- '0.3.0'
author: Vo Minh Thu
latest: '0.3.0'
description-type: haddock
description: ! 'The package language-glsl is a Haskell library for the
representation, the parsing, and the pretty-printing of
GLSL 1.50 code.'
license-name: BSD3
| homepage: ''
changelog-type: ''
hash: 85c1e7bf2cf5d6e604b7a2899c27e2935033425944db200798e57849e64d4c81
test-bench-deps:
test-framework-hunit: -any
test-framework: -any
base: <5
prettyclass: -any
language-glsl: -any
parsec: -any
HUnit: -any
maintainer: noteed@gmail.com
synopsis: GLSL abstract syntax tree, parser, and pretty-printer
changelog: ''
basic-deps:
base: ! '>=4.6 && <5'
prettyclass: -any
language-glsl: -any
parsec: -any
all-versions:
- '0.0.0'
- '0.0.1'
- '0.0.2'
- '0.1.0'
- '0.1.1'
- '0.2.0'
- '0.2.1'
- '0.3.0'
author: Vo Minh Thu
latest: '0.3.0'
description-type: haddock
description: ! 'The package language-glsl is a Haskell library for the
representation, the parsing, and the pretty-printing of
GLSL 1.50 code.'
license-name: BSD3
|
Add missing xml argument in coverage reporting | language: python
python:
- "2.7"
before_script:
- mkdir -p shippable/testresults
- mkdir -p shippable/codecoverage
- printf '[xml]\noutput = shippable/codecoverage/coverage.xml\n' > .coveragerc
install:
- python setup.py install
script:
- py.test --junitxml=shippable/testresults/tests.xml --cov=pelican_do --cov-report= tests/
| language: python
python:
- "2.7"
before_script:
- mkdir -p shippable/testresults
- mkdir -p shippable/codecoverage
- printf '[xml]\noutput = shippable/codecoverage/coverage.xml\n' > .coveragerc
install:
- python setup.py install
script:
- py.test --junitxml=shippable/testresults/tests.xml --cov=pelican_do --cov-report=xml tests/
|
Update JRPN 16c to 1.1.4 (8) | Categories:
- Science & Education
License: Apache-2.0
AuthorName: Bill Foote
AuthorWebSite: https://bill.jovial.com/
SourceCode: https://github.com/zathras/JRPN_Android
IssueTracker: https://github.com/zathras/JRPN_Android/issues
Changelog: https://github.com/zathras/JRPN_Android/releases
AutoName: JRPN 16c
RepoType: git
Repo: https://github.com/zathras/JRPN_Android
Builds:
- versionName: 1.1.3
versionCode: 7
commit: 1.1.3
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 1.1.3
CurrentVersionCode: 7
| Categories:
- Science & Education
License: Apache-2.0
AuthorName: Bill Foote
AuthorWebSite: https://bill.jovial.com/
SourceCode: https://github.com/zathras/JRPN_Android
IssueTracker: https://github.com/zathras/JRPN_Android/issues
Changelog: https://github.com/zathras/JRPN_Android/releases
AutoName: JRPN 16c
RepoType: git
Repo: https://github.com/zathras/JRPN_Android
Builds:
- versionName: 1.1.3
versionCode: 7
commit: 1.1.3
subdir: app
gradle:
- yes
- versionName: 1.1.4
versionCode: 8
commit: 1.1.4
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 1.1.4
CurrentVersionCode: 8
|
Update Code Climate configuration for v0.70.3 | # https://codeclimate.com/github/newcontext-oss/kitchen-terraform
engines:
bundler-audit:
enabled: true
duplication:
enabled: true
config:
languages:
- "ruby"
fixme:
enabled: true
markdownlint:
enabled: true
reek:
enabled: true
rubocop:
enabled: true
exclude_paths:
- "examples/"
ratings:
paths:
- "**.md"
- "**.rb"
- "Gemfile.lock"
| # https://codeclimate.com/github/newcontext-oss/kitchen-terraform
exclude_patterns:
- assets/
- bin/
- certs/
- coverage/
- doc/
- examples/
- tmp/
plugins:
bundler-audit:
enabled: true
duplication:
enabled: true
config:
languages:
- "ruby"
fixme:
enabled: true
flog:
enabled: true
git-legal:
enabled: true
markdownlint:
enabled: true
reek:
enabled: true
rubocop:
enabled: true
structure:
enabled: true
version: 2
|
Add more aliases for 'officespace' | name: That Would Be Great
default:
- YEAH...
- THAT'D BE GREAT
link: http://knowyourmeme.com/memes/that-would-be-great
aliases:
- that'd-be-great
- bill-lumbergh
- lumbergh
| name: That Would Be Great
default:
- YEAH...
- THAT'D BE GREAT
link: http://knowyourmeme.com/memes/that-would-be-great
aliases:
- that'd-be-great
- bill-lumbergh
- lumbergh
- be-great
- great
|
Update PHP version of web container | version: "3"
services:
db:
image: mariadb:10.3.2
restart: always
environment:
MYSQL_USER: kirbot
MYSQL_PASSWORD: kirbot
MYSQL_DATABASE: kirbot
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
volumes:
- ./.data/db:/var/lib/mysql
- ./conf/mysql:/etc/mysql/conf.d
redis:
image: redis:3.2
restart: always
volumes:
- ./.data/redis:/data
web:
image: mrkirby153/laravel:latest
restart: always
ports:
- "8580:80"
volumes:
- ./KirBotPanel:/var/www
depends_on:
- redis
- db
bot:
build: .
restart: unless-stopped
volumes:
- ./.data/kirbot:/kirbot/data
depends_on:
- redis
- web
grafana:
image: grafana/grafana
restart: always
ports:
- "8581:3000"
volumes:
- ./.data/grafana:/var/lib/grafana
environment:
GF_INSTALL_PLUGINS: grafana-piechart-panel
depends_on:
- prometheus
prometheus:
image: prom/prometheus
restart: always
volumes:
- ./.data/prometheus:/prometheus
- ./conf/prom/prometheus.prod.yml:/etc/prometheus/prometheus.yml
depends_on:
- bot
| version: "3"
services:
db:
image: mariadb:10.3.2
restart: always
environment:
MYSQL_USER: kirbot
MYSQL_PASSWORD: kirbot
MYSQL_DATABASE: kirbot
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
volumes:
- ./.data/db:/var/lib/mysql
- ./conf/mysql:/etc/mysql/conf.d
redis:
image: redis:3.2
restart: always
volumes:
- ./.data/redis:/data
web:
image: mrkirby153/laravel:7.3.9
restart: always
ports:
- "8580:80"
volumes:
- ./KirBotPanel:/var/www
depends_on:
- redis
- db
bot:
build: .
restart: unless-stopped
volumes:
- ./.data/kirbot:/kirbot/data
depends_on:
- redis
- web
grafana:
image: grafana/grafana
restart: always
ports:
- "8581:3000"
volumes:
- ./.data/grafana:/var/lib/grafana
environment:
GF_INSTALL_PLUGINS: grafana-piechart-panel
depends_on:
- prometheus
prometheus:
image: prom/prometheus
restart: always
volumes:
- ./.data/prometheus:/prometheus
- ./conf/prom/prometheus.prod.yml:/etc/prometheus/prometheus.yml
depends_on:
- bot
|
Add nbval as test requirement for conda build | package:
name: mbuild
version: {{ GIT_DESCRIBE_TAG }}
source:
path: ../../
build:
noarch: python
number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0)}}
script_env:
- CONDA_PY
script: activate
script: python setup.py install --single-version-externally-managed --record record.txt
requirements:
build:
- python
- protobuf
run:
- python
- numpy
- scipy
- packmol >=1!18.013
- nglview >=2.7
- oset
- parmed
- protobuf
- mdtraj
test:
requires:
- pytest >=3.0
- jupyter
- nbformat
- ipykernel
- foyer
- networkx
source_files:
- mbuild/examples/*
commands:
- set LNAME=mosdef
- activate
- pytest -v --pyargs mbuild --nbval --nbval-lax
about:
home: http://mosdef-hub.github.io/mbuild
license: MIT
summary: A hierarchical, component based molecule builder.
| package:
name: mbuild
version: {{ GIT_DESCRIBE_TAG }}
source:
path: ../../
build:
noarch: python
number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0)}}
script_env:
- CONDA_PY
script: activate
script: python setup.py install --single-version-externally-managed --record record.txt
requirements:
build:
- python
- protobuf
run:
- python
- numpy
- scipy
- packmol >=1!18.013
- nglview >=2.7
- oset
- parmed
- protobuf
- mdtraj
test:
requires:
- pytest >=3.0
- jupyter
- nbformat
- ipykernel
- foyer
- networkx
- nbval
source_files:
- mbuild/examples/*
commands:
- set LNAME=mosdef
- activate
- pytest -v --pyargs mbuild --nbval --nbval-lax
about:
home: http://mosdef-hub.github.io/mbuild
license: MIT
summary: A hierarchical, component based molecule builder.
|
Change image name for senlin job | ---
SenlinClusters.create_and_delete_cluster:
-
args:
desired_capacity: 3
min_size: 0
max_size: 5
runner:
type: "constant"
times: 3
concurrency: 2
context:
users:
tenants: 2
users_per_tenant: 2
profiles:
type: os.nova.server
version: "1.0"
properties:
name: cirros_server
flavor: 1
image: "cirros-0.3.5-x86_64-disk.img"
networks:
- network: private
sla:
failure_rate:
max: 0
| ---
SenlinClusters.create_and_delete_cluster:
-
args:
desired_capacity: 3
min_size: 0
max_size: 5
runner:
type: "constant"
times: 3
concurrency: 2
context:
users:
tenants: 2
users_per_tenant: 2
profiles:
type: os.nova.server
version: "1.0"
properties:
name: cirros_server
flavor: 1
image: "cirros-0.3.5-x86_64-disk"
networks:
- network: private
sla:
failure_rate:
max: 0
|
Remove the Ansible 1.9 workaround | ---
- hosts: undercloud
vars:
metadata:
name: Check access to various openstack services
description: >
This will attempt to connect to each service endpoint defined in
your hosts file's controller_vip variable.
groups:
- post-deployment
tasks:
- name: Load the overcloud credentials
overcloudrc: path=/home/stack/overcloudrc
# Check connectivity to horizon
- name: Check Horizon
# TODO: get Horizon endpoint from Keystone
uri: url=http://{{public_vip}}
# Check that we can obtain an auth token from horizon
- name: Check Keystone
uri:
url: "{{ overcloudrc.OS_AUTH_URL }}/tokens"
method: POST
headers:
"Content-Type": "application/json"
# NOTE(shadower): this is a workaround for a bug in Ansible 1.9. When
# we switch to 2.x only, we can replace this with a yaml dict.
# Yes. The space character at the beginning is apparently necessary here.
body: ' {"auth": {"passwordCredentials": {"username": "{{ overcloudrc.OS_USERNAME }}", "password": "{{ overcloudrc.OS_PASSWORD }}"}, "tenantName": "{{ overcloudrc.OS_TENANT_NAME }}"} }'
return_content: yes
register: auth_token
# TODO: other endpoints
| ---
- hosts: undercloud
vars:
metadata:
name: Check access to various openstack services
description: >
This will attempt to connect to each service endpoint defined in
your hosts file's controller_vip variable.
groups:
- post-deployment
tasks:
- name: Load the overcloud credentials
overcloudrc: path=/home/stack/overcloudrc
# Check connectivity to horizon
- name: Check Horizon
# TODO: get Horizon endpoint from Keystone
uri: url=http://{{public_vip}}
# Check that we can obtain an auth token from horizon
- name: Check Keystone
uri:
url: "{{ overcloudrc.OS_AUTH_URL }}/tokens"
method: POST
body_format: json
body:
auth:
passwordCredentials:
username: "{{ overcloudrc.OS_USERNAME }}"
password: "{{ overcloudrc.OS_PASSWORD }}"
tenantName: "{{ overcloudrc.OS_TENANT_NAME }}"
return_content: yes
register: auth_token
# TODO: other endpoints
|
Update from Hackage at 2019-05-24T16:22:24Z | homepage: http://hub.darcs.net/thielema/resistor-cube
changelog-type: ''
hash: 07874483c2d46979588b855f1191ecdbb2cdfbc551a10a49379d76f37d505d35
test-bench-deps: {}
maintainer: haskell@henning-thielemann.de
synopsis: Compute total resistance of a cube of resistors
changelog: ''
basic-deps:
lapack: ! '>=0.2.2 && <0.3'
base: ! '>=4.5 && <5'
comfort-array: ! '>=0.3.1 && <0.4'
all-versions:
- '0.0'
- 0.0.0.1
- 0.0.0.2
- 0.0.0.3
- 0.0.0.4
- 0.0.1
author: Henning Thielemann
latest: 0.0.1
description-type: haddock
description: |-
This is an example of how to compute the total resistance
of a non-trivial circuit of resistors.
It demonstrates how to build the necessary matrix.
The computed voltages and currents
are elements of the null vector of that matrix.
For a generalized version see the tests of the @linear-circuit@ package.
license-name: BSD-3-Clause
| homepage: http://hub.darcs.net/thielema/resistor-cube
changelog-type: ''
hash: ea6152d8758a6da4b34264909f075d7c35600745de4ed26e5b98fdb440fe028c
test-bench-deps: {}
maintainer: haskell@henning-thielemann.de
synopsis: Compute total resistance of a cube of resistors
changelog: ''
basic-deps:
lapack: ! '>=0.3 && <0.4'
base: ! '>=4.5 && <5'
comfort-array: ! '>=0.4 && <0.5'
all-versions:
- '0.0'
- 0.0.0.1
- 0.0.0.2
- 0.0.0.3
- 0.0.0.4
- 0.0.1
- 0.0.1.1
author: Henning Thielemann
latest: 0.0.1.1
description-type: haddock
description: |-
This is an example of how to compute the total resistance
of a non-trivial circuit of resistors.
It demonstrates how to build the necessary matrix.
We obtain the voltages and currents
by solving simultaneous linear equations according to this matrix.
* For an explanation see <http://code.henning-thielemann.de/bob2019/main.pdf>.
* For a generalized version see the tests of the @linear-circuit@ package.
license-name: BSD-3-Clause
|
Revert "Update cf-cli to 6.23.1" | ---
- hosts: all
vars:
cf_cli_version: "6.23.1"
maven_version: "3.3.9"
maven_checksum: "516923b3955b6035ba6b0a5b031fbd8b"
sbt_version: "0.13.13"
intellij_version: "2016.3.4"
intellij_config_path: "~vagrant/.IdeaIC2016.3"
sts_version: "3.8.3"
eclipse_version: "4.6.2"
docker_compose_version: "1.10.1"
atom_version: "1.13.1"
gather_facts: yes
become: yes
roles:
- disable_auto_update
- developer_packages
- atom
- docker_service
- docker_compose
- cf_cli
- maven
- sbt
- gradle
- intellij
- sts
- unity_desktop
| ---
- hosts: all
vars:
cf_cli_version: "6.21.1"
maven_version: "3.3.9"
maven_checksum: "516923b3955b6035ba6b0a5b031fbd8b"
sbt_version: "0.13.13"
intellij_version: "2016.3.4"
intellij_config_path: "~vagrant/.IdeaIC2016.3"
sts_version: "3.8.3"
eclipse_version: "4.6.2"
docker_compose_version: "1.10.1"
atom_version: "1.13.1"
gather_facts: yes
become: yes
roles:
- disable_auto_update
- developer_packages
- atom
- docker_service
- docker_compose
- cf_cli
- maven
- sbt
- gradle
- intellij
- sts
- unity_desktop
|
Update from Hackage at 2017-08-27T09:51:19Z | homepage: ''
changelog-type: ''
hash: d7cfd13b2e073a6c23c5433e883ab04ad527bb694e9bc2caa24050335f81e004
test-bench-deps: {}
maintainer: Rongcui Dong (karl_1702@188.com)
synopsis: Binding to libSDL2-ttf
changelog: ''
basic-deps:
base: ! '>=4.8 && <5'
sdl2: ! '>=2'
sdl2-ttf: -any
linear: -any
transformers: ! '>=0.4.2'
all-versions:
- '0.2.0'
- '0.2.1'
- '0.2.2'
- '1.0.0'
author: ! 'Ömer Sinan Ağacan (omeragacan@gmail.com)
, Sean Chalmers (sclhiannan@gmail.com)'
latest: '1.0.0'
description-type: haddock
description: Haskell bindings to the sdl2-ttf C++ library <http://www.libsdl.org/projects/SDL_ttf/>.
license-name: MIT
| homepage: ''
changelog-type: ''
hash: 8142adb5c4d0d0b5a4276da1a838ff0bbc860ac6df7ec9e583049c5a822e6dcf
test-bench-deps: {}
maintainer: Mikolaj Konarski <mikolaj.konarski@funktory.com>
synopsis: Bindings to SDL2_ttf.
changelog: ''
basic-deps:
bytestring: ! '>=0.10.4.0'
base: ! '>=4.7 && <5'
text: ! '>=1.1.0.0'
sdl2: ! '>=2.2'
template-haskell: -any
all-versions:
- '0.2.0'
- '0.2.1'
- '0.2.2'
- '1.0.0'
- '2.0.0'
author: ! 'Rongcui Dong (rongcuid@outlook.com),
Siniša Biđin <sinisa@bidin.eu>,
Ömer Sinan Ağacan (omeragacan@gmail.com),
Sean Chalmers (sclhiannan@gmail.com)'
latest: '2.0.0'
description-type: haddock
description: Haskell bindings to SDL2_ttf C++ library <http://www.libsdl.org/projects/SDL_ttf/>.
license-name: BSD3
|
Add deploy job (copy ml_gps.so to /builddata/) | stages:
- setup_env
- build
setup_env_job:
stage: setup_env
script:
- sudo apt-get update -qq
- sudo apt-get install -y -qq gcc g++ build-essential liblua5.1 liblua5.1-0-dev
build_job:
stage: build
script:
- ./premake5_x64 gmake
- cd Build
- make config=release_x64 all
- mv ../Bin/Release/libml_gps.so ../ml_gps.so
- mv ../test/sa_nodes.json ../sa_nodes.json
artifacts:
name: "$CI_BUILD_NAME"
paths:
- ml_gps.so
- sa_nodes.json
| stages:
- setup_env
- build
- deploy
setup_env_job:
stage: setup_env
script:
- sudo apt-get update -qq
- sudo apt-get install -y -qq gcc g++ build-essential liblua5.1 liblua5.1-0-dev
build_job:
stage: build
script:
- ./premake5_x64 gmake
- cd Build
- make config=release_x64 all
- mv ../Bin/Release/libml_gps.so ../ml_gps.so
- mv ../test/sa_nodes.json ../sa_nodes.json
artifacts:
name: "$CI_BUILD_NAME"
paths:
- ml_gps.so
- sa_nodes.json
deploy_job:
stage: deploy
script:
- sudo mkdir -p /builddata
- sudo cp ml_gps.so /builddata/
|
Update from Hackage at 2018-06-23T12:17:45Z | homepage: ''
changelog-type: ''
hash: 9c101712135eb41c896c1c5a5932f7c875d2f06db064d2b6f1b9e626b7be4750
test-bench-deps:
base: -any
hspec: -any
cdeps: -any
maintainer: vamchale@gmail.com
synopsis: Extract dependencies from C code.
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=4.9 && <5'
text: -any
filepath: -any
array: -any
cdeps: -any
optparse-applicative: -any
directory: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.0.2'
- '0.1.1.0'
- '0.1.1.1'
- '0.1.1.2'
author: Vanessa McHale
latest: '0.1.1.2'
description-type: markdown
description: ! '# cdeps
This package provides the ability to extract C dependencies from source code. It
can be used with [shake](https://shakebuild.com) or for other purposes.
'
license-name: BSD3
| homepage: ''
changelog-type: ''
hash: 239458fa2ab9d519a2628e3d642629b1890c6bd9e1b87187e0bac2fa22604c8f
test-bench-deps:
base: -any
hspec: -any
cdeps: -any
maintainer: vamchale@gmail.com
synopsis: Extract dependencies from C code.
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=4.8 && <5'
text: -any
filepath: -any
array: -any
cdeps: -any
optparse-applicative: -any
directory: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.0.2'
- '0.1.1.0'
- '0.1.1.1'
- '0.1.1.2'
- '0.1.1.3'
author: Vanessa McHale
latest: '0.1.1.3'
description-type: markdown
description: ! '# cdeps
This package provides the ability to extract C dependencies from source code. It
can be used with [shake](https://shakebuild.com) or for other purposes.
'
license-name: BSD3
|
Update from Hackage at 2016-03-21T11:21:53+0000 | homepage: ''
changelog-type: ''
hash: b18e62eb8495abc793873966fbfdce4cd179f9620f6f2df14d34d4ed00e3dc73
test-bench-deps:
base: -any
union: -any
criterion: -any
lens: -any
maintainer: Index Int <vlad.z.4096@gmail.com>
synopsis: Extensible type-safe unions
changelog: ''
basic-deps:
base: ! '>=4.8 && <4.10'
vinyl: ! '>=0.5 && <0.6'
lens: ! '>=4.13 && <4.14'
all-versions:
- '0.1.0.0'
author: Index Int
latest: '0.1.0.0'
description-type: haddock
description: ! 'Extensible type-safe unions for Haskell with prisms using modern
GHC features. Dual to vinyl records. Unions are also known as
corecords or polymorphic variants.
Neither requires a @Typeable@ constraint nor uses unsafe coercions
at the cost of a performance hit.'
license-name: BSD3
| homepage: ''
changelog-type: ''
hash: b727e5c9325d1672d30a1da433ddd1314775d7b50d2148713f419e524444ed79
test-bench-deps:
base: -any
union: -any
criterion: -any
lens: -any
maintainer: Index Int <vlad.z.4096@gmail.com>
synopsis: Extensible type-safe unions
changelog: ''
basic-deps:
base: ! '>=4.8 && <4.10'
vinyl: ! '>=0.5 && <0.6'
lens: ! '>=4.13 && <4.14'
all-versions:
- '0.1.0.0'
author: Index Int
latest: '0.1.0.0'
description-type: haddock
description: ! 'Extensible type-safe unions for Haskell with prisms using modern
GHC features. Dual to vinyl records. Unions are also known as
corecords or polymorphic variants.
Neither requires a @Typeable@ constraint nor uses unsafe coercions
at the cost of a performance hit.'
license-name: BSD3
|
Update from Hackage at 2021-06-06T10:05:40Z | homepage: https://code.mathr.co.uk/exp-extended
changelog-type: ''
hash: 3462dc900cc91b863af6b183f3cd7df722eaace300da21f2d97d95654cd1a18d
test-bench-deps: {}
maintainer: claude@mathr.co.uk
synopsis: floating point with extended exponent range
changelog: ''
basic-deps:
base: ! '>=4.9 && <4.14'
all-versions:
- 0.1.0.1
- 0.1.1
- 0.1.1.1
- 0.1.1.2
- '0.2'
author: Claude Heiland-Allen
latest: '0.2'
description-type: haddock
description: |-
A small library to extend floating point types with a larger
exponent, so that you can represent really huge or really tiny
numbers without overflow to infinity or underflow to zero.
> > unExpExtended . log . exp . expExtended' $ 1000
> 1000.0
> > log . exp $ 1000
> Infinity
> > unExpExtended . log . exp . negate . expExtended' $ 1000
> -1000.0
> > log . exp . negate $ 1000
> -Infinity
Version 0.2 has lighter dependencies and fixes an overflow bug in expm1.
license-name: BSD-3-Clause
| homepage: https://code.mathr.co.uk/exp-extended
changelog-type: ''
hash: 547be757fc8d2bd5af0f71d68f6b7de2f4c3c4dde9c7205346d5752343a6f9cf
test-bench-deps: {}
maintainer: claude@mathr.co.uk
synopsis: floating point with extended exponent range
changelog: ''
basic-deps:
base: '>=4.9 && <4.16'
all-versions:
- 0.1.0.1
- 0.1.1
- 0.1.1.1
- 0.1.1.2
- '0.2'
author: Claude Heiland-Allen
latest: '0.2'
description-type: haddock
description: |-
A small library to extend floating point types with a larger
exponent, so that you can represent really huge or really tiny
numbers without overflow to infinity or underflow to zero.
> > unExpExtended . log . exp . expExtended' $ 1000
> 1000.0
> > log . exp $ 1000
> Infinity
> > unExpExtended . log . exp . negate . expExtended' $ 1000
> -1000.0
> > log . exp . negate $ 1000
> -Infinity
Version 0.2 has lighter dependencies and fixes an overflow bug in expm1.
license-name: BSD-3-Clause
|
Install curl via choco on AppVeyor (windows) CI and remove old zef code | os: Visual Studio 2015
platform: x64
install:
- '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64'
- choco install strawberryperl
- SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
- git clone https://github.com/rakudo/rakudo.git %APPVEYOR_BUILD_FOLDER%\..\rakudo
- cd %APPVEYOR_BUILD_FOLDER%\..\rakudo
- perl Configure.pl --gen-moar=HEAD --gen-nqp
- nmake install
- SET PATH=%APPVEYOR_BUILD_FOLDER%\..\rakudo\install\bin;%PATH%
- cd %APPVEYOR_BUILD_FOLDER%
build: off
test_script:
- set NETWORK_TESTING=1
- prove -v -e "perl6 -Ilib" t/
- perl6 -Ilib bin/zef --verbose install .
- SET PATH=%APPVEYOR_BUILD_FOLDER%\..\rakudo\install\share\perl6\site\bin;%PATH%
- cd %APPVEYOR_BUILD_FOLDER%\..
- zef --verbose --force install Zef
shallow_clone: true | os: Visual Studio 2015
platform: x64
install:
- '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64'
- choco install strawberryperl
- choco install curl
- SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
- git clone https://github.com/tadzik/rakudobrew %USERPROFILE%\rakudobrew
- SET PATH=%USERPROFILE%\rakudobrew\bin;%PATH%
- rakudobrew build moar 2016.02
- rakudobrew build panda
- cd %APPVEYOR_BUILD_FOLDER%
- panda installdeps .
build: off
test_script:
- set NETWORK_TESTING=1
- prove -v -e "perl6 -Ilib" t/
shallow_clone: true
|
Update manifest to work with k8s 1.16 | apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: ip-masq-agent
namespace: kube-system
spec:
template:
metadata:
labels:
k8s-app: ip-masq-agent
spec:
hostNetwork: true
containers:
- name: ip-masq-agent
image: gcr.io/google-containers/ip-masq-agent-amd64:v2.0.0
securityContext:
privileged: false
capabilities:
add: ["NET_ADMIN", "NET_RAW"]
volumeMounts:
- name: config
mountPath: /etc/config
volumes:
- name: config
configMap:
# Note this ConfigMap must be created in the same namespace as the daemon pods - this spec uses kube-system
name: ip-masq-agent
optional: true
items:
# The daemon looks for its config in a YAML file at /etc/config/ip-masq-agent
- key: config
path: ip-masq-agent
| apiVersion: apps/v1
kind: DaemonSet
metadata:
name: ip-masq-agent
namespace: kube-system
spec:
selector:
matchLabels:
k8s-app: ip-masq-agent
template:
metadata:
labels:
k8s-app: ip-masq-agent
spec:
hostNetwork: true
containers:
- name: ip-masq-agent
image: gcr.io/google-containers/ip-masq-agent-amd64:v2.0.0
securityContext:
privileged: false
capabilities:
add: ["NET_ADMIN", "NET_RAW"]
volumeMounts:
- name: config
mountPath: /etc/config
volumes:
- name: config
configMap:
# Note this ConfigMap must be created in the same namespace as the daemon pods - this spec uses kube-system
name: ip-masq-agent
optional: true
items:
# The daemon looks for its config in a YAML file at /etc/config/ip-masq-agent
- key: config
path: ip-masq-agent
|
Add an 8.5 job to Jenkins | ---
- job:
name: elastic+elasticsearch-py+8.3
display-name: 'elastic / elasticsearch-py # 8.3'
description: Testing the elasticsearch-py 8.3 branch.
junit_results: "*-junit.xml"
parameters:
- string:
name: branch_specifier
default: refs/heads/8.3
description: the Git branch specifier to build (<branchName>, <tagName>,
<commitId>, etc.)
| ---
- job:
name: elastic+elasticsearch-py+8.5
display-name: 'elastic / elasticsearch-py # 8.5'
description: Testing the elasticsearch-py 8.5 branch.
junit_results: "*-junit.xml"
parameters:
- string:
name: branch_specifier
default: refs/heads/8.5
description: the Git branch specifier to build (<branchName>, <tagName>,
<commitId>, etc.)
|
Remove PostgreSQL passport env variable from SQLite Docker Compose example | version: "3.7"
services:
app:
image: babybuddy/babybuddy
# See README.md#configuration for other environment configuration options.
environment:
- ALLOWED_HOSTS=
- DJANGO_SETTINGS_MODULE=babybuddy.settings.base
- SECRET_KEY=
- TIME_ZONE=
- POSTGRES_PASSWORD=postgres
- DEBUG=False # Turn to False in production
volumes:
- data:/app/data:rw
- media:/app/media:rw
command: bash -c 'python manage.py migrate --noinput && python manage.py createcachetable && gunicorn babybuddy.wsgi -b :8000 --log-level=info'
ports:
- "8000:8000"
volumes:
data: {}
media: {}
| version: "3.7"
services:
app:
image: babybuddy/babybuddy
# See README.md#configuration for other environment configuration options.
environment:
- ALLOWED_HOSTS=
- DJANGO_SETTINGS_MODULE=babybuddy.settings.base
- SECRET_KEY=
- TIME_ZONE=
- DEBUG=False # Turn to False in production
volumes:
- data:/app/data:rw
- media:/app/media:rw
command: bash -c 'python manage.py migrate --noinput && python manage.py createcachetable && gunicorn babybuddy.wsgi -b :8000 --log-level=info'
ports:
- "8000:8000"
volumes:
data: {}
media: {}
|
Use npm ci to install dependencies | version: 2
jobs:
build:
docker:
- image: node:carbon
working_directory: ~/ci-museeks
steps:
- checkout
- run:
name: Display node and npm informations
command: |
echo "node version $(node -v) running"
echo "npm version $(npm -v) running"
- restore_cache:
keys:
- npm-cache-{{ checksum "package-lock.json" }}
# fallback to using the latest cache if no exact match is found
- mpm-cache
# - run:
# name: Install native dependencies
# command: apt update && apt install -y libdbus-1-dev libglib2.0-dev
- run:
name: Install dependencies
command: npm install
- run:
name: Rebuild native modules
command: npm run modules:rebuild
- run:
name: "Lint check: TS"
command: "npm run lint:ts"
- run:
name: "Lint check: CSS"
command: "npm run lint:css"
- run:
name: Build application
command: npm run build
- save_cache:
paths:
- ./node_modules
key: npm-cache-{{ checksum "package-lock.json" }}
| version: 2
jobs:
build:
docker:
- image: node:carbon
working_directory: ~/ci-museeks
steps:
- checkout
- run:
name: Display node and npm informations
command: |
echo "node version $(node -v) running"
echo "npm version $(npm -v) running"
- restore_cache:
keys:
- npm-cache-{{ checksum "package-lock.json" }}
# fallback to using the latest cache if no exact match is found
- mpm-cache
# - run:
# name: Install native dependencies
# command: apt update && apt install -y libdbus-1-dev libglib2.0-dev
- run:
name: Install dependencies
command: npm ci
- run:
name: Rebuild native modules
command: npm run modules:rebuild
- run:
name: "Lint check: TS"
command: "npm run lint:ts"
- run:
name: "Lint check: CSS"
command: "npm run lint:css"
- run:
name: Build application
command: npm run build
- save_cache:
paths:
- ./node_modules
key: npm-cache-{{ checksum "package-lock.json" }}
|
Set a friendly name for the Github Action | name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5.1
bundler-cache: true
- name: Cache MySQL
uses: actions/cache@v2
with:
path: dbdeployer/binaries
key: ${{ runner.os }}-dbdeployer-${{ hashFiles('**/dbdeployer/install.sh') }}
- name: Install Ruby packages
run: bundle install
- name: Install Ubuntu packages
run: sudo apt-get install numactl libaio-dev
- name: Setup MySQL
run: ./dbdeployer/install.sh
- name: Run integration tests
run: bundle exec rake integration
- name: Run unit tests
run: bundle exec rake unit
| name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5.1
bundler-cache: true
- name: Cache MySQL
uses: actions/cache@v2
with:
path: dbdeployer/binaries
key: ${{ runner.os }}-dbdeployer-${{ hashFiles('**/dbdeployer/install.sh') }}
- name: Install Ruby packages
run: bundle install
- name: Install Ubuntu packages
run: sudo apt-get install numactl libaio-dev
- name: Setup MySQL
run: ./dbdeployer/install.sh
- name: Run integration tests
run: bundle exec rake integration
- name: Run unit tests
run: bundle exec rake unit
|
Build BeagleBone Black image with 5f3d49b builder | ---
artifacts:
objects:
location: 'gs://${PROJECT_ID}-os-images/$_ROOTFS_ARCHIVE_PATH'
paths:
- '**/dist/*.xz'
- '**/dist/*.sha256sum'
options:
machineType: 'N1_HIGHCPU_8'
steps:
- id: 'Build BeagleBone Black rootfs'
name: 'gcr.io/$PROJECT_ID/arm-image-builder:$_ARM_BUILDER_IMAGE_TAG'
args:
- "--entrypoint"
- "$$(pwd)/build.sh"
- "--options"
- "--branch-name $BRANCH_NAME --commit-sha $COMMIT_SHA --build-configuration-name $_BUILD_CONFIGURATION_NAME --build-script-revision $_BUILD_SCRIPT_REVISION --build-script-url $_BUILD_SCRIPT_URL"
substitutions:
_ARM_BUILDER_IMAGE_TAG: 'cb47005'
_BUILD_CONFIGURATION_NAME: 'rcn-ee_console_ubuntu_focal_armhf'
_BUILD_SCRIPT_REVISION: '442ff4a'
_BUILD_SCRIPT_URL: 'https://github.com/RobertCNelson/omap-image-builder.git'
# Set a high timeout because the default is too low
timeout: 36000s
| ---
artifacts:
objects:
location: 'gs://${PROJECT_ID}-os-images/$_ROOTFS_ARCHIVE_PATH'
paths:
- '**/dist/*.xz'
- '**/dist/*.sha256sum'
options:
machineType: 'N1_HIGHCPU_8'
steps:
- id: 'Build BeagleBone Black rootfs'
name: 'gcr.io/$PROJECT_ID/arm-image-builder:$_ARM_BUILDER_IMAGE_TAG'
args:
- "--entrypoint"
- "$$(pwd)/build.sh"
- "--options"
- "--branch-name $BRANCH_NAME --commit-sha $COMMIT_SHA --build-configuration-name $_BUILD_CONFIGURATION_NAME --build-script-revision $_BUILD_SCRIPT_REVISION --build-script-url $_BUILD_SCRIPT_URL"
substitutions:
_ARM_BUILDER_IMAGE_TAG: '4a17db0'
_BUILD_CONFIGURATION_NAME: 'rcn-ee_console_ubuntu_focal_armhf'
_BUILD_SCRIPT_REVISION: '5f3d49b'
_BUILD_SCRIPT_URL: 'https://github.com/RobertCNelson/omap-image-builder.git'
# Set a high timeout because the default is too low
timeout: 36000s
|
Create app directories for Knowhow | ---
- name: Install Node.js packages
action: npm name={{ item }} state=latest global=yes
with_items:
- gulp
- ember-cli
| ---
- name: Install Node.js packages
action: npm name={{ item }} state=latest global=yes
with_items:
- gulp
- ember-cli
- name: Create app directories
action: file path={{ item }} state=directory
with_items:
- /u/apps/knowhow/frontend
- /u/apps/knowhow/backend
|
Remove kube reference to GOOGLE_ANALYTICS_ID | apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: gradientzoo-web-deployment
spec:
replicas: 2
template:
metadata:
labels:
app: gradientzoo-web
spec:
containers:
- name: gradientzoo-web
image: gcr.io/gradientzoo-1233/gradientzoo-web:latest
imagePullPolicy: Always
ports:
- containerPort: 3000
env:
- name: GOOGLE_ANALYTICS_ID
valueFrom:
secretKeyRef:
name: google-analytics
key: id | apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: gradientzoo-web-deployment
spec:
replicas: 2
template:
metadata:
labels:
app: gradientzoo-web
spec:
containers:
- name: gradientzoo-web
image: gcr.io/gradientzoo-1233/gradientzoo-web:latest
imagePullPolicy: Always
ports:
- containerPort: 3000 |
Use wireplumber, disable usb audio in dock | - name: Ensure pipewire is installed
become: yes
pacman:
name: "{{ packages }}"
state: latest
vars:
packages:
- pipewire
- pipewire-pulse
- pipewire-alsa
- pipewire-media-session
tags:
- sound
- name: Ensure old pulseaudio services are disabled
become: yes
systemd:
enabled: no
state: stopped
name: "{{ item }}"
ignore_errors: yes
loop:
- pulseaudio.socket
- pulseaudio.service
tags:
- sound
- name: Ensure pulseaudio related packages are uninstalled
become: yes
pacman:
name: "{{ packages }}"
state: absent
vars:
packages:
- pulseaudio-alsa
- pulseaudio
- pulseaudio-modules-bt-git
- pulseaudio-bluetooth
tags:
- sound
- name: Ensure old pulseaudio config files are removed
become: yes
file:
path: /etc/pulse/
state: absent
tags:
- sound
| - name: Configure pipewire system wide
become: yes
tags:
- sound
block:
- name: Ensure pipewire is installed
pacman:
name: "{{ packages }}"
state: latest
vars:
packages:
- pipewire
- pipewire-pulse
- pipewire-alsa
- wireplumber
- name: Get the list of services
service_facts:
- name: Ensure old pulseaudio services are disabled
systemd:
enabled: no
state: stopped
name: "{{ item }}"
when: item in services
loop:
- pulseaudio.socket
- pulseaudio.service
- name: Ensure pulseaudio related packages are uninstalled
pacman:
name: "{{ packages }}"
state: absent
vars:
packages:
- pulseaudio-alsa
- pulseaudio
- pulseaudio-modules-bt-git
- pulseaudio-bluetooth
- name: Ensure wireplumber config directory exists
file:
path: "{{ ansible_user_dir }}/.config/wireplumber/main.lua.d/"
state: directory
mode: 0750
tags:
- sound
- name: Ensure USB audio in Thinkpad dock is disabled
copy:
dest: "{{ ansible_user_dir }}/.config/wireplumber/main.lua.d/51-alsa-disable.lua"
content: |
rule = {
matches = {
{
{ "device.name", "equals", "alsa_card.usb-Lenovo_ThinkPad_Thunderbolt_3_Dock_USB_Audio_000000000000-00" },
},
},
apply_properties = {
["device.disabled"] = true,
},
}
table.insert(alsa_monitor.rules,rule)
mode: 0640
tags:
- sound
|
Fix delete-deployment when testers org doesn't exist. | ---
platform: linux
inputs:
- name: paas-cf
- name: bosh-CA
- name: config
image: docker:///governmentpaas/cf-cli
run:
path: sh
args:
- -e
- -c
- |
./paas-cf/concourse/scripts/import_bosh_ca.sh
. ./config/config.sh
if curl -I -f $API_ENDPOINT/info; then
echo | cf login -a ${API_ENDPOINT} -u ${CF_ADMIN} -p ${CF_PASS}
cf target -o testers -s healthcheck
cf delete healthcheck -f -r
if cf services | grep -q healthcheck-db; then
cf delete-service healthcheck-db -f
fi
fi
| ---
platform: linux
inputs:
- name: paas-cf
- name: bosh-CA
- name: config
image: docker:///governmentpaas/cf-cli
run:
path: sh
args:
- -e
- -c
- |
./paas-cf/concourse/scripts/import_bosh_ca.sh
. ./config/config.sh
if ! curl -I -f $API_ENDPOINT/info; then
echo "CF API unavailable. Skipping..."
exit 0
fi
echo | cf login -a ${API_ENDPOINT} -u ${CF_ADMIN} -p ${CF_PASS}
if ! cf org testers > /dev/null; then
echo "Org 'testers' not found. Skipping..."
exit 0
fi
cf target -o testers -s healthcheck
cf delete healthcheck -f -r
if cf services | grep -q healthcheck-db; then
cf delete-service healthcheck-db -f
fi
|
Update from Forestry.io - Updated Forestry configuration | ---
new_page_extension: md
auto_deploy: false
admin_path: "/static/admin"
webhook_url:
sections:
- type: directory
path: projects
label: Projects
create: documents
match: "**/*.md"
templates:
- project
- type: directory
path: journal
label: Journal
create: documents
match: "**/*.md"
templates:
- journal
- type: document
path: data/theme.json
label: Theme config
upload_dir: uploads
public_path: "/uploads"
front_matter_path: ''
use_front_matter_path: false
file_template: ":filename:"
build:
preview_command: gridsome build
publish_command: gridsome build
preview_output_directory: dist
output_directory: dist
instant_preview_command: gridsome develop -p 8080 -h 0.0.0.0
| ---
new_page_extension: md
auto_deploy: false
admin_path: "/static/admin"
webhook_url:
sections:
- type: directory
path: projects
label: Projects
create: documents
match: "**/*.md"
templates:
- project
- type: directory
path: journal
label: Journal
create: documents
match: "**/*.md"
templates:
- journal
- type: document
path: data/theme.json
label: Theme config
upload_dir: uploads
public_path: "/uploads"
front_matter_path: ''
use_front_matter_path: false
file_template: ":filename:"
instant_preview: true
build:
preview_command: gridsome build
publish_command: gridsome build
preview_output_directory: dist
output_directory: dist
instant_preview_command: gridsome develop -p 8080 -h 0.0.0.0
|
Fix storage method for magnum job | - job-template:
name: 'cloud-mkcloud{version}-job-magnum-{arch}'
node: cloud-trigger
triggers:
- timed: 'H H * * *'
logrotate:
numToKeep: 7
daysToKeep: -1
builders:
- trigger-builds:
- project: openstack-mkcloud
condition: SUCCESS
block: true
current-parameters: true
predefined-parameters: |
TESTHEAD=1
cloudsource=develcloud{version}
nodenumber=3
nodenumbercompute=2
want_magnum=1
want_ceph=0
ostestroptions= --regex '^magnum.tests.functional.api'
mkcloudtarget=all
label={label}
| - job-template:
name: 'cloud-mkcloud{version}-job-magnum-{arch}'
node: cloud-trigger
triggers:
- timed: 'H H * * *'
logrotate:
numToKeep: 7
daysToKeep: -1
builders:
- trigger-builds:
- project: openstack-mkcloud
condition: SUCCESS
block: true
current-parameters: true
predefined-parameters: |
TESTHEAD=1
cloudsource=develcloud{version}
nodenumber=3
nodenumbercompute=2
want_magnum=1
storage_method=none
ostestroptions= --regex '^magnum.tests.functional.api'
mkcloudtarget=all
label={label}
|
Update from Hackage at 2016-03-17T18:40:38+0000 | homepage: ''
changelog-type: ''
hash: ad39e608ea6c120c9cbdd1686923b71b4610b2d7e936b9bd8fa1e8e73dbdfe8c
test-bench-deps: {}
maintainer: dagitj@gmail.com, dom.orchard@gmail.com
synopsis: Fortran lexer and parser, language support, and extensions.
changelog: ''
basic-deps:
base: ! '>=4.0 && <5'
syb: ! '>=0.3'
parsec: -any
array: ! '>=0.4'
haskell-src: ! '>=1.0'
all-versions:
- '0.2.7'
- '0.3'
- '0.4'
- '0.5'
author: Jason Dagit, Dominic Orchard, Oleg Oshmyan
latest: '0.5'
description-type: haddock
description: ! 'Lexer and parser for Fortran roughly supporting standards from
FORTRAN 77 to Fortran 2003 (but with some patches and rough
edges). Also includes language extension support for
units-of-measure typing.'
license-name: BSD3
| homepage: ''
changelog-type: ''
hash: d6181762bbe99d04dbb373c13b04e4f93a44300c2f357e62c8b225aa65f9878f
test-bench-deps: {}
maintainer: dagitj@gmail.com, dom.orchard@gmail.com
synopsis: Fortran lexer and parser, language support, and extensions.
changelog: ''
basic-deps:
base: ! '>=4.0 && <5'
syb: ! '>=0.3'
parsec: -any
array: ! '>=0.4'
haskell-src: ! '>=1.0'
all-versions:
- '0.2.7'
- '0.3'
- '0.4'
- '0.5'
- '0.5.1'
author: Jason Dagit, Dominic Orchard, Oleg Oshmyan
latest: '0.5.1'
description-type: haddock
description: ! 'Lexer and parser for Fortran roughly supporting standards from
FORTRAN 77 to Fortran 2003 (but with some patches and rough
edges). Also includes language extension support for
units-of-measure typing.'
license-name: BSD3
|
Update from Forestry.io - Updated Forestry configuration | ---
pages:
- testing.md
hide_body: false
is_partial: false
fields:
- type: blocks
template_types:
- test-partial-two
- test-partial-one
name: edit_blocks
label: Edit Blocks
| ---
pages:
- testing.md
hide_body: false
is_partial: false
fields:
- type: blocks
template_types:
- test-partial-two
- test-partial-one
name: sections
label: Edit Blocks
|
Drop inventory update for OC deploy | ---
# Non local deployments by quickstart
- name: Install delorian repos
hosts: overcloud
any_errors_fatal: true
gather_facts: false
become: true
vars_files:
- ../vars/overcloud-traas.yaml
roles:
- {role: repo-setup, when: configure_repos|bool
- name: Run overcloud prep roles
hosts: undercloud
any_errors_fatal: true
vars_files:
- ../vars/overcloud-traas.yaml
gather_facts: false
become: true
roles:
- overcloud-prep-config
- overcloud-prep-containers
- name: Deploy the overcloud (multinode)
any_errors_fatal: true
hosts: undercloud
gather_facts: true
become: false
vars_files:
- ../vars/overcloud-traas.yaml
roles:
- overcloud-deploy
#TODO parametrize env vars for the deployed-server remaining roles
environment:
OVERCLOUD_ROLES: "{{overcloud_deployed_roles}}"
ControllerDeployedServer_hosts: "{{controller_hosts}}"
SUBNODES_SSH_KEY: "{{subnodes_ssh_key}}"
# ComputeDeployedServer_hosts: "{{compute_hosts}}"
- name: Add the overcloud nodes to the generated inventory
any_errors_fatal: true
hosts: undercloud
gather_facts: false
vars_files:
- ../vars/overcloud-traas.yaml
become: false
tags:
- overcloud-deploy
vars:
inventory: all
roles:
- tripleo-inventory
| ---
# Non local deployments by quickstart
- name: Install delorian repos
hosts: overcloud
any_errors_fatal: true
gather_facts: false
become: true
vars_files:
- ../vars/overcloud-traas.yaml
roles:
- {role: repo-setup, when: configure_repos|bool}
- name: Run overcloud prep roles
hosts: undercloud
any_errors_fatal: true
vars_files:
- ../vars/overcloud-traas.yaml
gather_facts: false
become: true
roles:
- overcloud-prep-config
- overcloud-prep-containers
- name: Deploy the overcloud (multinode)
any_errors_fatal: true
hosts: undercloud
gather_facts: true
become: false
vars_files:
- ../vars/overcloud-traas.yaml
roles:
- overcloud-deploy
#TODO parametrize env vars for the deployed-server remaining roles
environment:
OVERCLOUD_ROLES: "{{overcloud_deployed_roles}}"
ControllerDeployedServer_hosts: "{{controller_hosts}}"
SUBNODES_SSH_KEY: "{{subnodes_ssh_key}}"
# ComputeDeployedServer_hosts: "{{compute_hosts}}"
|
Copy Hugo's solution to the Wercker dependency issue | # The container definition we want to use for developing our app
box: golang
build:
steps:
- wercker/golint
- script:
name: go build
code: |
GOOS=linux GOARCH=amd64 go build -o main
- script:
name: go test
code: |
go test ./...
| # The container definition we want to use for developing our app
box: golang
build:
steps:
# Sets the go workspace and places you package
# at the right place in the workspace tree
- setup-go-workspace
# Gets the dependencies
- script:
name: go get
code: |
cd $WERCKER_SOURCE_DIR
go version
go get -t ./...
- wercker/golint
- script:
name: go build
code: |
GOOS=linux GOARCH=amd64 go build -o main
- script:
name: go test
code: |
go test ./...
|
Revert "Have to allow Python 2.7 as an option in conda builds duh..." | {% set data = load_setup_py_data() %}
package:
name: pyked
version: {{ data['version'] }}
source:
path: ..
build:
number: 0
script: python setup.py install --single-version-externally-managed --record=record.txt
requirements:
build:
- python >=2.7,<3|>=3.5,{{PY_VER}}*
- setuptools
run:
- python {{PY_VER}}*
- pyyaml >=3.12,<4.0
- cerberus >=1.0.0
- pint >=0.7.2
- numpy >=1.11.0
- habanero >=0.2.6
- orcid >=0.7.0,<1.0
- uncertainties >=3.0.1
- pandas
test:
imports:
- pyked
requires:
- pytest >=3.0.1
- pytest-cov >=2.3.1
commands:
- pytest -vv --pyargs pyked
about:
home: data['url']
license: BSD 3-Clause
license_file: LICENSE
license_family: BSD
summary: data['description']
description: data['long_description']
doc_url: https://pr-omethe-us.github.io/PyKED
dev_url: data['url']
| {% set data = load_setup_py_data() %}
package:
name: pyked
version: {{ data['version'] }}
source:
path: ..
build:
number: 0
script: python setup.py install --single-version-externally-managed --record=record.txt
requirements:
build:
- python >=3.5,{{PY_VER}}*
- setuptools
run:
- python {{PY_VER}}*
- pyyaml >=3.12,<4.0
- cerberus >=1.0.0
- pint >=0.7.2
- numpy >=1.11.0
- habanero >=0.2.6
- orcid >=0.7.0,<1.0
- uncertainties >=3.0.1
- pandas
test:
imports:
- pyked
requires:
- pytest >=3.0.1
- pytest-cov >=2.3.1
commands:
- pytest -vv --pyargs pyked
about:
home: data['url']
license: BSD 3-Clause
license_file: LICENSE
license_family: BSD
summary: data['description']
description: data['long_description']
doc_url: https://pr-omethe-us.github.io/PyKED
dev_url: data['url']
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.