doc_id
stringlengths
36
36
metadata
dict
input
stringlengths
28
4.3k
output
stringlengths
11
5.45k
6d58789c-5809-4895-ac3d-e0263d9655be
{ "language": "YAML" }
```yaml --- platform: linux image_resource: type: docker-image source: repository: bosh/main inputs: - name: bosh-src - name: bosh-release - name: cpi-release - name: stemcell - name: bosh-cli outputs: - name: director-state run: path: bosh-src/ci/pipelines/stemcell/tasks/deploy-director.sh params: BOSH_DIRECTOR_USERNAME: "" BOSH_DIRECTOR_PASSWORD: "" BOSH_VSPHERE_VCENTER: "" BOSH_VSPHERE_VCENTER_USER: "" BOSH_VSPHERE_VCENTER_PASSWORD: "" BOSH_VSPHERE_VCENTER_DC: "" BOSH_VSPHERE_VCENTER_CLUSTER: "" BOSH_VSPHERE_VCENTER_VM_FOLDER: "" BOSH_VSPHERE_VCENTER_TEMPLATE_FOLDER: "" BOSH_VSPHERE_VCENTER_DATASTORE: "" BOSH_VSPHERE_VCENTER_DISK_PATH: "" BOSH_VSPHERE_VCENTER_VLAN: "" DIRECTOR_IP: "" BOSH_VSPHERE_VCENTER_CIDR: "" BOSH_VSPHERE_VCENTER_GATEWAY: "" BOSH_VSPHERE_DNS: "" ``` Use main-ruby-go image rather than main image for director deploy
```yaml --- platform: linux image_resource: type: docker-image source: repository: bosh/main-ruby-go inputs: - name: bosh-src - name: bosh-release - name: cpi-release - name: stemcell - name: bosh-cli outputs: - name: director-state run: path: bosh-src/ci/pipelines/stemcell/tasks/deploy-director.sh params: BOSH_DIRECTOR_USERNAME: "" BOSH_DIRECTOR_PASSWORD: "" BOSH_VSPHERE_VCENTER: "" BOSH_VSPHERE_VCENTER_USER: "" BOSH_VSPHERE_VCENTER_PASSWORD: "" BOSH_VSPHERE_VCENTER_DC: "" BOSH_VSPHERE_VCENTER_CLUSTER: "" BOSH_VSPHERE_VCENTER_VM_FOLDER: "" BOSH_VSPHERE_VCENTER_TEMPLATE_FOLDER: "" BOSH_VSPHERE_VCENTER_DATASTORE: "" BOSH_VSPHERE_VCENTER_DISK_PATH: "" BOSH_VSPHERE_VCENTER_VLAN: "" DIRECTOR_IP: "" BOSH_VSPHERE_VCENTER_CIDR: "" BOSH_VSPHERE_VCENTER_GATEWAY: "" BOSH_VSPHERE_DNS: "" ```
16cc7848-85fa-4969-ae03-d3006b849936
{ "language": "YAML" }
```yaml Categories: - Sports & Health License: GPL-3.0-only AuthorName: flxapps SourceCode: https://github.com/flxapps/DetoxDroid IssueTracker: https://github.com/flxapps/DetoxDroid/issues Changelog: https://github.com/flxapps/DetoxDroid/releases Donate: https://www.paypal.com/donate/?cmd=_s-xclick&hosted_button_id=K6T2HPXE7HQBG Liberapay: DetoxDroid AutoName: DetoxDroid RepoType: git Repo: https://github.com/flxapps/DetoxDroid Builds: - versionName: 1.0.0 versionCode: 10000 commit: v1.0.0 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 1.0.0 CurrentVersionCode: 10000 ``` Update DetoxDroid to 1.0.1 (10001)
```yaml Categories: - Sports & Health License: GPL-3.0-only AuthorName: flxapps SourceCode: https://github.com/flxapps/DetoxDroid IssueTracker: https://github.com/flxapps/DetoxDroid/issues Changelog: https://github.com/flxapps/DetoxDroid/releases Donate: https://www.paypal.com/donate/?cmd=_s-xclick&hosted_button_id=K6T2HPXE7HQBG Liberapay: DetoxDroid AutoName: DetoxDroid RepoType: git Repo: https://github.com/flxapps/DetoxDroid Builds: - versionName: 1.0.0 versionCode: 10000 commit: v1.0.0 subdir: app gradle: - yes - versionName: 1.0.1 versionCode: 10001 commit: v1.0.1 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 1.0.1 CurrentVersionCode: 10001 ```
d523f4e4-6524-4be5-b57c-a5990cd1dfb2
{ "language": "YAML" }
```yaml language: objective-c osx_image: xcode611 env: - LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8 before_install: - gem install xcpretty -N script: - set -o pipefail - xcodebuild -project Alamofire.xcodeproj -scheme "Alamofire iOS" -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 6" ONLY_ACTIVE_ARCH=NO test | xcpretty -c - xcodebuild -project "iOS Example.xcodeproj" -scheme "iOS Example" -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 6" ONLY_ACTIVE_ARCH=YES build | xcpretty -c - pod lib lint --quick ``` Update Travis CI settings to only build master branch
```yaml language: objective-c osx_image: xcode611 branches: only: - master env: - LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8 before_install: - gem install xcpretty -N script: - set -o pipefail - xcodebuild -project Alamofire.xcodeproj -scheme "Alamofire iOS" -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 6" ONLY_ACTIVE_ARCH=NO test | xcpretty -c - xcodebuild -project "iOS Example.xcodeproj" -scheme "iOS Example" -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 6" ONLY_ACTIVE_ARCH=YES build | xcpretty -c - pod lib lint --quick ```
78bf8225-329f-42cc-a47d-c0526eecb1c3
{ "language": "YAML" }
```yaml language: php php: - 5.4 - 5.5 - 5.6 - hhvm # faster builds on new travis setup not using sudo sudo: false # cache vendor dirs cache: directories: - vendor - $HOME/.composer/cache install: - travis_retry composer selfupdate - travis_retry composer install --prefer-dist --no-interaction - travis_retry composer require codeclimate/php-test-reporter --dev script: - vendor/bin/phpunit --verbose --coverage-clover=build/logs/clover.xml --coverage-text after_script: - travis_retry wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml - CODECLIMATE_REPO_TOKEN="2a816e25a4bcd8ded5ca51664e7f432c134d024ec16b76309dfb18665b0f9c9a" vendor/bin/test-reporter --stdout > codeclimate.json - "curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v0.1.1)' https://codeclimate.com/test_reports" ``` Remove hhvm from CI test
```yaml language: php php: - 5.4 - 5.5 - 5.6 # faster builds on new travis setup not using sudo sudo: false # cache vendor dirs cache: directories: - vendor - $HOME/.composer/cache install: - travis_retry composer selfupdate - travis_retry composer install --prefer-dist --no-interaction - travis_retry composer require codeclimate/php-test-reporter --dev script: - vendor/bin/phpunit --verbose --coverage-clover=build/logs/clover.xml --coverage-text after_script: - travis_retry wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml - CODECLIMATE_REPO_TOKEN="2a816e25a4bcd8ded5ca51664e7f432c134d024ec16b76309dfb18665b0f9c9a" vendor/bin/test-reporter --stdout > codeclimate.json - "curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v0.1.1)' https://codeclimate.com/test_reports" ```
3eea7012-8dd4-4687-b1c2-65c6ddfd54f9
{ "language": "YAML" }
```yaml --- language: elixir script: - bin/fetch-configlet - bin/configlet . - mix deps.get - EXERCISM_TEST_EXAMPLES=true mix test ``` Switch to container-based Travis CI infrastructure
```yaml --- language: elixir script: - bin/fetch-configlet - bin/configlet . - mix deps.get - EXERCISM_TEST_EXAMPLES=true mix test sudo: false ```
6d8075e9-87e8-44dc-9822-73abff7fb60f
{ "language": "YAML" }
```yaml language: ruby bundler_args: --without development postgres ldap_wizard git_proxy jruby before_install: - sudo apt-get update -qq - sudo apt-get install -y libicu-dev - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" before_script: - mysql -e 'create database myapp_test;' - cp config/database.travis.yml config/database.yml - ln -s $PWD/test/gitorious.yml $PWD/config/gitorious.yml - phantomjs --version - bundle exec rake db:schema:load rvm: - 1.9.3 - 2.0.0 - 2.1.0 matrix: allow_failures: - rvm: 2.1.0 ``` Set hostname to the one expected by integration tests
```yaml language: ruby bundler_args: --without development postgres ldap_wizard git_proxy jruby before_install: - sudo apt-get update -qq - sudo apt-get install -y libicu-dev - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" before_script: - mysql -e 'create database myapp_test;' - cp config/database.travis.yml config/database.yml - ln -s $PWD/test/gitorious.yml $PWD/config/gitorious.yml - phantomjs --version - bundle exec rake db:schema:load rvm: - 1.9.3 - 2.0.0 - 2.1.0 matrix: allow_failures: - rvm: 2.1.0 addons: hosts: - gitorious.test ```
5fa35139-bb4d-4220-abaa-a90c6d207118
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 before_install: - sudo apt-get update -qq - sudo apt-get install python-software-properties python g++ make - echo 'yes' | sudo add-apt-repository ppa:chris-lea/node.js - sudo apt-get update -qq - sudo apt-get install nodejs sqlite3 - sudo apt-get install libicu-dev script: - bundle exec rake db:create - bundle exec rake db:migrate - bundle exec rake test ``` Enable Travis build notifications on IRC.
```yaml language: ruby rvm: - 1.9.3 before_install: - sudo apt-get update -qq - sudo apt-get install python-software-properties python g++ make - echo 'yes' | sudo add-apt-repository ppa:chris-lea/node.js - sudo apt-get update -qq - sudo apt-get install nodejs sqlite3 - sudo apt-get install libicu-dev script: - bundle exec rake db:create - bundle exec rake db:migrate - bundle exec rake test notifications: irc: "chat.freenode.net#graveio" ```
427f89b5-8d70-4bd5-8d5b-03d87104bf91
{ "language": "YAML" }
```yaml --- - name: Create {{ apigee_edge_installation_path }} file: path: '{{ apigee_edge_installation_path }}' state: directory owner: apigee group: apigee mode: 0755 - name: Link /opt/apigee to {{ apigee_edge_installation_path }} file: path: /opt/apigee state: link src: '{{ apigee_edge_installation_path }}' owner: apigee group: apigee when: apigee_edge_installation_path != '/opt/apigee' ``` Set mode 0775 instead of 0755 on Apigee installation path
```yaml --- - name: Create {{ apigee_edge_installation_path }} file: path: '{{ apigee_edge_installation_path }}' state: directory owner: apigee group: apigee mode: 0775 - name: Link /opt/apigee to {{ apigee_edge_installation_path }} file: path: /opt/apigee state: link src: '{{ apigee_edge_installation_path }}' owner: apigee group: apigee when: apigee_edge_installation_path != '/opt/apigee' ```
1e0c4b0a-5b09-488a-b8db-0e206c6ab574
{ "language": "YAML" }
```yaml - project-template: name: puppet-tripleo-module-unit-jobs check: jobs: - puppet-openstack-unit-5.5-centos-7 - puppet-openstack-unit-5.5-centos-8: voting: false - puppet-openstack-unit-6.0-ubuntu-bionic - puppet-openstack-unit-latest-ubuntu-bionic: voting: false gate: jobs: - puppet-openstack-unit-5.5-centos-7 - puppet-openstack-unit-6.0-ubuntu-bionic - project: templates: - puppet-openstack-check-jobs - puppet-tripleo-module-unit-jobs - tripleo-undercloud-jobs - tripleo-multinode-container-minimal - release-notes-jobs-python3 - tripleo-standalone-scenarios-full check: jobs: - tripleo-ci-centos-7-scenario007-multinode-oooq-container: files: - ^manifests/profile/pacemaker/ovn.*$ - ^manifests/profile/(base|pacemaker)/neutron/plugins/ml2/ovn.*$ - ^manifests/profile/(base|pacemaker)/neutron/agents/ovn.*$ - ^manifests/profile/(base|pacemaker)/neutron/ovn.*$ - ^manifests/profile/(base|pacemaker)/tacker.*$ gate: queue: tripleo ``` Remove remaining zuul configuration for Tacker
```yaml - project-template: name: puppet-tripleo-module-unit-jobs check: jobs: - puppet-openstack-unit-5.5-centos-7 - puppet-openstack-unit-5.5-centos-8: voting: false - puppet-openstack-unit-6.0-ubuntu-bionic - puppet-openstack-unit-latest-ubuntu-bionic: voting: false gate: jobs: - puppet-openstack-unit-5.5-centos-7 - puppet-openstack-unit-6.0-ubuntu-bionic - project: templates: - puppet-openstack-check-jobs - puppet-tripleo-module-unit-jobs - tripleo-undercloud-jobs - tripleo-multinode-container-minimal - release-notes-jobs-python3 - tripleo-standalone-scenarios-full check: jobs: - tripleo-ci-centos-7-scenario007-multinode-oooq-container: files: - ^manifests/profile/pacemaker/ovn.*$ - ^manifests/profile/(base|pacemaker)/neutron/plugins/ml2/ovn.*$ - ^manifests/profile/(base|pacemaker)/neutron/agents/ovn.*$ - ^manifests/profile/(base|pacemaker)/neutron/ovn.*$ gate: queue: tripleo ```
3ae8eaf7-31cd-4d8d-acfc-ac3c335bb362
{ "language": "YAML" }
```yaml - project: templates: - puppet-openstack-check-jobs - puppet-openstack-module-unit-jobs - tripleo-undercloud-jobs-pipeline - tripleo-multinode-container-minimal-pipeline - release-notes-jobs-python3 - tripleo-standalone-scenarios-pipeline - tripleo-standalone-multinode-ipa - tripleo-upgrades-master-pipeline check: jobs: - tripleo-ci-centos-8-content-provider - tripleo-ci-centos-8-scenario007-multinode-oooq-container: vars: &multi_consumer_vars consumer_job: true build_container_images: false remove_tags: - build dependencies: &deps_cprovider - tripleo-ci-centos-8-content-provider files: - ^manifests/profile/pacemaker/ovn.*$ - ^manifests/profile/(base|pacemaker)/neutron/plugins/ml2/ovn.*$ - ^manifests/profile/(base|pacemaker)/neutron/agents/ovn.*$ - ^manifests/profile/(base|pacemaker)/neutron/ovn.*$ gate: queue: tripleo ``` Replace deprecated zuul template tripleo-standalone-multinode-ipa
```yaml - project: templates: - puppet-openstack-check-jobs - puppet-openstack-module-unit-jobs - tripleo-undercloud-jobs-pipeline - tripleo-multinode-container-minimal-pipeline - release-notes-jobs-python3 - tripleo-standalone-scenarios-pipeline - tripleo-standalone-multinode-ipa-pipeline - tripleo-upgrades-master-pipeline check: jobs: - tripleo-ci-centos-8-content-provider - tripleo-ci-centos-8-scenario007-multinode-oooq-container: vars: &multi_consumer_vars consumer_job: true build_container_images: false remove_tags: - build dependencies: &deps_cprovider - tripleo-ci-centos-8-content-provider files: - ^manifests/profile/pacemaker/ovn.*$ - ^manifests/profile/(base|pacemaker)/neutron/plugins/ml2/ovn.*$ - ^manifests/profile/(base|pacemaker)/neutron/agents/ovn.*$ - ^manifests/profile/(base|pacemaker)/neutron/ovn.*$ gate: queue: tripleo ```
013ea32f-1efe-4097-a82d-ddbd0d56df1c
{ "language": "YAML" }
```yaml patreon: alefragnani custom: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=EP57F3B6FXKTU&lc=US&item_name=Alessandro%20Fragnani&item_number=vscode%20extensions&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted ``` Add sponsor to GitHub repo
```yaml github: alefragnani patreon: alefragnani custom: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=EP57F3B6FXKTU&lc=US&item_name=Alessandro%20Fragnani&item_number=vscode%20extensions&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted ```
da4a5b4f-d486-42c9-baa9-977cfcb1afba
{ "language": "YAML" }
```yaml name: Format Tests on: [push, pull_request] jobs: format_tests: name: Format tests runs-on: ubuntu-latest strategy: fail-fast: false steps: - name: Set up Python uses: actions/setup-python@v2 with: python-version: 3.x - name: Check out data uses: actions/checkout@v2.3.4 with: path: data - name: Check out format tests uses: actions/checkout@v2.3.4 with: repository: openelections/openelections-format-tests ref: v0.1.0 path: format_tests - name: Run format tests run: python3 ${{ github.workspace }}/format_tests/run_tests.py ${{ github.workspace }}/data ``` Bump version of format tests.
```yaml name: Format Tests on: [push, pull_request] jobs: format_tests: name: Format tests runs-on: ubuntu-latest strategy: fail-fast: false steps: - name: Set up Python uses: actions/setup-python@v2 with: python-version: 3.x - name: Check out data uses: actions/checkout@v2.3.4 with: path: data - name: Check out format tests uses: actions/checkout@v2.3.4 with: repository: openelections/openelections-format-tests ref: v1.0.0 path: format_tests - name: Run format tests run: python3 ${{ github.workspace }}/format_tests/run_tests.py ${{ github.workspace }}/data ```
bb2b4a3b-269f-4e5d-8dc0-ba9a30b32864
{ "language": "YAML" }
```yaml # This workflow will upload a Python Package using Twine when a release is created # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries name: PyPIUpload on: release: types: [created] jobs: deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Python uses: actions/setup-python@v2 with: python-version: '3.x' - name: Install dependencies run: | python -m pip install --upgrade pip pip install setuptools wheel twine - name: Build and publish env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | python setup.py sdist bdist_wheel twine upload dist/* ``` Update env var names on action
```yaml # This workflow will upload a Python Package using Twine when a release is created # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries name: PyPIUpload on: release: types: [created] jobs: deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Python uses: actions/setup-python@v2 with: python-version: '3.x' - name: Install dependencies run: | python -m pip install --upgrade pip pip install setuptools wheel twine - name: Build and publish env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} run: | python setup.py sdist bdist_wheel twine upload dist/* ```
df40200e-81e6-40c5-8f5b-c0a01238d21e
{ "language": "YAML" }
```yaml name: Renovate-Dry-Run on: workflow_dispatch: inputs: pac_to_use: description: "Name of the workflow secret to use" type: string required: true branch: description: "Branch that renovate should operate on" type: string required: true jobs: renovate: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Renovate-dry-run uses: renovatebot/github-action@v32.202.4 with: configurationFile: renovate.json token: ${{secrets.$inputs.pac_to_use}} env: LOG_LEVEL: "debug" RENOVATE_DRY_RUN: "full" RENOVATE_BASE_BRANCHES: ${{inputs.branch}} RENOVATE_REPOSITORIES: "TNG/JGiven" ``` Update renovatebot/github-action action to v32.208.0
```yaml name: Renovate-Dry-Run on: workflow_dispatch: inputs: pac_to_use: description: "Name of the workflow secret to use" type: string required: true branch: description: "Branch that renovate should operate on" type: string required: true jobs: renovate: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Renovate-dry-run uses: renovatebot/github-action@v32.208.0 with: configurationFile: renovate.json token: ${{secrets.$inputs.pac_to_use}} env: LOG_LEVEL: "debug" RENOVATE_DRY_RUN: "full" RENOVATE_BASE_BRANCHES: ${{inputs.branch}} RENOVATE_REPOSITORIES: "TNG/JGiven" ```
4c4b3e2c-07fe-40b7-b707-d92203a2b2a3
{ "language": "YAML" }
```yaml --- label: palestra hide_body: false fields: - name: layout label: Layout type: text hidden: false default: post - name: type label: Type type: text hidden: false default: talk - name: title label: Title type: text hidden: false default: Título - name: date label: Date type: datetime hidden: false default: '2019-02-21T03:00:00.000+00:00' - name: img label: Img type: file hidden: false default: "/images/palestra.png" pages: - _posts/2018-09-18-ciência-de-dados-no-mundo-real-com-serenata-de-amor.md ``` Update from Forestry.io - Updated Forestry configuration
```yaml --- label: palestra hide_body: false fields: - name: layout label: Layout type: text hidden: false default: post - name: type label: Type type: text hidden: false default: talk - name: title label: Title type: text hidden: false default: Título - name: subtitle type: text config: required: false label: subtitle hidden: false - name: date label: Date type: datetime hidden: false default: '2019-02-21T03:00:00.000+00:00' - name: img label: Img type: file hidden: false default: "/images/palestra.png" pages: - _posts/2018-09-18-ciência-de-dados-no-mundo-real-com-serenata-de-amor.md ```
4a8fe365-55f8-495c-a7ff-270f59d7f7be
{ "language": "YAML" }
```yaml --- pages: - faqs.md hide_body: false is_partial: false fields: - name: title label: Title type: text hidden: false default: '' - name: date label: Date type: datetime hidden: false default: '' - name: subtitle label: Subtitle type: text hidden: false default: - name: hero label: Hero type: field_group fields: - name: image label: Image type: file hidden: false default: '' - name: color label: Color type: text hidden: false default: '' hidden: false default: - name: call_to_action label: Call to action type: field_group fields: - name: title label: Title type: text hidden: false default: '' - name: url label: Url type: text hidden: false default: '' - name: body label: Body type: text hidden: false default: '' hidden: false default: - name: display_title label: Display title type: text hidden: false default: - name: sections label: Sections type: list hidden: false default: - ``` Update from Forestry.io - Updated Forestry configuration
```yaml --- pages: - faqs.md hide_body: false is_partial: false fields: - name: title label: Title type: text hidden: false default: '' - name: date label: Date type: datetime hidden: true default: '' - name: subtitle label: Subtitle type: text hidden: false default: - name: hero label: Hero type: field_group fields: - name: image label: Image type: file hidden: false default: '' - name: color label: Color type: text hidden: false default: '' hidden: false default: - name: call_to_action label: Call to action type: field_group fields: - name: title label: Title type: text hidden: false default: '' - name: url label: Url type: text hidden: false default: '' - name: body label: Body type: text hidden: false default: '' hidden: false default: - name: display_title label: Display title type: text hidden: false default: - name: sections label: Sections type: list hidden: false default: - ```
8e8d9e59-a280-4680-a80b-a7345dba6030
{ "language": "YAML" }
```yaml {% set name = "dependente" %} {% set version = "0.1.0" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/dependente-{{ version }}.tar.gz sha256: f768e037d8cbaf58fd9ba6378058f593a8db962836ba498f9c0612c1afb48ec0 build: number: 0 noarch: python script: {{ PYTHON }} -m pip install . -vv requirements: host: - pip - python >=3.6 run: - python >=3.6 - click <9.0.0,>=8.0.0 - rich <11.0.0,>=9.6.0 - tomli <3.0.0,>=1.1.0 test: imports: - dependente commands: - pip check - dependente -h requires: - pip about: home: https://github.com/fatiando/dependente summary: Inspect Python package dependencies license: MIT license_file: LICENSE.txt extra: recipe-maintainers: - leouieda ``` Add entry point for script and setuptools-scm
```yaml {% set name = "dependente" %} {% set version = "0.1.0" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/dependente-{{ version }}.tar.gz sha256: f768e037d8cbaf58fd9ba6378058f593a8db962836ba498f9c0612c1afb48ec0 build: number: 0 noarch: python entry_points: - dependente = dependente.cli:main script: {{ PYTHON }} -m pip install . -vv requirements: host: - pip - python >=3.6 - setuptools-scm >=6.2 run: - python >=3.6 - click <9.0.0,>=8.0.0 - rich <11.0.0,>=9.6.0 - tomli <3.0.0,>=1.1.0 test: imports: - dependente commands: - pip check - dependente -h requires: - pip about: home: https://github.com/fatiando/dependente summary: Inspect Python package dependencies license: MIT license_file: LICENSE.txt extra: recipe-maintainers: - leouieda ```
60224f1d-ae45-454b-a040-4a0185b0187c
{ "language": "YAML" }
```yaml flags: {} packages: - '.' - location: git: git@github.com:aristidb/aws.git commit: a6f062efe6c78d8d25609f6cc4fe27d428e5ef65 extra-deps: [] resolver: lts-3.1 ``` Use http for aws dependency
```yaml flags: {} packages: - '.' - location: git: https://github.com/aristidb/aws.git commit: a6f062efe6c78d8d25609f6cc4fe27d428e5ef65 extra-deps: [] resolver: lts-3.1 ```
f5f2613d-083c-4d47-86a5-0ad831b4c9c5
{ "language": "YAML" }
```yaml --- - name: Install NFS client apt: name: "nfs-common" state: present tags: - grafana - logging - name: Ensure EFS volume mountpoint exists file: path: "{{ grafana_efs_mountpoint }}" state: directory tags: - grafana - logging - name: Mount EFS target for persistent app storage mount: name: "{{ grafana_efs_mountpoint }}" src: "{{ ansible_ec2_placement_availability_zone }}.{{ grafana_filesystem_id }}.efs.{{ ec2_region }}.amazonaws.com:/" fstype: nfs4 state: mounted tags: - grafana - logging - name: Ensure Grafana directories exist file: path: "{{ grafana_efs_mountpoint }}/{{ item }}" state: directory with_items: - "data" - "config" tags: - grafana - logging - name: Run Grafana docker instance docker: name: grafana image: grafana/grafana:{{ grafana_version }} state: reloaded pull: always ports: - "3000:3000" volumes: - "{{ grafana_efs_mountpoint }}/data:/var/lib/grafana" - "{{ grafana_efs_mountpoint }}/config:/etc/grafana" env: GF_SECURITY_ADMIN_PASSWORD: "{{ grafana_admin_password }}" restart_policy: always tags: - grafana - logging ``` Fix grafana docker instance definition.
```yaml --- - name: Install NFS client apt: name: "nfs-common" state: present tags: - grafana - logging - name: Ensure EFS volume mountpoint exists file: path: "{{ grafana_efs_mountpoint }}" state: directory tags: - grafana - logging - name: Mount EFS target for persistent app storage mount: name: "{{ grafana_efs_mountpoint }}" src: "{{ ansible_ec2_placement_availability_zone }}.{{ grafana_filesystem_id }}.efs.{{ ec2_region }}.amazonaws.com:/" fstype: nfs4 state: mounted tags: - grafana - logging - name: Ensure Grafana directories exist file: path: "{{ grafana_efs_mountpoint }}/{{ item }}" state: directory with_items: - "data" - "config" tags: - grafana - logging - name: Run Grafana docker instance docker: name: grafana image: grafana/grafana:{{ grafana_version }} state: reloaded pull: always ports: - "3000:3000" volumes: - "{{ grafana_efs_mountpoint }}/data:/var/lib/grafana" - "{{ grafana_efs_mountpoint }}/config:/etc/grafana" env: GF_SECURITY_ADMIN_PASSWORD: "{{ grafana_admin_password }}" restart_policy: always tags: - grafana - logging ```
0a85cc01-731b-4c1d-b752-d7aa61b351ba
{ "language": "YAML" }
```yaml apiVersion: cilium.io/v2 kind: CiliumNetworkPolicy metadata: name: "tofqdn-dns-visibility" spec: endpointSelector: matchLabels: any:org: alliance egress: - toEndpoints: - matchLabels: "k8s:io.kubernetes.pod.namespace": kube-system "k8s:k8s-app": kube-dns toPorts: - ports: - port: "53" protocol: ANY rules: dns: - matchPattern: "*" - toFQDNs: - matchName: "cilium.io" - matchName: "sub.cilium.io" - matchPattern: "*.sub.cilium.io" ``` Remove uneeded blank line in DNS policy yaml
```yaml apiVersion: cilium.io/v2 kind: CiliumNetworkPolicy metadata: name: "tofqdn-dns-visibility" spec: endpointSelector: matchLabels: any:org: alliance egress: - toEndpoints: - matchLabels: "k8s:io.kubernetes.pod.namespace": kube-system "k8s:k8s-app": kube-dns toPorts: - ports: - port: "53" protocol: ANY rules: dns: - matchPattern: "*" - toFQDNs: - matchName: "cilium.io" - matchName: "sub.cilium.io" - matchPattern: "*.sub.cilium.io" ```
9e745baa-05a5-41b6-8abe-10a1f750b3ca
{ "language": "YAML" }
```yaml --- :verbose: false :concurrency: 4 :logfile: ./log/sidekiq.json.log :queues: - downstream_high - dependency_resolution - downstream_low - experiments - default - import ``` Revert "Revert "Revert "Turn down concurrency on Sidekiq"""
```yaml --- :verbose: false :concurrency: 10 :logfile: ./log/sidekiq.json.log :queues: - downstream_high - dependency_resolution - downstream_low - experiments - default - import ```
128f4188-537d-4e77-a5e0-4f3cdf9c727d
{ "language": "YAML" }
```yaml - title: Apps & Juegos desc: Descubra recursos para comenzar a crear sus aplicaciones de Android, aplicaciones web y juegos para Chrome OS. icon: game-controller sections: - title: Adaptar Android url: android - title: Adaptar Web url: web - title: Juegos url: games - title: Publicar desc: Obtén información sobre cómo publicar tus aplicaciones en Google Play Store e involucra a millones de usuarios en Chromebooks. url: publish icon: game-controller alt: publish - title: Desarrollo desc: Utilice Chrome OS para desarrollar aplicaciones en un entorno rápido, seguro y sin complicaciones. icon: wrench sections: - title: Linux (Beta) url: linux - title: Entorno para Android url: android-environment - title: Entorno para Web url: web-environment - title: Productividad url: productivity - title: Historias & Noticias url: news alt: stories ``` Use correct icon for Spanish's Publish section
```yaml - title: Apps & Juegos desc: Descubra recursos para comenzar a crear sus aplicaciones de Android, aplicaciones web y juegos para Chrome OS. icon: game-controller sections: - title: Adaptar Android url: android - title: Adaptar Web url: web - title: Juegos url: games - title: Publicar desc: Obtén información sobre cómo publicar tus aplicaciones en Google Play Store e involucra a millones de usuarios en Chromebooks. url: publish icon: publish alt: publish - title: Desarrollo desc: Utilice Chrome OS para desarrollar aplicaciones en un entorno rápido, seguro y sin complicaciones. icon: wrench sections: - title: Linux (Beta) url: linux - title: Entorno para Android url: android-environment - title: Entorno para Web url: web-environment - title: Productividad url: productivity - title: Historias & Noticias url: news alt: stories ```
7fa7153d-28b6-47df-ac1b-0475756db317
{ "language": "YAML" }
```yaml homepage: https://gitlab.com/tonymorris/spacechar changelog-type: markdown hash: 7cb82bb0277fecdce6ea2b5059d5686e521bfe0851f8a23c142849d70b11f369 test-bench-deps: {} maintainer: Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ> synopsis: Space Character changelog: | 0.0.0.4 * Fix export list 0.0.0.3 * Add prism instances for `Char`. 0.0.0.2 * Export list and haddock documentation. 0.0.0.1 * The initial version of spacechar. basic-deps: base: '>=4.8 && <6' parsers: '>=0.12 && <1' lens: '>=4 && <6' all-versions: - 0.0.0.1 - 0.0.0.2 - 0.0.0.3 - 0.0.0.4 author: Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ> latest: 0.0.0.4 description-type: haddock description: All the space characters as types license-name: BSD-3-Clause ``` Update from Hackage at 2022-02-26T13:26:12Z
```yaml homepage: https://gitlab.com/tonymorris/spacechar changelog-type: markdown hash: dad9c36f67d852fc18fbf2cd8b86cefd4e45bf785a2c68821aa240172b160a30 test-bench-deps: {} maintainer: Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ> synopsis: Space Character changelog: | 0.0.0.5 * Remove unit data types. 0.0.0.4 * Fix export list 0.0.0.3 * Add prism instances for `Char`. 0.0.0.2 * Export list and haddock documentation. 0.0.0.1 * The initial version of spacechar. basic-deps: base: '>=4.8 && <6' parsers: '>=0.12 && <1' lens: '>=4 && <6' all-versions: - 0.0.0.1 - 0.0.0.2 - 0.0.0.3 - 0.0.0.4 - 0.0.0.5 author: Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ> latest: 0.0.0.5 description-type: haddock description: All the space characters as types license-name: BSD-3-Clause ```
bfd22672-92e8-4cb2-ad69-9cfa91fe9097
{ "language": "YAML" }
```yaml homepage: https://github.com/metrix-ai/dense-int-set changelog-type: '' hash: f9f1ceff0877a76fbd9c1eb1a6140b639ecf10dbc4ea6106d676260d483b3761 test-bench-deps: {} maintainer: Metrix.AI Tech Team <tech@metrix.ai> synopsis: Dense int-set changelog: '' basic-deps: cereal: ! '>=0.5.5 && <0.6' base: ! '>=4.11 && <5' deferred-folds: ! '>=0.9.7 && <0.10' hashable: ! '>=1 && <2' vector-algorithms: ! '>=0.7.0.4 && <0.8' cereal-vector: ! '>=0.2.0.1 && <0.3' vector: ! '>=0.12 && <0.13' all-versions: - '0.1.5' - '0.2' author: Nikita Volkov <nikita.y.volkov@mail.ru> latest: '0.2' description-type: haddock description: '' license-name: MIT ``` Update from Hackage at 2018-10-08T09:07:42Z
```yaml homepage: https://github.com/metrix-ai/dense-int-set changelog-type: '' hash: 4acc31c4bd546df63d39488c7f423d59f1338bf824d2408a5d22fa46d9a8e174 test-bench-deps: rerebase: <2 dense-int-set: -any quickcheck-instances: ! '>=0.3.11 && <0.4' tasty-quickcheck: ! '>=0.9 && <0.11' tasty-hunit: ! '>=0.9 && <0.11' tasty: ! '>=0.12 && <2' QuickCheck: ! '>=2.8.1 && <3' maintainer: Metrix.AI Tech Team <tech@metrix.ai> synopsis: Dense int-set changelog: '' basic-deps: cereal: ! '>=0.5.5 && <0.6' base: ! '>=4.11 && <5' deferred-folds: ! '>=0.9.9 && <0.10' hashable: ! '>=1 && <2' vector-algorithms: ! '>=0.7.0.4 && <0.8' cereal-vector: ! '>=0.2.0.1 && <0.3' vector: ! '>=0.12 && <0.13' all-versions: - '0.1.5' - '0.2' - '0.3' author: Nikita Volkov <nikita.y.volkov@mail.ru> latest: '0.3' description-type: haddock description: '' license-name: MIT ```
2e6293d7-014a-4b2d-90aa-5c4db865c0b8
{ "language": "YAML" }
```yaml homepage: https://github.com/nikita-volkov/potoki-cereal changelog-type: '' hash: ca4ef6c8de31e9cab78b02384953b11873edd5b69b42ccbccd9124eada72b672 test-bench-deps: {} maintainer: Nikita Volkov <nikita.y.volkov@mail.ru> synopsis: Streaming serialization changelog: '' basic-deps: cereal: ! '>=0.5 && <0.6' bytestring: ! '>=0.10 && <0.11' base-prelude: ! '>=1 && <2' base: ! '>=4.7 && <5' text: ! '>=1 && <2' potoki-core: ! '>=1.2 && <1.4' potoki: ! '>=0.6.1 && <0.8' all-versions: - '0.1' - '0.1.1' - '0.1.2' - '0.1.3' author: Nikita Volkov <nikita.y.volkov@mail.ru> latest: '0.1.3' description-type: haddock description: '' license-name: MIT ``` Update from Hackage at 2018-02-26T06:53:24Z
```yaml homepage: https://github.com/metrix-ai/potoki-cereal changelog-type: '' hash: a6a4bf739863ddaa84f2335be28b926915caf07bc73928fc01bd2e2285bdb216 test-bench-deps: {} maintainer: Metrix.AI Tech Team <tech@metrix.ai> synopsis: Streaming serialization changelog: '' basic-deps: cereal: ! '>=0.5 && <0.6' bytestring: ! '>=0.10 && <0.11' base-prelude: ! '>=1 && <2' base: ! '>=4.7 && <5' text: ! '>=1 && <2' potoki-core: ! '>=1.5 && <1.6' potoki: ! '>=0.9 && <0.10' all-versions: - '0.1' - '0.1.1' - '0.1.2' - '0.1.3' - '0.1.4' author: Nikita Volkov <nikita.y.volkov@mail.ru> latest: '0.1.4' description-type: haddock description: '' license-name: MIT ```
6af20103-0c2b-48c4-90ca-2b972798eb18
{ "language": "YAML" }
```yaml homepage: http://hub.darcs.net/thielema/shell-utility/ changelog-type: '' hash: 88fe7e1745e9fb24aceef978979639f0809ad5cc30e45e75d0c8375168ce8ad4 test-bench-deps: {} maintainer: Henning Thielemann <haskell@henning-thielemann.de> synopsis: Utility functions for writing command-line programs changelog: '' basic-deps: base: ! '>=4.3 && <5' all-versions: - '0.0' author: Henning Thielemann <haskell@henning-thielemann.de> latest: '0.0' description-type: haddock description: |- Utility functions for writing command-line programs including parsing of numbers with restrictions and enumerations for command-line arguments, verbosity controlled output, escaping shell arguments, exit with message. The package has very light dependencies and is Haskell 98. license-name: BSD-3-Clause ``` Update from Hackage at 2020-03-21T15:32:25Z
```yaml homepage: http://hub.darcs.net/thielema/shell-utility/ changelog-type: markdown hash: 9aec785694f832cb053e20c42f3a207788faeab8b724daac8bd26d8393178406 test-bench-deps: {} maintainer: Henning Thielemann <haskell@henning-thielemann.de> synopsis: Utility functions for writing command-line programs changelog: | # Change log for the `shell-utility` package ## 0.1 * `Log`: Do not add trailing newlines. This is consistent with Cabal's logging functions. It allows us to use initial newlines where appropriate. basic-deps: base: ! '>=4.3 && <5' all-versions: - '0.0' - '0.1' author: Henning Thielemann <haskell@henning-thielemann.de> latest: '0.1' description-type: haddock description: |- Utility functions for writing command-line programs including parsing of numbers with restrictions and enumerations for command-line arguments, verbosity controlled output, escaping shell arguments, exit with message. The package has very light dependencies and is Haskell 98. license-name: BSD-3-Clause ```
33805c47-b3db-4db4-a5e0-6f37ea30e586
{ "language": "YAML" }
```yaml module: automated_cron: 0 block: 0 breakpoint: 0 ckeditor: 0 color: 0 comment: 0 config: 0 config_direct_save: 0 contact: 0 contextual: 0 datetime: 0 dblog: 0 dynamic_page_cache: 0 editor: 0 entity: 0 entity_reference_revisions: 0 field: 0 field_ui: 0 file: 0 filter: 0 help: 0 history: 0 image: 0 link: 0 media_entity: 0 media_entity_image: 0 menu_ui: 0 node: 0 options: 0 page_cache: 0 path: 0 quickedit: 0 rdf: 0 search: 0 shortcut: 0 simple_block: 0 system: 0 taxonomy: 0 text: 0 toolbar: 0 tour: 0 update: 0 user: 0 views_ui: 0 menu_link_content: 1 views: 10 paragraphs: 11 standard: 1000 theme: stable: 0 classy: 0 seven: 0 bootstrap: 0 university_bootstrap: 0 profile: standard _core: default_config_hash: R4IF-ClDHXxblLcG0L7MgsLvfBIMAvi_skumNFQwkDc ``` Install and enable entity browser, entity browser IEF and IEF
```yaml module: automated_cron: 0 block: 0 breakpoint: 0 ckeditor: 0 color: 0 comment: 0 config: 0 config_direct_save: 0 contact: 0 contextual: 0 datetime: 0 dblog: 0 dynamic_page_cache: 0 editor: 0 entity: 0 entity_browser: 0 entity_browser_entity_form: 0 entity_reference_revisions: 0 field: 0 field_ui: 0 file: 0 filter: 0 help: 0 history: 0 image: 0 inline_entity_form: 0 link: 0 media_entity: 0 media_entity_image: 0 menu_ui: 0 node: 0 options: 0 page_cache: 0 path: 0 quickedit: 0 rdf: 0 search: 0 shortcut: 0 simple_block: 0 system: 0 taxonomy: 0 text: 0 toolbar: 0 tour: 0 update: 0 user: 0 views_ui: 0 menu_link_content: 1 views: 10 paragraphs: 11 standard: 1000 theme: stable: 0 classy: 0 seven: 0 bootstrap: 0 university_bootstrap: 0 profile: standard _core: default_config_hash: R4IF-ClDHXxblLcG0L7MgsLvfBIMAvi_skumNFQwkDc ```
6e61698f-8385-4bbd-9ba8-a20ca0033ec6
{ "language": "YAML" }
```yaml browseSuccess: javascripts: /plugins/sfDrupalPlugin/vendor/drupal/misc/jquery.once.js: /plugins/sfDrupalPlugin/vendor/drupal/misc/tableheader: listSuccess: javascripts: /plugins/sfDrupalPlugin/vendor/drupal/misc/jquery.once.js: /plugins/sfDrupalPlugin/vendor/drupal/misc/tableheader: ``` Add jquery-miniColors assets to editTheme
```yaml browseSuccess: javascripts: /plugins/sfDrupalPlugin/vendor/drupal/misc/jquery.once.js: /plugins/sfDrupalPlugin/vendor/drupal/misc/tableheader: listSuccess: javascripts: /plugins/sfDrupalPlugin/vendor/drupal/misc/jquery.once.js: /plugins/sfDrupalPlugin/vendor/drupal/misc/tableheader: editThemeSuccess: stylesheets: /vendor/jquery-miniColors/jquery.miniColors.css: javascripts: /vendor/jquery-miniColors/jquery.miniColors.js: ```
4dfd291e-6e75-4ddf-be96-5aeb93e2ceb1
{ "language": "YAML" }
```yaml {% set name = "libconeangle" %} {% set version = "0.0.1" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://github.com/kjelljorner/libconeangle/archive/v{{ version }}.tar.gz sha256: 8045bce67e7c81485d165e36db59a9af4a9839aad5d419b171620e32922fd324 build: skip: true # [win or py<38] script: {{ PYTHON }} -m pip install . -vv number: 0 requirements: build: - {{ compiler('c') }} - {{ compiler('fortran') }} - cmake - fypp - ninja - scikit-build host: - pip - python run: - numpy - python test: imports: - libconeangle commands: - pip check requires: - pip about: home: https://github.com/kjelljorner/libconeangle summary: 'Library for calculating exact ligand cone angles' license: MIT license_file: LICENSE extra: recipe-maintainers: - kjelljorner ``` Add cxx, move scikit-build to host, np version
```yaml {% set name = "libconeangle" %} {% set version = "0.0.1" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://github.com/kjelljorner/libconeangle/archive/v{{ version }}.tar.gz sha256: 8045bce67e7c81485d165e36db59a9af4a9839aad5d419b171620e32922fd324 build: skip: true # [win or py<38] script: {{ PYTHON }} -m pip install . -vv number: 0 requirements: build: - {{ compiler('c') }} - {{ compiler('cxx') }} - {{ compiler('fortran') }} - cmake - fypp - ninja host: - pip - python - scikit-build run: - numpy >=1.20 - python test: imports: - libconeangle commands: - pip check requires: - pip about: home: https://github.com/kjelljorner/libconeangle summary: 'Library for calculating exact ligand cone angles' license: MIT license_file: LICENSE extra: recipe-maintainers: - kjelljorner ```
1ab7df1c-fb99-448d-a236-8c6c463fa42d
{ "language": "YAML" }
```yaml --- classes: - mysql::server - apache - apache::mod::userdir - apache::mod::rewrite accounts: lb: comment: 'london bookshops' home_dir_perms: '0755' lv: comment: 'london vegetarian' home_dir_perms: '0755' pubology: comment: 'pubology' home_dir_perms: '0755' lc: comment: 'london crafts' home_dir_perms: '0755' ufw_allow: allow-ssh-from-home-ipv6: port: '22' from: '2001:8b0:ca94:869f::/64' ip: '2001:41c8:51:945::69/64' ``` Allow ipv6 access to web-01 from shell-01
```yaml --- classes: - mysql::server - apache - apache::mod::userdir - apache::mod::rewrite accounts: lb: comment: 'london bookshops' home_dir_perms: '0755' lv: comment: 'london vegetarian' home_dir_perms: '0755' pubology: comment: 'pubology' home_dir_perms: '0755' lc: comment: 'london crafts' home_dir_perms: '0755' ufw_allow: allow-ssh-from-home-ipv6: port: '22' from: '2001:8b0:ca94:869f::/64' ip: '2001:41c8:51:945::69/64' allow-ssh-from-shell-01-ipv6: port: '22' from: '2a03:b0c0:1:d0::dc:b001/64' ip: '2001:41c8:51:945::69/64' ```
ab693741-ce5e-4368-8f65-e9b1fbd25136
{ "language": "YAML" }
```yaml env: PATH: "${ROCK_PATH}/bin:${ROCK_PATH}/local/bin:${PATH}" PERL_LOCAL_LIB_ROOT: "${ROCK_PATH}/local" PERL_MB_OPT: "--install_base ${ROCK_PATH}/local" PERL_MM_OPT: "INSTALL_BASE=${ROCK_PATH}/local" PERL5LIB: "${ROCK_PATH}/lib:${ROCK_PATH}/lib/perl5/x86_64-linux:${ROCK_PATH}/local/lib/perl5" ROCK_CARTON_INSTALL: "install" ROCK_CARTON_INSTALL_DEPLOYMENT: "--verbose --no-color install --deployment" build: | if [[ -f ./cpanfile ]]; then carton ${ROCK_CARTON_INSTALL} else warn 'no "cpanfile" file found' fi build_deployment: | if [[ ! -f ./carton.lock ]]; then die 'no "carton.lock" file found' fi carton ${ROCK_CARTON_INSTALL_DEPLOYMENT} test: | prove clean: | if [[ -d ./local ]]; then rm -fr ./local fi ``` Use PERL_ARCHNAME in PERL5LIB paths
```yaml env: PATH: "${ROCK_PATH}/bin:${ROCK_PATH}/local/bin:${PATH}" PERL_LOCAL_LIB_ROOT: "${ROCK_PATH}/local" PERL_MB_OPT: "--install_base ${ROCK_PATH}/local" PERL_MM_OPT: "INSTALL_BASE=${ROCK_PATH}/local" PERL5LIB: "${ROCK_PATH}/lib:${ROCK_PATH}/lib/perl5/${PERL_ARCHNAME}:${ROCK_PATH}/local/lib/perl5" ROCK_CARTON_INSTALL: "install" ROCK_CARTON_INSTALL_DEPLOYMENT: "--verbose --no-color install --deployment" build: | if [[ -f ./cpanfile ]]; then carton ${ROCK_CARTON_INSTALL} else warn 'no "cpanfile" file found' fi build_deployment: | if [[ ! -f ./carton.lock ]]; then die 'no "carton.lock" file found' fi carton ${ROCK_CARTON_INSTALL_DEPLOYMENT} test: | prove clean: | if [[ -d ./local ]]; then rm -fr ./local fi ```
7e0d8c3d-7483-4d71-b6b4-59bc93096c7c
{ "language": "YAML" }
```yaml --- - name: install linux-image-extra-* packages to enable AuFS driver apt: pkg: "{{item}}" state: present update_cache: yes with_items: - linux-image-extra-{{ansible_kernel}} - linux-image-extra-virtual - name: install packages to allow apt to use a repository over HTTPS apt: pkg: "{{item}}" state: present update_cache: yes with_items: - apt-transport-https - ca-certificates - curl - software-properties-common - name: add docker repository key shell: "curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -" - name: set up the stable repository shell: "add-apt-repository \"deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable\"" - name: install docker apt: pkg: "{{item}}" state: present update_cache: yes with_items: - docker-ce - name: grant user access to run docker command: usermod -aG docker {{whoami}} ``` Install docker-compose via pip for ubuntu
```yaml --- - name: install linux-image-extra-* packages to enable AuFS driver apt: pkg: "{{item}}" state: present update_cache: yes with_items: - linux-image-extra-{{ansible_kernel}} - linux-image-extra-virtual - name: install packages to allow apt to use a repository over HTTPS apt: pkg: "{{item}}" state: present update_cache: yes with_items: - apt-transport-https - ca-certificates - curl - software-properties-common - name: add docker repository key shell: "curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -" - name: set up the stable repository shell: "add-apt-repository \"deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable\"" - name: install docker apt: pkg: "{{item}}" state: present update_cache: yes with_items: - docker-ce - name: grant user access to run docker command: usermod -aG docker {{whoami}} - name: install docker-compose pip: name: docker-compose state: present ```
69b4fb92-7126-4f03-873e-720cef864f18
{ "language": "YAML" }
```yaml name: CI on: pull_request: push: branches: - master tags: - "*.*.*" jobs: build: runs-on: ubuntu-latest strategy: matrix: jdk_version: [8, 11, 17] steps: - name: Checkout uses: actions/checkout@v2 - name: Setup JDK uses: actions/setup-java@v2 with: distribution: temurin java-version: ${{ matrix.jdk_version }} - name: Build run: sbt -v +compile ``` Include building deb package in github action
```yaml name: CI on: pull_request: push: branches: - master tags: - "*.*.*" jobs: build: runs-on: ubuntu-latest strategy: matrix: jdk_version: [8, 11, 17] steps: - name: Checkout uses: actions/checkout@v2 - name: Setup JDK uses: actions/setup-java@v2 with: distribution: temurin java-version: ${{ matrix.jdk_version }} - name: Build run: sbt -v +compile debian:packageBin ```
0909812a-7ff7-4ba9-8a10-a856bffe46bc
{ "language": "YAML" }
```yaml 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] steps: - uses: actions/checkout@v2 - uses: dtolnay/rust-toolchain@master with: toolchain: ${{matrix.rust}} - run: cargo test - run: cargo build --tests --features no-panic --release if: matrix.rust == 'nightly' msrv: name: Rust 1.31.0 runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: dtolnay/rust-toolchain@1.31.0 - run: cargo build - run: cargo build --features small miri: name: Miri runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: dtolnay/rust-toolchain@nightly with: components: miri - run: cargo miri setup - run: cargo miri test ``` Remove unneded setup instruction for miri
```yaml 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] steps: - uses: actions/checkout@v2 - uses: dtolnay/rust-toolchain@master with: toolchain: ${{matrix.rust}} - run: cargo test - run: cargo build --tests --features no-panic --release if: matrix.rust == 'nightly' msrv: name: Rust 1.31.0 runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: dtolnay/rust-toolchain@1.31.0 - run: cargo build - run: cargo build --features small miri: name: Miri runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: dtolnay/rust-toolchain@nightly with: components: miri - run: cargo miri test ```
78878f24-1c85-46be-a4ff-727b082a1754
{ "language": "YAML" }
```yaml name: CI on: push: branches: [master] paths: - "**.js" - "package.json" - ".github/workflows/ci.yml" pull_request: branches: [master] paths: - "**.js" - "package.json" - ".github/workflows/ci.yml" jobs: ci: strategy: matrix: os: [ubuntu-latest, macOS-latest] node: [15.x, 14.x, 12.x, 10.x] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: node-version: ${{ matrix.node }} - run: npm install - run: npm run ci - name: Codecov uses: codecov/codecov-action@v1 if: matrix.node == '14.x' && matrix.os == 'ubuntu-latest' with: file: ./coverage/coverage-final.json flags: unittests fail_ci_if_error: true ``` Remove Node 15.x from CI workflow
```yaml name: CI on: push: branches: [master] paths: - "**.js" - "package.json" - ".github/workflows/ci.yml" pull_request: branches: [master] paths: - "**.js" - "package.json" - ".github/workflows/ci.yml" jobs: ci: strategy: matrix: os: [ubuntu-latest, macOS-latest] node: [14.x, 12.x, 10.x] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: node-version: ${{ matrix.node }} - run: npm install - run: npm run ci - name: Codecov uses: codecov/codecov-action@v1 if: matrix.node == '14.x' && matrix.os == 'ubuntu-latest' with: file: ./coverage/coverage-final.json flags: unittests fail_ci_if_error: true ```
0606fdfa-d6c6-45e3-a39a-e5112f27aa5e
{ "language": "YAML" }
```yaml --- name: CI on: - push - pull_request jobs: rspec: runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: ruby: - '3.0' - '2.7' - '2.6' - '2.5' steps: - name: Checkout uses: actions/checkout@v2 - name: Setup Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Setup Ruby cache uses: actions/cache@v2 with: path: vendor/bundle key: ${{ runner.os }}-gems-${{ matrix.ruby }}-${{ hashFiles('**/Gemfile.lock') }} restore-keys: | ${{ runner.os }}-gems-${{ matrix.ruby }}- - name: Bundle run: | gem install bundler bundle config path vendor/bundle bundle install --jobs 4 --retry 3 - name: RSpec run: | git config --global user.email "test@example.com" git config --global user.name "Test" bundle exec rake ``` Remove bundler cache in CI
```yaml --- name: CI on: - push - pull_request jobs: rspec: runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: ruby: - '3.0' - '2.7' - '2.6' - '2.5' steps: - name: Checkout uses: actions/checkout@v2 - name: Setup Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Bundle run: | gem install bundler bundle config path vendor/bundle bundle install --jobs 4 --retry 3 - name: RSpec run: | git config --global user.email "test@example.com" git config --global user.name "Test" bundle exec rake ```
3beb8142-09ed-4a05-a3a9-bf716c16387c
{ "language": "YAML" }
```yaml name: CI on: [push] jobs: bash: runs-on: ubuntu-latest steps: - name: Check out code uses: actions/checkout@v1 - name: Run test env: HIPCHAT_URL: https://httpbin.org/post SLACK_URL: https://httpbin.org/post run: bin/antares.sh nodejs: runs-on: ubuntu-latest steps: - name: Check out code uses: actions/checkout@v1 - name: Setup node uses: actions/setup-node@v1 with: node-version: 14.18.0 - name: Install yarn and run tests env: HIPCHAT_URL: https://httpbin.org/post SLACK_URL: https://httpbin.org/post CONSOLE_OUTPUT: true run: | npm install --global yarn@1.10.1 yarn node -e "require('./antaresbot')().then(process.exit);" ``` Add console output to bash version
```yaml name: CI on: [push] jobs: bash: runs-on: ubuntu-latest steps: - name: Check out code uses: actions/checkout@v1 - name: Run test env: HIPCHAT_URL: https://httpbin.org/post SLACK_URL: https://httpbin.org/post CONSOLE_OUTPUT: true run: bin/antares.sh nodejs: runs-on: ubuntu-latest steps: - name: Check out code uses: actions/checkout@v1 - name: Setup node uses: actions/setup-node@v1 with: node-version: 14.18.0 - name: Install yarn and run tests env: HIPCHAT_URL: https://httpbin.org/post SLACK_URL: https://httpbin.org/post CONSOLE_OUTPUT: true run: | npm install --global yarn@1.10.1 yarn node -e "require('./antaresbot')().then(process.exit);" ```
9d8653a8-ca98-4315-9018-299ccb5be47f
{ "language": "YAML" }
```yaml name: Go on: push: branches: - master pull_request: jobs: test: name: Test strategy: matrix: os: [ "ubuntu-latest", "macos-latest", "windows-latest" ] go-version: [ "1.15", "1.16", "1.17" ] runs-on: ${{ matrix.os }} steps: - name: setup Go ${{ matrix.go-version }} uses: actions/setup-go@v2 with: go-version: ${{ matrix.go-version }} - name: checkout uses: actions/checkout@v2 - name: test run: | make test ycat: name: ycat runs-on: ubuntu-latest steps: - name: setup Go uses: actions/setup-go@v2 with: go-version: 1.17 - name: checkout uses: actions/checkout@v2 - name: build run: | make ycat/build - name: run run: | ./ycat .github/workflows/go.yml coverage: name: Coverage runs-on: ubuntu-latest steps: - name: setup Go uses: actions/setup-go@v2 with: go-version: 1.17 - name: checkout uses: actions/checkout@v2 - name: measure coverage run: | make cover - uses: codecov/codecov-action@v2 with: fail_ci_if_error: true verbose: true ``` Update Go version in CI
```yaml name: Go on: push: branches: - master pull_request: jobs: test: name: Test strategy: matrix: os: [ "ubuntu-latest", "macos-latest", "windows-latest" ] go-version: [ "1.16", "1.17", "1.18" ] runs-on: ${{ matrix.os }} steps: - name: setup Go ${{ matrix.go-version }} uses: actions/setup-go@v2 with: go-version: ${{ matrix.go-version }} - name: checkout uses: actions/checkout@v2 - name: test run: | make test ycat: name: ycat runs-on: ubuntu-latest steps: - name: setup Go uses: actions/setup-go@v2 with: go-version: 1.18 - name: checkout uses: actions/checkout@v2 - name: build run: | make ycat/build - name: run run: | ./ycat .github/workflows/go.yml coverage: name: Coverage runs-on: ubuntu-latest steps: - name: setup Go uses: actions/setup-go@v2 with: go-version: 1.18 - name: checkout uses: actions/checkout@v2 - name: measure coverage run: | make cover - uses: codecov/codecov-action@v2 with: fail_ci_if_error: true verbose: true ```
51818fe6-e6bb-4141-b718-a0dd2c4ed442
{ "language": "YAML" }
```yaml --- # Ansible playbook for BWAGIRIZA Burundi - hosts: localhost roles: - logs # - role: kalite # version: "0.16.8" # lang: ['en'] # - kiwix - role: zim_install zim_name: "wikipedia.fr wikipedia.rn wikipedia.sw gutenberg.fr vikidia.fr cest-pas-sorcier.fr tedxgeneva2014.fr tedxlausanne2012.fr tedxlausanne2013.fr tedxlausanne2014.fr tedxlausannechange2013.fr" ``` Add french to KAlite, disable ZIMs download.
```yaml --- # Ansible playbook for BWAGIRIZA Burundi - hosts: localhost roles: - logs # - role: kalite # version: "0.16.8" # lang: ['en','fr'] # - kiwix # - role: zim_install # zim_name: "wikipedia.fr wikipedia.rn wikipedia.sw gutenberg.fr vikidia.fr cest-pas-sorcier.fr tedxgeneva2014.fr tedxlausanne2012.fr tedxlausanne2013.fr tedxlausanne2014.fr tedxlausannechange2013.fr" ```
cd83c38b-d2b3-4ae2-86b1-d39caf5cd8c4
{ "language": "YAML" }
```yaml "3.9": "v3.9.0-devel" "3.8": "v3.8.0" "3.7": "v3.7.13" "3.6": "v3.6.15" "3.5": "v3.5.7" "3.4": "v3.4.11" "3.3": "v3.3.25" ``` Update 3.7 version to v3.7.14
```yaml "3.9": "v3.9.0-devel" "3.8": "v3.8.0" "3.7": "v3.7.14" "3.6": "v3.6.15" "3.5": "v3.5.7" "3.4": "v3.4.11" "3.3": "v3.3.25" ```
882e712d-b224-4f10-9b07-dddb846a0d2f
{ "language": "YAML" }
```yaml name: Merge me test dependencies! on: workflow_run: types: - completed workflows: # List all required workflow names here. - 'Run tests' - 'Test build package' - 'Run linters' jobs: merge-me: name: Merge me! runs-on: ubuntu-latest steps: - # It is often a desired behavior to merge only when a workflow execution # succeeds. This can be changed as needed. if: ${{ github.event.workflow_run.conclusion == 'success' }} name: Merge me! uses: ridedott/merge-me-action@v2.9.105 with: # Depending on branch protection rules, a manually populated # `GITHUB_TOKEN_WORKAROUND` secret with permissions to push to # a protected branch must be used. This secret can have an arbitrary # name, as an example, this repository uses `DOTTBOTT_TOKEN`. # # When using a custom token, it is recommended to leave the following # comment for other developers to be aware of the reasoning behind it: # # This must be used as GitHub Actions token does not support pushing # to protected branches. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} MERGE_METHOD: MERGE PRESET: DEPENDABOT_MINOR ENABLED_FOR_MANUAL_CHANGES: 'true' ``` Bump ridedott/merge-me-action from 2.9.105 to 2.9.107
```yaml name: Merge me test dependencies! on: workflow_run: types: - completed workflows: # List all required workflow names here. - 'Run tests' - 'Test build package' - 'Run linters' jobs: merge-me: name: Merge me! runs-on: ubuntu-latest steps: - # It is often a desired behavior to merge only when a workflow execution # succeeds. This can be changed as needed. if: ${{ github.event.workflow_run.conclusion == 'success' }} name: Merge me! uses: ridedott/merge-me-action@v2.9.107 with: # Depending on branch protection rules, a manually populated # `GITHUB_TOKEN_WORKAROUND` secret with permissions to push to # a protected branch must be used. This secret can have an arbitrary # name, as an example, this repository uses `DOTTBOTT_TOKEN`. # # When using a custom token, it is recommended to leave the following # comment for other developers to be aware of the reasoning behind it: # # This must be used as GitHub Actions token does not support pushing # to protected branches. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} MERGE_METHOD: MERGE PRESET: DEPENDABOT_MINOR ENABLED_FOR_MANUAL_CHANGES: 'true' ```
6f4eeb99-f327-4d45-a876-124370e8fed8
{ "language": "YAML" }
```yaml apiVersion: v1 kind: Pod metadata: name: kube-proxy namespace: kube-system spec: hostNetwork: true containers: - name: kube-proxy image: ${ hyperkube } command: - /hyperkube - proxy - --master=http://127.0.0.1:8080 securityContext: privileged: true volumeMounts: - mountPath: /etc/ssl/certs name: ssl-certs-host readOnly: true volumes: - hostPath: path: /usr/share/ca-certificates name: ssl-certs-host ``` Update Proxy to use Container
```yaml apiVersion: v1 kind: Pod metadata: name: kube-proxy namespace: kube-system # This annotation ensures that kube-proxy does not get evicted if the node # supports critical pod annotation based priority scheme. # Note that kube-proxy runs as a static pod so this annotation does NOT have # any effect on rescheduler (default scheduler and rescheduler are not # involved in scheduling kube-proxy). annotations: scheduler.alpha.kubernetes.io/critical-pod: '' labels: tier: node component: kube-proxy spec: hostNetwork: true containers: - name: kube-proxy image: gcr.io/google_containers/kube-proxy-amd64:v1.6.6 resources: requests: cpu: 100m command: - /bin/sh - -c - kube-proxy --master=http://127.0.0.1:8080 --cluster-cidr=10.244.0.0/14 --resource-container="" --v=2 --feature-gates=ExperimentalCriticalPodAnnotation=true securityContext: privileged: true volumeMounts: - mountPath: /etc/ssl/certs name: etc-ssl-certs readOnly: true - mountPath: /usr/share/ca-certificates name: usr-ca-certs readOnly: true - mountPath: /var/log name: varlog readOnly: false volumes: - hostPath: path: /usr/share/ca-certificates name: usr-ca-certs - hostPath: path: /etc/ssl/certs name: etc-ssl-certs - hostPath: path: /var/log name: varlog ```
95e577bb-6432-473b-afd4-cf6d76d52e6c
{ "language": "YAML" }
```yaml name: build cv2pdb on: [push, pull_request] env: # Path to the solution file relative to the root of the project. SOLUTION_FILE_PATH: src/cv2pdb.vcxproj # Configuration type to build. BUILD_CONFIGURATION: Release BUILD_PLATFORM: x64 BUILD_PLATFORM_TOOLSET: v142 jobs: build: runs-on: windows-latest steps: - uses: actions/checkout@v2 - name: Add MSBuild to PATH uses: microsoft/setup-msbuild@v1.0.2 - name: Build working-directory: ${{env.GITHUB_WORKSPACE}} run: msbuild /m /p:PlatformToolset=${{env.BUILD_PLATFORM_TOOLSET}} /p:Platform=${{env.BUILD_PLATFORM}} /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}} - name: Upload bin/ uses: actions/upload-artifact@v2 with: name: bin path: bin ``` Verify in the GitHub workflow that cv2pdb can handle GCC's output
```yaml name: build and test cv2pdb on: [push, pull_request] env: # Path to the solution file relative to the root of the project. SOLUTION_FILE_PATH: src/cv2pdb.vcxproj # Configuration type to build. BUILD_CONFIGURATION: Release BUILD_PLATFORM: x64 BUILD_PLATFORM_TOOLSET: v142 jobs: build: runs-on: windows-latest steps: - uses: actions/checkout@v2 - name: Add MSBuild to PATH uses: microsoft/setup-msbuild@v1.0.2 - name: Build working-directory: ${{env.GITHUB_WORKSPACE}} run: msbuild /m /p:PlatformToolset=${{env.BUILD_PLATFORM_TOOLSET}} /p:Platform=${{env.BUILD_PLATFORM}} /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}} - name: Upload bin/ uses: actions/upload-artifact@v2 with: name: bin path: bin test-with-g4w-sdk: runs-on: windows-latest needs: build steps: - name: Download bin/ uses: actions/download-artifact@v2 with: name: bin path: bin - uses: git-for-windows/setup-git-for-windows-sdk@v1 - name: verify using Git for Windows' GCC shell: bash run: | set -x && cat >hello.c <<-\EOF && #include <stdio.h> int main(int argc, char **argv) { printf("Hello, world\n"); return 0; } EOF gcc -g -o hello.exe hello.c && bin/${{env.BUILD_CONFIGURATION}}*/cv2pdb.exe hello.exe world.exe && ls -l hello* world* ```
1a7f8c97-5dcf-4215-9c02-d22549b9e1ed
{ "language": "YAML" }
```yaml name: Release Add-On on: push: branches: - main paths: - 'addOns/**/gradle.properties' jobs: release: name: Build and Release Add-On runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: fetch-depth: 0 persist-credentials: false - name: Setup Java uses: actions/setup-java@v1 with: java-version: 8 - name: Generate Release State run: ./gradlew :addOns:generateReleaseStateLastCommit - name: Build and Release Add-On env: ZAPBOT_TOKEN: ${{ secrets.ZAPBOT_TOKEN }} run: ./gradlew :addOns:releaseAddOn ``` Include zapbot Crowdin auth token for releases
```yaml name: Release Add-On on: push: branches: - main paths: - 'addOns/**/gradle.properties' jobs: release: name: Build and Release Add-On runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: fetch-depth: 0 persist-credentials: false - name: Setup Java uses: actions/setup-java@v1 with: java-version: 8 - name: Generate Release State run: ./gradlew :addOns:generateReleaseStateLastCommit - name: Build and Release Add-On env: ZAPBOT_TOKEN: ${{ secrets.ZAPBOT_TOKEN }} CROWDIN_AUTH_TOKEN: ${{ secrets.ZAPBOT_CROWDIN_TOKEN }} run: ./gradlew :addOns:releaseAddOn ```
da0796d5-a0a0-4f96-bcc6-77b867f9f768
{ "language": "YAML" }
```yaml name: Inflate netkans on: push: branches: - master pull_request: types: - opened - synchronize - reopened jobs: Inflate: runs-on: ubuntu-latest steps: - name: Get NetKAN repo uses: actions/checkout@v2 with: fetch-depth: 0 - name: Get CKAN-meta repo uses: actions/checkout@v2 with: repository: KSP-CKAN/CKAN-meta path: .CKAN-meta - name: Cache downloads if: ${{ github.event_name == 'pull_request' }} uses: actions/cache@v2 with: path: .cache key: downloads-${{ github.run_id }} restore-keys: | downloads- - name: Test modified netkans uses: KSP-CKAN/xKAN-meta_testing@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_PR_BASE_SHA: ${{ github.event.pull_request.base.sha }} GITHUB_EVENT_BEFORE: ${{ github.event.before }} with: source: commits diff meta root: .CKAN-meta pull request body: ${{ github.event.pull_request.body }} - name: Chmod cached files so actions/cache can read them run: sudo chmod -R a+r .cache ``` Remove GITHUB_ prefix from our env vars
```yaml name: Inflate netkans on: push: branches: - master pull_request: types: - opened - synchronize - reopened jobs: Inflate: runs-on: ubuntu-latest steps: - name: Get NetKAN repo uses: actions/checkout@v2 with: fetch-depth: 0 - name: Get CKAN-meta repo uses: actions/checkout@v2 with: repository: KSP-CKAN/CKAN-meta path: .CKAN-meta - name: Cache downloads if: ${{ github.event_name == 'pull_request' }} uses: actions/cache@v2 with: path: .cache key: downloads-${{ github.run_id }} restore-keys: | downloads- - name: Test modified netkans uses: KSP-CKAN/xKAN-meta_testing@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PR_BASE_SHA: ${{ github.event.pull_request.base.sha }} EVENT_BEFORE: ${{ github.event.before }} with: source: commits diff meta root: .CKAN-meta pull request body: ${{ github.event.pull_request.body }} - name: Chmod cached files so actions/cache can read them run: sudo chmod -R a+r .cache ```
3dc5a124-f415-41bb-8a45-ba7a8dc4f4fd
{ "language": "YAML" }
```yaml name: No Assertions on: workflow_dispatch: inputs: extra_resolve_options: description: "Extra Resolve Options" required: false schedule: - cron: "0 1 * * *" # 3 AM CET push: pull_request: jobs: ndebug: name: No Assertions uses: steinwurf/nodebug-action/.github/workflows/action.yml@3.0.0 with: extra_resolve_options: ${{ github.events.inputs.extra_resolve_options }} ``` Update No Assertions to new version 4.0.0
```yaml name: No Assertions on: workflow_dispatch: inputs: extra_resolve_options: description: "Extra Resolve Options" required: false schedule: - cron: "0 1 * * *" # 3 AM CET push: pull_request: jobs: ndebug: name: No Assertions uses: steinwurf/nodebug-action/.github/workflows/action.yml@4.0.0 with: extra_resolve_options: ${{ github.events.inputs.extra_resolve_options }} ```
535e3347-b5ff-4574-9e56-187cd3bd0cd5
{ "language": "YAML" }
```yaml name: Publish on: push: branches: [master] jobs: publish-npm: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: registry-url: https://registry.npmjs.org/ - run: yarn env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} - run: yarn run lerna publish from-package --yes env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} publish-gpr: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: registry-url: https://npm.pkg.github.com/ - run: yarn env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} - run: yarn run lerna publish from-package --yes env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} ``` Deploy action: revert git stash
```yaml name: Publish on: push: branches: [master] jobs: publish-npm: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: registry-url: https://registry.npmjs.org/ - run: yarn - run: git stash - run: yarn run lerna publish from-package --yes env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} publish-gpr: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: registry-url: https://npm.pkg.github.com/ - run: yarn - run: git stash - run: yarn run lerna publish from-package --yes env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} ```
19709c1b-41cd-4df6-aa17-375ffa6ce4cb
{ "language": "YAML" }
```yaml # See: # https://docs.github.com/en/free-pro-team@latest/actions/guides/publishing-java-packages-with-maven # https://central.sonatype.org/pages/apache-maven.html # https://github.com/actions/setup-java name: release on: workflow_dispatch: jobs: release: environment: release runs-on: ubuntu-latest steps: - name: Checkout sources uses: actions/checkout@v2 - name: Set up Maven Central repository uses: actions/setup-java@v1 with: java-version: 1.8 server-id: ossrh server-username: MAVEN_USERNAME # env variable to use for username in release server-password: MAVEN_PASSWORD # env variable to use for password in release gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable to use for passphrase in release - name: Release run: mvn -B release:prepare release:perform env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} ``` Add git user.name and user.email, rename environment
```yaml # See: # https://docs.github.com/en/free-pro-team@latest/actions/guides/publishing-java-packages-with-maven # https://central.sonatype.org/pages/apache-maven.html # https://github.com/actions/setup-java name: release on: workflow_dispatch: jobs: release: environment: maven_central runs-on: ubuntu-latest steps: - name: Checkout sources uses: actions/checkout@v2 - name: Set up Maven Central repository uses: actions/setup-java@v1 with: java-version: 1.8 server-id: ossrh server-username: MAVEN_USERNAME # env variable to use for username in release server-password: MAVEN_PASSWORD # env variable to use for password in release gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable to use for passphrase in release - name: Set up Git user run: | git config --global user.name "${{ secrets.GIT_USER_NAME }}" git config --global user.email "${{ secrets.GIT_USER_EMAIL }}" - name: Release run: mvn -B release:prepare release:perform env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} ```
ad6738b4-e51e-4e53-b795-818f815a0f8a
{ "language": "YAML" }
```yaml name: windows on: push: branches: - '*' tags-ignore: - '*' pull_request: jobs: perl: runs-on: windows-latest steps: - name: Set git to use LF run: | git config --global core.autocrlf false git config --global core.eol lf - uses: actions/checkout@v2 - name: Set up Perl run: | choco install strawberryperl echo "##[add-path]C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin" - name: perl -V run: perl -V - name: Install Dependencies run: curl -L https://cpanmin.us | perl - --installdeps . - name: Run Tests run: prove -l t t/mojo t/mojolicious ``` Fix Windows GitHub Action (GITHUB_PATH env vs add-path command)
```yaml name: windows on: push: branches: - '*' tags-ignore: - '*' pull_request: jobs: perl: runs-on: windows-latest steps: - name: Set git to use LF run: | git config --global core.autocrlf false git config --global core.eol lf - uses: actions/checkout@v2 - name: Set up Perl run: | choco install strawberryperl echo "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - name: perl -V run: perl -V - name: Install Dependencies run: curl -L https://cpanmin.us | perl - --installdeps . - name: Run Tests run: prove -l t t/mojo t/mojolicious ```
e7808559-f673-402f-a5f0-525fd2439a42
{ "language": "YAML" }
```yaml # ASP.NET Core # Build and test ASP.NET Core web applications targeting .NET Core. # Add steps that run tests, create a NuGet package, deploy, and more: # https://docs.microsoft.com/vsts/pipelines/languages/dotnet-core pool: vmImage: 'Ubuntu 16.04' variables: buildConfiguration: 'Release' steps: - script: dotnet build --configuration $(buildConfiguration) displayName: 'dotnet build $(buildConfiguration)' ``` Set up CI with Azure Pipelines
```yaml pool: vmImage: 'Ubuntu 16.04' variables: buildConfiguration: 'Release' steps: - script: dotnet build --configuration $(buildConfiguration) displayName: 'dotnet build $(buildConfiguration)' ```
e512febe-204a-4289-8a7d-f6634ce051c4
{ "language": "YAML" }
```yaml Categories: - Connectivity - Security License: Apache-2.0 AuthorName: Anton Tananaev AuthorEmail: anton.tananaev@gmail.com SourceCode: https://github.com/tananaev/passport-reader IssueTracker: https://github.com/tananaev/passport-reader/issues AutoName: e-Passport Reader Description: |- Android app that uses the NFC chip to communicate with an electronic passport. It supports action, so third party apps can use it to retrieve passport data. Please visit website for more information. The app is completely open source, so anyone is welcome to validate that it doesn't collect any personal information. Data is kept only in memory and removed as soon as you close the app. Passport data is never uploaded to any remote server. App had been successfully tested with Russian passport. It might not work with some other passports. If it doesn't work, please create GitHub issue to help me fix the issue instead of leaving negative feedback. RepoType: git Repo: https://github.com/tananaev/passport-reader Builds: - versionName: '2.1' versionCode: 16 commit: v2.1 subdir: app gradle: - yes scanignore: - app/src/main/assets/masterList ndk: r21d MaintainerNotes: masterList is a bundle of x509 certificates the scanner otherwise blocks AutoUpdateMode: None UpdateCheckMode: Tags CurrentVersion: '2.1' CurrentVersionCode: 16 ``` Update CurrentVersion of e-Passport Reader to 2.2 (17)
```yaml Categories: - Connectivity - Security License: Apache-2.0 AuthorName: Anton Tananaev AuthorEmail: anton.tananaev@gmail.com SourceCode: https://github.com/tananaev/passport-reader IssueTracker: https://github.com/tananaev/passport-reader/issues AutoName: e-Passport Reader Description: |- Android app that uses the NFC chip to communicate with an electronic passport. It supports action, so third party apps can use it to retrieve passport data. Please visit website for more information. The app is completely open source, so anyone is welcome to validate that it doesn't collect any personal information. Data is kept only in memory and removed as soon as you close the app. Passport data is never uploaded to any remote server. App had been successfully tested with Russian passport. It might not work with some other passports. If it doesn't work, please create GitHub issue to help me fix the issue instead of leaving negative feedback. RepoType: git Repo: https://github.com/tananaev/passport-reader Builds: - versionName: '2.1' versionCode: 16 commit: v2.1 subdir: app gradle: - yes scanignore: - app/src/main/assets/masterList ndk: r21d MaintainerNotes: masterList is a bundle of x509 certificates the scanner otherwise blocks AutoUpdateMode: None UpdateCheckMode: Tags CurrentVersion: '2.2' CurrentVersionCode: 17 ```
033f7d8d-9f5d-4868-9e8f-749f83479489
{ "language": "YAML" }
```yaml variables: CI: 'true' trigger: - master jobs: - job: 'Test' pool: vmImage: 'Ubuntu-16.04' strategy: matrix: Python352: python.version: '3.5.2' toxenv: 'py35-asyncio' Python35: python.version: '3.5' toxenv: 'py35-asyncio' Python36: python.version: '3.6' toxenv: 'py36-asyncio' Python37: python.version: '3.7' toxenv: 'py37-asyncio' Python352-UVLoop: python.version: '3.5.2' toxenv: 'py35-uvloop' Python35-UVLoop: python.version: '3.5' toxenv: 'py35-uvloop' Python36-UVLoop: python.version: '3.6' toxenv: 'py36-uvloop' Python37-UVLoop: python.version: '3.7' toxenv: 'py37-uvloop' steps: - task: UsePythonVersion@0 displayName: 'Use Python $(python.version)' inputs: versionSpec: '$(python.version)' architecture: 'x64' - script: pip install tox tox-venv displayName: 'Install Tox' - script: tox -e $(toxenv) displayName: 'Run Tox' ``` Disable 3.5.2 tests on Azure for now
```yaml variables: CI: 'true' trigger: - master jobs: - job: 'Test' pool: vmImage: 'Ubuntu-16.04' strategy: matrix: # Python352: # python.version: '3.5.2' # toxenv: 'py35-asyncio' Python35: python.version: '3.5' toxenv: 'py35-asyncio' Python36: python.version: '3.6' toxenv: 'py36-asyncio' Python37: python.version: '3.7' toxenv: 'py37-asyncio' # Python352-UVLoop: # python.version: '3.5.2' # toxenv: 'py35-uvloop' Python35-UVLoop: python.version: '3.5' toxenv: 'py35-uvloop' Python36-UVLoop: python.version: '3.6' toxenv: 'py36-uvloop' Python37-UVLoop: python.version: '3.7' toxenv: 'py37-uvloop' steps: - task: UsePythonVersion@0 displayName: 'Use Python $(python.version)' inputs: versionSpec: '$(python.version)' architecture: 'x64' - script: pip install tox tox-venv displayName: 'Install Tox' - script: tox -e $(toxenv) displayName: 'Run Tox' ```
63fce28b-09c0-4802-8a81-be6884266ebf
{ "language": "YAML" }
```yaml name: $(Date:yyyy-MM-dd)-build-$(Rev:r) jobs: - template: dotnetcore.job.yml parameters: jobName: windows jobDisplayName: Windows (x64) pool: Hosted VS2017 configuration: $(BuildConfiguration) runtimeId: win-x64 enableCodeCoverage: true selfContained: true artifactPrefix: thnetii-dotnet-common ``` Use rev instead of build in CI Build name
```yaml name: $(Date:yyyy-MM-dd)-rev-$(Rev:r) jobs: - template: dotnetcore.job.yml parameters: jobName: windows jobDisplayName: Windows (x64) pool: Hosted VS2017 configuration: $(BuildConfiguration) runtimeId: win-x64 enableCodeCoverage: true selfContained: true artifactPrefix: thnetii-dotnet-common ```
231beec5-24f8-4a91-9d12-6b5d919aa7ee
{ "language": "YAML" }
```yaml homepage: '' changelog-type: '' hash: 97adc88079779a0479c99ae7dbe0f8d0fe632ea40c6875aee4b22db0c4689c85 test-bench-deps: {} maintainer: nick.rudnick@gmail.com synopsis: prettier function composition by (°) changelog: '' basic-deps: base: ! '>=0 && <5' all-versions: - '1.0.1' author: Nick Rudnick latest: '1.0.1' description-type: haddock description: ! 'Yes, I am afraid it is completely trivial and syntactic. However, the use of ''.'' is quite overloaded, so that e.g. character search becomes a problem. Pretty looking & generally available at the keyboard, ''°'' solves this. Possibly the most simple Hackage package ever. :-P' license-name: BSD3 ``` Update from Hackage at 2016-05-13T01:19:59+0000
```yaml homepage: '' changelog-type: text hash: 98f028b5dc32590dcef68212e62d3fcb5a9ae619dcd79ff5c3dcf70785e0f158 test-bench-deps: {} maintainer: nick.rudnick@gmail.com synopsis: prettier function composition by (°) changelog: ! '2.0.0 (°) now infixr 9 instead of infixl 9 (2016-5-6) ' basic-deps: base: ! '>=0 && <5' all-versions: - '1.0.1' - '2.0.0' author: Nick Rudnick latest: '2.0.0' description-type: haddock description: ! 'Yes, I am afraid it is completely trivial and syntactic. However, the use of ''.'' is quite overloaded, so that e.g. character search becomes a problem. Pretty looking & generally available at the keyboard, ''°'' solves this. Possibly the most simple Hackage package ever. :-P' license-name: BSD3 ```
251010e3-dc70-4e4b-9dd0-e8753907306a
{ "language": "YAML" }
```yaml # SQLite version 3.x # gem install sqlite3 # # Ensure the SQLite 3 gem is defined in your Gemfile # gem 'sqlite3' # default_sqlite: &default_sqlite adapter: sqlite3 pool: 5 timeout: 5000 development: <<: *default_sqlite database: db/development.sqlite3 # Warning: The database defined as "test" will be erased and # re-generated from your development database when you run "rake". # Do not set this db to the same as development or production. test: <<: *default_sqlite database: db/test.sqlite3 default_postgres: &default_postgres adapter: postgresql encoding: unicode pool: 5 username: <%= ENV["DB_USERNAME"] %> password: <%= ENV["DB_PASSWORD"] %> production: <<: *default_postgres database: geghard_PRODUCTION staging: <<: *default_postgres database: geghard_STAGING ``` Reconfigure so that we can use PGSQL in all envs
```yaml # SQLite version 3.x # gem install sqlite3 # # Ensure the SQLite 3 gem is defined in your Gemfile # gem 'sqlite3' # # Warning: The database defined as "test" will be erased and # re-generated from your development database when you run "rake". # Do not set this db to the same as development or production. default_postgres: &default_postgres adapter: postgresql encoding: unicode pool: 5 username: <%= ENV["DB_USERNAME"] %> password: <%= ENV["DB_PASSWORD"] %> development_postgres: &development_postgres <<: *default_postgres host: localhost username: postgres password: password production: <<: *default_postgres database: geghard_PRODUCTION staging: <<: *default_postgres database: geghard_STAGING development: <<: *development_postgres database: geghard_DEVELOPMENT test: <<: *development_postgres database: geghard_TEST ```
44a5f3b8-228f-4771-8470-32d1ca7b311a
{ "language": "YAML" }
```yaml # https://github.com/Seldaek/monolog/blob/master/doc/02-handlers-formatters-processors.md logger_name: 'Slim3Skeleton' StreamHandler: &StreamHandler enable: true level: DEBUG NativeMailerHandler: &NativeMailerHandler enable: false level: ERROR to: '' subject: 'Slim 3 Skeleton Error' from: { 'no-reply@localhost.com': 'Slim 3 Skeleton' } SwiftMailerHandler: &SwiftMailerHandler enable: false level: ERROR to: '' subject: 'Slim 3 Skeleton Error' from: { 'no-reply@localhost.com': 'Slim 3 Skeleton' } ``` Fix in Monolog config file
```yaml # https://github.com/Seldaek/monolog/blob/master/doc/02-handlers-formatters-processors.md logger_name: 'Slim3Skeleton' StreamHandler: enable: true level: DEBUG NativeMailerHandler: enable: false level: ERROR to: '' subject: 'Slim 3 Skeleton Error' from: { 'no-reply@localhost.com': 'Slim 3 Skeleton' } SwiftMailerHandler: enable: false level: ERROR to: '' subject: 'Slim 3 Skeleton Error' from: { 'no-reply@localhost.com': 'Slim 3 Skeleton' } ```
cfbcac10-e025-4f86-ade3-74dc5f9fba0b
{ "language": "YAML" }
```yaml command: php -m: exit-status: 0 stdout: - '[PHP Modules]' - apcu - bcmath - bz2 - calendar - Core - ctype - curl - date - dom - exif - fileinfo - filter - ftp - hash - iconv - imagick - json - sodium - libxml - mbstring - memcached - mongodb - openssl - pcre - posix - readline - redis - Reflection - session - shmop - SimpleXML - sockets - SPL - standard - swoole - sysvmsg - sysvsem - sysvshm - tokenizer - xml - xmlreader - xmlwriter - Zend OPcache - zip - zlib - '[Zend Modules]' - Xdebug - Zend OPcache stderr: [] timeout: 10000 ``` Fix tests - Xdebug doesn't compile on PHP 7.2 yet
```yaml command: php -m: exit-status: 0 stdout: - '[PHP Modules]' - apcu - bcmath - bz2 - calendar - Core - ctype - curl - date - dom - exif - fileinfo - filter - ftp - hash - iconv - imagick - json - sodium - libxml - mbstring - memcached - mongodb - openssl - pcre - posix - readline - redis - Reflection - session - shmop - SimpleXML - sockets - SPL - standard - swoole - sysvmsg - sysvsem - sysvshm - tokenizer - xml - xmlreader - xmlwriter - Zend OPcache - zip - zlib - '[Zend Modules]' - Zend OPcache stderr: [] timeout: 10000 ```
8d1511a5-a4bf-4dd5-9ec1-f04b0eb7af67
{ "language": "YAML" }
```yaml name: Run Starminder on: push: branches: - main schedule: - cron: "13 10 * * *" # adjust to your liking jobs: build: name: Run Starminder Script runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v2 - name: Set up Python 3.9 uses: actions/setup-python@v2 with: python-version: 3.9 - name: Install dependencies run: | python -m pip install --upgrade pip pip install poetry poetry config virtualenvs.create false poetry install --no-dev --no-root --no-interaction if [ -f custom_requirements.txt ]; then poetry run pip install -r custom_requirements.txt fi - name: Run script env: STARMINDER_COUNT: ${{ secrets.STARMINDER_COUNT }} STARMINDER_RECIPIENT: ${{ secrets.STARMINDER_RECIPIENT }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_FROM: ${{ secrets.AWS_FROM }} GH_TOKEN: ${{ secrets.GH_TOKEN }} run: | make run ``` Remove push to main trigger
```yaml name: Run Starminder on: schedule: - cron: "13 10 * * *" # adjust to your liking jobs: build: name: Run Starminder Script runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v2 - name: Set up Python 3.9 uses: actions/setup-python@v2 with: python-version: 3.9 - name: Install dependencies run: | python -m pip install --upgrade pip pip install poetry poetry config virtualenvs.create false poetry install --no-dev --no-root --no-interaction if [ -f custom_requirements.txt ]; then poetry run pip install -r custom_requirements.txt fi - name: Run script env: STARMINDER_COUNT: ${{ secrets.STARMINDER_COUNT }} STARMINDER_RECIPIENT: ${{ secrets.STARMINDER_RECIPIENT }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_FROM: ${{ secrets.AWS_FROM }} GH_TOKEN: ${{ secrets.GH_TOKEN }} run: | make run ```
28d8cea8-fc0d-4cc1-aab9-ed3fb7ec9ee7
{ "language": "YAML" }
```yaml name: Trigger the deployment action in another repo on: workflow_dispatch: push: branches: [ "master" ] jobs: trigger_deploy: runs-on: ubuntu-latest steps: - name: Send the Repository Dispatch event uses: peter-evans/repository-dispatch@v2.0.0 with: token: ${{ secrets.TRIGGER_ACTION_ACCESS_TOKEN }} repository: ${{ secrets.DEPLOYMENT_ACTION_REPO }} event-type: unblock-youku ``` Change the event-type to deploy-unblock-youku
```yaml name: Trigger the deployment action in another repo on: workflow_dispatch: push: branches: [ "master" ] jobs: trigger_deploy: runs-on: ubuntu-latest steps: - name: Send the Repository Dispatch event uses: peter-evans/repository-dispatch@v2.0.0 with: token: ${{ secrets.TRIGGER_ACTION_ACCESS_TOKEN }} repository: ${{ secrets.DEPLOYMENT_ACTION_REPO }} event-type: deploy-unblock-youku ```
a853dd83-1593-4ffb-8894-0c46bcc5809a
{ "language": "YAML" }
```yaml language: java jdk: - oraclejdk8 matrix: include: - os: linux - os: osx osx_image: xcode9.3 ``` Use OpenJDK and trusty Linux.
```yaml language: java matrix: include: - os: linux dist: trusty jdk: - openjdk8 - os: osx osx_image: xcode9.3 jdk: - oraclejdk8 ```
befb10b2-5797-49ca-81ca-f532529b3caa
{ "language": "YAML" }
```yaml language: ruby cache: bundler script: - bundle exec rake - bundle exec rspec - bundle exec cucumber rvm: - 2.0.0 ``` Remove Cucumber from Travis config, already covered by Rake
```yaml language: ruby cache: bundler script: - bundle exec rake - bundle exec rspec rvm: - 2.0.0 ```
13a9601e-f056-4645-8b0c-105e7026cefa
{ "language": "YAML" }
```yaml language: cpp sudo: required dist: trusty compiler: - gcc os: - linux before_install: - sudo apt-get -qq update - sudo apt-get install -y git - sudo apt-get install -y libboost-all-dev - sudo apt-get install -y libpqxx-3.1 libpqxx3-dev - sudo apt-get install -y libconfig++ - sudo apt-get install -y cmake - sudo apt-get install -y libtinyxml2-dev - sudo apt-get install -y doxygen - sudo apt-get install -y root-system before_script: - mkdir build - cd build - cmake .. script: make all tests ``` Update download_data.sh for non-interactive use
```yaml language: cpp sudo: required dist: trusty compiler: - gcc os: - linux before_install: - sudo apt-get -qq update - sudo apt-get install -y git - sudo apt-get install -y sshpass - sudo apt-get install -y libboost-all-dev - sudo apt-get install -y libpqxx-3.1 libpqxx3-dev - sudo apt-get install -y libconfig++ - sudo apt-get install -y cmake - sudo apt-get install -y libtinyxml2-dev - sudo apt-get install -y doxygen - sudo apt-get install -y root-system before_script: - sshpass -p "${KOZA_PASSWORD}" scp ${KOZA_USERNAME}@koza.if.uj.edu.pl:/home/framework_configs/configDB.cfg ./DBHandler/Config/ - sshpass -p "${KOZA_PASSWORD}" scp ${KOZA_USERNAME}@koza.if.uj.edu.pl:/home/framework_configs/configDB.cfg.koza ./DBHandler/Config/ - sshpass -p "${KOZA_PASSWORD}" scp ${KOZA_USERNAME}@koza.if.uj.edu.pl:/home/framework_configs/ReadMe.txt ./DBHandler/Config/ - mkdir build - cd build - cmake .. script: make all tests ```
0f31bf0c-1bb5-4514-ba7e-900b1af6b253
{ "language": "YAML" }
```yaml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 - 7.3 - nightly - hhvm sudo: false env: global: - COMPOSER_DISABLE_XDEBUG_WARN=1 matrix: fast_finish: true include: - php: 5.3.3 dist: precise - php: 5.3 dist: precise allow_failures: - php: nightly before_script: - if [ "$TRAVIS_PHP_VERSION" = "5.3.3" ]; then composer config disable-tls true; composer config secure-http false; fi - travis_retry composer install --prefer-source --no-interaction script: composer test after_script: - if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi - if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover reports/coverage.xml; fi notifications: irc: channels: - "chat.freenode.net#wikimedia-dev" template: - "%{repository}#%{build_number} (%{branch} - %{commit} %{author}): %{message} - %{build_url}" ``` Drop PHP 5.3 and hhvm testing
```yaml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 - 7.3 - nightly sudo: false env: global: - COMPOSER_DISABLE_XDEBUG_WARN=1 matrix: fast_finish: true allow_failures: - php: nightly before_script: - travis_retry composer install --prefer-source --no-interaction script: composer test after_script: - if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi - if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover reports/coverage.xml; fi notifications: irc: channels: - "chat.freenode.net#wikimedia-dev" template: - "%{repository}#%{build_number} (%{branch} - %{commit} %{author}): %{message} - %{build_url}" ```
61ca9993-8351-4425-a8ef-f03824489075
{ "language": "YAML" }
```yaml 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 ``` Use zef instead of panda
```yaml 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 ```
7be772b8-a2e3-4947-8d25-51388eb759f7
{ "language": "YAML" }
```yaml sudo: required services: - docker language: node_js node_js: - node script: - npm run lint - npm run generate-coverage - npm run check-coverage - npm run upload-coverage-coveralls - npm run upload-coverage-codacy deploy: - docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" - chmod +x scripts/* - ./scripts/docker_ci.sh ``` Use after_script instead of deploy
```yaml sudo: required services: - docker language: node_js node_js: - node script: - npm run lint - npm run generate-coverage - npm run check-coverage - npm run upload-coverage-coveralls - npm run upload-coverage-codacy after_script: - docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" - chmod +x scripts/* - ./scripts/docker_ci.sh ```
d63a472b-5523-4c83-afcf-94c19e749813
{ "language": "YAML" }
```yaml language: rust rust: - stable - beta - nightly matrix: allow_failures: - rust: stable - rust: beta ``` Stop running tests on stable
```yaml language: rust rust: - beta - nightly matrix: allow_failures: - rust: beta ```
96d621f6-9f49-4069-9980-72f373eba239
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.0.0 script: - bundle exec jekyll build - bundle exec htmlproof ./_site env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer cache: bundler ``` Update htmlproof check to ignore LinkedIn URLs since they return a response code of 999
```yaml language: ruby rvm: - 2.0.0 script: - bundle exec jekyll build - bundle exec htmlproof ./_site --url-ignore /linkedin\.com/ env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer cache: bundler ```
3bc74216-7c11-4e63-ac30-94e79a13202a
{ "language": "YAML" }
```yaml go_import_path: github.com/cloudflare/unsee jobs: include: - stage: Lint docs language: node_js node_js: "8" cache: directories: - node_modules # install defaults to "npm install", which is done via make install: [] script: make lint-docs - stage: Test Go code language: go go: "1.9.2" before_script: - make mock-assets cache: directories: - vendor script: make test-go - stage: Test JavaScript code language: node_js node_js: "8" env: - NODE_ENV=test cache: directories: - node_modules # install defaults to "npm install", which is done via make install: [] script: make test-js - stage: Lint Go code language: go go: "1.9.2" script: make lint-go - stage: Lint JavaScript code language: node_js node_js: "8" cache: directories: - node_modules # install defaults to "npm install", which is done via make install: [] script: make lint-js - stage: Build Docker image sudo: true addons: apt: packages: - docker-ce script: make docker-image ``` Use YAML anchors to deduplicate common stage variables
```yaml go_import_path: github.com/cloudflare/unsee defaults_go: &DEFAULTS_GO language: go go: "1.9.2" cache: directories: - vendor defaults_js: &DEFAULTS_JS language: node_js node_js: "8" # install defaults to "npm install", which is done via make install: [] cache: directories: - node_modules jobs: include: - stage: Lint docs <<: *DEFAULTS_JS script: make lint-docs - stage: Test Go code <<: *DEFAULTS_GO before_script: - make mock-assets script: make test-go - stage: Test JavaScript code <<: *DEFAULTS_JS env: - NODE_ENV=test script: make test-js - stage: Lint Go code <<: *DEFAULTS_GO script: make lint-go - stage: Lint JavaScript code <<: *DEFAULTS_JS script: make lint-js - stage: Build Docker image sudo: true addons: apt: packages: - docker-ce script: make docker-image ```
d8bbfa56-7fbf-4e51-9c34-745eb3ec481a
{ "language": "YAML" }
```yaml after_script: - NODE_ENV=test - istanbul cover ./node_modules/mocha/bin/_mocha - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js - rm -rf ./coverage language: node_js node_js: - stable sudo: false ``` Add LTS test scenario for Travis
```yaml after_script: - NODE_ENV=test - istanbul cover ./node_modules/mocha/bin/_mocha - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js - rm -rf ./coverage language: node_js node_js: - stable - 4.2.2 sudo: false ```
2d933c4d-2b64-4b56-a43d-bf1e54b85893
{ "language": "YAML" }
```yaml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "pypy" - "pypy3" env: - REQUIREMENTS=lowest - REQUIREMENTS=release matrix: exclude: - python: "3.2" env: REQUIREMENTS=lowest - python: "3.3" env: REQUIREMENTS=lowest - python: "3.4" env: REQUIREMENTS=lowest - python: "pypy3" env: REQUIREMENTS=lowest include: - python: "2.7" env: - JYTHON=true - REQUIREMENTS=lowest - python: "2.7" env: - JYTHON=true - REQUIREMENTS=release before_install: # Setting up Jython - chmod +x ./.scripts/jython_env.sh - ./.scripts/jython_env.sh install: - pip install tox script: - echo "Python interpreter: " $PYTHON_EXE - tox -e $(echo py$TRAVIS_PYTHON_VERSION | tr -d . | sed -e 's/pypypy/pypy/')-$REQUIREMENTS``` Fix on the config file.
```yaml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "pypy" - "pypy3" env: - REQUIREMENTS=lowest - REQUIREMENTS=release matrix: exclude: - python: "3.2" env: REQUIREMENTS=lowest - python: "3.3" env: REQUIREMENTS=lowest - python: "3.4" env: REQUIREMENTS=lowest - python: "pypy3" env: REQUIREMENTS=lowest include: - python: "2.7" env: - JYTHON=true - REQUIREMENTS=lowest - python: "2.7" env: - JYTHON=true - REQUIREMENTS=release before_install: # Setting up Jython - chmod +x ./.scripts/jython_env.sh - ./.scripts/jython_env.sh install: - pip install tox script: - echo 'Python interpreter is ' $PYTHON_EXE - tox -e $(echo py$TRAVIS_PYTHON_VERSION | tr -d . | sed -e 's/pypypy/pypy/')-$REQUIREMENTS```
b796e7cf-f8dc-4617-8e7c-888ab5764e2d
{ "language": "YAML" }
```yaml language: python python: - 2.7 branches: only: - master install: - pip install -r requirements.txt - pip install -r requirements-test.txt script: - py.test after_success: - pip install python-coveralls - coveralls ``` Add current dir to PYTHONPATH
```yaml language: python python: - 2.7 branches: only: - master install: - pip install -r requirements.txt - pip install -r requirements-test.txt - export PYTHONPATH=$PYTHONPATH:. script: - py.test after_success: - pip install python-coveralls - coveralls ```
d6eecaea-f452-43e9-886f-0e9ed6523d70
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.0.0 - 2.1 - 2.2 - 2.3.0 - 2.4.0 - jruby-9.0.5.0 notifications: email: on_success: never sudo: false env: global: # If changing this number, please also change it in `test/test_helper.rb`. - STRIPE_MOCK_VERSION=0.16.0 cache: directories: - stripe-mock before_install: # Unpack and start stripe-mock so that the test suite can talk to it - | if [ ! -d "stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}" ]; then mkdir -p stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}/ curl -L "https://github.com/stripe/stripe-mock/releases/download/v${STRIPE_MOCK_VERSION}/stripe-mock_${STRIPE_MOCK_VERSION}_linux_amd64.tar.gz" -o "stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}_linux_amd64.tar.gz" tar -zxf "stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}_linux_amd64.tar.gz" -C "stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}/" fi - | stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}/stripe-mock > /dev/null & STRIPE_MOCK_PID=$! script: - bundle exec rake ``` Add Ruby 2.5 to test matrix + use aliases
```yaml language: ruby rvm: - 2.0 - 2.1 - 2.2 - 2.3 - 2.4 - 2.5 - jruby-9.0.5.0 notifications: email: on_success: never sudo: false env: global: # If changing this number, please also change it in `test/test_helper.rb`. - STRIPE_MOCK_VERSION=0.16.0 cache: directories: - stripe-mock before_install: # Unpack and start stripe-mock so that the test suite can talk to it - | if [ ! -d "stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}" ]; then mkdir -p stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}/ curl -L "https://github.com/stripe/stripe-mock/releases/download/v${STRIPE_MOCK_VERSION}/stripe-mock_${STRIPE_MOCK_VERSION}_linux_amd64.tar.gz" -o "stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}_linux_amd64.tar.gz" tar -zxf "stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}_linux_amd64.tar.gz" -C "stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}/" fi - | stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}/stripe-mock > /dev/null & STRIPE_MOCK_PID=$! script: - bundle exec rake ```
76b144a7-804f-48d1-a29b-0e4f72310c27
{ "language": "YAML" }
```yaml language: node_js node_js: - '8' - '10' - '11' - '12' script: node run_tests.js notifications: email: false irc: - irc.freenode.org#statsd deploy: provider: npm email: elliot@lybrary.io api_key: secure: deHm/dx0AJoSpkgbi+480BbC8Qxsv5vf4TPfMqM8uGYicj6qMJBjG7AZtCUIcJ0mSEoc9Zf79jOJCeWC53CWziQX+D+AXDC/8RGlqtx1h1zgpM6m1NonceqUt9wN/tVG1eNa/22WrerMA3F2rxo5QtY3rMxGMlJjCYOwyFR++eM= on: tags: true repo: statsd/statsd ``` Update CI to use current node lts versions
```yaml language: node_js node_js: - '10' - '12' - '14' script: node run_tests.js notifications: email: false irc: - irc.freenode.org#statsd deploy: provider: npm email: elliot@lybrary.io api_key: secure: deHm/dx0AJoSpkgbi+480BbC8Qxsv5vf4TPfMqM8uGYicj6qMJBjG7AZtCUIcJ0mSEoc9Zf79jOJCeWC53CWziQX+D+AXDC/8RGlqtx1h1zgpM6m1NonceqUt9wN/tVG1eNa/22WrerMA3F2rxo5QtY3rMxGMlJjCYOwyFR++eM= on: tags: true repo: statsd/statsd ```
23379b39-9297-4e87-ad66-d22b4b83b01b
{ "language": "YAML" }
```yaml language: go go: - 1.9.1 - 1.8.4 sudo: false script: - go vet ./... - go test ./... ``` Build against 1.9.2 and 1.8.5
```yaml language: go go: - 1.9.2 - 1.8.5 sudo: false script: - go vet ./... - go test ./... ```
a6b66c9c-ed6b-4d72-9376-ad292f60674a
{ "language": "YAML" }
```yaml language: php php: - 5.3 env: - DB=MYSQL CORE_RELEASE=3.0 matrix: include: - php: 5.3 env: DB=PGSQL CORE_RELEASE=3.0 - php: 5.3 env: DB=SQLITE CORE_RELEASE=3.0 - php: 5.4 env: DB=MYSQL CORE_RELEASE=3.0 - php: 5.5 env: DB=MYSQL CORE_RELEASE=3.0 allow_failures: - php: 5.5 env: DB=MYSQL CORE_RELEASE=3.0 before_script: - git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support - php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss - cd ~/builds/ss script: - phpunit cms/tests/ branches: except: - 2.1 - 2.2 - 2.3 - 2.4 - post-2.4 - translation-staging notifications: irc: channels: - "irc.freenode.org#silverstripe"``` Remove PHP 5.5 from allowed failures
```yaml language: php php: - 5.3 env: - DB=MYSQL CORE_RELEASE=3.0 matrix: include: - php: 5.3 env: DB=PGSQL CORE_RELEASE=3.0 - php: 5.3 env: DB=SQLITE CORE_RELEASE=3.0 - php: 5.4 env: DB=MYSQL CORE_RELEASE=3.0 - php: 5.5 env: DB=MYSQL CORE_RELEASE=3.0 before_script: - git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support - php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss - cd ~/builds/ss script: - phpunit cms/tests/ branches: except: - 2.1 - 2.2 - 2.3 - 2.4 - post-2.4 - translation-staging notifications: irc: channels: - "irc.freenode.org#silverstripe" ```
71e9d6e9-33df-4613-83d7-ae4e18f3fba4
{ "language": "YAML" }
```yaml language: go go: - 1.9 - "1.10" - master addons: apt: packages: - rpm - snapd env: - PATH=/snap/bin:$PATH install: - go get -d -v ./... - sudo snap install snapcraft --classic script: - go get golang.org/x/tools/cmd/cover - go get github.com/mattn/goveralls - go test -v -covermode=count -coverprofile=coverage.out - goveralls -coverprofile=coverage.out -service=travis-ci -repotoken=$COVERALLS_TOKEN deploy: provider: script skip_cleanup: true script: curl -sL https://git.io/goreleaser | bash on: tags: true condition: $TRAVIS_GO_VERSION = "1.10" ``` Remove coverage.out at the end of the script
```yaml language: go go: - 1.9 - "1.10" - master addons: apt: packages: - rpm - snapd env: - PATH=/snap/bin:$PATH install: - go get -d -v ./... - sudo snap install snapcraft --classic script: - go get golang.org/x/tools/cmd/cover - go get github.com/mattn/goveralls - go test -v -covermode=count -coverprofile=coverage.out - goveralls -coverprofile=coverage.out -service=travis-ci -repotoken=$COVERALLS_TOKEN - rm -f coverage.out deploy: provider: script skip_cleanup: true script: curl -sL https://git.io/goreleaser | bash on: tags: true condition: $TRAVIS_GO_VERSION = "1.10" ```
cf7ed627-c2bf-4290-b6bd-ba4e504ce4ec
{ "language": "YAML" }
```yaml sudo: false language: java jdk: - oraclejdk7 - oraclejdk8 env: matrix: - NEO_VERSION=2.0.5 - NEO_VERSION=2.1.8 - NEO_VERSION=2.2.10 EXTRA_PROFILES=-Pwith-neo4j-io - NEO_VERSION=2.3.5 EXTRA_PROFILES=-Pwith-neo4j-io install: true script: mvn clean test -Dneo4j.version=${NEO_VERSION} ${EXTRA_PROFILES} after_success: - "[ ${TRAVIS_PULL_REQUEST} = 'false' ] && [ ${TRAVIS_BRANCH} = 'master' ] && mvn clean deploy -DskipTests --settings ./deploy-settings.xml" ``` Test against latest 2.3.x version
```yaml sudo: false language: java jdk: - oraclejdk7 - oraclejdk8 env: matrix: - NEO_VERSION=2.0.5 - NEO_VERSION=2.1.8 - NEO_VERSION=2.2.10 EXTRA_PROFILES=-Pwith-neo4j-io - NEO_VERSION=2.3.6 EXTRA_PROFILES=-Pwith-neo4j-io install: true script: mvn clean test -Dneo4j.version=${NEO_VERSION} ${EXTRA_PROFILES} after_success: - "[ ${TRAVIS_PULL_REQUEST} = 'false' ] && [ ${TRAVIS_BRANCH} = 'master' ] && mvn clean deploy -DskipTests --settings ./deploy-settings.xml" ```
1ea4a906-2265-4bf8-9846-4833dc16820e
{ "language": "YAML" }
```yaml sudo: false language: python python: - "2.7" branches: only: - staging - master install: # for fontmake - git clone https://github.com/googlei18n/fontmake.git - cd fontmake - pip install -r requirements.txt - python setup.py install - cd .. # for fontdiff - wget https://github.com/googlei18n/fontdiff/releases/download/v0.1.1/fontdiff-linux.zip - unzip fontdiff-linux.zip - mv fontdiff-linux/fontdiff . - git clone https://github.com/googlei18n/nototools.git script: - bash ./build_travis.sh ``` Install notodiff as part of setup
```yaml sudo: false language: python python: - "2.7" branches: only: - staging - master install: # for fontmake - git clone https://github.com/googlei18n/fontmake.git - cd fontmake - pip install -r requirements.txt - python setup.py install - cd .. # for notodiff - git clone https://github.com/googlei18n/nototools.git - cd nototools - python setup.py install - cd .. # for fontdiff - wget https://github.com/googlei18n/fontdiff/releases/download/v0.1.1/fontdiff-linux.zip - unzip fontdiff-linux.zip - mv fontdiff-linux/fontdiff . script: - bash ./build_travis.sh ```
f27f3bb4-1a69-4bca-ba87-5367f286f781
{ "language": "YAML" }
```yaml language: c script: make && make check sudo: required dist: trusty compiler: - clang - gcc before_install: - sudo apt-get -qq update - sudo apt-get install -y libyajl-dev libyaml-dev ``` Use apt addon for Travis
```yaml language: c script: make && make check sudo: required dist: trusty compiler: - clang - gcc addons: apt: packages: - libyajl-dev - libyaml-dev ```
4f77c24a-6e59-40f1-8137-f5ffa3d7513d
{ "language": "YAML" }
```yaml sudo: false language: go go: - 1.2 - 1.3 - 1.4 - 1.5 - 1.6 - tip before_install: - go get github.com/axw/gocov/gocov - go get github.com/mattn/goveralls - if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi script: - cd $TRAVIS_BUILD_DIR/dnsimple - "$HOME/gopath/bin/goveralls -v -service=travis-ci" matrix: allow_failures: - go: tip notifications: slack: secure: Dtb0Bf3AlAxeycfJuli46P8kG4B1at89vtMKbLKKGMwgimAWAKayNjJyuM+CaXtSiqeXOZqypKo9ScAjitQk/UTiE/NkScEZgT9wY+E0Cr+OZKBbIOLfKmFBi6+sjJUdJlVpA8aLqINOoeRH0sc6P5NE+g4StXl0C/M4PLBBfkI= ``` Disable Coverall as it randomly fails
```yaml sudo: false language: go go: - 1.2 - 1.3 - 1.4 - 1.5 - 1.6 - tip # before_install: # - go get github.com/axw/gocov/gocov # - go get github.com/mattn/goveralls # - if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi # script: # - cd $TRAVIS_BUILD_DIR/dnsimple # - "$HOME/gopath/bin/goveralls -v -service=travis-ci" matrix: allow_failures: - go: tip notifications: slack: secure: Dtb0Bf3AlAxeycfJuli46P8kG4B1at89vtMKbLKKGMwgimAWAKayNjJyuM+CaXtSiqeXOZqypKo9ScAjitQk/UTiE/NkScEZgT9wY+E0Cr+OZKBbIOLfKmFBi6+sjJUdJlVpA8aLqINOoeRH0sc6P5NE+g4StXl0C/M4PLBBfkI= ```
a146f9ec-d375-4777-9545-1790ad3748d6
{ "language": "YAML" }
```yaml language: c++ sudo: required compiler: - gcc before_install: - sudo apt-get install software-properties-common - sudo add-apt-repository ppa:george-edison55/cmake-3.x - sudo apt-get update - sudo apt-get upgrade - sudo apt-get install libboost-all-dev script: - mkdir build && cd build && cmake .. && make ``` Fix install options for cmake
```yaml language: c++ sudo: required compiler: - gcc before_install: - sudo apt-get install -y software-properties-common - sudo add-apt-repository ppa:george-edison55/cmake-3.x -y - sudo apt-get -qq update - sudo apt-get -y upgrade - sudo apt-get -y install libboost-all-dev script: - mkdir build && cd build && cmake .. && make ```
ada4e80d-49c7-4b8b-8f49-96518a7263d7
{ "language": "YAML" }
```yaml script: make -f makefile.unix -j 3 install: - cd src language: cpp before_install: - sudo apt-get install build-essential libboost-all-dev libcurl4-openssl-dev libdb5.1-dev libdb5.1++-dev libssl-dev libminiupnpc-dev -y ``` Update Travis to include Auto Testing
```yaml language: cpp before_install: - sudo apt-get install build-essential libboost-all-dev libcurl4-openssl-dev libdb5.1-dev libdb5.1++-dev libssl-dev libminiupnpc-dev -y install: - cd src script: - make -f makefile.unix -j 3 - make check notifications: irc: channels: - "chat.freenode.net#cryptopools" template: - "%{repository}/%{branch} (%{commit} - %{author}): %{message}" ```
bb537a69-f585-471c-b1c3-166fc2aa4bb7
{ "language": "YAML" }
```yaml language: python dist: xenial os: linux cache: pip python: - "3.5" - "3.6" - "3.7" - "3.8" notifications: email: datasnakes@gmail.com # command to install dependencies install: - "pip install --upgrade pip setuptools wheel" - "pip install --only-binary=numpy,scipy numpy scipy" - "pip install matplotlib ipython jupyter sympy pytest" - "pip install -r requirements.txt" <<<<<<< HEAD - "pip install ." # command to run unittests via pytest script: - pytest tests/ ======= # command to run unittests script: pytest tests >>>>>>> e4766d7... Add pytest to .travis.yml. ``` Add pip installation of package for pytest.
```yaml language: python dist: xenial os: linux cache: pip python: - "3.5" - "3.6" - "3.7" - "3.8" notifications: email: datasnakes@gmail.com # command to install dependencies install: - "pip install --upgrade pip setuptools wheel" - "pip install --only-binary=numpy,scipy numpy scipy" - "pip install matplotlib ipython jupyter sympy pytest" - "pip install -r requirements.txt" - "pip install ." # command to run unittests via pytest script: - pytest tests/ ```
b223abd8-75e9-4365-9a99-63544d86033a
{ "language": "YAML" }
```yaml language: java sudo: false addons: sonarqube: organization: "wojciechzankowski-github" jdk: - oraclejdk8 script: - mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar after_success: - bash <(curl -s https://codecov.io/bash)``` Prepare to 2.2.4 version release
```yaml language: java sudo: false addons: sonarqube: organization: "wojciechzankowski-github" jdk: - oraclejdk8 - openjdk11 script: - mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar after_success: - bash <(curl -s https://codecov.io/bash)```
33eb3fd8-9543-4651-b44e-81f7f809c7a9
{ "language": "YAML" }
```yaml dist: trusty language: rust rust: - stable - beta - nightly env: - OPTS= - OPTS=--features=double_precision matrix: allow_failures: - rust: nightly script: - cargo build --verbose ${OPTS} - cargo test --verbose ``` Remove the feature for double precision
```yaml dist: trusty language: rust rust: - stable - beta - nightly matrix: allow_failures: - rust: nightly script: - cargo build --verbose - cargo test --verbose ```
2317fe61-6239-46b6-8be1-a93e380ee0ae
{ "language": "YAML" }
```yaml sudo: false language: python notifications: email: false env: global: python: - 2.7 - 2.6 install: - rm applymoban.py - pip install -r requirements.txt - pip install -r tests/requirements.txt script: make test after_success: codecov``` Add Python 3.3-3.5 to Travis matrix
```yaml sudo: false language: python notifications: email: false env: global: python: - 3.5 - 3.4 - 3.3 - 2.7 - 2.6 install: - rm applymoban.py - pip install -r requirements.txt - pip install -r tests/requirements.txt script: make test after_success: codecov ```
20269c93-a947-41cd-a587-78ab19083808
{ "language": "YAML" }
```yaml rvm: 2.2 sudo: required # install the pre-release chef-dk. Use chef-stable-precise to install the stable release addons: apt: sources: - chef-current-precise packages: - chefdk services: docker env: matrix: - INSTANCE=default-ubuntu-1204 - INSTANCE=default-ubuntu-1404 - INSTANCE=default-centos-6 - INSTANCE=default-centos-7 # Don't `bundle install` install: echo "skip bundle install" # Ensure we make ChefDK's Ruby the default before_script: # https://github.com/zuazo/kitchen-in-travis-native/issues/1#issuecomment-142230889 - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER ) - eval "$(/opt/chefdk/bin/chef shell-init bash)" - /opt/chefdk/embedded/bin/chef gem install kitchen-docker script: - /opt/chefdk/embedded/bin/chef --version - /opt/chefdk/embedded/bin/rubocop --version - /opt/chefdk/embedded/bin/rubocop - /opt/chefdk/embedded/bin/foodcritic --version - /opt/chefdk/embedded/bin/foodcritic . --exclude spec - /opt/chefdk/embedded/bin/rspec - KITCHEN_LOCAL_YAML=.kitchen.docker.yml /opt/chefdk/embedded/bin/kitchen verify ${INSTANCE} ``` Remove RVM from Travis since we use Ruby in ChefDK
```yaml sudo: required # install the pre-release chef-dk. Use chef-stable-precise to install the stable release addons: apt: sources: - chef-current-precise packages: - chefdk services: docker env: matrix: - INSTANCE=default-ubuntu-1204 - INSTANCE=default-ubuntu-1404 - INSTANCE=default-centos-6 - INSTANCE=default-centos-7 # Don't `bundle install` install: echo "skip bundle install" # Ensure we make ChefDK's Ruby the default before_script: # https://github.com/zuazo/kitchen-in-travis-native/issues/1#issuecomment-142230889 - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER ) - eval "$(/opt/chefdk/bin/chef shell-init bash)" - /opt/chefdk/embedded/bin/chef gem install kitchen-docker script: - /opt/chefdk/embedded/bin/chef --version - /opt/chefdk/embedded/bin/rubocop --version - /opt/chefdk/embedded/bin/rubocop - /opt/chefdk/embedded/bin/foodcritic --version - /opt/chefdk/embedded/bin/foodcritic . --exclude spec - /opt/chefdk/embedded/bin/rspec - KITCHEN_LOCAL_YAML=.kitchen.docker.yml /opt/chefdk/embedded/bin/kitchen verify ${INSTANCE} ```
4e5107c2-2100-4b56-bef0-b1e19f1e08ec
{ "language": "YAML" }
```yaml language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - hhvm env: - COMPOSER_VERSION='' matrix: include: - php: 5.6 env: COMPOSER_VERSION='--version=1.0.0-alpha10' allow_failures: - php: hhvm before_script: - mkdir -p ./build/logs - curl -sS https://getcomposer.org/installer | php -- --install-dir=./build --filename=composer ${COMPOSER_VERSION} - ./build/composer install - ./build/composer require --dev --no-update phpunit/phpunit:@stable phpunit/php-code-coverage:@stable satooshi/php-coveralls:@dev - ./build/composer update phpunit/php-code-coverage satooshi/php-coveralls script: - ./vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml after_script: - 'echo ''src_dir: .'' >> ./.coveralls.yml' - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ./vendor/bin/coveralls -v; fi;' notifications: email: false ``` Fix Multi-Version Composer Testing TravisCI Support
```yaml language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - hhvm env: - COMPOSER_VERSION='~1.0@dev' matrix: include: - php: 5.6 env: COMPOSER_VERSION='v1.0.0-alpha10' allow_failures: - php: hhvm before_script: - composer self-update - composer install - composer require composer/composer:${COMPOSER_VERSION} - composer require --dev --no-update phpunit/phpunit:@stable phpunit/php-code-coverage:@stable satooshi/php-coveralls:@dev - composer update phpunit/php-code-coverage satooshi/php-coveralls - mkdir -p ./build/logs script: - ./vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml after_script: - 'echo ''src_dir: .'' >> ./.coveralls.yml' - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ./vendor/bin/coveralls -v; fi;' notifications: email: false ```
55f268f6-793a-4dfc-b4fe-a9e7d3fca0fe
{ "language": "YAML" }
```yaml before_install: - sudo apt-get -qq update - sudo apt-get -qq install tidy install: travis_retry bundle install --without=benchmark rvm: - 2.0.0 - 2.1 - 2.2 - ruby-head notifications: email: false ``` Use latest patch versions of Ruby on Travis CI
```yaml before_install: - sudo apt-get -qq update - sudo apt-get -qq install tidy install: travis_retry bundle install --without=benchmark rvm: - 2.0.0 - 2.1.10 - 2.2.6 - ruby-head notifications: email: false ```
87ce91d4-f001-44f6-ba30-fd6dee049cc9
{ "language": "YAML" }
```yaml teams: kubefed-admins: description: admin access for the kubefed repo maintainers: - spiffxp members: - font - irfanurrehman - jimmidyson - pmorie - shashidharatd privacy: closed previously: - federation-v2-admins kubefed-maintainers: description: write access to the kubefed repo members: - font - irfanurrehman - jimmidyson - shashidharatd privacy: closed previously: - federation-v2-maintainers federation-wg: description: Individuals who are part of sig-multicluster and working as federation workgroup. members: - font - gyliu513 - irfanurrehman - jimmidyson - onyiny-ang - pmorie - quinton-hoole - shashidharatd privacy: closed ``` Add hectorj2f to kubefed maintainers
```yaml teams: kubefed-admins: description: admin access for the kubefed repo maintainers: - spiffxp members: - font - irfanurrehman - jimmidyson - pmorie - shashidharatd privacy: closed previously: - federation-v2-admins kubefed-maintainers: description: write access to the kubefed repo members: - font - hectorj2f - irfanurrehman - jimmidyson - shashidharatd privacy: closed previously: - federation-v2-maintainers federation-wg: description: Individuals who are part of sig-multicluster and working as federation workgroup. members: - font - gyliu513 - hectorj2f - irfanurrehman - jimmidyson - onyiny-ang - pmorie - quinton-hoole - shashidharatd privacy: closed ```
24a64bcc-53e4-4fc1-8179-b11629df48cd
{ "language": "YAML" }
```yaml language: scala scala: - 2.10.3 jdk: - oraclejdk7 - openjdk7 ``` Install packages necessary for netlib.
```yaml language: scala scala: - 2.10.3 jdk: - oraclejdk7 - openjdk7 before_install: - sudo apt-get update -qq - sudo apt-get install -qq libatlas3-base libopenblas-base ```
47e09331-cef6-42c5-82e9-422e528676aa
{ "language": "YAML" }
```yaml language: python sudo: false git: submodules: false matrix: include: - os: linux python: 2.7 - os: linux python: 3.3 - os: linux python: 3.4 - os: linux python: 3.5 - os: linux python: 3.6 - os: osx language: generic env: PYTHON_VERSION=3 before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install python3; fi install: - pip$PYTHON_VERSION install --upgrade -e.[test] script: - python$PYTHON_VERSION setup.py test ``` Fix Python 3 installation on Travis for macOS
```yaml language: python sudo: false git: submodules: false matrix: include: - os: linux python: 2.7 - os: linux python: 3.3 - os: linux python: 3.4 - os: linux python: 3.5 - os: linux python: 3.6 - os: osx language: generic env: PYTHON_VERSION=3 before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade python; fi install: - pip$PYTHON_VERSION install --upgrade -e.[test] script: - python$PYTHON_VERSION setup.py test ```
79bfd146-0c4d-4391-91c3-7acf08151215
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.2.0 - 2.1.5 - 2.1.0 - 1.9.3 addons: postgresql: '9.3' cache: bundler notifications: hipchat: rooms: - 5bc7785d2feb4f25901124279daede@API template: - '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} (<a href="%{build_url}">Details</a> | <a href="%{compare_url}">Change view</a>)' format: html script: bundle exec rake ``` Set sudo: false so Travis can use their new container-based infrastructure
```yaml language: ruby rvm: - 2.2.0 - 2.1.5 - 2.1.0 - 1.9.3 addons: postgresql: '9.3' sudo: false cache: bundler notifications: hipchat: rooms: - 5bc7785d2feb4f25901124279daede@API template: - '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} (<a href="%{build_url}">Details</a> | <a href="%{compare_url}">Change view</a>)' format: html script: bundle exec rake ```
d703ef45-ac52-4d90-8e2a-ecefc9cee7d0
{ "language": "YAML" }
```yaml sudo: false language: python dist: xenial python: - 2.7 - 3.6 - 3.7 - 3.8 matrix: include: - dist: trusty python: 2.6 addons: apt: packages: - scons cache: pip: true install: - export PYTHONPATH=$(echo $(dirname $(which python))/../lib/python*/site-packages) - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install coverage matplotlib==1.5.3 flask; else pip install coverage matplotlib flask; fi - git clone --depth=5 https://github.com/salilab/saliweb - (cd saliweb && scons modeller_key=UNKNOWN pythondir=$PYTHONPATH perldir=~/perl5/lib/perl5 prefix=~/usr webdir=~/www install && touch $PYTHONPATH/saliweb/frontend/config.py) script: - scons coverage=true python=$(which python) test after_success: - bash <(curl -s https://codecov.io/bash) - cover -report codecov ``` Drop tests on Python 2
```yaml sudo: false language: python dist: xenial python: - 3.6 - 3.7 - 3.8 addons: apt: packages: - scons cache: pip: true install: - export PYTHONPATH=$(echo $(dirname $(which python))/../lib/python*/site-packages) - pip install coverage matplotlib flask - git clone --depth=5 https://github.com/salilab/saliweb - (cd saliweb && scons modeller_key=UNKNOWN pythondir=$PYTHONPATH perldir=~/perl5/lib/perl5 prefix=~/usr webdir=~/www install && touch $PYTHONPATH/saliweb/frontend/config.py) script: - scons coverage=true python=$(which python) test after_success: - bash <(curl -s https://codecov.io/bash) - cover -report codecov ```
aaf6b7ef-29dc-4954-b287-d456dc496cbb
{ "language": "YAML" }
```yaml language: "python" python: - "3.4" install: pip install flake8 pytest pytest-cov before_script: flake8 rsr/ script: - echo $PYTHONPATH - export PYTHONPATH=`pwd`:$PYTHONPATH - py.test --cov=rsr --cov-report=term ``` Add sqlparse to Travis configuration.
```yaml language: "python" python: - "3.4" install: pip install flake8 pytest pytest-cov sqlparse before_script: flake8 rsr/ script: - export PYTHONPATH=`pwd`:$PYTHONPATH - py.test --cov=rsr --cov-report=term ```
0001b559-178b-4d1f-a37a-1c50722ad11b
{ "language": "YAML" }
```yaml sudo: required dist: trusty language: node_js node_js: - "8" - "9" - "10" - "11" - "12" notifications: email: - yakov@therocketsurgeon.com - moliveira@aconex.com ``` Remove Marcello's old Aconex email address from the TravisCI and add mine
```yaml sudo: required dist: trusty language: node_js node_js: - "8" - "9" - "10" - "11" - "12" notifications: email: - yakov@therocketsurgeon.com - tallpsmith@gmail.com ```
81965ab7-71c5-424c-9b05-addf7d8eca3d
{ "language": "YAML" }
```yaml language: python python: - "2.6" - "2.7" - "3.3" - "3.4" env: - DJANGO="Django>=1.4,<1.5" - DJANGO="Django>=1.5,<1.6" - DJANGO="Django>=1.6,<1.7" matrix: exclude: - python: "3.3" env: DJANGO="Django>=1.4,<1.5" - python: "3.4" env: DJANGO="Django>=1.4,<1.5" before_install: - PWD=`pwd` - "echo '## Installing dependencies'" - "sudo apt-get update" - "sudo apt-get install -y openssl build-essential xorg libssl-dev" - "echo '## Downloading wkhtmltopdf 0.12.1'" - "wget http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.1/wkhtmltox-0.12.1.tar.bz2" - "mkdir -p $PWD" - "echo '## Extracting wkhtmltox into $PWD'" - "tar xvjf wkhtmltox-0.12.1.tar.bz2 -C $PWD" - "export WKHTMLTOPDF_CMD=$PWD/wkhtmltox/bin/wkhtmltopdf" install: - pip install $DJANGO - pip install -r test_requirements.txt - pip install . script: - make test notifications: email: false ``` Use precompiled library not source one
```yaml language: python python: - "2.6" - "2.7" - "3.3" - "3.4" env: - DJANGO="Django>=1.4,<1.5" - DJANGO="Django>=1.5,<1.6" - DJANGO="Django>=1.6,<1.7" matrix: exclude: - python: "3.3" env: DJANGO="Django>=1.4,<1.5" - python: "3.4" env: DJANGO="Django>=1.4,<1.5" before_install: - PWD=`pwd` - WHICH_WK=`which wkhtmltopdf` - "echo '## Installing dependencies'" - "sudo apt-get update" - "sudo apt-get install -y openssl build-essential xorg libssl-dev" - "echo '## Downloading wkhtmltopdf 0.12.1'" - "wget http://freefr.dl.sourceforge.net/project/wkhtmltopdf/0.12.1/wkhtmltox-0.12.1_linux-precise-amd64.deb" - "echo '## Installing wkhtmltox'" - "dpkg -i wkhtmltox-0.12.1_linux-precise-amd64.deb" - "export WKHTMLTOPDF_CMD=$WHICH_WK" install: - pip install $DJANGO - pip install -r test_requirements.txt - pip install . script: - make test notifications: email: false ```
b2e82f10-64bd-4492-92ed-e2ff155b9ea3
{ "language": "YAML" }
```yaml language: rust sudo: false script: - cargo build --verbose - cargo test --verbose - cargo doc after_success: | [ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ] && echo '<meta http-equiv=refresh content=0;url=/rustc-serialize/rustc_serialize/index.html>' > target/doc/index.html && pip install ghp-import --user $USER && $HOME/.local/bin/ghp-import -n target/doc && git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages env: global: secure: f0CwX+CnvRbEqK3H6zhBQe4u0t14OQvyd6nUhq/oXkJ6LdtrSx+qQtLSmAU7L8p1IXyP8csxv37bTdEB7/U1c6bJcN2OXHrw9nD0NDvZEs1zSZvFQBm+YBwV7EaposPHCeqee3X9b00g7+bObywMYtEkk7yD2NiOY9SjMRcjTLQ= notifications: email: on_success: never ``` Test on rust 1.0.0, nightly, and beta
```yaml language: rust rust: - 1.0.0 - beta - nightly sudo: false script: - cargo build --verbose - cargo test --verbose - cargo doc after_success: | [ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ] && [ $TRAVIS_RUST_VERSION = nightly ] && echo '<meta http-equiv=refresh content=0;url=/rustc-serialize/rustc_serialize/index.html>' > target/doc/index.html && pip install ghp-import --user $USER && $HOME/.local/bin/ghp-import -n target/doc && git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages env: global: secure: f0CwX+CnvRbEqK3H6zhBQe4u0t14OQvyd6nUhq/oXkJ6LdtrSx+qQtLSmAU7L8p1IXyP8csxv37bTdEB7/U1c6bJcN2OXHrw9nD0NDvZEs1zSZvFQBm+YBwV7EaposPHCeqee3X9b00g7+bObywMYtEkk7yD2NiOY9SjMRcjTLQ= notifications: email: on_success: never ```
3cd80560-e21c-48a6-af9c-26c4b454687b
{ "language": "YAML" }
```yaml language: cpp compiler: - clang before_install: - mkdir -p _build/test _build/src - sudo add-apt-repository -y ppa:george-edison55/cmake-3.x - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add - - sudo sh -c 'echo "deb http://llvm.org/apt/unstable/ llvm-toolchain-3.7 main" >> /etc/apt/sources.list' - sudo sh -c 'sudo echo "deb-src http://llvm.org/apt/unstable/ llvm-toolchain-3.7 main" >> /etc/apt/sources.list' - sudo apt-get update install: - sudo apt-get install -y cmake clang-3.7 lldb-3.7 libc++-dev script: - clang++-3.7 -stdlib=libc++ -std=c++11 -Wall -Wextra -Wpedantic -Weverything -Wno-c++98-compat-pedantic -Wno-exit-time-destructors -Werror test/*.cpp -o _build/test/tests - clang++-3.7 -stdlib=libc++ -std=c++11 -Wall -Wextra -Wpedantic -Weverything -Wno-c++98-compat-pedantic -Wno-exit-time-destructors -Werror src/playground.cpp -o _build/test/playground ``` Test Travis CI: Update build script
```yaml language: cpp compiler: - clang before_install: - mkdir -p _build/test _build/src - sudo add-apt-repository -y ppa:george-edison55/cmake-3.x - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add - - sudo sh -c 'echo "deb http://llvm.org/apt/unstable/ llvm-toolchain-3.6 main" >> /etc/apt/sources.list' - sudo sh -c 'sudo echo "deb-src http://llvm.org/apt/unstable/ llvm-toolchain-3.6 main" >> /etc/apt/sources.list' - sudo apt-get update install: - sudo apt-get install -y cmake clang-3.6 lldb-3.6 libc++-dev script: - clang++-3.6 -stdlib=libc++ -std=c++11 -Wall -Wextra -Wpedantic -Weverything -Wno-c++98-compat-pedantic -Wno-exit-time-destructors -Werror test/*.cpp -o _build/test/tests - clang++-3.6 -stdlib=libc++ -std=c++11 -Wall -Wextra -Wpedantic -Weverything -Wno-c++98-compat-pedantic -Wno-exit-time-destructors -Werror src/playground.cpp -o _build/test/playground ```
31b89028-bc29-4c2d-b0e2-44f7a3cf08c3
{ "language": "YAML" }
```yaml homepage: https://hackage.haskell.org/package/sublists changelog-type: markdown hash: ecb51d1754d4f2f68b014e537e227253fa99e5f55994ec6de474269c2a39bb1a test-bench-deps: {} maintainer: olexandr543@yahoo.com synopsis: Allows to split lists into sublists with some patterns by quantity. changelog: |+ # Revision history for sublists ## 0.1.0.0 -- 2021-03-03 * First version. Released on an unsuspecting world. ## 0.1.0.1 -- 2021-03-03 * First version revised A. Fixed issue with the incorrect statement in the documentation. basic-deps: base: '>=4.7 && <4.15' all-versions: - 0.1.0.1 author: OleksandrZhabenko latest: 0.1.0.1 description-type: haddock description: This patterns can be a list of numbers or obtained from the monadic function. Leads to somewhat cycling or regularized structures from the length perspective (this can be transformed into other variativity types). license-name: MIT ``` Update from Hackage at 2021-03-03T18:33:30Z
```yaml homepage: https://hackage.haskell.org/package/sublists changelog-type: markdown hash: af0455f04216ee245ca038d86ea1b9618eb267a288b26f22f1cf57c656879509 test-bench-deps: {} maintainer: olexandr543@yahoo.com synopsis: Allows to split lists into sublists with some patterns by quantity. changelog: |+ # Revision history for sublists ## 0.1.0.0 -- 2021-03-03 * First version. Released on an unsuspecting world. ## 0.1.0.1 -- 2021-03-03 * First version revised A. Fixed issue with the incorrect statement in the documentation. ## 0.1.0.2 -- 2021-03-03 * First version revised B. Fixed issues with the documentation. basic-deps: base: '>=4.7 && <4.15' all-versions: - 0.1.0.1 - 0.1.0.2 author: OleksandrZhabenko latest: 0.1.0.2 description-type: haddock description: These patterns can be a list of numbers or obtained from the monadic function. Leads to somewhat cycling or regularized structures from the length perspective (these ones can be transformed into other variativity types). license-name: MIT ```