Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Upgrade to newer Slack action provider | name: 💬 Send Message to Slack 🚀
on: [push, pull_request, issues]
jobs:
slack-notifications:
runs-on: ubuntu-20.04
name: Sends a message to Slack when a push, a pull request or an issue is made
steps:
- name: Send message to Slack API
uses: archive/github-actions-slack@v2.0.1
id: notify
with:
slack-bot-user-oauth-access-token: ${{ secrets.SLACK_BOT_USER_OAUTH_ACCESS_TOKEN }}
slack-channel: C019HCX84L9
slack-text: Hello! Event "${{ github.event_name }}" in "${{ github.repository }}" 🤓
- name: Result from "Send Message"
run: echo "The result was ${{ steps.notify.outputs.slack-result }}"
| name: 💬 Send Message to Slack 🚀
on: [push, pull_request, issues]
jobs:
slack-notifications:
runs-on: ubuntu-20.04
name: Sends a message to Slack when a push, a pull request or an issue is made
steps:
- name: Send message to Slack API
uses: archive/github-actions-slack@v2.2.2
id: notify
with:
slack-bot-user-oauth-access-token: ${{ secrets.SLACK_BOT_USER_OAUTH_ACCESS_TOKEN }}
slack-channel: C019HCX84L9
slack-text: Hello! Event "${{ github.event_name }}" in "${{ github.repository }}" 🤓
- name: Result from "Send Message"
run: echo "The result was ${{ steps.notify.outputs.slack-result }}"
|
Remove no arch for py27 compatibility. | {% set name = "FormEncode" %}
{% set version = "1.3.1" %}
{% set hash_value = "ada2f51792b1b484e5bb7b6cc14acfc1bc11fafc967cf015cd57e856053ca7f6" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
fn: {{ name }}-{{ version }}.tar.gz
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: {{ hash_value }}
build:
number: 0
noarch: python
script: python setup.py install --single-version-externally-managed --record=record.txt
requirements:
build:
- python
- setuptools
run:
- python
test:
imports:
- formencode
about:
home: http://formencode.org
license: MIT
license_file: '{{ environ["RECIPE_DIR"] }}/LICENSE.txt' # Also see: https://github.com/formencode/formencode/issues/91
summary: 'HTML form validation, generation, and conversion package'
dev_url: https://github.com/formencode/formencode
extra:
recipe-maintainers:
- windelbouwmanbosch
- windelbouwman
| {% set name = "FormEncode" %}
{% set version = "1.3.1" %}
{% set hash_value = "ada2f51792b1b484e5bb7b6cc14acfc1bc11fafc967cf015cd57e856053ca7f6" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
fn: {{ name }}-{{ version }}.tar.gz
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: {{ hash_value }}
build:
number: 0
script: python setup.py install --single-version-externally-managed --record=record.txt
requirements:
build:
- python
- setuptools
run:
- python
test:
imports:
- formencode
about:
home: http://formencode.org
license: MIT
license_file: '{{ environ["RECIPE_DIR"] }}/LICENSE.txt' # Also see: https://github.com/formencode/formencode/issues/91
summary: 'HTML form validation, generation, and conversion package'
dev_url: https://github.com/formencode/formencode
extra:
recipe-maintainers:
- windelbouwmanbosch
- windelbouwman
|
Update from Hackage at 2022-11-11T06:59:40Z | homepage: https://harfbuzz.github.io/
changelog-type: markdown
hash: e93b7bc5919180f9da67377e9b74a5213af353673a6010d7a7c4eb62cb8edf58
test-bench-deps: {}
maintainer: opensource@openwork.nz
synopsis: Pure-functional Harfbuzz language bindings
changelog: |
# Revision history for harfbuzz-pure
## 0.1.0.0 -- YYYY-mm-dd
* First version. Released on an unsuspecting world.
basic-deps:
bytestring: '>=0.10.8.2 && <0.12'
base: '>=4.9 && <5'
text: '>=1 && <3'
utf8-light: '>=0.3 && <1'
harfbuzz-pure: -any
parallel: '>=2.2 && <4'
freetype2: '>=0.2'
all-versions:
- 0.1.0.0
author: Adrian Cochrane
latest: 0.1.0.0
description-type: haddock
description: HarfBuzz is a text shaping library. Using the HarfBuzz library allows
programs to convert a sequence of Unicode input into properly formatted and positioned
glyph output—for any writing system and language.
license-name: MIT
| homepage: https://harfbuzz.github.io/
changelog-type: markdown
hash: b55e13bfbeb2ab2f52878bde3eeb2a7009ad6fac6f6ba26e8b8155e12af063a9
test-bench-deps: {}
maintainer: opensource@openwork.nz
synopsis: Pure-functional Harfbuzz language bindings
changelog: |
# Revision history for harfbuzz-pure
## 0.1.0.0 -- YYYY-mm-dd
* First version. Released on an unsuspecting world.
basic-deps:
bytestring: '>=0.11'
base: ==4.12.*
text: '>=2.0 && <3'
utf8-light: '>=0.4 && <0.5'
derive-storable: '>=0.3 && <1'
harfbuzz-pure: -any
parallel: '>=2.2 && <4'
freetype2: '>=0.2'
all-versions:
- 0.1.0.0
- 1.0.0.0
author: Adrian Cochrane
latest: 1.0.0.0
description-type: haddock
description: HarfBuzz is a text shaping library. Using the HarfBuzz library allows
programs to convert a sequence of Unicode input into properly formatted and positioned
glyph output—for any writing system and language.
license-name: MIT
|
Fix a typo in "Determine if growpart is installed" | ---
- name: Ensure growpart is installed
package: name=cloud-utils-growpart state=present
when: not openshift_is_containerized | bool
register: result
until: result is succeeded
- name: Determine if growpart is installed
command: "rpm -q cloud-utils-growpart"
register: has_growpart
failed_when: has_growpart.cr != 0 and 'package cloud-utils-growpart is not installed' not in has_growpart.stdout
changed_when: false
when: openshift_is_containerized | bool
- name: Grow the partitions
command: "growpart {{oep_drive}} {{oep_partition}}"
- name: Expand the filesystem - xfs
command: "xfs_growfs {{oep_drive}}{{oep_partition}}"
when: oep_file_system == "xfs"
- name: Expand the filesystem - ext(2,3,4)
command: "resize2fs {{oep_drive}}{{oep_partition}}"
when: oep_file_system == "ext"
| ---
- name: Ensure growpart is installed
package: name=cloud-utils-growpart state=present
when: not openshift_is_containerized | bool
register: result
until: result is succeeded
- name: Determine if growpart is installed
command: "rpm -q cloud-utils-growpart"
register: has_growpart
failed_when: has_growpart.rc != 0 and 'package cloud-utils-growpart is not installed' not in has_growpart.stdout
changed_when: false
when: openshift_is_containerized | bool
- name: Grow the partitions
command: "growpart {{oep_drive}} {{oep_partition}}"
- name: Expand the filesystem - xfs
command: "xfs_growfs {{oep_drive}}{{oep_partition}}"
when: oep_file_system == "xfs"
- name: Expand the filesystem - ext(2,3,4)
command: "resize2fs {{oep_drive}}{{oep_partition}}"
when: oep_file_system == "ext"
|
Update from Hackage at 2016-07-29T08:41:21+0000 | homepage: https://github.com/nikita-volkov/compound-types
changelog-type: ''
hash: b9030ae352e4d9c3e588e3b2e231999f67d0ad55b1a4ad2a3eb60baede7058fc
test-bench-deps:
compound-types: -any
rebase: ! '>=1 && <2'
maintainer: Nikita Volkov <nikita.y.volkov@mail.ru>
synopsis: Sum and Product types and such
changelog: ''
basic-deps:
base-prelude: <2
base: ! '>=4.7 && <4.10'
all-versions:
- '0.1'
- '0.1.0.1'
- '0.1.1'
- '0.1.1.1'
author: Nikita Volkov <nikita.y.volkov@mail.ru>
latest: '0.1.1.1'
description-type: haddock
description: ! 'This package provides scalable composite types with neat syntax.
Additionally it provides the strict data-structures.'
license-name: MIT
| homepage: https://github.com/nikita-volkov/compound-types
changelog-type: ''
hash: f6c0a01a61b8dcb2425246bc11e88cd085b92f71f39a72e02f16ce7b7ffd48ea
test-bench-deps:
compound-types: -any
rebase: ! '>=1 && <2'
maintainer: Nikita Volkov <nikita.y.volkov@mail.ru>
synopsis: Sum and Product types and such
changelog: ''
basic-deps:
base-prelude: <2
base: ! '>=4.7 && <4.10'
all-versions:
- '0.1'
- '0.1.0.1'
- '0.1.1'
- '0.1.1.1'
- '0.1.2'
author: Nikita Volkov <nikita.y.volkov@mail.ru>
latest: '0.1.2'
description-type: haddock
description: ! 'This package provides scalable composite types with neat syntax.
Additionally it provides the strict data-structures.'
license-name: MIT
|
Remove a level of verbosity on Travis apt-get command. | language: cpp
install:
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
- echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
- sudo apt-get update -qq
- sudo apt-get install -qq mono-devel nuget
- build/premake5-linux --file=build/premake4.lua gmake
- nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
script:
- config=debug_x32 make -C build/gmake/
- mono ./testrunner/NUnit.Runners.2.6.4/tools/nunit-console.exe build/gmake/lib/Debug_x32/CppSharp.*Tests*.dll
| language: cpp
install:
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
- echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
- sudo apt-get update -qq
- sudo apt-get install -q mono-devel nuget
- build/premake5-linux --file=build/premake4.lua gmake
- nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
script:
- config=debug_x32 make -C build/gmake/
- mono ./testrunner/NUnit.Runners.2.6.4/tools/nunit-console.exe build/gmake/lib/Debug_x32/CppSharp.*Tests*.dll
|
Remove java dependency, use nodejs image and yarn | sudo: required
dist: trusty
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
language: java
jdk:
- oraclejdk8
env:
- NODE_VERSION=7.2.0
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
install:
- nvm install $NODE_VERSION
- npm install
script:
- nvm use $NODE_VERSION
- npm test
cache:
directories:
- node_modules
| language: node_js
node_js:
- "6"
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
script:
- yarn test
cache: yarn
|
Remove now default 'sudo: false' | language: rust
sudo: false
rust:
- nightly
- 1.3.0
os:
- linux
- osx
script:
- cargo test
- cargo doc --no-deps
# Deploy documentation to S3 for specific branches. At some
# point, it would be nice to also support building docs for
# a specific tag
deploy:
provider: s3
access_key_id: AKIAIGFX36YKEFRZJAXA
secret_access_key:
secure: blFcl9EMlWIiI+x8LZFWpyIxRZRScKWaftSXluFB0HLgbA1oYYX4lo8GgVYGQZ4kP3iIuL+WAlGvf3iCrAULGy0UOxLgvwOxX8XsgfCZpzF/Bw1G6od+IkPzbpNIgMtkceDhzZEmO+yatbAYCdMF0qq485QJ502inB7aeu1G94w=
bucket: rustdoc
endpoint: "rustdoc.s3-website-us-east-1.amazonaws.com"
skip_cleanup: true
local-dir: target/doc
upload-dir: mio/${TRAVIS_BRANCH}
acl: public_read
on:
condition: $TRAVIS_RUST_VERSION == "1.1.0" && $TRAVIS_OS_NAME == "linux"
repo: carllerche/mio
branch:
- master
- v0.5.x
- v0.4.x
- v0.3.x
| language: rust
rust:
- nightly
- 1.3.0
os:
- linux
- osx
script:
- cargo test
- cargo doc --no-deps
# Deploy documentation to S3 for specific branches. At some
# point, it would be nice to also support building docs for
# a specific tag
deploy:
provider: s3
access_key_id: AKIAIGFX36YKEFRZJAXA
secret_access_key:
secure: blFcl9EMlWIiI+x8LZFWpyIxRZRScKWaftSXluFB0HLgbA1oYYX4lo8GgVYGQZ4kP3iIuL+WAlGvf3iCrAULGy0UOxLgvwOxX8XsgfCZpzF/Bw1G6od+IkPzbpNIgMtkceDhzZEmO+yatbAYCdMF0qq485QJ502inB7aeu1G94w=
bucket: rustdoc
endpoint: "rustdoc.s3-website-us-east-1.amazonaws.com"
skip_cleanup: true
local-dir: target/doc
upload-dir: mio/${TRAVIS_BRANCH}
acl: public_read
on:
condition: $TRAVIS_RUST_VERSION == "1.1.0" && $TRAVIS_OS_NAME == "linux"
repo: carllerche/mio
branch:
- master
- v0.5.x
- v0.4.x
- v0.3.x
|
Revert "[REVERT LATER] Test CI a few times" | language: objective-c
osx_image: xcode11
cache:
- bundler
install:
- bundle install
jobs:
include:
- script: bundle exec fastlane test
name: UnitTests
- script: bundle exec fastlane test
name: UnitTests1
- script: bundle exec fastlane test
name: UnitTests2
- script: bundle exec fastlane test
name: UnitTests3
- script: bundle exec fastlane test
name: UnitTests4
- script: bundle exec fastlane test
name: UnitTests5
- script: bundle exec fastlane test
name: UnitTests6
- script: bundle exec fastlane screenshots_limited
name: UITests
| language: objective-c
osx_image: xcode11
cache:
- bundler
install:
- bundle install
jobs:
include:
- script: bundle exec fastlane test
name: UnitTests
- script: bundle exec fastlane screenshots_limited
name: UITests
|
Add PHP 7.0 for checking and self update Composer | language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
matrix:
allow_failures:
- php: hhvm
before_script:
- composer install --prefer-source --no-interaction
script:
- phpunit --coverage-clover=coverage.clover
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
| language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: hhvm
before_script:
- composer self-update
- composer install --prefer-source
script:
- phpunit --coverage-clover=coverage.clover
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
|
Add graphviz as dependency to test dot | env:
global:
- secure: "jLryW1QxSlUIaRDcKgSwKTWrH+Is2SH0+ZDLjwxxCiWqNuuFAEUIgPDEQJLErdwBTYV+dkU5O1k+/Eal8XzgEny2ACMIfOpLgKe9pAgCJOJMLSbN/m+E9jMY7I0w1vKOnevdGK7ZB8WL6v4DmvQbUyvBwSxCRXjZJdWJKlBKv/M="
language: cpp
compiler:
- gcc
- clang
before_script:
- sudo apt-get install --no-install-recommends libboost-test-dev doxygen
script:
- ./autogen.sh
- ./configure
- make
- make check
addons:
coverity_scan:
project:
name: "cmouse/yahttp"
description: "Yet Another HTTP Library"
notification_email: cmouse@desteem.org
build_command_prepend: "./autogen.sh && ./configure"
build_command: make
branch_pattern: coverity_master
| env:
global:
- secure: "jLryW1QxSlUIaRDcKgSwKTWrH+Is2SH0+ZDLjwxxCiWqNuuFAEUIgPDEQJLErdwBTYV+dkU5O1k+/Eal8XzgEny2ACMIfOpLgKe9pAgCJOJMLSbN/m+E9jMY7I0w1vKOnevdGK7ZB8WL6v4DmvQbUyvBwSxCRXjZJdWJKlBKv/M="
language: cpp
compiler:
- gcc
- clang
before_script:
- sudo apt-get install --no-install-recommends libboost-test-dev doxygen graphviz
script:
- ./autogen.sh
- ./configure
- make
- make check
addons:
coverity_scan:
project:
name: "cmouse/yahttp"
description: "Yet Another HTTP Library"
notification_email: cmouse@desteem.org
build_command_prepend: "./autogen.sh && ./configure"
build_command: make
branch_pattern: coverity_master
|
Include Ruby 2.2, 2.3, and 2.4 in Travis tests | before_install:
- gem install bundler
matrix:
include:
- rvm: 1.8.7
gemfile: gemfiles/Gemfile.1.9.2-
- rvm: 1.9.2
gemfile: gemfiles/Gemfile.1.9.2-
- rvm: 1.9.3
gemfile: gemfiles/Gemfile.1.9.2+
- rvm: 2.0.0
gemfile: gemfiles/Gemfile.1.9.2+
- rvm: 2.1.4
gemfile: gemfiles/Gemfile.1.9.2+
env: COVERAGE=true
- rvm: ree
gemfile: gemfiles/Gemfile.1.9.2-
- rvm: jruby
gemfile: gemfiles/Gemfile.1.9.2+
| before_install:
- gem install bundler
matrix:
include:
- rvm: 1.8.7
gemfile: gemfiles/Gemfile.1.9.2-
- rvm: 1.9.2
gemfile: gemfiles/Gemfile.1.9.2-
- rvm: 1.9.3
gemfile: gemfiles/Gemfile.1.9.2+
- rvm: 2.0.0
gemfile: gemfiles/Gemfile.1.9.2+
- rvm: 2.1.10
gemfile: gemfiles/Gemfile.1.9.2+
- rvm: 2.2.6
gemfile: gemfiles/Gemfile.1.9.2+
- rvm: 2.3.3
gemfile: gemfiles/Gemfile.1.9.2+
- rvm: 2.4.0
gemfile: gemfiles/Gemfile.1.9.2+
env: COVERAGE=true
- rvm: ree
gemfile: gemfiles/Gemfile.1.9.2-
- rvm: jruby
gemfile: gemfiles/Gemfile.1.9.2+
|
Test the latest along with everything else | language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
install:
- npm install
script:
- npm test | language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- "node"
install:
- npm install
script:
- npm test |
Drop support for Node.js 4 | language: node_js
node_js:
- "4"
- "6"
- "7"
before_install:
# setup apt package
- sudo apt-get update
- sudo apt-get install g++
- sudo apt-get install zlib1g-dev
# build kyotocabinet
- wget http://fallabs.com/kyotocabinet/pkg/kyotocabinet-1.2.76.tar.gz
- tar zxvf kyotocabinet-1.2.76.tar.gz
- cd kyotocabinet-1.2.76
- ./configure CXXFLAGS='-mno-avx'
- make
- sudo make install
- cd -
# build kyototycoon
- wget http://fallabs.com/kyototycoon/pkg/kyototycoon-0.9.56.tar.gz
- tar zxvf kyototycoon-0.9.56.tar.gz
- cd kyototycoon-0.9.56
- ./configure CXXFLAGS='-mno-avx'
- make
- sudo make install
- cd -
# setup library path
- sudo sh -c "echo '/usr/local/lib' >> /etc/ld.so.conf.d/libc.conf"
- sudo ldconfig
# start kyototycoon
- /usr/local/bin/ktserver -host localhost -port 1978 -dmn red#type=% blue#type=*
script:
- npm run lint
- npm run cover
| language: node_js
node_js:
- "6"
- "8"
- "10"
before_install:
# setup apt package
- sudo apt-get update
- sudo apt-get install g++
- sudo apt-get install zlib1g-dev
# build kyotocabinet
- wget http://fallabs.com/kyotocabinet/pkg/kyotocabinet-1.2.76.tar.gz
- tar zxvf kyotocabinet-1.2.76.tar.gz
- cd kyotocabinet-1.2.76
- ./configure CXXFLAGS='-mno-avx'
- make
- sudo make install
- cd -
# build kyototycoon
- wget http://fallabs.com/kyototycoon/pkg/kyototycoon-0.9.56.tar.gz
- tar zxvf kyototycoon-0.9.56.tar.gz
- cd kyototycoon-0.9.56
- ./configure CXXFLAGS='-mno-avx'
- make
- sudo make install
- cd -
# setup library path
- sudo sh -c "echo '/usr/local/lib' >> /etc/ld.so.conf.d/libc.conf"
- sudo ldconfig
# start kyototycoon
- /usr/local/bin/ktserver -host localhost -port 1978 -dmn red#type=% blue#type=*
script:
- npm run lint
- npm run cover
|
Add 2.5-2.7 rubies to CI | language: ruby
bundler_args: --without guard
rvm:
- "2.3.1"
- "2.4.0"
- ruby-head
script: "bundle exec rspec"
addons:
code_climate:
repo_token: a36151a91a3f70083cbdb99e00dbf75ca91cafb910ad38d0e413c84063872f32
branches:
only: master
notifications:
email: false
matrix:
fast_finish: true
allow_failures:
- rvm: ruby-head
| language: ruby
bundler_args: --without guard
rvm:
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
- ruby-head
script: "bundle exec rspec"
addons:
code_climate:
repo_token: a36151a91a3f70083cbdb99e00dbf75ca91cafb910ad38d0e413c84063872f32
branches:
only: master
notifications:
email: false
matrix:
fast_finish: true
allow_failures:
- rvm: ruby-head
|
Move from Ubuntu Trusty to Ubuntu Xenial on Travis-CI | language: java
matrix:
include:
- jdk: openjdk8
- jdk: oraclejdk8
- jdk: openjdk9
- jdk: openjdk10
- jdk: openjdk11
- jdk: oraclejdk11
- os: osx
osx_image: xcode9.2
env: JAVA_HOME=$(/usr/libexec/java_home)
script: ./build.sh -Dexist.autodeploy=off -Dtest.haltonerror=true -Dtest.haltonfailure=true clean clean-all all test
cache:
directories:
- $HOME/.ivy2
- $HOME/.m2
after_failure:
- tar -cjf junit-data-4.x.x.tar.bz2 test/junit/data
- curl -v -u $CHUNK_USER:$CHUNK_PW -sT junit-data-4.x.x.tar.bz2 chunk.io
notifications:
hipchat: ec8fcfa661addc56a361a8ef536320@integrations
| language: java
dist: xenial
matrix:
include:
- jdk: openjdk8
- jdk: openjdk9
- jdk: openjdk10
- jdk: openjdk11
- jdk: oraclejdk11
- os: osx
osx_image: xcode9.2
env: JAVA_HOME=$(/usr/libexec/java_home)
script: ./build.sh -Dexist.autodeploy=off -Dtest.haltonerror=true -Dtest.haltonfailure=true clean clean-all all test
cache:
directories:
- $HOME/.ivy2
- $HOME/.m2
after_failure:
- tar -cjf junit-data-4.x.x.tar.bz2 test/junit/data
- curl -v -u $CHUNK_USER:$CHUNK_PW -sT junit-data-4.x.x.tar.bz2 chunk.io
notifications:
hipchat: ec8fcfa661addc56a361a8ef536320@integrations
|
Send CI test coverage data to Coveralls | language: python
sudo: false
python:
- "3.5"
- "3.6"
- "nightly"
matrix:
allow_failures:
- python: "nightly"
include:
- { python: "3.7", dist: xenial, sudo: true }
install:
- pip install flake8 nose==1.3.0 flask flask_restful flask_restplus injector flask_sqlalchemy eventlet typing mypy typed_ast
- if [[ "${TRAVIS_PYTHON_VERSION}" != "3.5"* ]] ; then pip install black ; fi
script:
- if [[ "${TRAVIS_PYTHON_VERSION}" != "3.5"* ]] ; then make ci ; else make test ; fi
| language: python
sudo: false
python:
- "3.5"
- "3.6"
- "nightly"
matrix:
allow_failures:
- python: "nightly"
include:
- { python: "3.7", dist: xenial, sudo: true }
install:
- pip install coveralls flake8 nose==1.3.0 flask flask_restful flask_restplus injector flask_sqlalchemy eventlet typing mypy typed_ast
- if [[ "${TRAVIS_PYTHON_VERSION}" != "3.5"* ]] ; then pip install black ; fi
script:
- if [[ "${TRAVIS_PYTHON_VERSION}" != "3.5"* ]] ; then make ci ; else make test ; fi
after_success:
- coveralls
|
Upgrade to new Travis CI infrastructure | language: ruby
rvm:
- 2.1.1
- 2.2.1
- jruby-19mode
services:
- mongodb
env:
- "JRUBY_OPTS=-J-Xmx1024m"
script: bundle exec rake test
notifications:
email:
recipients:
- healthcare-ci@googlegroups.com
on_failure: change
slack:
secure: XQQmNQsUEx8KI1YqwU3DKq9eKaNNupDy3aC8ojN2T4f2AEcB/xvILNTB4N9pTV/jHhkhXjSkFG6RjJjI8jWSEF5nqF0Ue26GodgWUHDCA5Be1jC/z2Wa+9/oJIdSEGb9hgZZTuNe8IL3X1FBvF62JHkgAVJTI+zcImDtTtrH88E=
branches:
only:
- master
| language: ruby
rvm:
- 2.1.1
- 2.2.1
- jruby-19mode
services:
- mongodb
env:
- "JRUBY_OPTS=-J-Xmx1024m"
script: bundle exec rake test
notifications:
email:
recipients:
- healthcare-ci@googlegroups.com
on_failure: change
slack:
secure: XQQmNQsUEx8KI1YqwU3DKq9eKaNNupDy3aC8ojN2T4f2AEcB/xvILNTB4N9pTV/jHhkhXjSkFG6RjJjI8jWSEF5nqF0Ue26GodgWUHDCA5Be1jC/z2Wa+9/oJIdSEGb9hgZZTuNe8IL3X1FBvF62JHkgAVJTI+zcImDtTtrH88E=
branches:
only:
- master
cache: bundler
sudo: false |
Add explicit go version 1.4.1 to build matrix | sudo: false
language: go
go:
- release
- tip
- 1.3.3
env:
global:
- secure: "DFMafUo/eJVHYw6k2pHzu/zVTE0d0Aeec+YeaFnw2QlP+mr7jIpj7hYwBMeYm7ZromVRvF6cAW4R1za6NeugzHEEIll5cnWwLyGXWMq25hd7xOd+vq9qzY00OEKecHQgXpDx6RZkMvQEkHcuiWxueCe0BH41gtA8iVQ9TXjNbgQ="
before_install:
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
- go get github.com/mattn/goveralls
script:
- go get -d -t -v ./...
- go build -x -v ./...
- go test -x -v ./...
- diff <(gofmt -d .) <("")
- if [[ $TRAVIS_SECURE_ENV_VARS = "true" ]]; then bash test-coverage.sh; fi
after_failure: failure
notifications:
email:
recipients:
- jonathan.lawlor@gmail.com
- jragonmiris@gmail.com
on_success: change
on_failure: always
| sudo: false
language: go
go:
- 1.3.3
- 1.4.1
- tip
env:
global:
- secure: "DFMafUo/eJVHYw6k2pHzu/zVTE0d0Aeec+YeaFnw2QlP+mr7jIpj7hYwBMeYm7ZromVRvF6cAW4R1za6NeugzHEEIll5cnWwLyGXWMq25hd7xOd+vq9qzY00OEKecHQgXpDx6RZkMvQEkHcuiWxueCe0BH41gtA8iVQ9TXjNbgQ="
before_install:
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
- go get github.com/mattn/goveralls
script:
- go get -d -t -v ./...
- go build -x -v ./...
- go test -x -v ./...
- diff <(gofmt -d .) <("")
- if [[ $TRAVIS_SECURE_ENV_VARS = "true" ]]; then bash test-coverage.sh; fi
after_failure: failure
notifications:
email:
recipients:
- jonathan.lawlor@gmail.com
- jragonmiris@gmail.com
on_success: change
on_failure: always
|
Add latest ruby versions to CI build matrix | sudo: false
cache: bundler
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- 2.2.3
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
matrix:
- AR=3.2.18
- AR=4.0.5
- AR=4.1.1
- AR=4.2.5
before_script:
- mysql -e 'create database seeder_test;'
| sudo: false
cache: bundler
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.10
- 2.2.7
- 2.3.4
- 2.4.1
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
matrix:
- AR=3.2.22.5
- AR=4.0.13
- AR=4.1.16
- AR=4.2.8
matrix:
exclude:
- rvm: 2.4.1
env: AR=3.2.22.5
- rvm: 2.4.1
env: AR=4.0.13
- rvm: 2.4.1
env: AR=4.1.16
before_script:
- mysql -e 'create database seeder_test;'
|
Update Home Assistant to 0.52.1 for config checks in Travis CI | language: python
python:
- '3.4'
env:
- HASS=0.52.0
before_install:
- mv secrets_dummy.yaml secrets.yaml
install:
- pip3 install homeassistant==$HASS
script:
- hass -c . --script check_config
| language: python
python:
- '3.4'
env:
- HASS=0.52.1
before_install:
- mv secrets_dummy.yaml secrets.yaml
install:
- pip3 install homeassistant==$HASS
script:
- hass -c . --script check_config
|
Fix config of Travis CI | language: node_js
node_js:
- 8
cache:
directories:
- node_modules
- public/components
install:
- yarn
- bower install
before_script:
- npm install -g yarn
- npm install -g bower
script:
- yarn run test
- yarn run posttest | language: node_js
node_js:
- 8
cache:
directories:
- node_modules
- public/components
before_install:
- npm install -g bower
install:
- yarn
- bower install
script:
- yarn run test
- yarn run posttest |
Disable Ruby 1.9.2 in Travis build. | language: ruby
rvm:
- "1.9.2"
- "1.9.3"
- "2.0.0"
- rbx-19mode
| language: ruby
rvm:
# - "1.9.2"
- "1.9.3"
- "2.0.0"
- rbx-19mode
|
Add updated sqlite3 through addons | language: php
php:
- 5.6
- 7.0
sudo: false
services:
- memcached
env:
global:
- REPORT_EXIT_STATUS=1
matrix:
- DB=MySQLi
- DB=SQLite
matrix:
allow_failures:
- env: DB=SQLite
before_script:
- mysql -e 'CREATE DATABASE `cscms.travis`;'
script:
- php -d variables_order=EGPCS run-tests.php -P --show-diff tests
after_success:
- php -d variables_order=EGPCS -d phar.readonly=Off upload_build.php
| language: php
php:
- 5.6
- 7.0
sudo: false
addons:
apt:
sources:
- travis-ci/sqlite3
packages:
- sqlite3
services:
- memcached
env:
global:
- REPORT_EXIT_STATUS=1
matrix:
- DB=MySQLi
- DB=SQLite
before_script:
- mysql -e 'CREATE DATABASE `cscms.travis`;'
script:
- php -d variables_order=EGPCS run-tests.php -P --show-diff tests
after_success:
- php -d variables_order=EGPCS -d phar.readonly=Off upload_build.php
|
Install bower before running tests on Travis | language: node_js
node_js:
- "0.8"
before_script:
- npm install -g grunt-cli
branches:
only:
- master
- develop | language: node_js
node_js:
- "0.8"
before_script:
- npm install -g grunt-cli
- npm install -g bower
- bower install
branches:
only:
- master
- develop
|
Use 'npm bin' to find the correct binaries | dist: trusty
sudo: false
group: beta
language: node_js
node_js:
- node
addons:
firefox: '49.0.2'
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
- bower install
- polylint
- export PATH=$PWD/node_modules/.bin:$PATH
script:
- xvfb-run wct
| dist: trusty
sudo: false
group: beta
language: node_js
node_js:
- node
addons:
firefox: '49.0.2'
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
script:
- xvfb-run $(npm bin)/wct
|
Add develop branch to Travis CI config. | language: objective-c
osx_image: xcode8.1
sudo: false
# Only fire off builds for specific branches.
branches:
only:
- stable
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
matrix:
- DESTINATION="OS=9.3,name=iPhone 6s" SDK=iphonesimulator9.3
- DESTINATION="OS=8.1,name=iPhone 4S" SDK=iphonesimulator9.3
before_install:
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks
- scripts/release/manage_pods.py install
- scripts/build_all
- scripts/test_all
after_success:
- bash <(curl -s https://codecov.io/bash)
| language: objective-c
osx_image: xcode8.1
sudo: false
# Only fire off builds for specific branches.
branches:
only:
- develop
- stable
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
matrix:
- DESTINATION="OS=9.3,name=iPhone 6s" SDK=iphonesimulator9.3
- DESTINATION="OS=8.1,name=iPhone 4S" SDK=iphonesimulator9.3
before_install:
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks
- scripts/release/manage_pods.py install
- scripts/build_all
- scripts/test_all
after_success:
- bash <(curl -s https://codecov.io/bash)
|
Drop Node 6 and 7 from Travis | language: node_js
node_js:
- "6"
- "7"
- "8"
script:
- npm run test:lint
- npm run test:coverage
after_success:
- bash <(curl -s https://codecov.io/bash)
| language: node_js
node_js:
- "8"
script:
- npm run test:lint
- npm run test:coverage
after_success:
- bash <(curl -s https://codecov.io/bash)
|
Disable 0.11.x testing on Travis since 0.11.3 is a broken release | language: node_js
node_js:
- "0.8"
- "0.10"
- "0.11"
branches:
only:
- master
| language: node_js
node_js:
- "0.8"
- "0.10"
branches:
only:
- master
|
Add arm64 CI job on Travis | sudo: false
language: c
branches:
except:
- /^[0-9]+\.[0-9]+\.[0-9]$/
matrix:
include:
- os: linux
dist: trusty
language: python
python: "2.6"
- os: linux
dist: bionic
language: python
python: "2.7"
- os: linux
dist: trusty
language: python
python: "3.2"
- os: linux
dist: trusty
language: python
python: "3.3"
- os: linux
dist: bionic
language: python
python: "3.7"
- os: linux
dist: xenial
language: python
python: "pypy"
script:
- python run.py deps
- python run.py ci
| sudo: false
language: c
branches:
except:
- /^[0-9]+\.[0-9]+\.[0-9]$/
matrix:
include:
- os: linux
dist: trusty
language: python
python: "2.6"
- os: linux
dist: bionic
language: python
python: "2.7"
- os: linux
dist: trusty
language: python
python: "3.2"
- os: linux
dist: trusty
language: python
python: "3.3"
- os: linux
dist: bionic
language: python
python: "3.7"
- os: linux
arch: arm64
dist: bionic
language: python
python: "3.7"
- os: linux
dist: xenial
language: python
python: "pypy"
script:
- python run.py deps
- python run.py ci
|
Update Ruby versions for testing in Travis | rvm:
- 1.8.7 # (current default)
- 1.9.2
gemfile:
- Gemfile.devise10
- Gemfile.devise11
- Gemfile.devise12
- Gemfile.devise13
- Gemfile.devise14
- Gemfile.devise15
- Gemfile.devise20
- Gemfile.devise21
script: "bundle exec rake spec"
| rvm:
- 1.8.7 # (current default)
- 1.9.3
- 2.0.0
gemfile:
- Gemfile.devise10
- Gemfile.devise11
- Gemfile.devise12
- Gemfile.devise13
- Gemfile.devise14
- Gemfile.devise15
- Gemfile.devise20
- Gemfile.devise21
script: "bundle exec rake spec"
|
Use zef instead of panda | os:
- linux
- osx
language: perl6
perl6:
- latest
install:
- rakudobrew build-panda
- panda --notests installdeps .
script:
- perl6 -MPanda::Builder -e 'Panda::Builder.build(~$*CWD)'
- PERL6LIB=$PWD/lib prove -e perl6 -vr t/
sudo: false
| os:
- linux
- osx
language: perl6
perl6:
- latest
install:
- rakudobrew build-zef
- zef --debug --depsonly --/test install .
script:
- zef build .
- PERL6LIB=$PWD/lib prove -e perl6 -vr t/
sudo: false
|
Disable iOS tests due to Travis 10.x issues | language: objective-c
osx_image: xcode8
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
before_install:
- env
- locale
- xcpretty --version
- xcodebuild -version
- xcodebuild -showsdks
script:
- echo Test the AssimpSceneKit static library for macOS
- xcodebuild -project AssimpKit/OSX-Example/OSX-Example.xcodeproj -scheme AssimpSceneKit_LogicTests -destination 'platform=OS X,arch=x86_64' GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES clean test
- echo Test the AssimpSceneKit static library for iOS
- xcodebuild -project AssimpKit/iOS-Example/iOS-Example.xcodeproj -scheme AssimpSceneKit_LogicTests -destination 'platform=iOS Simulator,OS=10.0,name=iPhone 6' clean test
after_success:
- bash <(curl -s https://codecov.io/bash) | language: objective-c
osx_image: xcode8
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
before_install:
- env
- locale
- xcpretty --version
- xcodebuild -version
- xcodebuild -showsdks
script:
- echo Test the AssimpSceneKit static library for macOS
- xcodebuild -project AssimpKit/OSX-Example/OSX-Example.xcodeproj -scheme AssimpSceneKit_LogicTests -destination 'platform=OS X,arch=x86_64' GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES clean test
# - echo Test the AssimpSceneKit static library for iOS
# - xcodebuild -project AssimpKit/iOS-Example/iOS-Example.xcodeproj -scheme AssimpSceneKit_LogicTests -destination 'platform=iOS Simulator,OS=10.0,name=iPhone 6' clean test
after_success:
- bash <(curl -s https://codecov.io/bash) |
Update Node.js versions in CI | language: node_js
node_js:
- 4
- 5
- 6
script: npm test
after_success: npm run coverage
| language: node_js
node_js:
- 8
- node
after_success: npm run coverage
|
Exclude unsupported Ruby/Rails combos from testing | rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- 2.2.4
- 2.3.0
before_install:
- gem update bundler
gemfile:
- Gemfile.devise12
- Gemfile.devise13
- Gemfile.devise14
- Gemfile.devise15
- Gemfile.devise20
- Gemfile.devise21
- Gemfile.devise30
script: "bundle exec rake spec"
sudo: required
dist: trusty
| rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- 2.2.4
- 2.3.0
gemfile:
- Gemfile.devise12
- Gemfile.devise13
- Gemfile.devise14
- Gemfile.devise15
- Gemfile.devise20
- Gemfile.devise21
- Gemfile.devise30
# Exclude unsupported Ruby/Rails combinations
exclude:
- rvm: 1.9.3
gemfile: Gemfile.devise30
- rvm: 2.0.0
gemfile: Gemfile.devise30
- rvm: 2.1.2
gemfile: Gemfile.devise30
- rvm: 2.2.4
gemfile: Gemfile.devise12
- rvm: 2.2.4
gemfile: Gemfile.devise13
- rvm: 2.3.0
gemfile: Gemfile.devise12
- rvm: 2.3.0
gemfile: Gemfile.devise13
before_install:
- gem update bundler
script: "bundle exec rake spec"
sudo: required
dist: trusty
|
Build on Node.js 6 on Travis CI. | sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
| sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '6'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
|
Extend Travis Build to run unit tests against Magento 2.1 and 2.2 | language: php
matrix:
include:
- php: 7.0
before_install:
- if [[ $encrypted_98dcc32c9b33_key != '' ]]; then openssl aes-256-cbc -K $encrypted_98dcc32c9b33_key -iv $encrypted_98dcc32c9b33_iv -in auth.json.enc -out auth.json -d ; fi
before_script:
- composer self-update
- if [[ $encrypted_98dcc32c9b33_key != '' ]]; then composer install --prefer-source ; fi
script:
- composer validate
- if [[ $encrypted_98dcc32c9b33_key != '' ]]; then ./vendor/bin/phing sniff ; fi
- if [[ $encrypted_98dcc32c9b33_key != '' ]]; then ./vendor/bin/phing unit ; fi
| language: php
cache:
directories:
- $HOME/.composer/cache
matrix:
include:
- php: 7.0
env:
- MAGE_21=true
- MAGE_22=true
- php: 7.1
env:
- MAGE_21=false
- MAGE_22=true
before_install:
- if [[ $encrypted_98dcc32c9b33_key != '' ]]; then openssl aes-256-cbc -K $encrypted_98dcc32c9b33_key -iv $encrypted_98dcc32c9b33_iv -in auth.json.enc -out auth.json -d ; fi
before_script:
- composer self-update
- composer validate
script:
- if [[ $encrypted_98dcc32c9b33_key != '' ]]; then composer update --prefer-source ; fi
- if [[ $encrypted_98dcc32c9b33_key != '' ]]; then ./vendor/bin/phing sniff ; fi
- if [[ $encrypted_98dcc32c9b33_key != '' && MAGE_21 == true ]]; then composer remove magento/module-customer && composer update magento/module-customer:~100.1 ; fi
- if [[ $encrypted_98dcc32c9b33_key != '' && MAGE_21 == true ]]; then ./vendor/bin/phing unit ; fi
- if [[ $encrypted_98dcc32c9b33_key != '' && MAGE_22 == true ]]; then composer remove magento/module-customer && composer update magento/module-customer:~101.0 ; fi
- if [[ $encrypted_98dcc32c9b33_key != '' && MAGE_22 == true ]]; then ./vendor/bin/phing unit ; fi
|
Support for 1.8.6 is not realistic. | language: ruby
rvm:
- 1.8.6
- 1.8.7
- 1.9.2
- 1.9.3
- jruby
- ree
script: "bundle exec rake"
before_install:
- sudo apt-get update
- sudo apt-get install idn
| language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- jruby
- ree
script: "bundle exec rake"
before_install:
- sudo apt-get update
- sudo apt-get install idn
|
Fix Travis CI to use go modules | language: go
go:
- 1.7
- 1.11
- tip
install:
- go get github.com/stretchr/testify/assert
- go get github.com/stretchr/testify/require
- go build .
script:
- go test -v
| language: go
go:
- 1.7
- 1.11
- tip
install: true
script:
- env GO111MODULE=on go build .
- env GO111MODULE=on go test -v
|
Fix baseUrl for github pages. | # Dependencies
markdown: redcarpet
highlighter: true
# Permalinks
permalink: pretty
# Setup
title: Off by one
tagline: Programming for the rest of us
## url: http://blog.jedd-ahyoung.com
url: http://jedd-ahyoung.github.io/off-by-one
paginate: 1
baseurl: /
author:
name: Jedd Ahyoung
url: http://www.jedd-ahyoung.com
email: jedd-ahyoung@gmail.com
# Custom vars
version: 1.0.0
github:
repo: https://github.com/jedd-ahyoung/off-by-one
| # Dependencies
markdown: redcarpet
highlighter: true
# Permalinks
permalink: pretty
# Setup
title: Off by one
tagline: Programming for the rest of us
## url: http://blog.jedd-ahyoung.com
url: http://jedd-ahyoung.github.io/
paginate: 1
baseurl: /off-by-one/
author:
name: Jedd Ahyoung
url: http://www.jedd-ahyoung.com
email: jedd-ahyoung@gmail.com
# Custom vars
version: 1.0.0
github:
repo: https://github.com/jedd-ahyoung/off-by-one
|
Change colour, get rid of the iditic pink | # Site settings
title: Marks Polakovs
description: > # this means to ignore newlines until "baseurl:"
The website of that guy.
baseurl: "/" # the subpath of your site, e.g. /blog/
# url: "http://yourdomain.com" # the base hostname & protocol for your site you most probably don't need to set it
# Build settings
markdown: kramdown
paginate: 5 # pagination based on number of posts
paginate_path: "page/:num"
highlighter: pygments
# comments
disqus: markspblog
# author info
# add your appropriate info here
author: Marks Polakovs
bio: Some guy.
email: marks@markspolakovs.me
email_md5: 8872af284590fc01257e47ec3b2a1000
twitter_username: SirMarksomnian
github_username: marksomnian
# Theming options
# These settings are mandatory.
theme: 'blue-pink'
# drawer theming
drawer:
text_color: 'grey-600'
header_color: 'teal-500'
navigation_color: 'pink-200'
# footer theming
footer:
text_color: 'blue-grey-200'
color: 'blue-grey-600'
| # Site settings
title: Marks Polakovs
description: > # this means to ignore newlines until "baseurl:"
The website of that guy.
baseurl: "/" # the subpath of your site, e.g. /blog/
# url: "http://yourdomain.com" # the base hostname & protocol for your site you most probably don't need to set it
# Build settings
markdown: kramdown
paginate: 5 # pagination based on number of posts
paginate_path: "page/:num"
highlighter: pygments
# comments
disqus: markspblog
# author info
# add your appropriate info here
author: Marks Polakovs
bio: Some guy.
email: marks@markspolakovs.me
email_md5: 8872af284590fc01257e47ec3b2a1000
twitter_username: SirMarksomnian
github_username: marksomnian
# Theming options
# These settings are mandatory.
theme: 'blue-pink'
# drawer theming
drawer:
text_color: 'grey-600'
header_color: 'teal-500'
navigation_color: 'red-200'
# footer theming
footer:
text_color: 'blue-grey-200'
color: 'blue-grey-600'
|
Allow for not specifying the SSH port in configure-sshd role | ---
- name: Install openssh
become: true
become_user: root
become_method: sudo
apt:
package: openssh-server
state: present
- name: Change SSHd port
become: true
become_user: root
become_method: sudo
lineinfile:
dest: "/etc/ssh/sshd_config"
regexp: "^Port"
line: "Port {{ port }}"
notify: "Restart sshd"
- name: Enable key auth
become: true
become_user: root
become_method: sudo
lineinfile:
dest: "/etc/ssh/sshd_config"
regexp: "^PubkeyAuthentication"
line: "PubkeyAuthentication yes"
notify: "Restart sshd"
- name: Disable password auth
become: true
become_user: root
become_method: sudo
lineinfile:
dest: "/etc/ssh/sshd_config"
regexp: "^PasswordAuthentication"
line: "PasswordAuthentication no"
notify: "Restart sshd"
- name: Disallow root login
become: true
become_user: root
become_method: sudo
lineinfile:
dest: "/etc/ssh/sshd_config"
regexp: "^PermitRootLogin"
line: "PermitRootLogin no"
notify: "Restart sshd"
...
| ---
- name: Install openssh
become: true
become_user: root
become_method: sudo
apt:
package: openssh-server
state: present
- name: Change SSHd port
become: true
become_user: root
become_method: sudo
lineinfile:
dest: "/etc/ssh/sshd_config"
regexp: "^Port"
line: "Port {{ sshd_port }}"
notify: "Restart sshd"
when: sshd_port is defined
- name: Enable key auth
become: true
become_user: root
become_method: sudo
lineinfile:
dest: "/etc/ssh/sshd_config"
regexp: "^PubkeyAuthentication"
line: "PubkeyAuthentication yes"
notify: "Restart sshd"
- name: Disable password auth
become: true
become_user: root
become_method: sudo
lineinfile:
dest: "/etc/ssh/sshd_config"
regexp: "^PasswordAuthentication"
line: "PasswordAuthentication no"
notify: "Restart sshd"
- name: Disallow root login
become: true
become_user: root
become_method: sudo
lineinfile:
dest: "/etc/ssh/sshd_config"
regexp: "^PermitRootLogin"
line: "PermitRootLogin no"
notify: "Restart sshd"
...
|
Update from Hackage at 2019-02-06T02:24:56Z | homepage: https://github.com/discus-lang/shimmer
changelog-type: ''
hash: e1bf963ca230eb3fe904295696865c68f508236b485bbd871e2ef5d556f81d1f
test-bench-deps: {}
maintainer: Ben Lippmeier <benl@ouroborus.net>
synopsis: The Reflective Lambda Machine
changelog: ''
basic-deps:
bytestring: ==0.10.*
haskeline: ==0.7.*
base: ! '>=4.10 && <4.12'
text: ==1.2.*
filepath: ! '>=1.4.0 && <1.5'
containers: ==0.5.*
all-versions:
- 0.1.1
- 0.1.2
- 0.1.3.1
- 0.1.3.2
- 0.1.3.3
author: Ben Lippmeier <benl@ouroborus.net>
latest: 0.1.3.3
description-type: haddock
description: The Reflective Lambda Machine
license-name: MIT
| homepage: https://github.com/discus-lang/shimmer
changelog-type: ''
hash: 608c6d8066eec1ac834e4f4f72a2b9070761e27cd0bbe39f7adcd25e7676e5b3
test-bench-deps: {}
maintainer: Ben Lippmeier <benl@ouroborus.net>
synopsis: The Reflective Lambda Machine
changelog: ''
basic-deps:
bytestring: ==0.10.*
haskeline: ==0.7.*
base: ! '>=4.10 && <4.13'
text: ==1.2.*
filepath: ! '>=1.4.0 && <1.5'
containers: ! '>=0.5 && <0.7'
all-versions:
- 0.1.1
- 0.1.2
- 0.1.3.1
- 0.1.3.2
- 0.1.3.3
- 0.1.3.4
author: Ben Lippmeier <benl@ouroborus.net>
latest: 0.1.3.4
description-type: haddock
description: The Reflective Lambda Machine
license-name: MIT
|
Update from Hackage at 2022-05-19T16:02:11Z | homepage: https://github.com/avieth/TypeNat
changelog-type: ''
hash: 8e622e177b5804e5f593f53a7ba0676e2c69e38ddff5c9394f272f5267ecb096
test-bench-deps: {}
maintainer: aovieth@gmail.com
synopsis: Some Nat-indexed types for GHC
changelog: ''
basic-deps:
base: ! '>=4.7 && <4.11'
all-versions:
- 0.1.0.0
- 0.2.0.0
- 0.2.1.0
- 0.4.0.0
- 0.4.0.1
- 0.5.0.0
author: Alexander Vieth
latest: 0.5.0.0
description-type: haddock
description: ''
license-name: MIT
| homepage: https://github.com/avieth/TypeNat
changelog-type: ''
hash: e3b67458ad9147f530c29e8016412204ec4fd6479669dd0e0d9fba47ba0d6c41
test-bench-deps: {}
maintainer: aovieth@gmail.com
synopsis: Some Nat-indexed types for GHC
changelog: ''
basic-deps:
base: '>=4.7 && <5'
all-versions:
- 0.1.0.0
- 0.2.0.0
- 0.2.1.0
- 0.4.0.0
- 0.4.0.1
- 0.5.0.0
- 0.5.0.1
author: Alexander Vieth
latest: 0.5.0.1
description-type: haddock
description: ''
license-name: MIT
|
Update FreeDCam to 4.3 (193) | Categories:
- Graphics
- Multimedia
License: GPL-2.0-or-later
SourceCode: https://github.com/KillerInk/FreeDcam
IssueTracker: https://github.com/KillerInk/FreeDcam/issues
AutoName: FreeDCam
Description: |-
FreeDCam is an open source camera app which try to enable stuff that is
forgotten by the manufacturers.
RepoType: git
Repo: https://github.com/KillerInk/FreeDcam.git
Builds:
- versionName: '4.2'
versionCode: 142
commit: '4.2_'
subdir: app
gradle:
- yes
ndk: r12b
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: '4.2'
CurrentVersionCode: 142
| Categories:
- Graphics
- Multimedia
License: GPL-2.0-or-later
SourceCode: https://github.com/KillerInk/FreeDcam
IssueTracker: https://github.com/KillerInk/FreeDcam/issues
AutoName: FreeDCam
Description: |-
FreeDCam is an open source camera app which try to enable stuff that is
forgotten by the manufacturers.
RepoType: git
Repo: https://github.com/KillerInk/FreeDcam.git
Builds:
- versionName: '4.2'
versionCode: 142
commit: '4.2_'
subdir: app
gradle:
- yes
ndk: r12b
- versionName: '4.3'
versionCode: 193
commit: '4.3'
subdir: app
gradle:
- yes
ndk: r12b
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: '4.3'
CurrentVersionCode: 193
|
Add build for PR, update checkout to v2. | ---
name: Java CI
on: [push]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, macOS-latest, windows-2016]
java: [8]
fail-fast: false
max-parallel: 4
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Test with Maven
run: mvn test -B --file pom.xml
... | ---
name: Java CI
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, macOS-latest, windows-2016]
java: [8]
fail-fast: false
max-parallel: 4
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Test with Maven
run: mvn test -B --file pom.xml
... |
Set language to none since we are using custom Docker. | language: scala
services:
env:
- SIREUM_PARALLEL_BUILD=false
build:
pre_ci:
pre_ci_boot:
image_name: sireum/v3
image_tag: latest
pull: true
options: "-e HOME=/root"
ci:
- export JAVA_OPTIONS="-Xmx2G -XX:+UseG1GC -XX:ReservedCodeCacheSize=1G -Xss2m -XX:+CMSClassUnloadingEnabled"
- bin/sbt-launch.sh clean test:compile test
post_ci:
on_success:
on_failure:
push:
cache: true
| language: none
services:
env:
- SIREUM_PARALLEL_BUILD=false
build:
pre_ci:
pre_ci_boot:
image_name: sireum/v3
image_tag: latest
pull: true
options: "-e HOME=/root"
ci:
- export JAVA_OPTIONS="-Xmx2G -XX:+UseG1GC -XX:ReservedCodeCacheSize=1G -Xss2m -XX:+CMSClassUnloadingEnabled"
- bin/sbt-launch.sh clean test:compile test
post_ci:
on_success:
on_failure:
push:
cache: true
|
Use `setFactory` method for Symfony >=2.6 compatibility. | services:
lightmaker_aws:
class: Aws\Common\Aws
factory_class: Aws\Common\Aws
factory_method: factory
arguments: [%lightmaker_aws.config%] | services:
lightmaker_aws.factory:
class: Aws\Common\Aws
lightmaker_aws:
class: Aws\Common\Aws
factory: ["@lightmaker_aws.factory", factory]
arguments: [%lightmaker_aws.config%] |
Add new rocket.chat version to be used as test server Map volume outside so it's easy to delete | version: "2"
services:
rocketchat:
image: rocketchat/rocket.chat:0.62.2
ports:
- 3000:3000
restart: always
environment:
- PORT=3000
- ROOT_URL=http://localhost:3000
- MONGO_URL=mongodb://mongo:27017/rocketchat
depends_on:
- mongo
links:
- mongo:mongo
- mongo:secure.gravatar.com
mongo:
image: mongo:3.3
restart: always
command: mongod --smallfiles
| version: "2"
services:
rocketchat:
image: rocketchat/rocket.chat:0.64.1
ports:
- 3000:3000
restart: always
environment:
- PORT=3000
- ROOT_URL=http://localhost:3000
- MONGO_URL=mongodb://mongo:27017/rocketchat
depends_on:
- mongo
links:
- mongo:mongo
- mongo:secure.gravatar.com
mongo:
image: mongo:3.3
restart: always
command: mongod --smallfiles
volumes:
- ./data/db:/data/db
|
Remove old build from artefacts | stages:
- build
- deploy
job_build:
stage: build
cache:
paths:
- releases
artifacts:
paths:
- releases
script:
- cat /etc/debian_version
- apt-get update
- apt-get install -y unzip cmake
- ./scripts/build-deps-unix.sh
- ./scripts/build.sh
- cd build
- make
- cd tests
- ./testbase
- ./testcertificate
- ./testkey
- ./testdata
- cd ..
- cp -a ../include .
- cp src/liberpiko.a liberpiko.a
- cp ../deps/libressl/crypto/.libs/libcrypto.a .
- cp ../deps/libressl/ssl/.libs/libssl.a .
- tar cJf liberpiko.linux.tar.xz include liberpiko.a libcrypto.a libssl.a
- mv liberpiko.linux.tar.xz ../releases
job_deploy:
stage: deploy
script:
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- scp -o StrictHostKeyChecking=no -P2102 releases/liberpiko.linux.tar.xz deploy@202.154.58.131:repo
| stages:
- build
- deploy
job_build:
stage: build
cache:
paths:
- releases
artifacts:
paths:
- releases
script:
- cat /etc/debian_version
- apt-get update
- apt-get install -y unzip cmake
- rm releases/*
- ./scripts/build-deps-unix.sh
- ./scripts/build.sh
- cd build
- make
- cd tests
- ./testbase
- ./testcertificate
- ./testkey
- ./testdata
- cd ..
- cp -a ../include .
- cp src/liberpiko.a liberpiko.a
- cp ../deps/libressl/crypto/.libs/libcrypto.a .
- cp ../deps/libressl/ssl/.libs/libssl.a .
- tar cJf liberpiko.linux.tar.xz include liberpiko.a libcrypto.a libssl.a
- mv liberpiko.linux.tar.xz ../releases
job_deploy:
stage: deploy
script:
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- scp -o StrictHostKeyChecking=no -P2102 releases/liberpiko.linux.tar.xz deploy@202.154.58.131:repo
|
Remove unused Gradle task from CI config | image: registry.gitlab.com/hardysim/android-ci:latest
cache:
paths:
- .gradle/wrapper
- .gradle/caches
- .android/build-cache/
stages:
- build
- release
before_script:
- export GRADLE_USER_HOME=.gradle
- export ANDROID_SDK_HOME=$CI_PROJECT_DIR
- chmod +x ./gradlew
debug build:
stage: build
tags:
- docker
script:
- ./gradlew assembleDebug
except:
- master
library release build:
stage: build
tags:
- docker
script:
- ./gradlew clean library:assembleRelease androidSourcesJar androidJavadocsJar
artifacts:
paths:
- library/build*
only:
- master
library upload to Bintray:
stage: release
tags:
- docker
script:
- ./gradlew generatePomFileForReleasePublication bintrayUpload
dependencies:
- library release build
only:
- master
when: manual
| image: registry.gitlab.com/hardysim/android-ci:latest
cache:
paths:
- .gradle/wrapper
- .gradle/caches
- .android/build-cache/
stages:
- build
- release
before_script:
- export GRADLE_USER_HOME=.gradle
- export ANDROID_SDK_HOME=$CI_PROJECT_DIR
- chmod +x ./gradlew
debug build:
stage: build
tags:
- docker
script:
- ./gradlew assembleDebug
except:
- master
library release build:
stage: build
tags:
- docker
script:
- ./gradlew clean library:assembleRelease androidSourcesJar
artifacts:
paths:
- library/build*
only:
- master
library upload to Bintray:
stage: release
tags:
- docker
script:
- ./gradlew generatePomFileForReleasePublication bintrayUpload
dependencies:
- library release build
only:
- master
when: manual
|
Add org-wide config for Stale app | # Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
# Label to use when marking an issue as stale
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
| _extends: .github
|
Update sample trigger so it's more useful in the tests. | ---
name: sample_trigger
description: Sample trigger
payload_schema:
type: "object"
properties:
executed_at:
type: "string"
format: "date-time"
default: "2014-07-30 05:04:24.578325"
| ---
name: sample_trigger
description: Sample trigger
payload_schema:
type: "object"
properties:
value:
type: "string"
required: true
executed_at:
type: "string"
format: "date-time"
default: "2014-07-30 05:04:24.578325"
required: true
additionalProperties: false
|
Convert back install to before_install. | # Install with:
# cp git-hooks-go/sample.travis.yml .travis.yml
#
# travis-ci.org does *not* support .travis.yml to be a symlink!
language: go
go:
- 1.3
install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get code.google.com/p/go.tools/cmd/cover
script:
- ./git-hooks-go/travis_check.sh
| # Install with:
# cp git-hooks-go/sample.travis.yml .travis.yml
#
# travis-ci.org does *not* support .travis.yml to be a symlink!
language: go
go:
- 1.3
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get code.google.com/p/go.tools/cmd/cover
script:
- ./git-hooks-go/travis_check.sh
|
Fix ESLint contradiction between CodeClimate & npm run ci task | ---
engines:
csslint:
enabled: true
duplication:
enabled: true
config:
languages:
- javascript
eslint:
enabled: true
fixme:
enabled: true
ratings:
paths:
- "**.js"
exclude_paths:
- test/
| ---
engines:
csslint:
enabled: true
duplication:
enabled: true
config:
languages:
- javascript
eslint:
enabled: false
fixme:
enabled: true
ratings:
paths:
- "**.js"
exclude_paths:
- test/
|
Add macos to the test work flow. | name: Python testing
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 4
matrix:
os: [ubuntu-latest, windows-latest]
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools wheel
python -m pip install --upgrade -r requirements.txt
python -m pip install --upgrade -r requirements-dev.txt
python -m pre_commit install -t pre-commit
python -m pre_commit install -t pre-push
- name: Lint and test
run: |
python -m pre_commit run --all-files --show-diff-on-failure --hook-stage commit
python -m pre_commit run --all-files --show-diff-on-failure --hook-stage push
| name: Python testing
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 4
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# Optional - x64 or x86 architecture, defaults to x64.
architecture: "x64"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools wheel
python -m pip install --upgrade -r requirements.txt
python -m pip install --upgrade -r requirements-dev.txt
python -m pre_commit install -t pre-commit
python -m pre_commit install -t pre-push
- name: Lint and test
run: |
python -m pre_commit run --all-files --show-diff-on-failure --hook-stage commit
python -m pre_commit run --all-files --show-diff-on-failure --hook-stage push
|
Fix type in custom logging example | communication:
url: amqp://localhost
# By providing logging section, you can modify log message location and layout
#
# In this example, these setting are identical to EC default
logging:
level:
default: debug
appenders:
# To STDOUT
stdout:
level: info
date_pattern: "%H:%M:%S"
pattern: "%d %5l %c{2}: %m\n"
color_schema: default
# To Rolling log file, and log everything
rolling_file:
level: all
log_dir: /var/tmp
# max 50mb of each log file
size: 52428800
# keep a 5 logs in total
keep: 5
date_pattern: "%F %T %z"
pattern: "[%d] %-5l %c: %m\n"
# Use OML server located at localhost port 3003
oml_uri: tcp:localhost:3003
| communication:
url: amqp://localhost
# By providing logging section, you can modify log message location and layout
#
# In this example, these setting are identical to EC default
logging:
level:
default: debug
appenders:
# To STDOUT
stdout:
level: info
date_pattern: "%H:%M:%S"
pattern: "%d %5l %c{2}: %m\n"
# To turn colour on use color_scheme: default
color_scheme: none
# To Rolling log file, and log everything
rolling_file:
level: all
log_dir: /var/tmp
# max 50mb of each log file
size: 52428800
# keep a 5 logs in total
keep: 5
date_pattern: "%F %T %z"
pattern: "[%d] %-5l %c: %m\n"
# Use OML server located at localhost port 3003
oml_uri: tcp:localhost:3003
|
Update cf-cli, bosh-bootloader, bosh-cli, terraform, sts & postman | ---
- hosts: all
vars:
cf_cli_version: "6.33.1"
maven_version: "3.5.0"
intellij_version: "2017.3.2"
sts_version: "3.9.1"
eclipse_version: "4.7.1a"
docker_compose_version: "1.18.0"
atom_version: "1.20.1"
gradle_version: "4.4.1"
go_version: "1.9.2"
compliance_masonry_version: "1.1.2"
bosh_cli_version: "2.0.46"
yq_linux_version: "1.14.0"
terraform_version: "0.11.1"
bosh_bootloader_version: "5.11.4"
postman_version: "5.3.2"
fly_version: "3.8.0"
groovy_version: "2.4.13"
gather_facts: yes
become: yes
roles:
- disable_auto_update
- developer_packages
- git
- atom
- docker_service
- docker_compose
- cf_cli
- maven
- gradle
- intellij
- sts
- unity_desktop
- go
- postman
- gitbook
- compliance_masonry
- gcloud
- newrelic
- bosh
- fly
- groovy
- taurus
| ---
- hosts: all
vars:
cf_cli_version: "6.34.0"
maven_version: "3.5.0"
intellij_version: "2017.3.2"
sts_version: "3.9.2"
eclipse_version: "4.7.2"
docker_compose_version: "1.18.0"
atom_version: "1.20.1"
gradle_version: "4.4.1"
go_version: "1.9.2"
compliance_masonry_version: "1.1.2"
bosh_cli_version: "2.0.48"
yq_linux_version: "1.14.0"
terraform_version: "0.11.2"
bosh_bootloader_version: "5.11.5"
postman_version: "5.5.0"
fly_version: "3.8.0"
groovy_version: "2.4.13"
gather_facts: yes
become: yes
roles:
- disable_auto_update
- developer_packages
- git
- atom
- docker_service
- docker_compose
- cf_cli
- maven
- gradle
- intellij
- sts
- unity_desktop
- go
- postman
- gitbook
- compliance_masonry
- gcloud
- newrelic
- bosh
- fly
- groovy
- taurus
|
Update vrt actions to include images into artifacts. | name: Visual Regresion Testing
on:
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
visual-regression:
name: Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Read .nvmrc
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
id: nvm
- name: Setup Node.js (.nvmrc)
uses: actions/setup-node@v1
with:
node-version: "${{ steps.nvm.outputs.NVMRC }}"
- name: Cache Node - npm
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-cache-
- name: npm install
run: npm ci
- name: Build Static Assets
run: npm run build:static
- name: Build Storybook
run: npm run build:storybook -- --quiet
- name: Run Backstopjs
run: npm run backstopjs -- --storybook-host=./dist
env:
CI: true
- name: Upload artifacts
uses: actions/upload-artifact@v2
# if: failure()
with:
name: vrt-report
path: tests/backstop/html_report
| name: Visual Regresion Testing
on:
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
visual-regression:
name: Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Read .nvmrc
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
id: nvm
- name: Setup Node.js (.nvmrc)
uses: actions/setup-node@v1
with:
node-version: "${{ steps.nvm.outputs.NVMRC }}"
- name: Cache Node - npm
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-cache-
- name: npm install
run: npm ci
- name: Build Static Assets
run: npm run build:static
- name: Build Storybook
run: npm run build:storybook -- --quiet
- name: Run Backstopjs
run: npm run backstopjs -- --storybook-host=./dist
env:
CI: true
- name: Upload artifacts
uses: actions/upload-artifact@v2
# if: failure()
with:
name: vrt-report
path: |
tests/backstop/html_report
tests/backstop/reference
tests/backstop/tests
|
Add more doc to the `cide init` template | ---
# See https://github.com/zimbatm/cide
from: ubuntu
as_root: []
forward_env: []
before:
use_ssh: false
export_dir:
run: script/ci
| ---
# See http://zimbatm.github.io/cide/#man/cide.yml.1 for more documentation
# Docker image to base the build on. Find images at http://index.docker.io/
from: ubuntu
# Commands run as root
as_root:
# add: []
# env: {}
# run: []
# Whenever to inject ssh keys into the project
use_ssh: false
# Commands run as "cide", used for caching build depedencies
before:
# add: []
# env: {}
# run: []
# Folder path who contains artifacts to export
export_dir:
# Linked-containers to run along the tests
links:
# - { from: 'redis:2.6', run: 'redis-server' }
# Sets additional environment variables
env: {}
# Main script to run
run: script/ci
|
Comment out the datadump cleanup | version: 1
cron:
- name: "often"
url: "/update/often"
schedule: "*/15 * * * *"
- name: "daily"
url: "/update/daily"
schedule: "0 8 * * *"
- name: "weekly"
url: "/update/weekly"
schedule: "0 0 * * sun"
- name: "monthly"
url: "/update/monthly"
schedule: "0 0 1 * *"
- name: "yearly"
url: "/update/yearly"
schedule: "0 0 2 4 *"
- name: "datadump_cleanup"
url: "/purge/datadump"
schedule: "0 * * * *" | version: 1
cron:
- name: "often"
url: "/update/often"
schedule: "*/15 * * * *"
- name: "daily"
url: "/update/daily"
schedule: "0 8 * * *"
- name: "weekly"
url: "/update/weekly"
schedule: "0 0 * * sun"
- name: "monthly"
url: "/update/monthly"
schedule: "0 0 1 * *"
- name: "yearly"
url: "/update/yearly"
schedule: "0 0 2 4 *"
# - name: "datadump_cleanup"
# url: "/purge/datadump"
# schedule: "0 * * * *" |
Exclude pytests from flake8 lint check | # This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Lint
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 2.7
uses: actions/setup-python@v1
with:
python-version: 2.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Lint format in setup.py
run: |
# make sure that the README is formatted properly
python setup.py check --restructuredtext --strict --metadata
- name: Lint with RST
run: |
# run reStructuredText linter
rst-lint README.md CONTRIBUTING.md CHANGELOG.md LICENSE
| # This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Lint
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 2.7
uses: actions/setup-python@v1
with:
python-version: 2.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=test_*.py
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Lint format in setup.py
run: |
# make sure that the README is formatted properly
python setup.py check --restructuredtext --strict --metadata
- name: Lint with RST
run: |
# run reStructuredText linter
rst-lint README.md CONTRIBUTING.md CHANGELOG.md LICENSE
|
Revert "Remove bash in env" | name: Shellcheck CI
on:
push:
branches:
- '*'
paths-ignore:
- '**/README.md'
pull_request:
branches:
- '*'
paths-ignore:
- '**/README.md'
workflow_dispatch:
jobs:
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
severity: error
format: gcc | name: Shellcheck CI
on:
push:
branches:
- '*'
paths-ignore:
- '**/README.md'
pull_request:
branches:
- '*'
paths-ignore:
- '**/README.md'
workflow_dispatch:
jobs:
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
severity: error
format: gcc
env:
SHELLCHECK_OPTS: bash |
Migrate plugin from 1.0.0 to 2.0.0 package version | # Plugin name
name: fwaas-plugin
# Human-readable name for your plugin
title: FWaaS plugin for Neutron
# Plugin version
version: 1.0.0
# Description
description: Neutron extension that introduces FireWall feature set
# Required fuel version
fuel_version: ['6.0', '6.1']
# The plugin is compatible with releases in the list
releases:
- os: ubuntu
version: 2014.2-6.0
mode: ['ha', 'multinode']
deployment_scripts_path: deployment_scripts/
repository_path: repositories/ubuntu
- os: centos
version: 2014.2-6.0
mode: ['ha', 'multinode']
deployment_scripts_path: deployment_scripts/
repository_path: repositories/centos
- os: ubuntu
version: 2014.2-6.1
mode: ['ha', 'multinode']
deployment_scripts_path: deployment_scripts/
repository_path: repositories/ubuntu
- os: centos
version: 2014.2-6.1
mode: ['ha', 'multinode']
deployment_scripts_path: deployment_scripts/
repository_path: repositories/centos
# Version of plugin package
package_version: '1.0.0'
| # Plugin name
name: fwaas-plugin
# Human-readable name for your plugin
title: FWaaS plugin for Neutron
# Plugin version
version: 1.0.0
# Description
description: Neutron extension that introduces FireWall feature set
# Required fuel version
fuel_version: ['6.1']
# Specify license of your plugin
licenses: ['Apache License Version 2.0']
# Specify author or company name
authors: ['Andrey Epifanov']
# A link to the plugin's page
homepage: 'https://github.com/stackforge/fuel-plugin-neutron-vpnaas'
groups: []
# The plugin is compatible with releases in the list
releases:
- os: ubuntu
version: 2014.2-6.0
mode: ['ha', 'multinode']
deployment_scripts_path: deployment_scripts/
repository_path: repositories/ubuntu
- os: centos
version: 2014.2-6.0
mode: ['ha', 'multinode']
deployment_scripts_path: deployment_scripts/
repository_path: repositories/centos
- os: ubuntu
version: 2014.2-6.1
mode: ['ha', 'multinode']
deployment_scripts_path: deployment_scripts/
repository_path: repositories/ubuntu
- os: centos
version: 2014.2-6.1
mode: ['ha', 'multinode']
deployment_scripts_path: deployment_scripts/
repository_path: repositories/centos
# Version of plugin package
package_version: '2.0.0'
|
Fix yaml format and package-install spec | box: wercker-labs/docker
build:
steps:
- install-packages:
packages:
- build-essential
- ruby2.0
- ruby2.0-dev
- bundler
- script:
name: docker version
code: |
docker -v
- script:
name: bundle install
code: |
bundle install --path vendor/bundle
- script:
name: spec runner
code: |
bundle exec rake spec
| box: wercker-labs/docker
build:
steps:
- install-packages:
packages: build-essential ruby2.0 ruby2.0-dev bundler
- script:
name: docker version
code: |
docker -v
- script:
name: bundle install
code: |
bundle install --path vendor/bundle
- script:
name: spec runner
code: |
bundle exec rake spec
|
Use debian-7.2.0 box from Opscode | ---
driver:
name: vagrant
provisioner:
name: chef_solo
platforms:
- name: wheezy
driver_config:
box: jimdo-debian-7.0.0
box_url: https://jimdo-vagrant-boxes.s3.amazonaws.com/jimdo-debian-7.0.0.box
customize:
memory: 1024
suites:
- name: default
run_list:
- recipe[apt::default]
- recipe[pbuilder::default]
attributes:
pbuilder:
chroots:
wheezy64:
distribution: wheezy
architecture: amd64
debootstrapopts:
- --variant=buildd
| ---
driver:
name: vagrant
provisioner:
name: chef_solo
platforms:
- name: debian-7.2.0
driver_config:
customize:
memory: 1024
cpus: 1
suites:
- name: default
run_list:
- recipe[apt::default]
- recipe[pbuilder::default]
attributes:
pbuilder:
chroots:
wheezy64:
distribution: wheezy
architecture: amd64
debootstrapopts:
- --variant=buildd
|
Test on CentOS 6.6 not 6.5 | driver_plugin: vagrant
driver_config:
require_chef_omnibus: true
platforms:
- name: ubuntu-12.04
run_list:
- recipe[apt::default]
- name: ubuntu-14.04
run_list:
- recipe[apt::default]
- name: centos-6.5
suites:
- name: default
run_list:
- recipe[openssh::default]
| driver_plugin: vagrant
driver_config:
require_chef_omnibus: true
platforms:
- name: ubuntu-12.04
run_list:
- recipe[apt::default]
- name: ubuntu-14.04
run_list:
- recipe[apt::default]
- name: centos-6.6
suites:
- name: default
run_list:
- recipe[openssh::default]
|
Update user id in docker | examples_rootv6:
build: .
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${WORKSPACE_JENKINS}:/j-pet-framework-examples/
user: "1000:1000"
| examples_rootv6:
build: .
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${WORKSPACE_JENKINS}:/j-pet-framework-examples/
user: "9999:999"
|
Remove unused config and group settings | # 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 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
# 'bundle exec 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: QUnit API Docs
# email: your-email@domain.com
description: > # this means to ignore newlines until "baseurl:"
API reference documentation for QUnit
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://api.qunitjs.com" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: qunitjs
github_username: qunitjs
highlighter: rouge
markdown: kramdown
kramdown:
input: GFM
exclude:
- Gemfile
- Gemfile.lock
- README.md
- CONTRIBUTING.md
- CNAME
permalink: title
| # Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole site.
# These values are expected to rarely change. If you are editing this file
# very often, consider using Jekyll's data files feature.
## Site settings
## https://jekyllrb.com/docs/configuration/
# Conversion
highlighter: rouge
markdown: kramdown
kramdown:
input: GFM
# Serving
baseurl: ""
# Input files
exclude:
- Gemfile
- Gemfile.lock
- README.md
- CONTRIBUTING.md
- CNAME
# Output
permalink: title
## Site variables
## accessible via `{{ site.* }}` in layouts.
|
Use super user for jemalloc installation | - name: install dependencies
yum:
name: "{{ item }}"
with_items:
- bzip2
- wget
- gcc
become: true
- name: download jemalloc
get_url:
url: "http://www.canonware.com/download/jemalloc/jemalloc-{{ jemalloc_version }}.tar.bz2"
dest: "~/jemalloc-{{ jemalloc_version }}.tar.bz2"
- name: decompress jemalloc
shell: "bzip2 -dc jemalloc-{{ jemalloc_version }}.tar.bz2 | tar xvf -"
args:
chdir: "~/"
- name: make jemalloc
shell: |
./configure --disable-debug
make
args:
chdir: "~/jemalloc-{{ jemalloc_version }}"
- name: install jemalloc
shell: make install
args:
chdir: "~/jemalloc-{{ jemalloc_version }}"
become: true
- name: use jemalloc
lineinfile:
dest: ~/.bash_profile
line: "export LD_PRELOAD=\"/usr/local/lib/libjemalloc.so\""
| - name: install dependencies
yum:
name: "{{ item }}"
with_items:
- bzip2
- wget
- gcc
become: true
- name: download jemalloc
get_url:
url: "http://www.canonware.com/download/jemalloc/jemalloc-{{ jemalloc_version }}.tar.bz2"
dest: "~/jemalloc-{{ jemalloc_version }}.tar.bz2"
become: true
- name: decompress jemalloc
shell: "bzip2 -dc jemalloc-{{ jemalloc_version }}.tar.bz2 | tar xvf -"
args:
chdir: "~/"
become: true
- name: make jemalloc
shell: |
./configure --disable-debug
make
args:
chdir: "~/jemalloc-{{ jemalloc_version }}"
become: true
- name: install jemalloc
shell: make install
args:
chdir: "~/jemalloc-{{ jemalloc_version }}"
become: true
- name: use jemalloc
lineinfile:
dest: ~/.bash_profile
line: "export LD_PRELOAD=\"/usr/local/lib/libjemalloc.so\""
|
Speed up pull request cloudbuild. | # Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Description: This cloud build is for pull requests.
steps:
- name: 'golang'
env: ['GO111MODULE=on']
args: ['go', 'build', './...']
# We need to set the CLOUDBUILD env var as a signal to skip tests that are
# not passing in Cloud Build yet. See issue #24.
- name: 'golang'
env: ['GO111MODULE=on', 'CLOUDBUILD=on']
args: ['go', 'test', '-v', '-cover', './...']
- name: 'gcr.io/cloud-builders/docker'
id: Test build of server container
args: ['build', '-t', 'config-validator', '.']
timeout: 1200s
| # Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Description: This cloud build is for pull requests.
steps:
- name: 'golang'
env: ['GO111MODULE=on']
args: ['go', 'build', './...']
volumes:
- name: go-modules
path: /go
# We need to set the CLOUDBUILD env var as a signal to skip tests that are
# not passing in Cloud Build yet. See issue #24.
- name: 'golang'
env: ['GO111MODULE=on', 'CLOUDBUILD=on']
args: ['go', 'test', '-v', '-cover', './...']
volumes:
- name: go-modules
path: /go
- name: 'gcr.io/cloud-builders/docker'
id: Test build of server container
args: ['build', '-t', 'config-validator', '.']
timeout: 1200s
|
Allow the camera toggle here too. | #
python_preamble:
- import: google.appengine.ext.bulkload.transform
- import: google.appengine.ext.db
- import: re
- import: base64
- import: bulkloader_helpers
transformers:
- kind: Camera
connector: csv
connector_options:
columns: from_header
property_map:
- property: __key__
external_name: id
- property: name
external_name: name
- property: url
external_name: url
- property: geolocation
external_name: geo
- property: width
external_name: width
import_transform: int
- property: height
external_name: height
import_transform: int
- property: updated
external_name: date
import_transform: bulkloader_helpers.now | #
python_preamble:
- import: google.appengine.ext.bulkload.transform
- import: google.appengine.ext.db
- import: re
- import: base64
- import: bulkloader_helpers
transformers:
- kind: Camera
connector: csv
connector_options:
columns: from_header
property_map:
- property: __key__
external_name: id
- property: name
external_name: name
- property: url
external_name: url
- property: geolocation
external_name: geo
- property: width
external_name: width
import_transform: int
- property: height
external_name: height
import_transform: int
- property: is_online
external_name: online
import_transform: transform.regexp_bool('y')
- property: updated
external_name: date
import_transform: bulkloader_helpers.now |
Store the test suite log | name: Make check/distcheck
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build with UCS2
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update -qq && sudo apt-get install -y libyaml-dev texinfo texlive
- name: Autogen && configure
run: |
./autogen.sh
./configure
- name: Make
run: make
- name: Make check
run: make check
- name: Make distcheck
run: make distcheck
build-ucs4:
name: Build with UCS4
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update -qq && sudo apt-get install -y libyaml-dev texinfo texlive
- name: autogen && configure
run: |
./autogen.sh
./configure --enable-ucs4
- name: Make
run: make
- name: Make check
run: make check
- name: Make distcheck
run: make distcheck
| name: Make check/distcheck
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build with UCS2
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update -qq && sudo apt-get install -y libyaml-dev texinfo texlive
- name: Autogen && configure
run: |
./autogen.sh
./configure
- name: Make
run: make
- name: Make check
run: make check
- name: Store the test suite log
uses: actions/upload-artifact@v2
with:
name: test-suite-ucs2.log
path: tests/test-suite.log
- name: Make distcheck
run: make distcheck
build-ucs4:
name: Build with UCS4
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update -qq && sudo apt-get install -y libyaml-dev texinfo texlive
- name: autogen && configure
run: |
./autogen.sh
./configure --enable-ucs4
- name: Make
run: make
- name: Make check
run: make check
- name: Store the test suite log
uses: actions/upload-artifact@v2
with:
name: test-suite-ucs4.log
path: tests/test-suite.log
- name: Make distcheck
run: make distcheck
|
Raise minimum tested version to rustc 1.45 | name: CI
on:
push:
pull_request:
schedule: [cron: "40 1 * * *"]
jobs:
test:
name: Rust ${{matrix.rust}}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
rust: [nightly, beta, stable, 1.31.0]
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{matrix.rust}}
- run: cargo build
- run: cargo test
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@clippy
- run: cargo clippy
fuzz:
name: Fuzz
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@nightly
- run: cargo install cargo-fuzz --debug
- run: cargo fuzz build -O
| name: CI
on:
push:
pull_request:
schedule: [cron: "40 1 * * *"]
jobs:
test:
name: Rust ${{matrix.rust}}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
rust: [nightly, beta, stable, 1.45.0]
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{matrix.rust}}
- run: cargo build
- run: cargo test
msrv:
name: Rust 1.31.0
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@1.31.0
- run: cargo check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@clippy
- run: cargo clippy
fuzz:
name: Fuzz
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@nightly
- run: cargo install cargo-fuzz --debug
- run: cargo fuzz build -O
|
Fix bad param to setup_test_volume class | cinder::volume::iscsi::volume_group: cinder-volumes
cinder::setup_test_volume::volume_group: cinder-volumes
| cinder::volume::iscsi::volume_group: cinder-volumes
cinder::setup_test_volume::volume_name: cinder-volumes
|
Add reference flag and defaults for ref pages The reference flag is used to filter ref pages, and the defaults for package and group are the most common, so they don't need to be specified for individual pages. | # Site settings
title: "ALS Prolog"
url: "https://alsprolog.com"
# Build settings
markdown: kramdown
#permalink: pretty
# Enable as many error-checks as possible
safe : true
strict_front_matter : true
liquid:
error_mode : strict
strict_filters : true
strict_variables : true
defaults:
-
scope:
path: "src_help_md/md_help"
type: "pages"
values:
layout: "reference-page"
| # Site settings
title: "ALS Prolog"
url: "https://alsprolog.com"
# Build settings
markdown: kramdown
#permalink: pretty
# Enable as many error-checks as possible
safe : true
strict_front_matter : true
liquid:
error_mode : strict
strict_filters : true
strict_variables : true
defaults:
-
scope:
path: "src_help_md/md_help"
type: "pages"
values:
reference: true
package: Core Prolog
group: Control
layout: "reference-page"
|
Use shellcheck image for testing bash | kind: pipeline
type: docker
name: test
steps:
- name: Test Python
image: python:3.9
commands:
- pip install flake8
- flake8 --exclude files/vim
- name: Test
image: ubuntu:20.04
commands:
- scripts/test_setup.sh
- scripts/test.sh
| kind: pipeline
type: docker
name: test
steps:
- name: Test Python
image: python:3.9
commands:
- pip install flake8
- flake8 --exclude files/vim
- name: Test Bash
image: koalaman/shellcheck-alpine:stable
commands:
- scripts/test_bash.sh
|
Use FQCN for service definition | imports:
- { resource: commands.yml }
- { resource: repositories.yml }
services:
location.copy:
class: Backend\Modules\Location\Domain\Location\Command\CopyLocationWidgetsToOtherLocale
tags:
- { name: fork.copy_module_to_other_locale }
| imports:
- { resource: commands.yml }
- { resource: repositories.yml }
services:
Backend\Modules\Location\Domain\Location\Command\CopyLocationWidgetsToOtherLocale:
tags:
- { name: fork.copy_module_to_other_locale }
|
Switch from graze/composer to composer image | version: '3'
services:
composer:
image: graze/composer
volumes:
- .:/usr/src/app
- ~/.composer:/home/composer/.composer
php-55:
image: graze/php-alpine:5-test
volumes:
- .:/srv
working_dir: /srv
| version: '3'
services:
composer:
image: composer
volumes:
- .:/app
- ~/.composer:/tmp
php-55:
image: graze/php-alpine:5-test
volumes:
- .:/srv
working_dir: /srv
|
Clean up unused gems before caching. | version: "{build}-{branch}"
cache:
- vendor/bundle
environment:
matrix:
- RUBY_VERSION: 193
- RUBY_VERSION: 200
- RUBY_VERSION: 200-x64
- RUBY_VERSION: 21
- RUBY_VERSION: 21-x64
- RUBY_VERSION: 22
- RUBY_VERSION: 22-x64
- RUBY_VERSION: 23
- RUBY_VERSION: 23-x64
- RUBY_VERSION: 24
- RUBY_VERSION: 24-x64
install:
- set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
- bundle config --local path vendor/bundle
- bundle update
build: off
before_test:
- ruby -v
- gem -v
- bundle -v
test_script:
- bundle exec rake
| version: "{build}-{branch}"
cache:
- vendor/bundle
environment:
matrix:
- RUBY_VERSION: 193
- RUBY_VERSION: 200
- RUBY_VERSION: 200-x64
- RUBY_VERSION: 21
- RUBY_VERSION: 21-x64
- RUBY_VERSION: 22
- RUBY_VERSION: 22-x64
- RUBY_VERSION: 23
- RUBY_VERSION: 23-x64
- RUBY_VERSION: 24
- RUBY_VERSION: 24-x64
install:
- set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
- bundle config --local path vendor/bundle
- bundle update
build: off
before_test:
- ruby -v
- gem -v
- bundle -v
test_script:
- bundle exec rake
after_test:
- bundle clean
|
Add dotnet --version to the yml script | version: 0.0.{build}
image: Visual Studio 2017
build_script:
- ps: >-
choco install dotnetcore --pre
./build.ps1 -Configuration Release
| version: 0.0.{build}
image: Visual Studio 2017
build_script:
- ps: >-
choco install dotnetcore --pre
dotnet --version
./build.ps1 -Configuration Release
|
Fix typo in training slide | id: 913
title: "That's all!"
summary:
content: |
Good work on moving your article into the "big leagues." If you want a thrill,
do a web search for your article topic in a few weeks. You might surprised at
what you find!
We would also appreciate any feedback you have on this training module.
Click below to tell us what you liked and didn't like about it, and any
suggestions you have for improving it.
<div class="training__button-container"><a target="_blank" class="btn btn-primary" href='/feedback'>
Submit feedback
</a></div>
| id: 913
title: "That's all!"
summary:
content: |
Good work on moving your article into the "big leagues." If you want a thrill,
do a web search for your article topic in a few weeks. You might be surprised
at what you find!
We would also appreciate any feedback you have on this training module.
Click below to tell us what you liked and didn't like about it, and any
suggestions you have for improving it.
<div class="training__button-container"><a target="_blank" class="btn btn-primary" href='/feedback'>
Submit feedback
</a></div>
|
Remove pkg directories post-test to avoid caching them. | # Set up the machine
machine:
environment:
COVERALLS_REPO_TOKEN: 26O5nwca92Yp0383fqlTwPQKAz4652pEo
# Install stuff
dependencies:
cache_directories:
- "~/miniconda3/pkgs"
override:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b -f
- ${HOME}/miniconda3/bin/conda config --add channels desilinguist
- ${HOME}/miniconda3/bin/conda update --yes conda
- ${HOME}/miniconda3/bin/conda install --file conda_requirements.txt --yes
- ${HOME}/miniconda3/bin/pip install nose-cov python-coveralls
- ${HOME}/miniconda3/bin/pip install -e .
# Run test
test:
override:
- ${HOME}/miniconda3/bin/nosetests -v tests --with-coverage --cover-package=rsmtool --cov-config .coveragerc
post:
- cd ${HOME}/rsmtool && ${HOME}/miniconda3/bin/coveralls
| # Set up the machine
machine:
environment:
COVERALLS_REPO_TOKEN: 26O5nwca92Yp0383fqlTwPQKAz4652pEo
# Install stuff
dependencies:
cache_directories:
- "~/miniconda3/pkgs"
override:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b -f
- ${HOME}/miniconda3/bin/conda config --add channels desilinguist
- ${HOME}/miniconda3/bin/conda update --yes conda
- ${HOME}/miniconda3/bin/conda install --file conda_requirements.txt --yes
- ${HOME}/miniconda3/bin/pip install nose-cov python-coveralls
- ${HOME}/miniconda3/bin/pip install -e .
# Run test
test:
override:
- ${HOME}/miniconda3/bin/nosetests -v tests --with-coverage --cover-package=rsmtool --cov-config .coveragerc
post:
- cd ${HOME}/rsmtool && ${HOME}/miniconda3/bin/coveralls
- pushd ${HOME}/miniconda3/pkgs && find -maxdepth 1 -mindepth 1 -type d | xargs rm -rf && popd
|
Change version to staging for master | machine:
timezone:
America/Los_Angeles
environment:
PYTHONPATH: /home/ubuntu/ISB-CGC-Webapp:/home/ubuntu/ISB-CGC-Webapp/lib
python:
version: 2.7.10
dependencies:
override:
- sudo -E /bin/sh ./shell/install-deps.sh
database:
post:
- mysql -u ubuntu -e "USE mysql; SET PASSWORD FOR 'ubuntu'@'localhost' = PASSWORD('isb')"
- sudo -E /bin/sh ./shell/database-setup.sh
deployment:
staging:
branch: [master, continuous-integration]
commands:
- sudo -E /bin/sh ./shell/gcloud_authenticate.sh
- sudo -E ./google-cloud-sdk/bin/gcloud preview app deploy app.yaml --no-promote --version $CIRCLE_BUILD_NUM | machine:
timezone:
America/Los_Angeles
environment:
PYTHONPATH: /home/ubuntu/ISB-CGC-Webapp:/home/ubuntu/ISB-CGC-Webapp/lib
python:
version: 2.7.10
dependencies:
override:
- sudo -E /bin/sh ./shell/install-deps.sh
database:
post:
- mysql -u ubuntu -e "USE mysql; SET PASSWORD FOR 'ubuntu'@'localhost' = PASSWORD('isb')"
- sudo -E /bin/sh ./shell/database-setup.sh
deployment:
staging:
branch: [master, continuous-integration]
commands:
- sudo -E /bin/sh ./shell/gcloud_authenticate.sh
- sudo -E ./google-cloud-sdk/bin/gcloud preview app deploy app.yaml --no-promote --version staging |
Add in Gulp as a post install to ensure it will fail here before it fails on Azure. | general:
branches:
ignore:
- azure
test:
override:
- gulp build unittestreport
post:
- mv test-results.xml $CIRCLE_TEST_REPORTS/test-results.xml
- mkdir $CIRCLE_ARTIFACTS/test-coverage-html
- mv build/reports/coverage/lcov-report/** $CIRCLE_ARTIFACTS/test-coverage-html
deployment:
dev:
branch: master
commands:
# Push the Dev Branch to Azure
- git push --force origin $CIRCLE_SHA1:azure
| general:
branches:
ignore:
- azure
dependencies:
post:
- npm run postinstall
test:
override:
- gulp build unittestreport
post:
- mv test-results.xml $CIRCLE_TEST_REPORTS/test-results.xml
- mkdir $CIRCLE_ARTIFACTS/test-coverage-html
- mv build/reports/coverage/lcov-report/** $CIRCLE_ARTIFACTS/test-coverage-html
deployment:
dev:
branch: master
commands:
# Push the Dev Branch to Azure
- git push --force origin $CIRCLE_SHA1:azure
|
Remove need to call crags script | name: Trigger Netlify Build
on:
schedule:
# Run at 08:15 UTC daily
# - cron: '*/15 * * * *'
- cron: '15 8 * * *'
jobs:
build:
name: Request Netlify Webhook
runs-on: ubuntu-latest
steps:
- name: Curl request
env:
NETLIFY_DEPLOY_KEY: ${{ secrets.NETLIFY_DEPLOY_KEY }}
run: >
curl -X POST -d '{"scripts": "crags"}' https://api.netlify.com/build_hooks/$NETLIFY_DEPLOY_KEY
| name: Trigger Netlify Build
on:
schedule:
# Run at 08:15 UTC daily
# - cron: '*/15 * * * *'
- cron: '15 8 * * *'
jobs:
build:
name: Request Netlify Webhook
runs-on: ubuntu-latest
steps:
- name: Curl request
env:
NETLIFY_DEPLOY_KEY: ${{ secrets.NETLIFY_DEPLOY_KEY }}
run: >
curl -X POST -d '' https://api.netlify.com/build_hooks/$NETLIFY_DEPLOY_KEY
|
Use hash instead of version in Ruby Setup action config | name: ruby
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
ruby: [2.7, '3.0', jruby-head]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: bundle exec rspec
| name: ruby
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
ruby: [2.7, '3.0', 3.1, jruby-head]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: bundle exec rspec
|
Update codecov/codecov-action action to v1.4.0 | name: test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: test
run: |
export DEBIAN_FRONTEND=noninteractive && \
echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections && \
sudo apt-get update && \
sudo apt-get install -yq --no-install-recommends python3.7 python3-dev python3-setuptools dialog apt-utils tshark libpcap0.8 libpcap-dev p0f tcpdump && \
pip3 install -U pip && \
pip3 install codecov pytype pytest-cov && \
find . -name requirements.txt -type f -exec pip3 install -r {} \; && \
export PATH=/home/runner/.local/bin:$PATH && \
make test && \
coverage report && coverage xml && \
cd network_tap/ncapture && sudo ./test_ncapture.sh
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1.3.2
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
if: github.repository == 'iqtlabs/network-tools'
| name: test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: test
run: |
export DEBIAN_FRONTEND=noninteractive && \
echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections && \
sudo apt-get update && \
sudo apt-get install -yq --no-install-recommends python3.7 python3-dev python3-setuptools dialog apt-utils tshark libpcap0.8 libpcap-dev p0f tcpdump && \
pip3 install -U pip && \
pip3 install codecov pytype pytest-cov && \
find . -name requirements.txt -type f -exec pip3 install -r {} \; && \
export PATH=/home/runner/.local/bin:$PATH && \
make test && \
coverage report && coverage xml && \
cd network_tap/ncapture && sudo ./test_ncapture.sh
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1.4.0
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
if: github.repository == 'iqtlabs/network-tools'
|
Add click as a run requirement. | {% set data = load_setup_py_data() %}
package:
name: bmi-tester
version: {{ data.get('version') }}
source:
path: ..
requirements:
build:
- python
- pip
run:
- python
- numpy
- pytest
- scripting
- cfunits
- standard_names
- model_metadata
build:
number: 0
entry_points:
- bmi-test=bmi_tester.bmipytest:main
script: python -m pip install --no-deps --ignore-installed .
test:
imports:
- bmi_tester
commands:
- bmi-test -h
about:
home: http://github.com/csdms/bmi-tester
license: MIT
summary: Test BMI implementation in Python
doc_url: http://bmi-tester.readthedocs.io/en/latest/
dev_url: http://github.com/csdms/bmi-tester
| {% set data = load_setup_py_data() %}
package:
name: bmi-tester
version: {{ data.get('version') }}
source:
path: ..
requirements:
build:
- python
- pip
run:
- python
- numpy
- pytest
- scripting
- cfunits
- standard_names
- model_metadata
- click
build:
number: 0
entry_points:
- bmi-test=bmi_tester.bmipytest:main
script: python -m pip install --no-deps --ignore-installed .
test:
imports:
- bmi_tester
commands:
- bmi-test --help
about:
home: http://github.com/csdms/bmi-tester
license: MIT
summary: Test BMI implementation in Python
doc_url: http://bmi-tester.readthedocs.io/en/latest/
dev_url: http://github.com/csdms/bmi-tester
|
Deploy lastest version to stage | ---
apiVersion: apps/v1
kind: Deployment
metadata:
name: moderator
namespace: moderator-stage
labels:
app: moderator
spec:
replicas: 1
selector:
matchLabels:
app: moderator
template:
metadata:
labels:
app: moderator
spec:
containers:
- name: moderator-web
image: 783633885093.dkr.ecr.us-west-2.amazonaws.com/moderator:7d16440bc5373bb1aa62b88709490619ee348ecd
ports:
- containerPort: 8000
envFrom:
- configMapRef:
name: moderator-stage
- secretRef:
name: moderator-stage
| ---
apiVersion: apps/v1
kind: Deployment
metadata:
name: moderator
namespace: moderator-stage
labels:
app: moderator
spec:
replicas: 1
selector:
matchLabels:
app: moderator
template:
metadata:
labels:
app: moderator
spec:
containers:
- name: moderator-web
image: 783633885093.dkr.ecr.us-west-2.amazonaws.com/moderator:bbae8c1be8431ace923c58caac928917fc2aa31e
ports:
- containerPort: 8000
envFrom:
- configMapRef:
name: moderator-stage
- secretRef:
name: moderator-stage
|
Fix bug fix icon in changelog configuration | changelog:
repository: spring-projects/spring-framework
sections:
- title: ":star: New Features"
labels:
- "type: enhancement"
- title: ":beetle: Bug Fixes"
labels:
- "type: bug"
- "type: regression"
- title: ":notebook_with_decorative_cover: Documentation"
labels:
- "type: documentation"
- title: ":hammer: Dependency Upgrades"
sort: "title"
labels:
- "type: dependency-upgrade"
| changelog:
repository: spring-projects/spring-framework
sections:
- title: ":star: New Features"
labels:
- "type: enhancement"
- title: ":lady_beetle: Bug Fixes"
labels:
- "type: bug"
- "type: regression"
- title: ":notebook_with_decorative_cover: Documentation"
labels:
- "type: documentation"
- title: ":hammer: Dependency Upgrades"
sort: "title"
labels:
- "type: dependency-upgrade"
|
Use sessionAffinity: ClientIP for svc grafana | ---
apiVersion: v1
kind: Service
metadata:
labels:
app: grafana
name: grafana
namespace: prow-monitoring
spec:
type: NodePort
ports:
- name: http
port: 3001
targetPort: http
selector:
app: grafana
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.global-static-ip-name: prow-monitoring-grafana
kubernetes.io/tls-acme: "true"
certmanager.k8s.io/cluster-issuer: letsencrypt-prod
certmanager.k8s.io/acme-http01-edit-in-place: "true"
kubernetes.io/ingress.class: "gce"
name: grafana
namespace: prow-monitoring
spec:
tls:
- secretName: grafana-tls
hosts:
- monitoring.prow.k8s.io
rules:
- host: monitoring.prow.k8s.io
http:
paths:
- backend:
serviceName: grafana
servicePort: 3001
| ---
apiVersion: v1
kind: Service
metadata:
labels:
app: grafana
name: grafana
namespace: prow-monitoring
spec:
type: NodePort
sessionAffinity: ClientIP
ports:
- name: http
port: 3001
targetPort: http
selector:
app: grafana
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.global-static-ip-name: prow-monitoring-grafana
kubernetes.io/tls-acme: "true"
certmanager.k8s.io/cluster-issuer: letsencrypt-prod
certmanager.k8s.io/acme-http01-edit-in-place: "true"
kubernetes.io/ingress.class: "gce"
name: grafana
namespace: prow-monitoring
spec:
tls:
- secretName: grafana-tls
hosts:
- monitoring.prow.k8s.io
rules:
- host: monitoring.prow.k8s.io
http:
paths:
- backend:
serviceName: grafana
servicePort: 3001
|
Add poetry to host dependencies | {% set name = "pytest-alembic" %}
{% set version = "0.3.1" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pytest-alembic-{{ version }}.tar.gz
sha256: 0670a71d5a8feb675d004ce9d4e23b583fe66a2cbdf84b88b936712d24fb43f4
build:
number: 0
skip: true # [py>=40 or py2k]
script: {{ PYTHON }} -m pip install . -vv
requirements:
host:
- pip
- python
run:
- alembic
- dataclasses # [py<37]
- pytest >=1.0
- python
- sqlalchemy
test:
imports:
- pytest_alembic
- pytest_alembic.plugin
commands:
- pip check
requires:
- pip
about:
home: https://github.com/schireson/pytest-alembic
summary: A pytest plugin for verifying alembic migrations.
license: MIT
license_file: LICENSE
extra:
recipe-maintainers:
- igortg
- nicoddemus
| {% set name = "pytest-alembic" %}
{% set version = "0.3.1" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pytest-alembic-{{ version }}.tar.gz
sha256: 0670a71d5a8feb675d004ce9d4e23b583fe66a2cbdf84b88b936712d24fb43f4
build:
number: 0
skip: true # [py>=40 or py2k]
script: {{ PYTHON }} -m pip install . -vv
requirements:
host:
- pip
- python
- poetry >=0.12
run:
- alembic
- dataclasses # [py<37]
- pytest >=1.0
- python
- sqlalchemy
test:
imports:
- pytest_alembic
- pytest_alembic.plugin
commands:
- pip check
requires:
- pip
about:
home: https://github.com/schireson/pytest-alembic
summary: A pytest plugin for verifying alembic migrations.
license: MIT
license_file: LICENSE
extra:
recipe-maintainers:
- igortg
- nicoddemus
|
Update cuda arch to new naming | # Copyright (c) 2010-2021, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
# This file is part of the MFEM library. For more information and source code
# availability visit https://mfem.org.
#
# MFEM is free software; you can redistribute it and/or modify it under the
# terms of the BSD-3 license. We welcome feedback and contributions, see file
# CONTRIBUTING.md for details.
# GitLab pipelines configurations for the Lassen machine at LLNL
.on_lassen:
tags:
- shell
- lassen
rules:
- if: '$CI_COMMIT_BRANCH =~ /_lnone/ || $ON_LASSEN == "OFF"' #run except if ...
when: never
- when: on_success
# Spack helped builds
# Generic lassen build job, extending build script
.build_and_test_on_lassen:
extends: [.build_blueos_3_ppc64le_ib_script, .on_lassen]
stage: l_build_and_test
needs: []
opt_mpi_cuda_xl_16_1_1_8:
variables:
SPEC: "%xl@16.1.1.8 +mpi +cuda cuda_arch=sm_70"
extends: .build_and_test_on_lassen
| # Copyright (c) 2010-2021, Lawrence Livermore National Security, LLC. Produced
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files
# LICENSE and NOTICE for details. LLNL-CODE-806117.
#
# This file is part of the MFEM library. For more information and source code
# availability visit https://mfem.org.
#
# MFEM is free software; you can redistribute it and/or modify it under the
# terms of the BSD-3 license. We welcome feedback and contributions, see file
# CONTRIBUTING.md for details.
# GitLab pipelines configurations for the Lassen machine at LLNL
.on_lassen:
tags:
- shell
- lassen
rules:
- if: '$CI_COMMIT_BRANCH =~ /_lnone/ || $ON_LASSEN == "OFF"' #run except if ...
when: never
- when: on_success
# Spack helped builds
# Generic lassen build job, extending build script
.build_and_test_on_lassen:
extends: [.build_blueos_3_ppc64le_ib_script, .on_lassen]
stage: l_build_and_test
needs: []
opt_mpi_cuda_xl_16_1_1_8:
variables:
SPEC: "%xl@16.1.1.8 +mpi +cuda cuda_arch=70"
extends: .build_and_test_on_lassen
|
Update Netscope to 2.2-4 (4) | Categories:
- System
License: GPL-3.0-only
SourceCode: https://bitbucket.org/oF2pks/netscope
IssueTracker: https://bitbucket.org/oF2pks/netscope/issues
AutoName: Netscope
Description: |-
When you share a link with Netscope, it shows the URL and provides a list of Web browsers to open the link with. It has no launcher icon and uses no permissions.
Netscope combines Flashify (https://github.com/GodsMoon/Flashify) and browser-intercept (https://github.com/intrications/browser-intercept) functionality together.
RepoType: git
Repo: https://bitbucket.org/oF2pks/netscope
Builds:
- versionName: 2.2-3
versionCode: 3
commit: v2.2-3
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 2.2-3
CurrentVersionCode: 3
| Categories:
- System
License: GPL-3.0-only
SourceCode: https://bitbucket.org/oF2pks/netscope
IssueTracker: https://bitbucket.org/oF2pks/netscope/issues
AutoName: Netscope
Description: |-
When you share a link with Netscope, it shows the URL and provides a list of Web browsers to open the link with. It has no launcher icon and uses no permissions.
Netscope combines Flashify (https://github.com/GodsMoon/Flashify) and browser-intercept (https://github.com/intrications/browser-intercept) functionality together.
RepoType: git
Repo: https://bitbucket.org/oF2pks/netscope
Builds:
- versionName: 2.2-3
versionCode: 3
commit: v2.2-3
subdir: app
gradle:
- yes
- versionName: 2.2-4
versionCode: 4
commit: v2.2-4
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 2.2-4
CurrentVersionCode: 4
|
Update from Hackage at 2018-06-13T13:22:02Z | homepage: https://github.com/andrewthad/colonnade#readme
changelog-type: ''
hash: 9b366afdb964bfd926b29841ca207c75e44a6dcc0045743e81fab48b989eec23
test-bench-deps: {}
maintainer: andrew.thaddeus@gmail.com
synopsis: Helper functions for using lucid with colonnade
changelog: ''
basic-deps:
lucid: ! '>=2.9 && <3.0'
base: ! '>=4.7 && <5'
text: ! '>=1.0 && <1.3'
colonnade: ! '>=1.1.1 && <1.3'
all-versions:
- '1.0'
author: Andrew Martin
latest: '1.0'
description-type: haddock
description: Lucid and colonnade
license-name: BSD3
| homepage: https://github.com/andrewthad/colonnade#readme
changelog-type: ''
hash: 841494203cef1dd184c38149c217a07de2d1c64efe64ae4c7a7e4f5c1afda034
test-bench-deps: {}
maintainer: andrew.thaddeus@gmail.com
synopsis: Helper functions for using lucid with colonnade
changelog: ''
basic-deps:
lucid: ! '>=2.9 && <3.0'
base: ! '>=4.9 && <5'
text: ! '>=1.2 && <1.3'
colonnade: ! '>=1.1.1 && <1.3'
all-versions:
- '1.0'
- '1.0.1'
author: Andrew Martin
latest: '1.0.1'
description-type: haddock
description: Lucid and colonnade
license-name: BSD3
|
Disable nightly builds for PR and CI | variables:
BASE_BRANCH: "master"
CACHE_S3_PREFIX: "stack"
CACHE_S3_VERSION: "v0.1.4"
S3_BUCKET: "commericalhaskell-gitlab-runner-pipeline-cache"
AWS_REGION: "us-east-1"
jobs:
- template: ./.azure/azure-nightly-template-osx.yml
parameters:
name: macOS
vmImage: macOS-10.13
os: osx
- template: ./.azure/azure-nightly-template-linux.yml
parameters:
name: Linux
vmImage: ubuntu-16.04
os: linux
- template: ./.azure/azure-nightly-template-windows.yml
parameters:
name: Windows
vmImage: vs2017-win2016
os: windows
| trigger: none
pr: none
variables:
BASE_BRANCH: "master"
CACHE_S3_PREFIX: "stack"
CACHE_S3_VERSION: "v0.1.4"
S3_BUCKET: "commericalhaskell-gitlab-runner-pipeline-cache"
AWS_REGION: "us-east-1"
jobs:
- template: ./.azure/azure-nightly-template-osx.yml
parameters:
name: macOS
vmImage: macOS-10.13
os: osx
- template: ./.azure/azure-nightly-template-linux.yml
parameters:
name: Linux
vmImage: ubuntu-16.04
os: linux
- template: ./.azure/azure-nightly-template-windows.yml
parameters:
name: Windows
vmImage: vs2017-win2016
os: windows
|
Allow releases from any tag | machine:
java:
version: openjdk7
environment:
TERM: dumb
general:
artifacts:
- build/libs
dependencies:
override:
- ./gradlew resolveConfigurations
test:
override:
- ./gradlew build
deployment:
release:
tag: /[0-9]+(\.[0-9]+)+/
commands:
- ./gradlew -i bintrayUpload
- ./gradlew -i -Dgradle.publish.key=$GRADLE_KEY -Dgradle.publish.secret=$GRADLE_SECRET publishPlugins
| machine:
java:
version: openjdk7
environment:
TERM: dumb
general:
artifacts:
- build/libs
dependencies:
override:
- ./gradlew resolveConfigurations
test:
override:
- ./gradlew build
deployment:
release:
tag: /.+/
commands:
- ./gradlew -i bintrayUpload
- ./gradlew -i -Dgradle.publish.key=$GRADLE_KEY -Dgradle.publish.secret=$GRADLE_SECRET publishPlugins
|
Add separate bower install on CI | general:
branches:
ignore:
- gh-pages # Ignore gh-pages from CI builds
machine:
node:
version: 4.1.0
dependencies:
override:
- npm install -g grunt-cli
- npm install -g bower
- SAUCE_CONNECT_DOWNLOAD_ON_INSTALL=true npm install
test:
override:
- >
if [ "$CIRCLE_BRANCH" = "master" ]; then
grunt ci;
npm run coverage;
else
grunt test;
fi
| general:
branches:
ignore:
- gh-pages # Ignore gh-pages from CI builds
machine:
node:
version: 4.1.0
dependencies:
override:
- npm install -g grunt-cli
- npm install -g bower
- SAUCE_CONNECT_DOWNLOAD_ON_INSTALL=true npm install
- bower install
test:
override:
- >
if [ "$CIRCLE_BRANCH" = "master" ]; then
grunt ci;
npm run coverage;
else
grunt test;
fi
|
Set API version to 1.13. | name: DEVIN
version: 0.5.0
main: io.xchris6041x.devin.Devin
author: xChris6041x
load: STARTUP
| name: DEVIN
version: 0.5.0
main: io.xchris6041x.devin.Devin
author: xChris6041x
load: STARTUP
api-version: 1.13
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.