Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Tweak colors shown on CocoaDocs.org
highlight-color: '#1db954' highlight-dark-color: '#1da74d' darker-color: '#999999' darker-dark-color: '#4c4c4c' background-color: '#F2F2F2' alt-link-color: '#006450' warning-color: '#ff6437'
Migrate "RDS CPU credits" monitor to Prometheus
# Source: cloudwatch-exporter --- - type: replace path: /instance_groups/name=prometheus2/jobs/name=prometheus2/properties/prometheus/custom_rules?/- value: name: RDSCPUCreditsLow rules: - &alert alert: RDSCPUCreditsLow_Warning expr: avg_over_time(aws_rds_cpucreditbalance_minimum[30m]) <= 20 labels: severity: warning notify: email annotations: summary: "RDS CPU credits are low on {{ $labels.tag_Name }}" description: "RDS instance {{ $labels.tag_Name }} has only {{ $value | printf \"%.0f\" }} CPU credits left and may perform badly." url: "https://team-manual.cloud.service.gov.uk/incident_management/responding_to_alerts/#cpu-credits" - <<: *alert alert: RDSCPUCreditsLow_Critical expr: avg_over_time(aws_rds_cpucreditbalance_minimum[30m]) <= 1 labels: severity: critical notify: email
Add buildspec for functional testing
# AWS CodeBuild Build Specification for Building and packaging Orchestrator version: 0.1 phases: install: commands: - npm install -g gulp-cli - npm install build: commands: - set -o pipefail - export ORCHESTRATOR_API_ID=$(aws --region=$AWS_REGION cloudformation describe-stack-resource --logical-resource-id=ApiGateway --stack-name=$ORCHESTRATOR_STACK --output text | tail -1 | awk '{print $1}') - gulp test:functional
Revert compile_catalog on build and install as editable
language: python python: - 2.7 install: - pip install -r requirements/travis.pip --allow-external webassets --allow-unverified webassets - pip install --no-deps . - python setup.py compile_catalog script: - nosetests --with-xcoverage udata after_success: - coveralls
language: python python: - 2.7 install: - pip install -r requirements/travis.pip --allow-external webassets --allow-unverified webassets - pip install --no-deps -e . script: - nosetests --with-xcoverage udata after_success: - coveralls
Add recipe for weave (formerly part of scipy as scipy.weave)
{% set name = "weave" %} {% set version = "0.15.0" %} {% set sha256 = "4b7ac15abe2d1c0901c33db79d4bdcad8f2261198da36a48707b0023bca72f83" %} package: name: {{ name|lower }} version: {{ version }} source: fn: {{ name }}-{{ version }}.tar.gz url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: {{ sha256 }} build: number: 0 skip: True # [py3k] # Python2-only package script: python setup.py install --record record.txt requirements: build: - python <3 - numpy run: - python <3 - numpy - bsddb # [not win] test: imports: - weave commands: - python -c 'import weave;assert weave.inline("int x=42; return_val=x;") == 42' about: home: https://pypi.python.org/pypi/weave license: BSD license_file: LICENSE.txt summary: 'Weave: a C++ compiler for Python.' description: | Weave provides tools for including C/C++ code within Python code. Inlining C/C++ code within Python generally results in speedups of 1.5x to 30x over algorithms written in pure Python. Weave is the stand-alone version of the deprecated Scipy submodule ``scipy.weave``. It is Python 2.x only, and is provided for users that need new versions of Scipy (from which the ``weave`` submodule may be removed) but have existing code that still depends on ``scipy.weave``. For new code, users are recommended to use Cython. dev_url: http://www.github.com/scipy/weave extra: recipe-maintainers: - mstimberg
Update from Hackage at 2019-01-25T19:21:30Z
homepage: '' changelog-type: markdown hash: 6035893225a02f069f12684ad1cef37ef35e6cb142c1c366d6c5dec617ab9f91 test-bench-deps: warp: ! '>=3.2.25 && <3.3' http-client: ! '>=0.6.1 && <0.7' servant-client-namedargs: -any base: -any servant-client: -any hspec: ! '>=2.7 && <2.8' servant-server-namedargs: ==0.1.0.0 servant-namedargs: ==0.1.0.1 async: ! '>=2.2.1 && <2.3' servant-server: -any servant: -any named: -any QuickCheck: ! '>=2.12.6.1 && <2.13' maintainer: cporeskydev@gmail.com synopsis: Automatically derive API client functions with named and optional parameters changelog: | # Revision history for servant-client-named ## 0.1.0.0 -- YYYY-mm-dd * First version. Released on an unsuspecting world. basic-deps: base: ! '>=4.11 && <4.13' text: ! '>=1.2 && <1.3' servant-namedargs: ! '>=0.1 && <0.2' servant-client-core: ! '>=0.14.1 && <0.16' servant: ! '>=0.14.1 && <0.16' named: ! '>=0.2 && <0.3' all-versions: - 0.1.0.0 author: Cullin Poresky latest: 0.1.0.0 description-type: markdown description: | This package provides the `HasClient` instances needed by [servant-client](http://hackage.haskell.org/package/servant-client) to produce functions with named parameters using the combinators in [servant-namedargs](https://hackage.haskell.org/package/servant-namedargs). See [named](http://hackage.haskell.org/package/named) for more information on how the named parameters work, and the haddocks for the behavior of specific combinators. license-name: BSD-3-Clause
Update from Hackage at 2021-09-07T22:04:18Z
homepage: https://github.com/google/hs-fin-vec#readme changelog-type: markdown hash: 3fafd5c246529495aca698907b1ffa77da72f1aa09bde9eb5c8c193d9beff0c4 test-bench-deps: cereal: '>=0.5 && <0.6' test-framework: -any finite-table: -any base: '>=4.12 && <4.16' data-default-class: '>=0.0 && <0.2' indexed-traversable: '>=0.1 && <0.2' wrapped: '>=0.1 && <0.2' adjunctions: '>=4.4 && <4.5' distributive: '>=0.1 && <0.7' portray-diff: '>=0.1 && <0.2' test-framework-quickcheck2: -any short-vec-lens: '>=0.1 && <0.2' lens: '>=4.15 && <5.1' short-vec: '>=0.1 && <0.2' fin-int: '>=0.1 && <0.2' sint: '>=0.1 && <0.2' deepseq: '>=1.1 && <1.5' QuickCheck: -any portray: '>=0.1 && <0.2' maintainer: Andrew Pritchard <awpr@google.com> synopsis: Types isomorphic to Fin, and Tables indexed by them. changelog: | # 0.1.0.0 Initial version. basic-deps: cereal: '>=0.5 && <0.6' base: '>=4.12 && <4.16' data-default-class: '>=0.0 && <0.2' indexed-traversable: '>=0.1 && <0.2' wrapped: '>=0.1 && <0.2' adjunctions: '>=4.4 && <4.5' distributive: '>=0.1 && <0.7' portray-diff: '>=0.1 && <0.2' short-vec-lens: '>=0.1 && <0.2' lens: '>=4.15 && <5.1' short-vec: '>=0.1 && <0.2' fin-int: '>=0.1 && <0.2' sint: '>=0.1 && <0.2' deepseq: '>=1.1 && <1.5' portray: '>=0.1 && <0.2' all-versions: - 0.1.0.0 author: Andrew Pritchard <awpr@google.com> latest: 0.1.0.0 description-type: haddock description: |- This provides a class `Finite` for types isomorphic to some `Fin n`, and uses it to implement array-backed total maps (`Table`s) indexed by them. license-name: Apache-2.0
Update from Hackage at 2020-08-31T20:58:58Z
homepage: https://hackage.haskell.org/package/uniqueness-periods-vector-general changelog-type: markdown hash: c1ff00da7c0f41d2bcf45203ce3e95fc937830858c36931467d680c9eb6fb017 test-bench-deps: {} maintainer: olexandr543@yahoo.com synopsis: Generalization of the functionality of the dobutokO-poetry-general-languages package changelog: | # Revision history for uniqueness-periods-vector-general ## 0.1.0.0 -- YYYY-mm-dd * First version. Released on an unsuspecting world. basic-deps: uniqueness-periods-vector-common: '>=0.1 && <1' uniqueness-periods-vector: '>=0.1 && <1' base: '>=4.7 && <4.15' vector: '>=0.11 && <0.14' all-versions: - 0.1.0.0 author: OleksandrZhabenko latest: 0.1.0.0 description-type: haddock description: Generalization of the functionality of the dobutokO-poetry-general-languages package license-name: MIT
Add initial Travis CI configuration
language: objective-c script: 'curl -s -H "Authorization: token $ATOM_ACCESS_TOKEN" -H "Accept: application/vnd.github.v3.raw" https://api.github.com/repos/atom/apm/contents/script/build-package | sh' env: global: secure: ah+9B4+nZJUtgIrAmbUV892uZt1lEwaYZnYhXdHU2wmFiB2cXA1+MBYxsR0SboFKWt4A1SCBbPxbi2GdvxJtyXL8Wkb1YN4v9US53FmrEs7rgJH5Kiw0EGXVjK1SkJe6ZhR0waiQZ7C6ojOfrXW44YgoIC/VaZtMVU+Dv14WWHI=
Add nodeset for centos5 on docker
HOSTS: centos-5-x64: default_apply_opts: strict_variables: platform: el-5-x86_64 hypervisor : docker image: centos:5 # This stops the image from being deleted on completion, speeding up the process. docker_preserve_image: true CONFIG: type: foss log_level: debug
Add playbook for Django set up
--- - hosts: all sudo: yes tasks: - name: Write local settings files template: src=assets/local_settings.j2 dest=${app_path}/python/ecep/local_settings.py - name: Create logging folders file: path=/var/log/ecep/ state=directory owner=${ansible_ssh_user} mode=0777 - command: touch /var/log/ecep/django.deploy.log - file: path=/var/log/ecep/django.deploy.log state=file owner=${ansible_ssh_user} mode=0777 - name: Sync database django_manage: command=syncdb app_path=${app_path}/python/ecep/ register: sync_ecep_database - name: Load FAQ Data into Django command: python ${app_path}/python/ecep/manage.py loaddata ${item} only_if: ${sync_ecep_database.changed} with_items: - topic - question - name: Create static/files files folders file: path=${static_path} state=directory owner=${ansible_ssh_user} file: path=${media_path} state=directory owner=${ansible_ssh_user} - name: Collect static files command: python ${app_path}/python/ecep/manage.py collectstatic --noinput - name: Restart gunicorn action: service name=gunicorn state=restarted
Fix license typo found by @isuruf
{% set name = "jsonapi-client" %} {% set version = "0.9.3" %} {% set sha256 = "7e8563b59f408429ac943e9b6d060f2dfae1c61b774aefd1c456bac189da0b68" %} package: name: {{ name|lower }} version: {{ version }} source: fn: {{ name }}-{{ version }}.tar.gz url: https://github.com/qvantel/{{ name }}/archive/{{ version }}.tar.gz sha256: {{ sha256 }} build: number: 0 script: python setup.py install --single-version-externally-managed --record record.txt skip: true # [py < 36] requirements: build: - python - setuptools run: - python - requests - jsonschema - aiohttp test: source_files: - tests requires: - pytest - pytest-mock commands: - py.test tests about: home: https://github.com/qvantel/jsonapi-client license: BSD license_family: BSD license_file: LICENSE.txt summary: 'Comprehensive, yet easy-to-use, pythonic, ORM-like access to JSON API services' dev_url: https://github.com/qvantel/jsonapi-client extra: recipe-maintainers: - sodre
{% set name = "jsonapi-client" %} {% set version = "0.9.3" %} {% set sha256 = "7e8563b59f408429ac943e9b6d060f2dfae1c61b774aefd1c456bac189da0b68" %} package: name: {{ name|lower }} version: {{ version }} source: fn: {{ name }}-{{ version }}.tar.gz url: https://github.com/qvantel/{{ name }}/archive/{{ version }}.tar.gz sha256: {{ sha256 }} build: number: 0 script: python setup.py install --single-version-externally-managed --record record.txt skip: true # [py < 36] requirements: build: - python - setuptools run: - python - requests - jsonschema - aiohttp test: source_files: - tests requires: - pytest - pytest-mock commands: - py.test tests about: home: https://github.com/qvantel/jsonapi-client license: BSD 3-Clause license_family: BSD license_file: LICENSE.txt summary: 'Comprehensive, yet easy-to-use, pythonic, ORM-like access to JSON API services' dev_url: https://github.com/qvantel/jsonapi-client extra: recipe-maintainers: - sodre
Update LCOW init to latest opengcs version
kernel: image: linuxkit/kernel:4.11.12 cmdline: "console=ttyS0" tar: none init: - linuxkit/init-lcow:e846df6e745e0db2e90ec06a1a3509cb9bfd77da - linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f trust: org: - linuxkit
kernel: image: linuxkit/kernel:4.11.12 cmdline: "console=ttyS0" tar: none init: - linuxkit/init-lcow:123025d29d28cc6f956e70fefa7ed89274112f14 - linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f trust: org: - linuxkit
Add action for creating branches
name: Zenhub integration PR on: create: workflow_dispatch: jobs: build: runs-on: ubuntu-latest steps: - uses: James1x0/zenhub-automations@0e172d60e0e608a51be3a2441625d5c04666c246 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ZENHUB_API_KEY: ${{ secrets.ZENHUB_TOKEN }} PR_COLUMN: Z2lkOi8vcmFwdG9yL1BpcGVsaW5lLzMyODI1Mg INPROG_COLUM: Z2lkOi8vcmFwdG9yL1BpcGVsaW5lLzMyODI1Mg REVIEW_COLUMN: Z2lkOi8vcmFwdG9yL1BpcGVsaW5lLzIyNjk0MTA
Add recipe for path package
{% set version = "13.1.0" %} package: name: path version: {{ version }} source: url: https://pypi.io/packages/source/p/path/path-{{ version }}.tar.gz sha256: 97249b37e5e4017429a780920147200a2215e268c1a18fa549fec0b654ce99b7 build: number: 0 skip: True # [py<35] script: "{{ PYTHON }} -m pip install . -vv" requirements: host: - python - pip - setuptools_scm >=1.15.0 run: - python - importlib_metadata >=0.5 # [py<38] test: imports: - path about: home: https://github.com/jaraco/path license: MIT license_family: MIT license_file: LICENSE summary: A module wrapper for os.path description: | path implements a path objects as first-class entities, allowing common operations on files to be invoked on those path objects directly. doc_url: https://path.readthedocs.io/en/latest/ doc_source_url: https://github.com/jaraco/path/blob/master/docs/index.rst dev_url: https://github.com/jaraco/path extra: recipe-maintainers: - jjhelmus
Add release note for the upgraded project detail view.
--- features: - | [:bug:`1785263`] Modify the project detail view in a multi tabbed view, composed of: * ``Overview`` tab displaying general information about the project. * ``Users`` tab displaying all users which have roles on the project (and their roles on it), including users which have roles on the project throw their membership to a group. * ``Group`` tab displaying all groups which have roles on the project (and their roles on it).
Add Code Climate config file
languages: Ruby: true JavaScript: true PHP: false Python: false exclude_paths: - "app/assets/javascripts/plugins/datatables.min.js" - "app/assets/javascripts/plugins/jquery.dataTables.yadcf.js"
Update from Hackage at 2015-07-09T02:19:08+0000
homepage: https://github.com/zadarnowski/quiver-cell changelog-type: '' hash: d2f3e9dfd00477742e6edfd1bfcab46970fb5eaec3dd189a4126ecaa0ffd000e test-bench-deps: {} maintainer: Patryk Zadarnowski <pat@jantar.org> synopsis: Quiver combinators for cellular data processing changelog: '' basic-deps: base: ! '>=4.8 && <5' quiver: ! '>=0.0.0.6' data-cell: ! '>=1.0.0.2' all-versions: - '0.0.0.1' author: Patryk Zadarnowski latest: '0.0.0.1' description-type: haddock description: ! 'This library provides combinators for Quiver-based streaming of cellular data, i.e., tabular data encoded as a stream of optionally-fragmented cell values.' license-name: BSD3
Stop dependabot looking at the targets folder
version: 1 update_configs: - package_manager: "dotnet:nuget" directory: "/src" update_schedule: "live" - package_manager: "dotnet:nuget" directory: "/targets" update_schedule: "live"
version: 1 update_configs: - package_manager: "dotnet:nuget" directory: "/src" update_schedule: "live" # - package_manager: "dotnet:nuget" # directory: "/targets" # update_schedule: "live"
Add systemd service to cloud-init
#cloud-config packages: - unzip runcmd: - wget -q -O /tmp/consul.zip https://releases.hashicorp.com/consul/0.6.4/consul_0.6.4_linux_amd64.zip - unzip /tmp/consul.zip -d /usr/local/bin - rm -vf /tmp/consul.zip
#cloud-config packages: - unzip runcmd: - wget -q -O /tmp/consul.zip https://releases.hashicorp.com/consul/0.6.4/consul_0.6.4_linux_amd64.zip - unzip /tmp/consul.zip -d /usr/local/bin - rm -vf /tmp/consul.zip - wget -q -O /etc/systemd/system/consul.service https://raw.githubusercontent.com/colstrom/ops-consul/master/systemd/consul.service - mkdir -p /etc/consul.d/ - touch /etc/sysconfig/consul - systemctl daemon-reload - systemctl enable consul - systemctl start consul
Clean up config and remove redundant content
# Welcome to Jekyll! # # This config file is meant for settings that affect your whole blog, values # which you are expected to set up once and rarely edit after that. If you find # yourself editing this file very often, consider using Jekyll's data files # feature for the data you need to update frequently. # # For technical reasons, this file is *NOT* reloaded automatically when you use # 'bundle exec jekyll serve'. If you change this file, please restart the server process. # Site settings # These are used to personalize your new site. If you look in the HTML files, # you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. # You can create any custom variable you would like, and they will be accessible # in the templates via {{ site.myvariable }}. title: Tim Alonso description: >- # this means to ignore newlines until "baseurl:" Thoughts on .NET development and enterprise content management system solutions. baseurl: "" # the subpath of your site, e.g. /blog url: "" # the base hostname & protocol for your site, e.g. http://example.com twitter_username: TimAlonso github_username: TimAlonso linkedin_username: alonsotimothy # Build settings markdown: kramdown remote_theme: chesterhow/tale permalink: /:year-:month-:day/:title paginate: 5 plugins: - jekyll-paginate - jekyll-remote-theme - jekyll-feed sass: sass_dir: _sass style: compressed # Exclude from processing. # The following items will not be processed, by default. Create a custom list # to override the default setting. # exclude: # - Gemfile # - Gemfile.lock # - node_modules # - vendor/bundle/ # - vendor/cache/ # - vendor/gems/ # - vendor/ruby/
title: Tim Alonso's Blog description: >- # this means to ignore newlines until "baseurl:" Thoughts on .NET development and enterprise content management system solutions. baseurl: "" # the subpath of your site, e.g. /blog url: "http://timalonso.co.uk" twitter_username: TimAlonso markdown: kramdown remote_theme: chesterhow/tale permalink: /:year-:month-:day/:title paginate: 5 plugins: - jekyll-paginate - jekyll-remote-theme - jekyll-feed sass: sass_dir: _sass style: compressed # Exclude from processing. # The following items will not be processed, by default. Create a custom list # to override the default setting. # exclude: # - Gemfile # - Gemfile.lock # - node_modules # - vendor/bundle/ # - vendor/cache/ # - vendor/gems/ # - vendor/ruby/
Update No Assertions to new version 7.0.0
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@6.0.0 with: extra_resolve_options: ${{ github.events.inputs.extra_resolve_options }}
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@7.0.0 with: extra_resolve_options: ${{ github.events.inputs.extra_resolve_options }}
Update from Hackage at 2018-11-04T15:53:44Z
homepage: http://www.haskus.org changelog-type: '' hash: 0a33d822f465ce1fc945eea79228ecc81024562f28c6ca49bbc2eb920c71c5fc test-bench-deps: haskus-utils-variant: -any base: ! '>=4.11.1.0 && <4.12' tasty-quickcheck: ! '>=0.8 && <0.11' tasty: ! '>=0.11 && <1.2' maintainer: sylvain@haskus.fr synopsis: Variant and EADT changelog: '' basic-deps: base: ! '>=4.9 && <4.12' haskus-utils-data: ==1.1.* haskus-utils-types: ==1.1.* template-haskell: ! '>=2.13.0.0 && <2.14' all-versions: - '1.0' - '2.0' - '2.0.1' - '2.0.2' author: Sylvain Henry latest: '2.0.2' description-type: haddock description: ! 'Variant (extensible sum type) and EADT (extensible recursive sum type) datatypes. Documentation can be found at https://docs.haskus.org' license-name: BSD3
homepage: http://www.haskus.org changelog-type: '' hash: 9d358e032057c3491fd6a227119545137c3a6eda3a347551ad14463b6515631e test-bench-deps: haskus-utils-variant: -any base: ! '>=4.11.1.0 && <4.12' tasty-quickcheck: ! '>=0.8 && <0.11' tasty: ! '>=0.11 && <1.2' maintainer: sylvain@haskus.fr synopsis: Variant and EADT changelog: '' basic-deps: base: ! '>=4.9 && <4.12' haskus-utils-data: ==1.1.* haskus-utils-types: ==1.1.* template-haskell: ! '>=2.13.0.0 && <2.14' all-versions: - '1.0' - '2.0' - '2.0.1' - '2.0.2' - '2.0.3' author: Sylvain Henry latest: '2.0.3' description-type: haddock description: ! 'Variant (extensible sum type) and EADT (extensible recursive sum type) datatypes. Documentation can be found at https://docs.haskus.org' license-name: BSD3
Add description with project name
service: circleci-build-trigger provider: name: aws runtime: nodejs4.3 region: ap-northeast-1 custom: writeEnvVars: ${file(serverless.env.yml)} functions: trigger: handler: handler.trigger events: - schedule: ${self:custom.writeEnvVars.SCHEDULE_EXPRESSION} plugins: - serverless-plugin-write-env-vars
service: circleci-build-trigger provider: name: aws runtime: nodejs4.3 region: ap-northeast-1 custom: writeEnvVars: ${file(serverless.env.yml)} functions: trigger: handler: handler.trigger description: ${self:custom.writeEnvVars.PROJECT} events: - schedule: ${self:custom.writeEnvVars.SCHEDULE_EXPRESSION} plugins: - serverless-plugin-write-env-vars
Allow serving node_modules on GitHub pages.
box: node:8 # Run tests on all pull requests and branches build: steps: - npm-install - script: name: build production assets code: npm run build - npm-test - script: name: build static pattern library code: |- export STYLEGUIDE_PORT=8000 npm run styleguide & sleep 10 # let Node start up! wget -mpc --user-agent="" -e robots=off -P build -nH http://localhost:${STYLEGUIDE_PORT}/ # Automatically deploy `dev` branch to Github pages deploy: steps: - lukevivier/gh-pages: token: $GH_TOKEN domain: forge.dosomething.org basedir: build
box: node:8 # Run tests on all pull requests and branches build: steps: - npm-install - script: name: build production assets code: npm run build - npm-test - script: name: build static pattern library code: |- touch .nojekyll export STYLEGUIDE_PORT=8000 npm run styleguide & sleep 10 # let Node start up! wget -mpc --user-agent="" -e robots=off -P build -nH http://localhost:${STYLEGUIDE_PORT}/ # Automatically deploy `dev` branch to Github pages deploy: steps: - lukevivier/gh-pages: token: $GH_TOKEN domain: forge.dosomething.org basedir: build
Add task to run `wp search-replace`
--- # Copies specified database dump file and imports it into the database defined # by db_name. # # Available variables: # - database_import_filename: Base filename for dump file. # - database_import_directory: Path to directory containing dump file. # Either absolute or relative to the directory containing the primary playbook. # # @todo: improve file path handling: combine filename / path. # Check whether database dump file is declared. - name: Define do_db_import. set_fact: do_db_import: "{{ database_import_filename is defined }}" when: do_db_import is not defined ignore_errors: yes # Copy dump file to remote node. - name: Copy database dump file to remote. copy: src: "{{ database_import_filename }}" dest: /tmp when: do_db_import register: db_copy_result # Import dumpfile into database. - name: Import database. mysql_db: name: "{{ db_name }}" state: import target: "/tmp/{{ database_import_filename | basename }}" when: do_db_import and db_copy_result is defined and db_copy_result.state == "file"
--- # Copies specified database dump file and imports it into the database defined # by db_name. # # Available variables: # - database_import_filename: Base filename for dump file. # - database_import_directory: Path to directory containing dump file. # Either absolute or relative to the directory containing the primary playbook. # # @todo: improve file path handling: combine filename / path. # Check whether database dump file is declared. - name: Define do_db_import. set_fact: do_db_import: "{{ database_import_filename is defined }}" when: do_db_import is not defined ignore_errors: yes # Copy dump file to remote node. - name: Copy database dump file to remote. copy: src: "{{ database_import_filename }}" dest: /tmp when: do_db_import register: db_copy_result # Import dumpfile into database. - name: Import database. mysql_db: name: "{{ db_name }}" state: import target: "/tmp/{{ database_import_filename | basename }}" when: do_db_import and db_copy_result is defined and db_copy_result.state == "file" - name: Run `wp search-replace` become: no command: | wp --path='{{ web_app_web_root }}' search-replace '{{ prod_domain }}' '{{ local_domain }}' when: do_db_import and project_type == 'wordpress'
Revert "Rubocop: always exclude tmp/ "
# Please keep AllCops, Bundler, Style, Metrics groups and then order cops # alphabetically AllCops: DisplayCopNames: true DisplayStyleGuide: true ExtraDetails: false Exclude: - tmp/**/*.rb Bundler/OrderedGems: Enabled: false Style/AndOr: Enabled: false Style/EmptyMethod: Enabled: false Style/RaiseArgs: Enabled: false Style/RegexpLiteral: Enabled: false Style/StringLiterals: Enabled: false Metrics/LineLength: Enabled: false
# Please keep AllCops, Bundler, Style, Metrics groups and then order cops # alphabetically AllCops: DisplayCopNames: true DisplayStyleGuide: true ExtraDetails: false Bundler/OrderedGems: Enabled: false Style/AndOr: Enabled: false Style/EmptyMethod: Enabled: false Style/RaiseArgs: Enabled: false Style/RegexpLiteral: Enabled: false Style/StringLiterals: Enabled: false Metrics/LineLength: Enabled: false
Update conda recipe for conda-build 1.19
package: name: bqplot version: {{ environ.get('GIT_DESCRIBE_TAG', '') }} build: number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }} {% if environ.get('GIT_DESCRIBE_NUMBER', '0') == '0' %}string: py{{ environ.get('PY_VER').replace('.', '') }}_0 {% else %}string: py{{ environ.get('PY_VER').replace('.', '') }}_{{ environ.get('GIT_BUILD_STR', 'GIT_STUB') }}{% endif %} source: path: ../ requirements: build: - python - numpy - setuptools - jupyter - pandas run: - python - numpy - setuptools - jupyter - pandas test: imports: - bqplot about: summary: Bloomberg plotting library for Jupyter widgets license_file: LICENSE license: Apache License 2.0
package: name: bqplot version: {{ environ.get('GIT_DESCRIBE_TAG', '') }} build: number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }} {% if environ.get('GIT_DESCRIBE_NUMBER', '0') == '0' %}string: py{{ environ.get('PY_VER').replace('.', '') }}_0 {% else %}string: py{{ environ.get('PY_VER').replace('.', '') }}_{{ environ.get('GIT_BUILD_STR', 'GIT_STUB') }}{% endif %} source: git_url: ../ requirements: build: - python - numpy - setuptools - jupyter - pandas run: - python - numpy - setuptools - jupyter - pandas test: imports: - bqplot about: summary: Bloomberg plotting library for Jupyter widgets license_file: LICENSE license: Apache License 2.0
Revert "Revert "Corrected value none to None in provider section""
{% set name = "idds-common" %} {% set version = "0.5.2" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/idds-common-{{ version }}.tar.gz sha256: d9d205ca74453a0398491e096f885ae50294f326818d58ef9bc101e6e8db8aca build: number: 0 noarch: python script: {{ PYTHON }} -m pip install . -vv requirements: host: - pip - python >=3.6 run: - flake8 - nose - pep8 - pip - pytest - python >=3.6 - unittest2 provider: linux: azure osx: none win: none test: imports: - idds - idds.common commands: - pip check requires: - pip about: home: https://pypi.org/project/idds-common/ summary: intelligent Data Delivery Service(iDDS) Package dev_url: https://github.com/HSF/iDDS license: Apache-2.0 license_file: LICENSE.rst extra: recipe-maintainers: - yesw2000
{% set name = "idds-common" %} {% set version = "0.5.2" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/idds-common-{{ version }}.tar.gz sha256: d9d205ca74453a0398491e096f885ae50294f326818d58ef9bc101e6e8db8aca build: number: 0 noarch: python script: {{ PYTHON }} -m pip install . -vv requirements: host: - pip - python >=3.6 run: - flake8 - nose - pep8 - pip - pytest - python >=3.6 - unittest2 provider: linux: azure osx: None win: None test: imports: - idds - idds.common commands: - pip check requires: - pip about: home: https://pypi.org/project/idds-common/ summary: intelligent Data Delivery Service(iDDS) Package dev_url: https://github.com/HSF/iDDS license: Apache-2.0 license_file: LICENSE.rst extra: recipe-maintainers: - yesw2000
Update Olauncher Clutter Free to fork1.6 (6)
Categories: - Theming License: GPL-3.0-only AuthorName: Joscha AuthorEmail: joscha.loos@rwth-aachen.de SourceCode: https://github.com/jooooscha/Olauncher IssueTracker: https://github.com/jooooscha/Olauncher/issues AutoName: Olauncher Clutter Free RepoType: git Repo: https://github.com/jooooscha/Olauncher Builds: - versionName: fork1.4 versionCode: 4 commit: fork1.4 subdir: app gradle: - yes - versionName: fork1.5 versionCode: 5 commit: d485e736e7f9d23f8ac599cd28c5da1c05c0f776 subdir: app sudo: - apt-get update || apt-get update - apt-get install openjdk-11-jdk-headless - update-alternatives --auto java gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: fork1.5 CurrentVersionCode: 5
Categories: - Theming License: GPL-3.0-only AuthorName: Joscha AuthorEmail: joscha.loos@rwth-aachen.de SourceCode: https://github.com/jooooscha/Olauncher IssueTracker: https://github.com/jooooscha/Olauncher/issues AutoName: Olauncher Clutter Free RepoType: git Repo: https://github.com/jooooscha/Olauncher Builds: - versionName: fork1.4 versionCode: 4 commit: fork1.4 subdir: app gradle: - yes - versionName: fork1.5 versionCode: 5 commit: d485e736e7f9d23f8ac599cd28c5da1c05c0f776 subdir: app sudo: - apt-get update || apt-get update - apt-get install openjdk-11-jdk-headless - update-alternatives --auto java gradle: - yes - versionName: fork1.6 versionCode: 6 commit: acb119dce60bd4668a4e5eece2dcf6df894c0c5c subdir: app sudo: - apt-get update || apt-get update - apt-get install openjdk-11-jdk-headless - update-alternatives --auto java gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: fork1.6 CurrentVersionCode: 6
Update from Hackage at 2020-09-30T18:54:05Z
homepage: '' changelog-type: '' hash: 3b632ed2ce2a0a3c98301ea6fb23d56b79f89654492df134f2d33f4c43fae00c test-bench-deps: {} maintainer: Zachary Churchill <zachary@itpro.tv> synopsis: Generates a servant API module changelog: '' basic-deps: base: '>=4.13.0.0 && <=5.2.0.0' parser-combinators: '>=1.2.1' text: '>=1.2.4.0' regex-tdfa: '>=1.3.1.0' regex-base: '>=0.94.0.0' mtl: '>=2.2.2' attoparsec: '>=0.13.2.4' optparse-applicative: '>=0.15.1.0' hpack: '>=0.34.2' tomland: '>=1.3.1.0' all-versions: - 0.0.1 - 0.0.2 author: '' latest: 0.0.2 description-type: haddock description: A preprocessor which will parse a psuedo-haskell module with imports and generate a module with exports an Api type and a server function license-name: MIT
homepage: '' changelog-type: '' hash: 3b632ed2ce2a0a3c98301ea6fb23d56b79f89654492df134f2d33f4c43fae00c test-bench-deps: {} maintainer: Zachary Churchill <zachary@itpro.tv> synopsis: Generates a servant API module changelog: '' basic-deps: base: '>=4.13.0.0 && <=5.2.0.0' parser-combinators: '>=1.2.1' text: '>=1.2.4.0' regex-tdfa: '>=1.3.1.0' regex-base: '>=0.94.0.0' mtl: '>=2.2.2' attoparsec: '>=0.13.2.4' optparse-applicative: '>=0.15.1.0' hpack: '>=0.34.2' tomland: '>=1.3.1.0' all-versions: - 0.0.2 author: '' latest: 0.0.2 description-type: haddock description: A preprocessor which will parse a psuedo-haskell module with imports and generate a module with exports an Api type and a server function license-name: MIT
Update from Hackage at 2015-08-05T00:18:49+0000
homepage: https://github.com/LukeHoersten/shake-minify changelog-type: '' hash: eeb0e0dcd726be2ffccfa27a0da1101cc9b341f7c14fb045b2bad2217e83aa4d test-bench-deps: {} maintainer: luke@hoersten.org synopsis: Shake Minify Rules changelog: '' basic-deps: shake: ! '>=0.14 && <0.16' bytestring: ! '>=0.10 && <0.11' base: ! '>=4.7 && <4.9' text: ! '>=1.2 && <1.3' hjsmin: ! '>=0.1 && <0.2' css-text: ! '>=0.1 && <0.2' all-versions: - '0.1.0' - '0.1.1' - '0.1.2' - '0.1.3' author: Luke Hoersten latest: '0.1.3' description-type: haddock description: ! 'Shake rules to minify CSS and JS files. @shake-minify@ doesn''t require any external tools to be on the @$PATH@ and uses native Haskell CSS and JS minifiers.' license-name: BSD3
homepage: https://github.com/LukeHoersten/shake-minify changelog-type: '' hash: c9777a07bae92d0775b9c3dcb9d6e9eee7c621710267d89715bfbc55914a014e test-bench-deps: {} maintainer: luke@hoersten.org synopsis: Shake Minify Rules changelog: '' basic-deps: shake: ! '>=0.14 && <0.16' bytestring: ! '>=0.10 && <0.11' base: ! '>=4.7 && <4.9' text: ! '>=1.2 && <1.3' hjsmin: ! '>=0.1 && <0.2' css-text: ! '>=0.1 && <0.2' all-versions: - '0.1.0' - '0.1.1' - '0.1.2' - '0.1.3' - '0.1.4' author: Luke Hoersten latest: '0.1.4' description-type: haddock description: ! 'Shake rules to minify CSS and JS files. @shake-minify@ doesn''t require any external tools to be on the @$PATH@ and uses native Haskell CSS and JS minifiers.' license-name: BSD3
Update Kirkham Christmas visit slots
--- name: Kirkham nomis_id: KMI address: - Freckleton Road - ' Kirkham' - PR4 2RN email: socialvisits.kirkham@hmps.gsi.gov.uk enabled: true estate: Kirkham phone: slots: fri: - 1300-1530 sat: - 1300-1530 sun: - 1300-1530 unbookable: - 2014-12-25
--- name: Kirkham nomis_id: KMI address: - Freckleton Road - ' Kirkham' - PR4 2RN email: socialvisits.kirkham@hmps.gsi.gov.uk enabled: true estate: Kirkham phone: slot_anomalies: 2015-12-23: - 1315-1540 2015-12-30: - 1315-1540 slots: fri: - 1300-1530 sat: - 1300-1530 sun: - 1300-1530 unbookable: - 2014-12-25 - 2015-12-24 - 2015-12-25 - 2015-12-31 - 2016-01-01
Use latest version of mido
{% set name = "pretty_midi" %} {% set version = "0.2.9" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pretty_midi-{{ version }}.tar.gz sha256: f6a249cb843441e1cb78c4c0a1290948d6f56df7486f7974e20d5c80486dc99e build: number: 0 noarch: python script: {{ PYTHON }} -m pip install . -vv requirements: host: - pip - python >=2.7 run: - mido >=1.1.16 - numpy >=1.7.0 - python >=2.7 - six test: imports: - pretty_midi commands: - pip check requires: - pip about: home: https://github.com/craffel/pretty-midi summary: Functions and classes for handling MIDI data conveniently. license: MIT license_file: LICENSE.txt extra: recipe-maintainers: - Walter-0 - mxr-conda
{% set name = "pretty_midi" %} {% set version = "0.2.9" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pretty_midi-{{ version }}.tar.gz sha256: f6a249cb843441e1cb78c4c0a1290948d6f56df7486f7974e20d5c80486dc99e build: number: 0 noarch: python script: {{ PYTHON }} -m pip install . -vv requirements: host: - pip - python >=2.7 run: - mido >=1.2.10 - numpy >=1.7.0 - python >=2.7 - six test: imports: - pretty_midi commands: - pip check requires: - pip about: home: https://github.com/craffel/pretty-midi summary: Functions and classes for handling MIDI data conveniently. license: MIT license_file: LICENSE.txt extra: recipe-maintainers: - Walter-0 - mxr-conda
Update action for gpg import
name: release on: push: tags: - 'v*' jobs: goreleaser: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Unshallow run: git fetch --prune --unshallow - name: Set up Go uses: actions/setup-go@v2 with: go-version: 1.14 - name: Import GPG key id: import_gpg uses: paultyng/ghaction-import-gpg@v2.1.0 env: GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} PASSPHRASE: ${{ secrets.PASSPHRASE }} - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: version: latest args: release --rm-dist env: GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: release on: push: branches: - master tags: - 'v*' jobs: goreleaser: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Unshallow run: git fetch --prune --unshallow - name: Set up Go uses: actions/setup-go@v2 with: go-version: 1.14 - name: Import GPG key id: import_gpg uses: crazy-max/ghaction-import-gpg@v3 env: GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} PASSPHRASE: ${{ secrets.PASSPHRASE }} - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: version: latest args: release --rm-dist env: GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Enable "cascade all" for JournalUser's roles and user fields
Ojs\JournalBundle\Entity\JournalUser: type: entity table: journal_user repositoryClass: Ojs\JournalBundle\Entity\JournalUserRepository manyToOne: journal: targetEntity: Ojs\JournalBundle\Entity\Journal inversedBy: journalUsers joinColumn: name: journal_id referencedColumnName: id user: targetEntity: Ojs\UserBundle\Entity\User inversedBy: journalUsers joinColumn: name: user_id referencedColumnName: id manyToMany: roles: targetEntity: Ojs\UserBundle\Entity\Role joinTable: name: journal_user_role joinColumns: journal_user_id: referencedColumnName: id inverseJoinColumns: role_id: referencedColumnName: id id: id: type: integer id: true generator: strategy: AUTO uniqueConstraints: journal_user_idx: columns: journal_id, user_id lifecycleCallbacks: { }
Ojs\JournalBundle\Entity\JournalUser: type: entity table: journal_user repositoryClass: Ojs\JournalBundle\Entity\JournalUserRepository manyToOne: journal: targetEntity: Ojs\JournalBundle\Entity\Journal inversedBy: journalUsers joinColumn: name: journal_id referencedColumnName: id user: targetEntity: Ojs\UserBundle\Entity\User inversedBy: journalUsers cascade: ["ALL"] joinColumn: name: user_id referencedColumnName: id manyToMany: roles: targetEntity: Ojs\UserBundle\Entity\Role cascade: ["ALL"] joinTable: name: journal_user_role joinColumns: journal_user_id: referencedColumnName: id inverseJoinColumns: role_id: referencedColumnName: id id: id: type: integer id: true generator: strategy: AUTO uniqueConstraints: journal_user_idx: columns: journal_id, user_id lifecycleCallbacks: { }
Set default oracle java to oracle-java8-installer version
--- java_oracle_installer: "oracle-java7-installer" java_repository_ppa: "ppa:webupd8team/java"
--- java_oracle_installer: "oracle-java8-installer" java_repository_ppa: "ppa:webupd8team/java"
Update from Hackage at 2018-12-08T20:28:15Z
homepage: '' changelog-type: '' hash: 20eb8fb3beaeb5a0a7aae3289e606dacf244a0bf25527e67b8ac2b6abbc324b1 test-bench-deps: {} maintainer: tek@tryp.io synopsis: neovim project manager changelog: '' basic-deps: base: ! '>=4.7 && <5' nvim-hs: ! '>=1 && <2' all-versions: - '0.1.0.0' author: Torsten Schmits latest: '0.1.0.0' description-type: markdown description: ! '# Intro A neovim plugin that provides project-specific configuration file loading. ' license-name: MIT
homepage: https://github.com/tek/proteome-hs#readme changelog-type: '' hash: 010e0f44f421f5e692af246fa4d2904d0994a8b74e2d2eed466177ac10c6e503 test-bench-deps: MissingH: -any HTF: -any unliftio: -any split: -any stm: -any base: ! '>=4.7 && <5' data-default-class: -any time: -any text: -any filepath: -any process: -any containers: -any ansi-terminal: -any lens: -any pretty-terminal: -any utf8-string: -any hslogger: -any messagepack: -any nvim-hs: -any mtl: -any prettyprinter: -any deepseq: -any proteome: -any resourcet: -any strings: -any directory: -any maintainer: tek@tryp.io synopsis: neovim project manager changelog: '' basic-deps: MissingH: -any unliftio: -any split: -any stm: -any base: ! '>=4.7 && <5' data-default-class: -any time: -any text: -any filepath: -any process: -any containers: -any ansi-terminal: -any lens: -any pretty-terminal: -any utf8-string: -any hslogger: -any messagepack: -any nvim-hs: -any mtl: -any prettyprinter: -any deepseq: -any proteome: -any resourcet: -any strings: -any directory: -any all-versions: - '0.1.0.0' - '0.2.0.0' author: Torsten Schmits latest: '0.2.0.0' description-type: markdown description: ! '# Intro A neovim plugin that provides project-specific configuration file loading and performs runtime tasks on projects. # Install Use the [chromatin] plugin manager with the spec `hackage:proteome`. [chromatin]: https://github.com/tek/chromatin.nvim ' license-name: MIT
Switch back the docs version
name: rubocop title: RuboCop # We always provide version without patch here (e.g. 1.1), # as patch versions should not appear in the docs. version: '1.19' nav: - modules/ROOT/nav.adoc
name: rubocop title: RuboCop # We always provide version without patch here (e.g. 1.1), # as patch versions should not appear in the docs. version: 'master' nav: - modules/ROOT/nav.adoc
Update alumni hall hours for week 35
name: Alumni Hall image: alumni-hall category: Academia schedule: - title: Hours hours: # - {days: [Mo, Tu, We, Th, Fr], from: '7:00am', to: '5:00pm'} - {days: [Mo, Tu, We, Th], from: '7:00am', to: '4:30pm'} - {days: [Fr], from: '7:00am', to: '12:00pm'} breakSchedule: fall: [] thanksgiving: [] winter: [] interim: [] spring: [] easter: [] summer: - title: Hours hours: - {days: [Mo, Tu, We, Th], from: '7:00am', to: '4:30pm'} - {days: [Fr], from: '7:00am', to: '12:00pm'}
name: Alumni Hall image: alumni-hall category: Academia schedule: - title: Hours hours: - {days: [Mo, Tu, We, Th, Fr], from: '7:00am', to: '5:00pm'} breakSchedule: fall: [] thanksgiving: [] winter: [] interim: [] spring: [] easter: [] summer: - title: Hours hours: - {days: [Mo, Tu, We, Th], from: '7:00am', to: '4:30pm'} - {days: [Fr], from: '7:00am', to: '12:00pm'}
Remove the cancel-previous-run step from the workflow
name: Quarkus Deploy Snapshots on: schedule: - cron: '0 2 * * *' env: LANG: en_US.UTF-8 jobs: build-and-deploy: name: "Build and deploy" runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: ref: master - uses: n1hility/cancel-previous-runs@v2 with: token: ${{ secrets.GITHUB_TOKEN }} - name: Reclaim Disk Space run: .github/ci-prerequisites.sh - name: Set up JDK 8 # Uses sha for added security since tags can be updated uses: joschi/setup-jdk@b9cc6eabf7e7e3889766b5cee486f874c9e1bd2d with: java-version: 8 - name: Build and Deploy env: GITHUB_TOKEN: ${{ secrets.GITHUB_API_TOKEN }} SERVER_USERNAME: ${{ secrets.SERVER_USERNAME }} SERVER_PASSWORD: ${{ secrets.SERVER_PASSWORD }} run: | mvn -e -B --settings .github/mvn-settings.xml \ -DskipITs -Dno-format -Dinvoker.skip=true \ -DretryFailedDeploymentCount=10 \ clean deploy
name: Quarkus Deploy Snapshots on: schedule: - cron: '0 2 * * *' env: LANG: en_US.UTF-8 jobs: build-and-deploy: name: "Build and deploy" runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: ref: master - name: Reclaim Disk Space run: .github/ci-prerequisites.sh - name: Set up JDK 8 # Uses sha for added security since tags can be updated uses: joschi/setup-jdk@b9cc6eabf7e7e3889766b5cee486f874c9e1bd2d with: java-version: 8 - name: Build and Deploy env: GITHUB_TOKEN: ${{ secrets.GITHUB_API_TOKEN }} SERVER_USERNAME: ${{ secrets.SERVER_USERNAME }} SERVER_PASSWORD: ${{ secrets.SERVER_PASSWORD }} run: | mvn -e -B --settings .github/mvn-settings.xml \ -DskipITs -Dno-format -Dinvoker.skip=true \ -DretryFailedDeploymentCount=10 \ clean deploy
Use latest cfn-lint; E3002 now fixed
version: 0.2 env: variables: PRX_NULL: "null" phases: install: commands: - 'echo "Installing CloudFormation Linter"' - 'pip install awscli --upgrade && pip install cfn-lint' build: commands: - 'cd $(ls -d */|head -n 1)' - 'find . -name "*.yml" -type f ! -path "./node_modules/*" -mindepth 2 -print0 | xargs -0 -n1 cfn-lint --ignore-checks W E3002 --template' post_build: commands: - 'curl -sO "https://raw.githubusercontent.com/PRX/Infrastructure/master/ci/utility/post_build.sh" && chmod +x post_build.sh && bash ./post_build.sh'
version: 0.2 env: variables: PRX_NULL: "null" phases: install: commands: - 'echo "Installing CloudFormation Linter"' - 'pip install awscli --upgrade && pip install cfn-lint --upgrade' build: commands: - 'cd $(ls -d */|head -n 1)' - 'find . -name "*.yml" -type f ! -path "./node_modules/*" -mindepth 2 -print0 | xargs -0 -n1 cfn-lint --ignore-checks W --template' post_build: commands: - 'curl -sO "https://raw.githubusercontent.com/PRX/Infrastructure/master/ci/utility/post_build.sh" && chmod +x post_build.sh && bash ./post_build.sh'
Remove dependency on polymer_ui_elements until we get the pub packages sorted out
name: polymer_elements version: 0.0.13 authors: - Erik Grimes <erik.grimes@gmail.com> - Günter Zöchbauer <guenter@gzoechbauer.com> description: > A Dart port of polymer-elements (https://github.com/Polymer/polymer-elements). homepage: https://github.com/ErikGrimes/polymer_elements documentation: http://erikgrimes.github.io/polymer_elements/docs/index.html environment: sdk: ">=0.8.10+6 <2.0.0" dependencies: polymer: ">=0.9.0 < 0.10.0" polymer_ui_elements: 0.0.12 dev_dependencies: unittest: any
name: polymer_elements version: 0.0.13 authors: - Erik Grimes <erik.grimes@gmail.com> - Günter Zöchbauer <guenter@gzoechbauer.com> description: > A Dart port of polymer-elements (https://github.com/Polymer/polymer-elements). homepage: https://github.com/ErikGrimes/polymer_elements documentation: http://erikgrimes.github.io/polymer_elements/docs/index.html environment: sdk: ">=0.8.10+6 <2.0.0" dependencies: polymer: ">=0.9.0 < 0.10.0" # polymer_ui_elements: 0.0.12 dev_dependencies: unittest: any
Add rep two-layer layering mode to oci phase 1 opsfile
--- - type: replace path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/diego?/temporary_oci_buildpack_mode value: &temporary_oci_buildpack_mode oci-phase-1 - type: replace path: /instance_groups/name=cc-worker/jobs/name=cloud_controller_worker/properties/cc/diego?/temporary_oci_buildpack_mode value: *temporary_oci_buildpack_mode - type: replace path: /instance_groups/name=scheduler/jobs/name=cloud_controller_clock/properties/cc/diego?/temporary_oci_buildpack_mode value: *temporary_oci_buildpack_mode - type: replace path: /instance_groups/name=diego-cell/jobs/name=garden/properties/grootfs/tls? value: cert: ((grootfs_remote_layer_tls.certificate)) key: ((grootfs_remote_layer_tls.private_key)) ca_cert: ((service_cf_internal_ca.certificate)) - type: replace path: /variables/- value: name: grootfs_remote_layer_tls type: certificate options: ca: service_cf_internal_ca common_name: cell.service.cf.internal extended_key_usage: - client_auth - server_auth alternative_names: ["*.cell.service.cf.internal"]
--- - type: replace path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/diego?/temporary_oci_buildpack_mode value: &temporary_oci_buildpack_mode oci-phase-1 - type: replace path: /instance_groups/name=cc-worker/jobs/name=cloud_controller_worker/properties/cc/diego?/temporary_oci_buildpack_mode value: *temporary_oci_buildpack_mode - type: replace path: /instance_groups/name=scheduler/jobs/name=cloud_controller_clock/properties/cc/diego?/temporary_oci_buildpack_mode value: *temporary_oci_buildpack_mode - type: replace path: /instance_groups/name=diego-cell/jobs/name=rep/properties/containers/layering_mode? value: "two-layer" - type: replace path: /instance_groups/name=diego-cell/jobs/name=garden/properties/grootfs/tls? value: cert: ((grootfs_remote_layer_tls.certificate)) key: ((grootfs_remote_layer_tls.private_key)) ca_cert: ((service_cf_internal_ca.certificate)) - type: replace path: /variables/- value: name: grootfs_remote_layer_tls type: certificate options: ca: service_cf_internal_ca common_name: cell.service.cf.internal extended_key_usage: - client_auth - server_auth alternative_names: ["*.cell.service.cf.internal"]
Add custom fields to the CRD definition for better admin UX
apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: name: prowjobs.prow.k8s.io spec: group: prow.k8s.io version: v1 names: kind: ProwJob singular: prowjob plural: prowjobs scope: Namespaced validation: openAPIV3Schema: properties: spec: properties: max_concurrency: type: integer minimum: 0 type: type: string enum: - "presubmit" - "postsubmit" - "periodic" - "batch" status: properties: state: type: string enum: - "triggered" - "pending" - "success" - "failure" - "aborted" - "error" anyOf: - not: properties: state: type: string enum: - "success" - "failure" - "error" - "aborted" - required: - completionTime
apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: name: prowjobs.prow.k8s.io spec: group: prow.k8s.io version: v1 names: kind: ProwJob singular: prowjob plural: prowjobs scope: Namespaced validation: openAPIV3Schema: properties: spec: properties: max_concurrency: type: integer minimum: 0 type: type: string enum: - "presubmit" - "postsubmit" - "periodic" - "batch" status: properties: state: type: string enum: - "triggered" - "pending" - "success" - "failure" - "aborted" - "error" anyOf: - not: properties: state: type: string enum: - "success" - "failure" - "error" - "aborted" - required: - completionTime additionalPrinterColumns: - name: Job type: string description: The name of the job being run. JSONPath: .spec.job - name: BuildId type: string description: The ID of the job being run. JSONPath: .status.build_id - name: Type type: string description: The type of job being run. JSONPath: .spec.type - name: Org type: string description: The org for which the job is running. JSONPath: .spec.refs.org - name: Repo type: string description: The repo for which the job is running. JSONPath: .spec.refs.repo - name: Pulls type: string description: The pulls for which the job is running. JSONPath: ".spec.refs.pulls[*].number" - name: StartTime type: date description: When the job started running. JSONPath: .status.startTime - name: CompletionTime type: date description: When the job finished running. JSONPath: .status.completionTime
Isolate node server to separate directory
# Cribbed from https://github.com/DanWahlin/CodeWithDanDockerServices #. Run docker-compose build #. Run docker-compose up version: "3.1" services: node: container_name: node-front build: context: . dockerfile: .docker/node-front.dockerfile ports: - "8080:8080" volumes: - .:/var/www/simpleshelf - ./config:/opt/simpleshelf/config working_dir: /var/www/simpleshelf depends_on: - couchdb networks: - simpleshelf-network couchdb: container_name: couchdb image: apache/couchdb volumes: - ./docker-couchdb/data:/opt/couchdb/data - ./docker-couchdb/etc:/opt/couchdb/etc/ ports: # Remove "5984:" to lock out external access. - "5984:5984" networks: - simpleshelf-network networks: simpleshelf-network: driver: bridge
# Cribbed from https://github.com/DanWahlin/CodeWithDanDockerServices #. Run docker-compose build #. Run docker-compose up version: "3.1" services: node: container_name: node-front build: context: . dockerfile: .docker/node-front.dockerfile environment: - NODE_ENV ports: - "8080:8080" volumes: - ./server:/var/www/simpleshelf - ./node_modules:/var/www/simpleshelf/node_modules - ./output-public:/var/www/simpleshelf/output-public - ./server/config:/opt/simpleshelf/config - ./server/log:/var/log working_dir: /var/www/simpleshelf depends_on: - couchdb networks: - simpleshelf-network couchdb: container_name: couchdb image: apache/couchdb volumes: - ./docker-couchdb/data:/opt/couchdb/data - ./docker-couchdb/etc:/opt/couchdb/etc/ ports: # Remove "5984:" to lock out external access. - "5984:5984" networks: - simpleshelf-network networks: simpleshelf-network: driver: bridge
Use port 80 for web frontend
version: "3" services: backend: image: bendahl/todo-backend:1.0 ports: - "8081:8081" frontend: depends_on: - backend environment: - BACKEND_HOSTNAME=backend image: bendahl/todo-frontend:1.0 ports: - "8080:8080"
version: "3" services: backend: image: bendahl/todo-backend:1.0 ports: - "8081:8081" frontend: depends_on: - backend environment: - BACKEND_HOSTNAME=backend image: bendahl/todo-frontend:1.0 ports: - "80:8080"
Update recurring slots for spring hill
--- name: Spring Hill nomis_id: SPI address: |- Grendon Underwood postcode: HP18 0TL email_address: socialvisits.springhill@hmps.gsi.gov.uk phone_no: 01296 445000 enabled: true recurring: fri: - 1345-1600 sat: - 1345-1600 sun: - 1345-1600 unbookable: - 2016-03-25 anomalous: 2016-01-15: - 1345-1600 2016-01-22: - 1345-1600 2016-01-29: - 1345-1600
--- name: Spring Hill nomis_id: SPI address: |- Grendon Underwood postcode: HP18 0TL email_address: socialvisits.springhill@hmps.gsi.gov.uk phone_no: 01296 445000 enabled: true recurring: fri: - 1345-1545 sat: - 1345-1545 sun: - 1345-1545 unbookable: - 2016-03-25 anomalous: 2016-01-15: - 1345-1600 2016-01-22: - 1345-1600 2016-01-29: - 1345-1600
Allow vars.local.yml to override vars.yml.
--- - hosts: notebook vars_files: - ['secrets.yml', 'secrets.vault.yml'] - vars.yml roles: - common - notebook - hosts: proxy vars_files: - ['secrets.yml', 'secrets.vault.yml'] - vars.yml roles: - common - proxy
--- - hosts: notebook vars_files: - ['secrets.yml', 'secrets.vault.yml'] - ['vars.local.yml', 'vars.yml'] roles: - common - notebook - hosts: proxy vars_files: - ['secrets.yml', 'secrets.vault.yml'] - ['vars.local.yml', 'vars.yml'] roles: - common - proxy
Fix Github Actions build failing on "Ubuntu 16.04 GCC" for 3 months
name: subdir_example on: [push] jobs: build: name: ${{ matrix.config.name }} runs-on: ${{ matrix.config.os }} strategy: fail-fast: false matrix: config: - { name: "Windows Latest MSVC", os: windows-latest, build_type: "Debug", cc: "cl", cxx: "cl", } - { name: "Ubuntu Latest GCC", os: ubuntu-latest, build_type: "Debug", cc: "gcc", cxx: "g++" } - { name: "Ubuntu 16.04 GCC", os: ubuntu-16.04, build_type: "Debug", cc: "gcc", cxx: "g++" } - { name: "macOS Latest Clang", os: macos-latest, build_type: "Debug", cc: "clang", cxx: "clang++" } steps: - uses: actions/checkout@v2 - name: configure shell: cmake -P {0} run: | set(ENV{CC} ${{matrix.config.cc}}) set(ENV{CXX} ${{matrix.config.cxx}}) - name: generate run: | cd examples/example2 mkdir build cd build cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=${{matrix.config.build_type}} .. - name: build run: cmake --build examples/example2/build --config ${{matrix.config.build_type}}
name: subdir_example on: [push] jobs: build: name: ${{ matrix.config.name }} runs-on: ${{ matrix.config.os }} strategy: fail-fast: false matrix: config: - { name: "Windows Latest MSVC", os: windows-latest, build_type: "Debug", cc: "cl", cxx: "cl", } - { name: "Ubuntu Latest GCC", os: ubuntu-latest, build_type: "Debug", cc: "gcc", cxx: "g++" } - { name: "macOS Latest Clang", os: macos-latest, build_type: "Debug", cc: "clang", cxx: "clang++" } steps: - uses: actions/checkout@v2 - name: configure shell: cmake -P {0} run: | set(ENV{CC} ${{matrix.config.cc}}) set(ENV{CXX} ${{matrix.config.cxx}}) - name: generate run: | cd examples/example2 mkdir build cd build cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=${{matrix.config.build_type}} .. - name: build run: cmake --build examples/example2/build --config ${{matrix.config.build_type}}
Update from Hackage at 2017-12-24T09:17:45Z
homepage: https://github.com/louispan/alternators#readme changelog-type: '' hash: 7a74a4f839ffcb7da26b781dc7b7cb6b5ca3f85b0e19ec2d279c3aa6f5b985d9 test-bench-deps: {} maintainer: louis@pan.me synopsis: Handy functions when using transformers changelog: '' basic-deps: base: ! '>=4.7 && <5' mmorph: ! '>=1 && <2' transformers: ! '>=0.4 && <0.6' all-versions: - '0.1.1.1' author: Louis Pan latest: '0.1.1.1' description-type: markdown description: ! '[![Hackage](https://img.shields.io/hackage/v/alternators.svg)](https://hackage.haskell.org/package/alternators) [![Build Status](https://secure.travis-ci.org/louispan/alternators.png?branch=master)](http://travis-ci.org/louispan/alternators) Handy functions when using transformers' license-name: BSD3
homepage: https://github.com/louispan/alternators#readme changelog-type: '' hash: 9cec540bd9bb7ec17122d896d48f96a2ac732695c8696e1ffe51ba75ada0d310 test-bench-deps: {} maintainer: louis@pan.me synopsis: Handy functions when using transformers changelog: '' basic-deps: base: ! '>=4.7 && <5' mmorph: ! '>=1 && <2' transformers: ! '>=0.4 && <0.6' all-versions: - '0.1.1.1' - '0.1.2.0' author: Louis Pan latest: '0.1.2.0' description-type: markdown description: ! '[![Hackage](https://img.shields.io/hackage/v/alternators.svg)](https://hackage.haskell.org/package/alternators) [![Build Status](https://secure.travis-ci.org/louispan/alternators.png?branch=master)](http://travis-ci.org/louispan/alternators) Handy functions when using transformers' license-name: BSD3
Clone appropriate qgl/adapt branches from github directly
name: auspex channels: - bbn-q - defaults - conda-forge dependencies: - python=3.6 - matplotlib - h5py - numpy - scipy - scikit-learn - ruamel.yaml - PyVISA - tqdm - pandas - networkx - cffi - psutil - qgl
name: auspex channels: - bbn-q - defaults - conda-forge dependencies: - python=3.6 - matplotlib - h5py - numpy - scipy - scikit-learn - ruamel.yaml - PyVISA - tqdm - pandas - networkx - cffi - psutil - pip - "--editable=git+https://github.com/bbn-q/qgl.git@load-from-yaml#egg=qgl" - "--editable=git+https://github.com/bbn-q/adapt.git@master#egg=adapt"
Add pandas and statsmodels as dependencies.
name: eigenmodes-nanodisc-with-particle dependencies: - python - ipython - jupyter - matplotlib>=1.5 - numpy
name: eigenmodes-nanodisc-with-particle dependencies: - python - ipython - jupyter - matplotlib>=1.5 - numpy - pandas - statsmodels
Update from Hackage at 2021-04-07T13:01:56Z
homepage: https://github.com/iconnect/katip-syslog#readme changelog-type: '' hash: f1db71f1c805a028d8426e1389735c207f2e46633db946d43fb90802e175c660 test-bench-deps: katip-syslog: -any base: -any maintainer: chrisd@irisconnect.co.uk synopsis: Syslog Katip Scribe changelog: '' basic-deps: katip: ! '>=0.3.1.5 && <0.8.0.0' bytestring: <0.12 base: ! '>=4.7 && <5' hsyslog: ! '>=4 && <5' text: <1.3.0.0 string-conv: <0.2 aeson: <2.0.0.0 all-versions: - 0.1.0.0 - 0.1.1.0 - 0.1.2.0 author: Alfredo Di Napoli latest: 0.1.2.0 description-type: markdown description: | # katip-syslog This Haskell package provides a simple Katip Scribe which logs to syslog. license-name: BSD-3-Clause
homepage: https://github.com/iconnect/katip-syslog#readme changelog-type: '' hash: 9d58b508f01b07f7f4b618d08014466a1c25ffc6d5653c69cb39b41230ee5aaf test-bench-deps: katip-syslog: -any base: -any maintainer: chrisd@irisconnect.co.uk synopsis: Syslog Katip Scribe changelog: '' basic-deps: katip: '>=0.3.1.5 && <0.9.0.0' bytestring: <0.12 base: '>=4.7 && <5' hsyslog: '>=4 && <5' text: <1.3.0.0 string-conv: <0.2 aeson: <2.0.0.0 all-versions: - 0.1.0.0 - 0.1.1.0 - 0.1.2.0 - 0.1.2.1 author: Alfredo Di Napoli latest: 0.1.2.1 description-type: markdown description: | # katip-syslog This Haskell package provides a simple Katip Scribe which logs to syslog. license-name: BSD-3-Clause
Use the correct plugin name for linting
steps: - label: run bats tests plugins: docker-compose#v2.4.0: run: tests - label: ":bash: Shellcheck" plugins: shellcheck#v1.0.1: files: - hooks/* - label: ":sparkles: Linter" plugins: plugin-linter#v2.0.0: id: golang-build - label: test running a specific version command: go version plugins: ${BUILDKITE_REPO}#${BUILDKITE_COMMIT}: version: 1.10.2
steps: - label: run bats tests plugins: docker-compose#v2.4.0: run: tests - label: ":bash: Shellcheck" plugins: shellcheck#v1.0.1: files: - hooks/* - label: ":sparkles: Linter" plugins: plugin-linter#v2.0.0: id: golang - label: test running a specific version command: go version plugins: ${BUILDKITE_REPO}#${BUILDKITE_COMMIT}: version: 1.10.2
Update to a new engine
name: flutter version: 0.0.20 author: Flutter Authors <flutter-dev@googlegroups.com> description: A framework for writing Flutter applications homepage: http://flutter.io dependencies: intl: '>=0.12.4+2 <0.13.0' material_design_icons: '>=0.0.3 <0.1.0' sky_engine: 0.0.52 sky_services: 0.0.52 vector_math: '>=1.4.3 <2.0.0' cassowary: path: ../cassowary newton: path: ../newton environment: sdk: '>=1.12.0 <2.0.0'
name: flutter version: 0.0.20 author: Flutter Authors <flutter-dev@googlegroups.com> description: A framework for writing Flutter applications homepage: http://flutter.io dependencies: intl: '>=0.12.4+2 <0.13.0' material_design_icons: '>=0.0.3 <0.1.0' sky_engine: 0.0.53 sky_services: 0.0.53 vector_math: '>=1.4.3 <2.0.0' cassowary: path: ../cassowary newton: path: ../newton environment: sdk: '>=1.12.0 <2.0.0'
Update from Hackage at 2020-04-28T11:48:09Z
homepage: https://higherkindness.io/mu-haskell/ changelog-type: '' hash: 6780e403816e573669fd39223a535ff149e8575b9e048ce1879bdd9fb147225a test-bench-deps: {} maintainer: alejandro.serrano@47deg.com synopsis: Protocol Buffers serialization and gRPC schema import for Mu microservices changelog: '' basic-deps: http-client: -any mu-schema: ! '>=0.2.0' bytestring: -any sop-core: -any base: ! '>=4.12 && <5' http2-grpc-proto3-wire: -any text: -any language-protobuf: -any servant-client-core: -any proto3-wire: -any mu-rpc: ! '>=0.2.0' mu-protobuf: ! '>=0.2.0' compendium-client: ! '>=0.2.0' template-haskell: ! '>=2.12' all-versions: - 0.1.0.0 - 0.2.0.0 author: Alejandro Serrano, Flavio Corpa latest: 0.2.0.0 description-type: haddock description: You can use @mu-protobuf@ to read Protobuf Schema Declarations and services for mu-haskell license-name: Apache-2.0
homepage: https://higherkindness.io/mu-haskell/ changelog-type: '' hash: b0535cc6c1b133d334b5c88df4eff08dbbb2b4f844795a54a40ca17b6141fd95 test-bench-deps: {} maintainer: alejandro.serrano@47deg.com synopsis: Protocol Buffers serialization and gRPC schema import for Mu microservices changelog: '' basic-deps: http-client: -any mu-schema: '>=0.3.0' bytestring: -any sop-core: -any base: '>=4.12 && <5' http2-grpc-proto3-wire: -any text: -any language-protobuf: -any servant-client-core: -any proto3-wire: -any mu-rpc: '>=0.3.0' mu-protobuf: '>=0.3.0' compendium-client: '>=0.3.0' template-haskell: '>=2.12' all-versions: - 0.1.0.0 - 0.2.0.0 - 0.3.0.0 author: Alejandro Serrano, Flavio Corpa latest: 0.3.0.0 description-type: haddock description: You can use @mu-protobuf@ to read Protobuf Schema Declarations and services for mu-haskell license-name: Apache-2.0
Add origin- prefix to ASB image
--- __ansible_service_broker_image_prefix: ansibleplaybookbundle/ __ansible_service_broker_image_tag: latest __ansible_service_broker_etcd_image_prefix: quay.io/coreos/ __ansible_service_broker_etcd_image_tag: latest __ansible_service_broker_etcd_image_etcd_path: /usr/local/bin/etcd __ansible_service_broker_registry_type: dockerhub __ansible_service_broker_registry_name: dh __ansible_service_broker_registry_url: null __ansible_service_broker_registry_user: null __ansible_service_broker_registry_password: null __ansible_service_broker_registry_organization: ansibleplaybookbundle __ansible_service_broker_registry_tag: latest __ansible_service_broker_registry_whitelist: []
--- __ansible_service_broker_image_prefix: ansibleplaybookbundle/origin- __ansible_service_broker_image_tag: latest __ansible_service_broker_etcd_image_prefix: quay.io/coreos/ __ansible_service_broker_etcd_image_tag: latest __ansible_service_broker_etcd_image_etcd_path: /usr/local/bin/etcd __ansible_service_broker_registry_type: dockerhub __ansible_service_broker_registry_name: dh __ansible_service_broker_registry_url: null __ansible_service_broker_registry_user: null __ansible_service_broker_registry_password: null __ansible_service_broker_registry_organization: ansibleplaybookbundle __ansible_service_broker_registry_tag: latest __ansible_service_broker_registry_whitelist: []
Install tcsh for /etc/init.d/qmail script
# _ _ ___ _ # __ _ _ __ ___ __ _(_) | / / |_ __ _ ___| | _____ # / _` | '_ ` _ \ / _` | | | / /| __/ _` / __| |/ / __| # | (_| | | | | | | (_| | | |/ / | || (_| \__ \ <\__ \ # \__, |_| |_| |_|\__,_|_|_/_/ \__\__,_|___/_|\_\___/ # |_| # install-pkg
# _ _ ___ _ # __ _ _ __ ___ __ _(_) | / / |_ __ _ ___| | _____ # / _` | '_ ` _ \ / _` | | | / /| __/ _` / __| |/ / __| # | (_| | | | | | | (_| | | |/ / | || (_| \__ \ <\__ \ # \__, |_| |_| |_|\__,_|_|_/_/ \__\__,_|___/_|\_\___/ # |_| # install-pkg - name: install-pkg | install packages for qmail yum: name={{ item }} state=present with_items: - tcsh
Switch repo to Nextcloud org, and bump version to 1.5.1
# See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.3.0 hooks: - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files - repo: https://github.com/come-nc/pre-commit-php.git rev: 1.5.0 hooks: - id: php-lint - id: php-cs-fixer files: \.(php)$ exclude: ^(config|data|composer) args: []
# See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.3.0 hooks: - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files - repo: https://github.com/nextcloud/pre-commit-php.git rev: 1.5.1 hooks: - id: php-lint - id: php-cs-fixer files: \.(php)$ exclude: ^(config|data|composer) args: []
Adjust code complexity rating to C
--- engines: duplication: enabled: true config: languages: - ruby - javascript - python - php fixme: enabled: true radon: enabled: true ratings: paths: - "**.inc" - "**.js" - "**.jsx" - "**.module" - "**.php" - "**.py" - "**.rb" exclude_paths: []
--- engines: duplication: enabled: true config: languages: - ruby - javascript - python - php fixme: enabled: true radon: enabled: true config: threshold: "C" ratings: paths: - "**.inc" - "**.js" - "**.jsx" - "**.module" - "**.php" - "**.py" - "**.rb" exclude_paths: []
Add tagging for release branches
name: Bump version on: push: branches: - master jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: fetch-depth: '0' - name: Bump version and push tag uses: anothrNick/github-tag-action@1.36.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} WITH_V: true DEFAULT_BUMP: patch INITIAL_VERSION: 10.0.0
name: Bump version on: push: branches: - master - '^release-[0-9]+.[0-9]+$' jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: fetch-depth: '0' - name: Bump version and push tag uses: anothrNick/github-tag-action@1.36.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} WITH_V: true DEFAULT_BUMP: patch TAG_CONTEXT: branch
Save PHPUnit coverage clover report.
build: environment: php: version: 5.5.25
build: environment: php: version: 5.5.25 tests: override: - command: 'phpunit --coverage-clover=report' coverage: file: 'report' format: 'clover'
Switch to 2023.1 Python3 unit tests and generic template name
- project: templates: - openstack-cover-jobs-neutron - build-openstack-docs-pti - check-requirements - openstack-python3-zed-jobs-neutron check: jobs: - neutron-tempest-plugin-tap-as-a-service gate: jobs: - neutron-tempest-plugin-tap-as-a-service periodic-weekly: jobs: - openstack-tox-py39 - neutron-tempest-plugin-tap-as-a-service
- project: templates: - openstack-cover-jobs-neutron - build-openstack-docs-pti - check-requirements - openstack-python3-jobs-neutron check: jobs: - neutron-tempest-plugin-tap-as-a-service gate: jobs: - neutron-tempest-plugin-tap-as-a-service periodic-weekly: jobs: - openstack-tox-py39 - neutron-tempest-plugin-tap-as-a-service
Add .simplecov to code climate
--- engines: brakeman: enabled: true bundler-audit: enabled: true csslint: enabled: true duplication: enabled: true config: languages: - ruby - javascript eslint: enabled: false fixme: enabled: true rubocop: enabled: true ratings: paths: - Gemfile - Gemfile.lock - Rakefile - "*.gemspec" - "bin/rails" - "**.erb" - "**.haml" - "**.rb" - "**.rhtml" - "**.slim" - "**.css" - "**.inc" - "**.js" - "**.jsx" - "**.module" - "**.php" - "**.py" exclude_paths: - config/ - spec/ - "MIT-LICENSE" - "README.md"
--- engines: brakeman: enabled: true bundler-audit: enabled: true csslint: enabled: true duplication: enabled: true config: languages: - ruby - javascript eslint: enabled: false fixme: enabled: true rubocop: enabled: true ratings: paths: - Gemfile - Gemfile.lock - Rakefile - .simplecov - "*.gemspec" - "bin/rails" - "**.erb" - "**.haml" - "**.rb" - "**.rhtml" - "**.slim" - "**.css" - "**.inc" - "**.js" - "**.jsx" - "**.module" - "**.php" - "**.py" exclude_paths: - config/ - spec/ - "MIT-LICENSE" - "README.md"
Add routes for BjoerneMyAlbumsBundle/Controller annotations
bjoerne_my_albums_homepage: pattern: /hello/{name} defaults: { _controller: BjoerneMyAlbumsBundle:Default:index }
bjoerne_my_albums_homepage: pattern: /hello/{name} defaults: { _controller: BjoerneMyAlbumsBundle:Default:index } my_albums_controller: resource: "@BjoerneMyAlbumsBundle/Controller" type: annotation
Set Atomic version to 0.2.1
version: 0.2.0 release-date: 2015-06-25 14:06:27 +0200
version: 0.2.1 release-date: 2015-06-25 14:06:27 +0200
Update Setter to 0.1.9 (10)
AntiFeatures: - NonFreeNet Categories: - Internet - System License: Apache-2.0 SourceCode: https://github.com/scubajeff/Setter IssueTracker: https://github.com/scubajeff/Setter/issues Changelog: https://github.com/scubajeff/Setter/releases AutoName: Setter RepoType: git Repo: https://github.com/scubajeff/Setter Builds: - versionName: 0.1.5 versionCode: 5 commit: 0.1.5 subdir: app gradle: - yes - versionName: 0.1.6 versionCode: 6 commit: 0.1.6 subdir: app gradle: - yes - versionName: 0.1.7 versionCode: 7 commit: 0.1.7 subdir: app gradle: - yes - versionName: 0.1.8 versionCode: 9 commit: 7c12dd13102958d0567311cc5d5da8ffd5b14c99 subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: 0.1.8 CurrentVersionCode: 9
AntiFeatures: - NonFreeNet Categories: - Internet - System License: Apache-2.0 SourceCode: https://github.com/scubajeff/Setter IssueTracker: https://github.com/scubajeff/Setter/issues Changelog: https://github.com/scubajeff/Setter/releases AutoName: Setter RepoType: git Repo: https://github.com/scubajeff/Setter Builds: - versionName: 0.1.5 versionCode: 5 commit: 0.1.5 subdir: app gradle: - yes - versionName: 0.1.6 versionCode: 6 commit: 0.1.6 subdir: app gradle: - yes - versionName: 0.1.7 versionCode: 7 commit: 0.1.7 subdir: app gradle: - yes - versionName: 0.1.8 versionCode: 9 commit: 7c12dd13102958d0567311cc5d5da8ffd5b14c99 subdir: app gradle: - yes - versionName: 0.1.9 versionCode: 10 commit: 7484e8cb258e5aa5bebbc25451fbd01774067276 subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: 0.1.9 CurrentVersionCode: 10
Update github action to `actions/checkout@v3`
name: Publish jax3d to PyPI on: # Event manually triggered (in the Github UI) workflow_dispatch: inputs: git-ref: description: Git ref (e.g. SHA or tag) (Optional) default: "" required: false jobs: publish-job: if: github.repository == 'google-research/jax3d' # prevents action from running on forks runs-on: ubuntu-latest timeout-minutes: 30 steps: - uses: actions/checkout@v2 with: ref: ${{ github.event.inputs.git-ref }} # Install deps - uses: actions/setup-python@v2 with: python-version: 3.7 # Publish the package - run: pip install build twine - run: python -m build - run: twine check dist/* - run: twine upload dist/* env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
name: Publish jax3d to PyPI on: # Event manually triggered (in the Github UI) workflow_dispatch: inputs: git-ref: description: Git ref (e.g. SHA or tag) (Optional) default: "" required: false jobs: publish-job: if: github.repository == 'google-research/jax3d' # prevents action from running on forks runs-on: ubuntu-latest timeout-minutes: 30 steps: - uses: actions/checkout@v3 with: ref: ${{ github.event.inputs.git-ref }} # Install deps - uses: actions/setup-python@v2 with: python-version: 3.7 # Publish the package - run: pip install build twine - run: python -m build - run: twine check dist/* - run: twine upload dist/* env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
Test different workflow trigger
# GitHub Action that uses Black to reformat all Python code and submits a PR # in regular intervals. Inspired by: https://github.com/cclauss/autoblack name: autoblack on: schedule: cron: '0 8 * * 5' # every Friday at 8am UTC workflow_dispatch: # allow manual trigger jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: ref: ${{ github.head_ref }} - uses: actions/setup-python@v2 - run: pip install black - run: black --check spacy - name: Auto-format code if needed if: failure() run: | black spacy git status - name: Create Pull Request uses: peter-evans/create-pull-request@v3 with: title: Auto-format code with black labels: meta commit-message: Auto-format code with black committer: GitHub <noreply@github.com> author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> body: _This PR is auto-generated._ draft: false - name: Check outputs run: | echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}" echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
# GitHub Action that uses Black to reformat all Python code and submits a PR # in regular intervals. Inspired by: https://github.com/cclauss/autoblack name: autoblack on: # schedule: # cron: '0 8 * * 5' # every Friday at 8am UTC workflow_dispatch: # allow manual trigger jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: ref: ${{ github.head_ref }} - uses: actions/setup-python@v2 - run: pip install black - run: black --check spacy - name: Auto-format code if needed if: failure() run: | black spacy git status - name: Create Pull Request uses: peter-evans/create-pull-request@v3 with: title: Auto-format code with black labels: meta commit-message: Auto-format code with black committer: GitHub <noreply@github.com> author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> body: _This PR is auto-generated._ draft: false - name: Check outputs run: | echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}" echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
Update from Forestry.io - Updated Forestry configuration
--- hide_body: false is_partial: true fields: - type: number name: column_count label: Column Count description: The number of columns config: min: '1' max: '3' step: '1' required: true - type: field_group_list label: Columns name: columns fields: - type: text name: title label: Title description: The title to display config: required: true - type: textarea label: Body name: body description: The content to display config: wysiwyg: true schema: format: markdown required: true - type: number label: Width name: width config: min: '1' max: '8' step: '1' required: false description: The optional width to apply in the 12-grid layout config: labelField: title
--- hide_body: false is_partial: true fields: - type: field_group_list label: Columns name: columns fields: - type: text name: title label: Title description: The title to display config: required: true - type: textarea label: Body name: body description: The content to display config: wysiwyg: true schema: format: markdown required: true - type: number label: Width name: width config: min: '1' max: '8' step: '1' required: false description: The optional width to apply in the 12-grid layout config: labelField: title
Allow contacts pages to be tagged
# Below is the list of distinct `publishing_app`s in the content-store, with # the app that is (mostly) responsible for tagging its content. # # Leave an app empty to disable tagging for it. # a-migrated-app: content-tagger # for testing puposes businesssupportfinder: content-tagger calculators: content-tagger calendars: content-tagger collections-publisher: content-tagger contacts: panopticon contacts-admin: design-principles: email-campaign-frontend: external-link-tracker: feedback: frontend: govuk_content_api: hmrc-manuals-api: content-tagger info-frontend: licencefinder: content-tagger manuals-frontend: performanceplatform-big-screen-view: policy-publisher: content-tagger publisher: publisher rummager: service-manual-publisher: short-url-manager: smartanswers: content-tagger specialist-publisher: specialist-publisher spotlight: static: tariff: travel-advice-publisher: whitehall: whitehall
# Below is the list of distinct `publishing_app`s in the content-store, with # the app that is (mostly) responsible for tagging its content. # # Leave an app empty to disable tagging for it. # a-migrated-app: content-tagger # for testing puposes businesssupportfinder: content-tagger calculators: content-tagger calendars: content-tagger collections-publisher: content-tagger contacts: content-tagger contacts-admin: content-tagger design-principles: email-campaign-frontend: external-link-tracker: feedback: frontend: govuk_content_api: hmrc-manuals-api: content-tagger info-frontend: licencefinder: content-tagger manuals-frontend: performanceplatform-big-screen-view: policy-publisher: content-tagger publisher: publisher rummager: service-manual-publisher: short-url-manager: smartanswers: content-tagger specialist-publisher: specialist-publisher spotlight: static: tariff: travel-advice-publisher: whitehall: whitehall
Upgrade docker compose to 2.4
version: '2.2' services: mariadb: image: mariadb:10.4 volumes: - mariadb_data:/var/lib/mysql environment: MYSQL_RANDOM_ROOT_PASSWORD: 'yes' env_file: - db.env ports: - '3306:3306' healthcheck: test: ["CMD", "bash", "-c", "/usr/bin/mysql --user=$$MYSQL_USER --password=$$MYSQL_PASSWORD --execute \"SHOW DATABASES;\""] interval: 3s timeout: 1s retries: 5 app: image: synyx/urlaubsverwaltung:latest ports: - '8080:8080' environment: SPRING_PROFILES_ACTIVE: 'default' env_file: - db.env volumes: - ./application.properties:/app/application.properties depends_on: mariadb: condition: service_healthy healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8080/actuator/health"] interval: 30s timeout: 30s retries: 5 volumes: mariadb_data: {}
version: '2.4' services: mariadb: image: mariadb:10.4 volumes: - mariadb_data:/var/lib/mysql environment: MYSQL_RANDOM_ROOT_PASSWORD: 'yes' env_file: - db.env ports: - '3306:3306' healthcheck: test: ["CMD", "bash", "-c", "/usr/bin/mysql --user=$$MYSQL_USER --password=$$MYSQL_PASSWORD --execute \"SHOW DATABASES;\""] interval: 3s timeout: 1s retries: 5 app: image: synyx/urlaubsverwaltung:latest ports: - '8080:8080' environment: SPRING_PROFILES_ACTIVE: 'default' env_file: - db.env volumes: - ./application.properties:/app/application.properties depends_on: mariadb: condition: service_healthy healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8080/actuator/health"] interval: 30s timeout: 30s retries: 5 volumes: mariadb_data: {}
Add quotes for parameter expansions
machine: java: version: openjdk8 test: post: - mkdir -p $CIRCLE_TEST_REPORTS/junit/ - find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
machine: java: version: openjdk8 test: post: - mkdir -p "$CIRCLE_TEST_REPORTS/junit" - find . -type f -regex '.*/target/surefire-reports/.*xml' -exec cp {} "$CIRCLE_TEST_REPORTS/junit" \;
Increase diego-cell count to 123 in London
--- uaa_instances: 3 nats_instances: 3 diego_api_instances: 3 cell_instances: 117 router_instances: 15 api_instances: 12 doppler_instances: 60 log_api_instances: 30 scheduler_instances: 8 cc_worker_instances: 8 cc_hourly_rate_limit: 60000 cc_staging_timeout_in_seconds: 2700 cc_maximum_health_check_timeout_in_seconds: 300 paas_region_name: london prometheus_disk_size: 750GB prometheus_retention_size: 700GB
--- uaa_instances: 3 nats_instances: 3 diego_api_instances: 3 cell_instances: 123 router_instances: 15 api_instances: 12 doppler_instances: 63 log_api_instances: 33 scheduler_instances: 8 cc_worker_instances: 8 cc_hourly_rate_limit: 60000 cc_staging_timeout_in_seconds: 2700 cc_maximum_health_check_timeout_in_seconds: 300 paas_region_name: london prometheus_disk_size: 750GB prometheus_retention_size: 700GB
Update from Hackage at 2015-07-14T06:19:14+0000
homepage: '' changelog-type: '' hash: 907771d78ac3db503a9d832bae2dcc3a20d03a3a7698ff7769cb9e84703b27a1 test-bench-deps: {} maintainer: tokiwoousaka synopsis: create slide for presentation. changelog: '' basic-deps: base: ! '>=4.6 && <5' reasonable-operational: ! '>=0.1' reasonable-lens: ! '>=0.2.1' mtl: ! '>=2.1' all-versions: - '0.2.0.0' - '0.2.0.1' - '0.2.0.2' author: tokiwoousaka latest: '0.2.0.2' description-type: haddock description: library for create slide for your presentation. license-name: MIT
homepage: '' changelog-type: '' hash: b65b4a818f1ddbaa406d7e93888888c25c64e85e8aa8dada38eb2fc784ebd179 test-bench-deps: {} maintainer: tokiwoousaka synopsis: create slide for presentation. changelog: '' basic-deps: base: ! '>=4.6 && <5' monad-skeleton: -any lens: -any mtl: -any all-versions: - '0.2.0.0' - '0.2.0.1' - '0.2.0.2' - '0.2.1.0' - '0.2.2.0' author: tokiwoousaka latest: '0.2.2.0' description-type: haddock description: library for create slide for your presentation. license-name: MIT
Add Python3 xena unit tests
- project: templates: - tripleo-buildimage-jobs - openstack-python3-wallaby-jobs - release-notes-jobs-python3 post: jobs: - publish-openstack-python-branch-tarball
- project: templates: - tripleo-buildimage-jobs - openstack-python3-xena-jobs - release-notes-jobs-python3 post: jobs: - publish-openstack-python-branch-tarball
Add `documentation` label to `docs/**/*`.
C++: - cpp/**/* - change-notes/**/*cpp* C#: - csharp/**/* - change-notes/**/*csharp* Java: - java/**/* - change-notes/**/*java.* JS: - javascript/**/* - change-notes/**/*javascript* Python: - python/**/* - change-notes/**/*python* documentation: - **/*.qhelp - **/*.md
C++: - cpp/**/* - change-notes/**/*cpp* C#: - csharp/**/* - change-notes/**/*csharp* Java: - java/**/* - change-notes/**/*java.* JS: - javascript/**/* - change-notes/**/*javascript* Python: - python/**/* - change-notes/**/*python* documentation: - **/*.qhelp - **/*.md - docs/**/*
Update LRC Editor to 3.2.6 (56)
Categories: - Multimedia License: GPL-3.0-only AuthorName: CG Devworks AuthorEmail: cg.devworks@gmail.com SourceCode: https://github.com/Spikatrix/LRC-Editor IssueTracker: https://github.com/Spikatrix/LRC-Editor/issues AutoName: LRC Editor RepoType: git Repo: https://github.com/Spikatrix/LRC-Editor.git Builds: - versionName: 3.2.4 versionCode: 52 commit: v3.2.4 subdir: app gradle: - fdroid - versionName: 3.2.5 versionCode: 53 commit: v3.2.5 subdir: app gradle: - fdroid - versionName: 3.2.6 versionCode: 54 commit: v3.2.6 subdir: app gradle: - fdroid - versionName: 3.2.6 versionCode: 55 commit: v3.2.6-b subdir: app gradle: - fdroid AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 3.2.6 CurrentVersionCode: 55
Categories: - Multimedia License: GPL-3.0-only AuthorName: CG Devworks AuthorEmail: cg.devworks@gmail.com SourceCode: https://github.com/Spikatrix/LRC-Editor IssueTracker: https://github.com/Spikatrix/LRC-Editor/issues AutoName: LRC Editor RepoType: git Repo: https://github.com/Spikatrix/LRC-Editor.git Builds: - versionName: 3.2.4 versionCode: 52 commit: v3.2.4 subdir: app gradle: - fdroid - versionName: 3.2.5 versionCode: 53 commit: v3.2.5 subdir: app gradle: - fdroid - versionName: 3.2.6 versionCode: 54 commit: v3.2.6 subdir: app gradle: - fdroid - versionName: 3.2.6 versionCode: 55 commit: v3.2.6-b subdir: app gradle: - fdroid - versionName: 3.2.6 versionCode: 56 commit: v3.2.6 subdir: app gradle: - fdroid AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 3.2.6 CurrentVersionCode: 56
Remove test on Node.js 12.0.0 because of an issue with Bitbucket Pipelines
pipelines: default: - parallel: - step: name: Test latest Node.js version image: 'node:latest' caches: - node script: - npm install - npm test - step: name: Test original latest major Node.js version image: 'node:12.0.0' caches: - node script: - npm install - npm test
pipelines: default: - parallel: - step: name: Test latest Node.js version image: 'node:latest' caches: - node script: - npm install - npm test # - step: # name: Test original latest major Node.js version # image: 'node:12.0.0' # caches: # - node # script: # - npm install # - npm test
Update Whatton Christmas visit slots
--- name: Whatton nomis_id: WTI address: - New Lane - 'NG13 9FQ ' email: socialvisits.whatton@hmps.gsi.gov.uk enabled: true estate: Whatton phone: 01949 803564 slots: fri: - 1415-1615 mon: - 1415-1615 sat: - 0900-1130 - 1400-1600 sun: - 0900-1130 - 1400-1600 thu: - 1415-1615 unbookable: - 2014-12-25 - 2014-12-26 - 2014-12-31 - 2015-01-01
--- name: Whatton nomis_id: WTI address: - New Lane - 'NG13 9FQ ' email: socialvisits.whatton@hmps.gsi.gov.uk enabled: true estate: Whatton phone: 01949 803564 slots: fri: - 1415-1615 mon: - 1415-1615 sat: - 0900-1130 - 1400-1600 sun: - 0900-1130 - 1400-1600 thu: - 1415-1615 unbookable: - 2014-12-25 - 2014-12-26 - 2014-12-31 - 2015-01-01 - 2015-12-24 - 2015-12-25 - 2015-12-26 - 2015-12-29 - 2015-12-30 - 2016-01-01
Test with gcc and not llvm as dependency for OSX
{% set name = "pymix" %} {% set version = "0.8" %} {% set md5 = "4e2b7db99251d9ce6d0527528224a45b" %} source: fn: {{ name }}-{{ version }}a.tar.gz md5: {{ md5 }} url: http://www.pymix.org/{{ name }}-{{ version }}a.tar.gz patches: - setup.py.patch build: number: 0 skip: True # [not py27] package: name: {{ name }} version: {{ version }} requirements: build: - gcc # [not osx] - llvm # [osx] - python - setuptools - numpy - gsl run: - libgcc - python - numpy - gsl - ghmm - matplotlib >=1.1.0,!=1.4.2,<1.5.0 - glib - xorg-libxext - xorg-libxdmcp - xorg-libsm - xorg-libxrender - xorg-libxau test: imports: - mixture - mixtureHMM - mixtureunittests - alphabet - plotMixture - setPartitions about: home: 'http://www.pymix.org/pymix' license: GPL2 summary: "Python mixture package"
{% set name = "pymix" %} {% set version = "0.8" %} {% set md5 = "4e2b7db99251d9ce6d0527528224a45b" %} source: fn: {{ name }}-{{ version }}a.tar.gz md5: {{ md5 }} url: http://www.pymix.org/{{ name }}-{{ version }}a.tar.gz patches: - setup.py.patch build: number: 0 skip: True # [not py27] package: name: {{ name }} version: {{ version }} requirements: build: - gcc - python - setuptools - numpy - gsl run: - libgcc - python - numpy - gsl - ghmm - matplotlib >=1.1.0,!=1.4.2,<1.5.0 - glib - xorg-libxext - xorg-libxdmcp - xorg-libsm - xorg-libxrender - xorg-libxau test: imports: - mixture - mixtureHMM - mixtureunittests - alphabet - plotMixture - setPartitions about: home: 'http://www.pymix.org/pymix' license: GPL2 summary: "Python mixture package"
Allow "IDs" capitalization in headings
extends: capitalization message: "'%s' should be in sentence case" level: error scope: # - heading.h2 - heading.h3 - heading.h4 - heading.h5 - heading.h6 match: $sentence exceptions: - '^(Agent|Build|Job) ([A-Z]\w+(ed|ing)|Lost)$' # Exceptions for /pages/integrations/amazon_eventbridge.md.erb - '^(Step|Method) \d: [A-Z]\w+' # Allow caps after colon. Examples: "Step 3: Do the thing", "Method 2: Deploy keys" - Auto Scaling - AWS Console - AWS Lambda - AWS Systems Manager Session Manager - Bitbucket Server - Buildkite - CloudFormation - CloudWatch Logs - Debian - Docker Compose - Elastic Stack - FAQs - GitHub App - Google Cloud Functions - GraphQL - IdP # TODO: unabbreviate this in headings - IronWorker - OpenTelemetry
extends: capitalization message: "'%s' should be in sentence case" level: error scope: # - heading.h2 - heading.h3 - heading.h4 - heading.h5 - heading.h6 match: $sentence exceptions: - '^(Agent|Build|Job) ([A-Z]\w+(ed|ing)|Lost)$' # Exceptions for /pages/integrations/amazon_eventbridge.md.erb - '^(Step|Method) \d: [A-Z]\w+' # Allow caps after colon. Examples: "Step 3: Do the thing", "Method 2: Deploy keys" - Auto Scaling - AWS Console - AWS Lambda - AWS Systems Manager Session Manager - Bitbucket Server - Buildkite - CloudFormation - CloudWatch Logs - Debian - Docker Compose - Elastic Stack - FAQs - GitHub App - Google Cloud Functions - GraphQL - IdP # TODO: unabbreviate this in headings - IDs - IronWorker - OpenTelemetry
Switch order of scripts that are run
stages: - test - build before_script: - docker info build: stage: build script: - docker build -t my-docker-test-image ./BHCDatabase/ test: stage: test script: - docker run my-docker-test-image ./bin/rails t
stages: - build - test before_script: - docker info build: stage: build script: - docker build -t my-docker-test-image ./BHCDatabase/ test: stage: test script: - docker run my-docker-test-image ./bin/rails t
Copy the generated files to `public'.
name: GitHub Pages on: push: branches: - master pull_request: jobs: deploy: runs-on: ubuntu-latest concurrency: group: ${{ github.workflow }}-${{ github.ref }} steps: - uses: actions/checkout@v2 - name: Build shell: bash run: | cd $GITHUB_WORKSPACE/tools/ci ./docs.sh - name: Deploy uses: peaceiris/actions-gh-pages@v3 if: ${{ github.ref == 'refs/heads/master' }} with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ${{runner.workspace}}/tools/ci/docs/doxygen/html force_orphan: true
name: GitHub Pages on: push: branches: - master pull_request: jobs: deploy: runs-on: ubuntu-latest concurrency: group: ${{ github.workflow }}-${{ github.ref }} steps: - uses: actions/checkout@v2 - name: Build shell: bash run: | cd $GITHUB_WORKSPACE/tools/ci ./docs.sh cp -a docs/doxygen/html/ $GITHUB_WORKSPACE/public - name: Deploy uses: peaceiris/actions-gh-pages@v3 if: ${{ github.ref == 'refs/heads/master' }} with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./public force_orphan: true
Change command to /mserver to not interfere with the basic /server command
name: MagicBungee version: ${project.version} authors: [NathanWolf] main: com.elmakers.mine.bukkit.bungee.MagicBungeePlugin commands: server: description: "Moves a player to another server" usage: "server <player> <server>" permission: Magic.commands.server permissions: Magic.commands.server: description: Player may sender players to other servers type: boolean default: op
name: MagicBungee version: ${project.version} authors: [NathanWolf] main: com.elmakers.mine.bukkit.bungee.MagicBungeePlugin commands: mserver: description: "Moves a player to another server" usage: "mserver <player> <server>" permission: Magic.commands.mserver permissions: Magic.commands.mserver: description: Player may sender players to other servers type: boolean default: op
Update nodejs image in circleCI setting
# Javascript Node CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-javascript/ for more details # version: 2 jobs: build: docker: # specify the version you desire here - image: circleci/node:8.13 # Specify service dependencies here if necessary # CircleCI maintains a library of pre-built images # documented at https://circleci.com/docs/2.0/circleci-images/ # - image: circleci/mongo:3.4.4 working_directory: ~/repo steps: - checkout # Download and cache dependencies - restore_cache: keys: - v1-dependencies-{{ checksum "package.json" }} # fallback to using the latest cache if no exact match is found - v1-dependencies- - run: yarn install - save_cache: paths: - node_modules key: v1-dependencies-{{ checksum "package.json" }} # run tests! - run: yarn test -- --coverage
# Javascript Node CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-javascript/ for more details # version: 2 jobs: build: docker: # specify the version you desire here - image: circleci/latest # Specify service dependencies here if necessary # CircleCI maintains a library of pre-built images # documented at https://circleci.com/docs/2.0/circleci-images/ # - image: circleci/mongo:3.4.4 working_directory: ~/repo steps: - checkout # Download and cache dependencies - restore_cache: keys: - v1-dependencies-{{ checksum "package.json" }} # fallback to using the latest cache if no exact match is found - v1-dependencies- - run: yarn install - save_cache: paths: - node_modules key: v1-dependencies-{{ checksum "package.json" }} # run tests! - run: yarn test -- --coverage
Split into a few tasks
name: CI on: [push, pull_request] jobs: build: runs-on: ubuntu-latest strategy: matrix: ruby: ['2.5', '2.6', '2.7'] env: RAILS_VERSION: 6.0.0 SQLITE3_VERSION: 1.4.1 steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: actions/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Build and test with Rake env: PGHOST: 127.0.0.1 PGUSER: postgres RAILS_ENV: test run: | sudo apt-get -yqq install libpq-dev gem install bundler bundle install --jobs 4 --retry 3 bundle exec rake
name: CI on: [push, pull_request] jobs: build: runs-on: ubuntu-latest strategy: matrix: ruby: ['2.5', '2.6', '2.7'] env: RAILS_VERSION: 6.0.0 SQLITE3_VERSION: 1.4.1 steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: actions/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Install libpq-dev run: sudo apt-get -yqq install libpq-dev - name: Install bundler run: gem install bundler - name: Run bundler run: bundle install --jobs 4 --retry 3 - name: Run Rake run: bundle exec rake
Test with Ruby 3.1 on CI
name: build on: [push, pull_request] jobs: build: if: "!contains(github.event.head_commit.message, '[skip ci]')" runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: 2.7 bundler-cache: true - run: bundle exec rake test
name: build on: [push, pull_request] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: 3.1 bundler-cache: true - run: bundle exec rake test
Edit tenet to just look for attached package comment in file
tenets: - name: package-comment flows: codelingo/docs: title: Package comment body: | Every package should have a package comment, a block comment preceding the package clause. For multi-file packages, the package comment only needs to be present in one file, and any one will do. The package comment should introduce the package and provide information relevant to the package as a whole. It will appear first on the godoc page and should set up the detailed documentation that follows. codelingo/review: comment: | Every package should have a package comment, a block comment preceding the package clause. For multi-file packages, the package comment only needs to be present in one file, and any one will do. query: | import codelingo/ast/go @review comment go.file(depth = any): go.ident: name as packageName exclude: go.comment(depth = any): start_offset == 0 exclude: go.file: go.ident: name == packageName go.comment(depth = any): start_offset == 0
tenets: - name: package-comment flows: codelingo/docs: title: Package comment body: | Every package should have a package comment, a block comment preceding the package clause. For multi-file packages, the package comment only needs to be present in one file, and any one will do. The package comment should introduce the package and provide information relevant to the package as a whole. It will appear first on the godoc page and should set up the detailed documentation that follows. codelingo/review: comment: | Every package should have a package comment, a block comment preceding the package clause. For multi-file packages, the package comment only needs to be present in one file, and any one will do. query: | import codelingo/ast/go @review comment go.file(depth = any): exclude: go.comment_group: go.comment
Patch persistent to fix upsert
flags: Snowdrift: dev: true resolver: lts-6.17 packages: - website - location: git: https://git.snowdrift.coop/sd/yesod.git commit: 697d561eb727ed430f11c4b0bb19c9fc5f867db4 subdirs: - yesod-bin extra-dep: true - run-persist extra-deps: - libravatar-0.4 - titlecase-0.1.0.2
flags: Snowdrift: dev: true resolver: lts-6.17 packages: - website - location: git: https://git.snowdrift.coop/sd/yesod.git commit: 697d561eb727ed430f11c4b0bb19c9fc5f867db4 subdirs: - yesod-bin extra-dep: true - location: git: https://git.snowdrift.coop/sd/persistent.git commit: af5ec51e6b4b9255867e94916aef138c1968b85e subdirs: - persistent - run-persist extra-deps: - libravatar-0.4 - titlecase-0.1.0.2
Update from Hackage at 2016-07-14T08:13:57+0000
homepage: https://github.com/hspec/quickcheck-io#readme changelog-type: '' hash: e0ffcf52d48037f25073c440a0b0f880b4a22e132915a1910c259e8cf8bd1fc3 test-bench-deps: {} maintainer: Simon Hengel <sol@typeful.net> synopsis: Use HUnit assertions as QuickCheck properties changelog: '' basic-deps: base: ==4.* HUnit: ! '>=1.2.5' QuickCheck: ! '>=2.5.1 && <2.9' all-versions: - '0.1.0' - '0.1.1' - '0.1.2' author: Simon Hengel <sol@typeful.net> latest: '0.1.2' description-type: haddock description: ! 'This package provides an orphan instance that allows you to use HUnit assertions as QuickCheck properties.' license-name: MIT
homepage: https://github.com/hspec/quickcheck-io#readme changelog-type: '' hash: 499192395535769354d07ad552a503694e2d7ad92d6f8bde62504f8cd13cdea2 test-bench-deps: {} maintainer: Simon Hengel <sol@typeful.net> synopsis: Use HUnit assertions as QuickCheck properties changelog: '' basic-deps: base: ==4.* HUnit: ! '>=1.2.5' QuickCheck: ! '>=2.5.1' all-versions: - '0.1.0' - '0.1.1' - '0.1.2' - '0.1.3' author: Simon Hengel <sol@typeful.net> latest: '0.1.3' description-type: haddock description: ! 'This package provides an orphan instance that allows you to use HUnit assertions as QuickCheck properties.' license-name: MIT
Delete `resurrector_enabled` from bosh aws stub
meta: aws: common: default_key_name: (( grab terraform_outputs.key_pair_name )) default_security_groups: - (( grab terraform_outputs.default_security_group )) region: (( grab terraform_outputs.region )) cloud_provider: credentials_source: env_or_profile default_key_name: (( grab meta.aws.common.default_key_name )) default_security_groups: (( grab meta.aws.common.default_security_groups )) region: (( grab meta.aws.common.region )) bosh_properties: credentials_source: env_or_profile default_key_name: (( grab meta.aws.common.default_key_name )) default_security_groups: (( grab meta.aws.common.default_security_groups )) default_iam_instance_profile: bosh-managed region: (( grab meta.aws.common.region )) bosh_private_ip: (( grab terraform_outputs.microbosh_static_private_ip )) bosh_public_ip: (( grab terraform_outputs.microbosh_static_public_ip )) ntp: - 0.pool.ntp.org - 1.pool.ntp.org jobs: - name: bosh properties: hm: resurrector_enabled: true aws: (( grab meta.aws.bosh_properties )) dns: null
meta: aws: common: default_key_name: (( grab terraform_outputs.key_pair_name )) default_security_groups: - (( grab terraform_outputs.default_security_group )) region: (( grab terraform_outputs.region )) cloud_provider: credentials_source: env_or_profile default_key_name: (( grab meta.aws.common.default_key_name )) default_security_groups: (( grab meta.aws.common.default_security_groups )) region: (( grab meta.aws.common.region )) bosh_properties: credentials_source: env_or_profile default_key_name: (( grab meta.aws.common.default_key_name )) default_security_groups: (( grab meta.aws.common.default_security_groups )) default_iam_instance_profile: bosh-managed region: (( grab meta.aws.common.region )) bosh_private_ip: (( grab terraform_outputs.microbosh_static_private_ip )) bosh_public_ip: (( grab terraform_outputs.microbosh_static_public_ip )) ntp: - 0.pool.ntp.org - 1.pool.ntp.org jobs: - name: bosh properties: aws: (( grab meta.aws.bosh_properties )) dns: null
Add quotes around license file
{% set name = "patch" %} {% set version = "1.16" %} {% set sha256 = "c62073f356cff054c8ac24496f1a3d7cfa137835c31e9af39a9f5292fd75bd9f" %} package: name: python-{{ name|lower }} version: {{ version }} source: fn: {{ name }}-{{ version }}.zip url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.zip sha256: {{ sha256 }} build: noarch: python number: 0 script: python setup.py install requirements: build: - python run: - python test: imports: - patch about: home: https://github.com/techtonik/python-patch/ license: MIT license_family: MIT license_file: {{ environ["RECIPE_DIR"] }}/LICENSE summary: Cross-platform alternative to unix patch utility capable to apply unified diffs dev_url: https://github.com/techtonik/python-patch/ extra: recipe-maintainers: - windelbouwman - windelbouwmanbosch
{% set name = "patch" %} {% set version = "1.16" %} {% set sha256 = "c62073f356cff054c8ac24496f1a3d7cfa137835c31e9af39a9f5292fd75bd9f" %} package: name: python-{{ name|lower }} version: {{ version }} source: fn: {{ name }}-{{ version }}.zip url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.zip sha256: {{ sha256 }} build: noarch: python number: 0 script: python setup.py install requirements: build: - python run: - python test: imports: - patch about: home: https://github.com/techtonik/python-patch/ license: MIT license_family: MIT license_file: '{{ environ["RECIPE_DIR"] }}/LICENSE' summary: Cross-platform alternative to unix patch utility capable to apply unified diffs dev_url: https://github.com/techtonik/python-patch/ extra: recipe-maintainers: - windelbouwman - windelbouwmanbosch
Update Save to… to 1.8 (8)
Categories: - Navigation License: CDDL-1.0 SourceCode: https://notabug.org/Umnik/SaveTo IssueTracker: https://notabug.org/Umnik/SaveTo/issues AutoName: Save to… RepoType: git Repo: https://notabug.org/Umnik/SaveTo.git Builds: - versionName: '1.0' versionCode: 1 commit: '1.0' subdir: app gradle: - yes - versionName: '1.3' versionCode: 3 commit: '1.3' subdir: app gradle: - yes - versionName: '1.4' versionCode: 4 commit: '1.4' subdir: app gradle: - yes - versionName: '1.6' versionCode: 6 commit: '1.6' subdir: app gradle: - yes - versionName: '1.7' versionCode: 7 commit: '1.7' subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: '1.7' CurrentVersionCode: 7
Categories: - Navigation License: CDDL-1.0 SourceCode: https://notabug.org/Umnik/SaveTo IssueTracker: https://notabug.org/Umnik/SaveTo/issues AutoName: Save to… RepoType: git Repo: https://notabug.org/Umnik/SaveTo.git Builds: - versionName: '1.0' versionCode: 1 commit: '1.0' subdir: app gradle: - yes - versionName: '1.3' versionCode: 3 commit: '1.3' subdir: app gradle: - yes - versionName: '1.4' versionCode: 4 commit: '1.4' subdir: app gradle: - yes - versionName: '1.6' versionCode: 6 commit: '1.6' subdir: app gradle: - yes - versionName: '1.7' versionCode: 7 commit: '1.7' subdir: app gradle: - yes - versionName: '1.8' versionCode: 8 commit: '1.8' subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: '1.8' CurrentVersionCode: 8
Fix username quoting in krel KEP metadata
title: Anago to Krel Migration authors: - "@saschagrunert" owning-sig: sig-release reviewers: - @justaugustus approvers: - @justaugustus creation-date: 2020-09-22 status: implementable
title: Anago to Krel Migration authors: - "@saschagrunert" owning-sig: sig-release reviewers: - "@justaugustus" approvers: - "@justaugustus" creation-date: 2020-09-22 status: implementable
Update from Forestry.io - Updated Forestry configuration
--- pages: - tool/test.md hide_body: false fields: - type: text name: title label: Title - type: textarea name: description label: Description - type: datetime name: date label: Date description: Date added to the database - type: list label: Tools name: tools config: use_select: true source: type: simple section: tools options: - content-management - build-tool - headless-cms - helper - hosting-deployment - interaction - static-site-generator - theme - type: field_group_list name: urls label: URLs fields: - type: text name: website label: Website - type: text name: github label: Github - type: text name: twitter label: Twitter
--- pages: - tool/test.md hide_body: false fields: - type: text name: title label: Title - type: textarea name: description label: Description - type: datetime name: date label: Date description: Date added to the database - type: list label: Tools name: tools config: use_select: true source: type: simple section: tools options: - content-management - build-tool - headless-cms - helper - hosting-deployment - interaction - static-site-generator - theme - type: field_group_list name: urls label: URLs fields: - type: text name: website label: Website - type: text name: github label: Github - type: text name: twitter label: Twitter - type: field_group_list name: resources label: Resources fields: - type: text name: name label: Name - type: text name: url label: URL
Upgrade Travis CI to Ubuntu Trusty to fix Chrome usage in testing
language: node_js sudo: false before_script: - npm install web-component-tester - npm install bower - 'export PATH=$PWD/node_modules/.bin:$PATH' - bower install branches: only: - gh-pages - /.*/ node_js: 4 addons: firefox: latest apt: sources: - google-chrome packages: - google-chrome-stable script: - xvfb-run wct --skip-plugin sauce - "if [ \"${TRAVIS_PULL_REQUEST}\" = \"false\" ]; then wct --skip-plugin local --plugin sauce; fi"
language: node_js sudo: required dist: trusty before_script: - npm install web-component-tester - npm install bower - 'export PATH=$PWD/node_modules/.bin:$PATH' - bower install branches: only: - gh-pages - /.*/ node_js: 4 addons: firefox: latest apt: sources: - google-chrome packages: - google-chrome-stable script: - xvfb-run wct --skip-plugin sauce - "if [ \"${TRAVIS_PULL_REQUEST}\" = \"false\" ]; then wct --skip-plugin local --plugin sauce; fi"
Test library against PHP versions 7.1 and 7.2
language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - nightly - hhvm dist: trusty # upgrade to container-based travis sudo: false matrix: fast_finish: true include: - php: 5.3 dist: precise before_script: - composer self-update - composer install --dev script: - vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.clover notifications: email: - travis@b-zik.de
language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 - nightly - hhvm dist: trusty # upgrade to container-based travis sudo: false matrix: fast_finish: true include: - php: 5.3 dist: precise before_script: - composer self-update - composer install --dev script: - vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.clover notifications: email: - travis@b-zik.de
Update email & slack notifications
language: php sudo: false php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - hhvm before_install: - composer self-update - composer install --dev -n --prefer-source - phpenv rehash - mkdir -p build/logs script: - ./vendor/bin/phpunit -c phpunit.xml.dist after_script: - php vendor/bin/coveralls notifications: email: recipients: - dev-ci@maxmind.com on_success: change on_failure: always
--- sudo: false language: php php: - '5.3' - '5.4' - '5.5' - '5.6' - '7.0' - hhvm before_install: - composer self-update - composer install --dev -n --prefer-source - phpenv rehash - mkdir -p build/logs script: - ./vendor/bin/phpunit -c phpunit.xml.dist after_script: - php vendor/bin/coveralls notifications: email: on_failure: always on_success: change recipients: - dev-ci@maxmind.com slack: rooms: secure: "YD9FzE5R5vdRdeBgDa+j5oUNTy6mfZWJP1VVPgSGHLHSMerbsatUcRbmO3rf0A9in7MA+EnAjAl2RCIrJAPgyh1V449x4kK0oykLNiwk13PC3D5gJODmfiQlokHn2FlRwY52DG2NsYg7WWkMbNUjfcLVi8pLm4mc9vPUf7asg+4=\n"