doc_id
stringlengths
36
36
metadata
dict
input
stringlengths
28
4.3k
output
stringlengths
11
5.45k
8ada2900-5f0e-4a28-bc39-a7aefdabc37a
{ "language": "YAML" }
```yaml version: '3' services: api: build: context: . dockerfile: ./Dockerfile container_name: aclu-api environment: - MONGO_HOST=${MONGO_HOST} - MONGO_PORT=${MONGO_PORT} - MONGO_USERNAME=${MONGO_USERNAME} - MONGO_PASSWORD=${MONGO_PASSWORD} - MONGO_DBNAME=${MONGO_DBNAME} ports: - "50050:50050" volumes: - ./api:/src/api links: - db db: image: mongo:3.5.11 ports: - "27017" container_name: aclu-db logging: driver: none ``` Comment out local db container in favor of hosted mongodb
```yaml version: '3' services: api: build: context: . dockerfile: ./Dockerfile container_name: aclu-api environment: - MONGO_HOST=${MONGO_HOST} - MONGO_PORT=${MONGO_PORT} - MONGO_USERNAME=${MONGO_USERNAME} - MONGO_PASSWORD=${MONGO_PASSWORD} - MONGO_DBNAME=${MONGO_DBNAME} ports: - "50050:50050" volumes: - ./api:/src/api # links: # - db # db: # image: mongo:3.5.11 # ports: # - "27017" # container_name: aclu-db # logging: # driver: none ```
c6b8054a-7211-4885-906a-b789a3138e86
{ "language": "YAML" }
```yaml --- "Indexed template": - do: indexed_template.create: id: "1" body: { "template": { "query": { "match_all": {}}, "size": "{{my_size}}" } } - match: { _id: "1" } - do: indexed_template.get: id: 1 - match: { template: "{\"query\":{\"match_all\":{}},\"size\":\"{{my_size}}\"}"} - do: indexed_template.delete: id: "1" - match: { found: true } - match: { _index: ".scripts" } - match: { _id: "1" } - do: catch: request indexed_template.create: id: "1" body: { "template": { "query": { "match{{}}_all": {}}, "size": "{{my_size}}" } } - match: { "error": /ElasticsearchIllegalArgumentException\SUnable\sto\sparse.*/ } ``` Fix test relying on order of json for matching
```yaml --- "Indexed template": - do: indexed_template.create: id: "1" body: { "template": { "query": { "match_all": {}}, "size": "{{my_size}}" } } - match: { _id: "1" } - do: indexed_template.get: id: 1 - match: { template: /.*query\S\S\S\Smatch_all.*/ } - do: indexed_template.delete: id: "1" - match: { found: true } - match: { _index: ".scripts" } - match: { _id: "1" } - do: catch: request indexed_template.create: id: "1" body: { "template": { "query": { "match{{}}_all": {}}, "size": "{{my_size}}" } } - match: { "error": /ElasticsearchIllegalArgumentException\SUnable\sto\sparse.*/ } ```
d7cf8c96-e120-4973-85b4-47df9dc365de
{ "language": "YAML" }
```yaml api_platform: title: eCamp v3 version: 1.0.0 show_webby: false mapping: paths: ['%kernel.project_dir%/src/Entity'] formats: jsonhal: [ 'application/hal+json' ] jsonld: [ 'application/ld+json' ] jsonapi: [ 'application/vnd.api+json' ] json: [ 'application/json' ] html: [ 'text/html' ] patch_formats: json: [ 'application/merge-patch+json' ] jsonapi: [ 'application/vnd.api+json' ] error_formats: jsonproblem: [ 'application/problem+json' ] jsonld: [ 'application/ld+json' ] jsonapi: [ 'application/vnd.api+json' ] swagger: versions: [3] # Mercure integration, remove if unwanted mercure: hub_url: '%env(MERCURE_SUBSCRIBE_URL)%' defaults: stateless: true cache_headers: vary: ['Content-Type', 'Authorization', 'Origin'] pagination_enabled: false itemOperations: [ 'get', 'patch', 'delete' ] collection_operations: get: ~ post: input_formats: [ 'jsonld', 'jsonapi', 'json' ] normalization_context: skip_null_values: false ``` Order entities by descending create time per default
```yaml api_platform: title: eCamp v3 version: 1.0.0 show_webby: false mapping: paths: ['%kernel.project_dir%/src/Entity'] formats: jsonhal: [ 'application/hal+json' ] jsonld: [ 'application/ld+json' ] jsonapi: [ 'application/vnd.api+json' ] json: [ 'application/json' ] html: [ 'text/html' ] patch_formats: json: [ 'application/merge-patch+json' ] jsonapi: [ 'application/vnd.api+json' ] error_formats: jsonproblem: [ 'application/problem+json' ] jsonld: [ 'application/ld+json' ] jsonapi: [ 'application/vnd.api+json' ] swagger: versions: [3] # Mercure integration, remove if unwanted mercure: hub_url: '%env(MERCURE_SUBSCRIBE_URL)%' defaults: stateless: true cache_headers: vary: ['Content-Type', 'Authorization', 'Origin'] pagination_enabled: false itemOperations: [ 'get', 'patch', 'delete' ] collection_operations: get: ~ post: input_formats: [ 'jsonld', 'jsonapi', 'json' ] normalization_context: skip_null_values: false order: createTime: DESC ```
8791ad57-0fe1-4843-b09d-c9754478ddbe
{ "language": "YAML" }
```yaml {% 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 ``` Add mxr-conda to maintainers list
```yaml {% 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 ```
c290df6c-6307-4631-afc2-a113aef058c6
{ "language": "YAML" }
```yaml --- site: directgov_benefits-adviser whitehall_slug: government-digital-service homepage: https://www.gov.uk/government/organisations/government-digital-service tna_timestamp: 20120628213336 host: benefits-adviser.direct.gov.uk global: =301 https://www.gov.uk/benefits-adviser css: directgov ``` Add aliases for benefits advisor
```yaml --- site: directgov_benefits-adviser whitehall_slug: government-digital-service homepage: https://www.gov.uk/government/organisations/government-digital-service tna_timestamp: 20120628213336 host: benefits-adviser.direct.gov.uk aliases: - benefitsadviser.direct.gov.uk - benefitsadvisor.direct.gov.uk global: =301 https://www.gov.uk/benefits-adviser css: directgov ```
fc1e40be-9a6a-4706-bc45-54319b3c4d57
{ "language": "YAML" }
```yaml homepage: http://github.com/GregorySchwartz/heatitup-complete#readme changelog-type: '' hash: 2d059fb4069d74a6bcbe79e6ec6fe65719a69c72f3c97bc2c323680fdb520077 test-bench-deps: {} maintainer: gsch@pennmedicine.upenn.edu synopsis: Find and annotate ITDs with assembly or read pair joining. changelog: '' basic-deps: heatitup-complete: -any bytestring: -any pipes-text: -any base: ! '>=4.7 && <5' text: -any text-show: -any turtle: -any containers: -any lens: -any cassava: -any pipes: -any foldl: -any optparse-applicative: -any safe: -any fasta: -any vector: -any all-versions: - 0.5.3.3 - 0.5.4.0 author: Gregory W. Schwartz latest: 0.5.4.0 description-type: haddock description: Find and annotate ITDs with assembly or read pair joining using suffix trees and characterize the exogenous segments within the spacer using heat diffusion. license-name: GPL-3.0-only ``` Update from Hackage at 2020-02-17T15:26:34Z
```yaml homepage: http://github.com/GregorySchwartz/heatitup-complete#readme changelog-type: '' hash: 425db0e1b957d2b4f9b6ca4d7f94e4cfbe2da28a8587d080d77988163236cb7e test-bench-deps: {} maintainer: gsch@pennmedicine.upenn.edu synopsis: Find and annotate ITDs with assembly or read pair joining. changelog: '' basic-deps: heatitup-complete: -any bytestring: -any pipes-text: -any base: ! '>=4.7 && <5' text: -any text-show: -any turtle: -any containers: -any lens: -any cassava: -any pipes: -any foldl: -any optparse-applicative: -any safe: -any fasta: -any vector: -any all-versions: - 0.5.3.3 - 0.5.4.0 - 0.5.4.1 author: Gregory W. Schwartz latest: 0.5.4.1 description-type: haddock description: Find and annotate ITDs with assembly or read pair joining using suffix trees and characterize the exogenous segments within the spacer using heat diffusion. license-name: GPL-3.0-only ```
2a5e689b-0710-4824-9cba-c2880508d8a4
{ "language": "YAML" }
```yaml --- # tasks file for ubuntu-desktop - name: install apt requirements apt: pkg=aptitude - name: upgrade the system apt: update_cache=yes upgrade=safe cache_valid_time=3600 - name: install Ubuntu Desktop packages apt: name={{ item }} install_recommends=no state=latest with_items: - ubuntu-desktop - gnome-session-flashback # Ubuntu Classic without effects - gnome-terminal - indicator-session # add the session applet to the top panel - unity-lens-applications # fix empty dash - ttf-ubuntu-font-family # fix letters overlapping in the terminal - name: update XDG directory configuration for user account command: xdg-user-dirs-update become: yes become_user: "{{ desktop_user }}" - name: set default session and enable autologin template: dest=/etc/lightdm/lightdm.conf src=lightdm.conf.j2 notify: restart lightdm - name: disable desktop lock-screen gsetting: user={{ desktop_user }} key=org.gnome.desktop.screensaver.ubuntu-lock-on-suspend value=false ``` Fix disable the screen lock
```yaml --- # tasks file for ubuntu-desktop - name: install apt requirements apt: pkg=aptitude - name: upgrade the system apt: update_cache=yes upgrade=safe cache_valid_time=3600 - name: install Ubuntu Desktop packages apt: name={{ item }} install_recommends=no state=latest with_items: - ubuntu-desktop - gnome-session-flashback # Ubuntu Classic without effects - gnome-terminal - indicator-session # add the session applet to the top panel - unity-lens-applications # fix empty dash - ttf-ubuntu-font-family # fix letters overlapping in the terminal - name: update XDG directory configuration for user account command: xdg-user-dirs-update become: yes become_user: "{{ desktop_user }}" - name: set default session and enable autologin template: dest=/etc/lightdm/lightdm.conf src=lightdm.conf.j2 notify: restart lightdm - name: disable screen backout gsetting: user={{ desktop_user }} key=org.gnome.desktop.session.idle-delay value=0 - name: disable the screen lock gsetting: user={{ desktop_user }} key=org.gnome.desktop.screensaver.lock-enabled value=false ```
f48405b4-4eec-4a62-a465-92490d8bef8a
{ "language": "YAML" }
```yaml AntiFeatures: - NonFreeNet Categories: - Multimedia - Internet License: GPL-3.0-only SourceCode: https://github.com/Perflyst/Twire IssueTracker: https://github.com/Perflyst/Twire/issues Changelog: https://github.com/Perflyst/Twire/releases AutoName: Twire Description: |- Twire is an open source, ad free Twitch browser and stream player for Android. You can select multiple themes and also login with your twitch account. You can also follow and unfollow streamers through the app. Please note that the chat is only available if you login to your account. RepoType: git Repo: https://github.com/Perflyst/Twire.git Builds: - versionName: 1.9.2 versionCode: 502 commit: v1.9.2 subdir: app gradle: - yes - versionName: 1.9.6 versionCode: 506 commit: v1.9.6 subdir: app gradle: - yes - versionName: 1.9.7 versionCode: 507 commit: v1.9.7 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 1.9.7 CurrentVersionCode: 507 ``` Update Twire to 1.9.8 (508)
```yaml AntiFeatures: - NonFreeNet Categories: - Multimedia - Internet License: GPL-3.0-only SourceCode: https://github.com/Perflyst/Twire IssueTracker: https://github.com/Perflyst/Twire/issues Changelog: https://github.com/Perflyst/Twire/releases AutoName: Twire Description: |- Twire is an open source, ad free Twitch browser and stream player for Android. You can select multiple themes and also login with your twitch account. You can also follow and unfollow streamers through the app. Please note that the chat is only available if you login to your account. RepoType: git Repo: https://github.com/Perflyst/Twire.git Builds: - versionName: 1.9.2 versionCode: 502 commit: v1.9.2 subdir: app gradle: - yes - versionName: 1.9.6 versionCode: 506 commit: v1.9.6 subdir: app gradle: - yes - versionName: 1.9.7 versionCode: 507 commit: v1.9.7 subdir: app gradle: - yes - versionName: 1.9.8 versionCode: 508 commit: v1.9.8 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 1.9.8 CurrentVersionCode: 508 ```
d8d7b86d-12fb-44ac-b10b-bc9524104ada
{ "language": "YAML" }
```yaml Categories: - Graphics - Multimedia License: GPL-2.0-or-later SourceCode: https://github.com/KillerInk/FreeDcam IssueTracker: https://github.com/KillerInk/FreeDcam/issues AutoName: FreeDCam Description: |- FreeDCam is an open source camera app which try to enable stuff that is forgotten by the manufacturers. RepoType: git Repo: https://github.com/KillerInk/FreeDcam.git Builds: - versionName: '4.2' versionCode: 142 commit: '4.2_' subdir: app gradle: - yes ndk: r12b - versionName: '4.3' versionCode: 193 commit: '4.3' subdir: app gradle: - yes ndk: r12b - versionName: 4.3.8 versionCode: 201 commit: 4.3.8 subdir: app gradle: - yes ndk: r12b AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: 4.3.8 CurrentVersionCode: 201 ``` Update FreeDCam to 4.3.17 (217)
```yaml Categories: - Graphics - Multimedia License: GPL-2.0-or-later SourceCode: https://github.com/KillerInk/FreeDcam IssueTracker: https://github.com/KillerInk/FreeDcam/issues AutoName: FreeDCam Description: |- FreeDCam is an open source camera app which try to enable stuff that is forgotten by the manufacturers. RepoType: git Repo: https://github.com/KillerInk/FreeDcam.git Builds: - versionName: '4.2' versionCode: 142 commit: '4.2_' subdir: app gradle: - yes ndk: r12b - versionName: '4.3' versionCode: 193 commit: '4.3' subdir: app gradle: - yes ndk: r12b - versionName: 4.3.8 versionCode: 201 commit: 4.3.8 subdir: app gradle: - yes ndk: r12b - versionName: 4.3.17 versionCode: 217 commit: 4.3.17 subdir: app gradle: - yes ndk: r12b AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: 4.3.17 CurrentVersionCode: 217 ```
c74cb60b-e733-4a59-8af8-eb4ae409a3b2
{ "language": "YAML" }
```yaml security: encoders: FOS\UserBundle\Model\UserInterface: sha512 role_hierarchy: ROLE_ADMIN: ROLE_USER ROLE_SUPER_ADMIN: ROLE_ADMIN providers: fos_userbundle: id: fos_user.user_provider.username firewalls: main: pattern: ^/ form_login: provider: fos_userbundle csrf_provider: form.csrf_provider always_use_default_target_path: true default_target_path: / logout: true anonymous: true access_control: - { path: ^/login$, role: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/register, role: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/admin/, role: ROLE_ADMIN } - { path: ^/, role: ROLE_USER }``` Fix left menu in sonata admin panel
```yaml security: encoders: FOS\UserBundle\Model\UserInterface: sha512 role_hierarchy: ROLE_ADMIN: [ROLE_USER, ROLE_SONATA_ADMIN] ROLE_SUPER_ADMIN: [ROLE_ADMIN, ROLE_SONATA_ADMIN] providers: fos_userbundle: id: fos_user.user_provider.username firewalls: main: pattern: ^/ form_login: provider: fos_userbundle csrf_provider: form.csrf_provider always_use_default_target_path: true default_target_path: / logout: true anonymous: true access_control: - { path: ^/login$, role: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/register, role: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/admin/, role: ROLE_ADMIN } - { path: ^/, role: ROLE_USER }```
edb35c0a-9409-4751-8fc1-02cbc4a8741f
{ "language": "YAML" }
```yaml security: encoders: Symfony\Component\Security\Core\User\User: plaintext SofaChamps\Bundle\BowlPickemBundle\Entity\User: sha512 role_hierarchy: ROLE_ADMIN: ROLE_USER ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH] providers: fos_userbundle: id: fos_user.user_manager firewalls: dev: pattern: ^/(_(profiler|wdt)|css|images|js)/ security: false main: pattern: ^/ anonymous: true logout: true form_login: provider: fos_userbundle switch_user: { role: ROLE_ADMIN } access_control: - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/admin/, role: ROLE_ADMIN } #- { path: ^/_internal, roles: IS_AUTHENTICATED_ANONYMOUSLY, ip: 127.0.0.1 } ``` Update encoder for User class
```yaml security: encoders: Symfony\Component\Security\Core\User\User: plaintext SofaChamps\Bundle\CoreBundle\Entity\User: sha512 role_hierarchy: ROLE_ADMIN: ROLE_USER ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH] providers: fos_userbundle: id: fos_user.user_manager firewalls: dev: pattern: ^/(_(profiler|wdt)|css|images|js)/ security: false main: pattern: ^/ anonymous: true logout: true form_login: provider: fos_userbundle switch_user: { role: ROLE_ADMIN } access_control: - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/admin/, role: ROLE_ADMIN } #- { path: ^/_internal, roles: IS_AUTHENTICATED_ANONYMOUSLY, ip: 127.0.0.1 } ```
55e09a58-2a06-4275-bdc7-10aee467a82e
{ "language": "YAML" }
```yaml homepage: https://hackage.haskell.org/package/phonetic-languages-plus changelog-type: markdown hash: dc03614253da3563dd1282e619afc7bf86c01544f438abc62a8f26d1f030aacc test-bench-deps: {} maintainer: olexandr543@yahoo.com synopsis: Some common shared between different packages functions. changelog: | # Revision history for phonetic-languages-plus ## 0.1.0.0 -- 2020-10-30 * First version. Released on an unsuspecting world. basic-deps: lists-flines: '>=0.1.1 && <1' bytestring: '>=0.10 && <0.13' base: '>=4.7 && <4.15' parallel: '>=3.2.0.6 && <4' uniqueness-periods-vector-stats: '>=0.1.2 && <1' all-versions: - 0.1.0.0 author: OleksandrZhabenko latest: 0.1.0.0 description-type: haddock description: Among them are the uniqueness-periods-vector series. license-name: MIT ``` Update from Hackage at 2020-12-05T13:45:43Z
```yaml homepage: https://hackage.haskell.org/package/phonetic-languages-plus changelog-type: markdown hash: 83495eedd621f9bf57f49a65451784e0048f969b9d93f6e06c40edf9effeb0f6 test-bench-deps: {} maintainer: olexandr543@yahoo.com synopsis: Some common shared between different packages functions. changelog: | # Revision history for phonetic-languages-plus ## 0.1.0.0 -- 2020-10-30 * First version. Released on an unsuspecting world. basic-deps: lists-flines: '>=0.1.1 && <1' bytestring: '>=0.10 && <0.13' base: '>=4.7 && <4.15' parallel: '>=3.2.0.6 && <4' uniqueness-periods-vector-stats: '>=0.2 && <1' all-versions: - 0.1.1.0 author: OleksandrZhabenko latest: 0.1.1.0 description-type: haddock description: Among them are the uniqueness-periods-vector series. license-name: MIT ```
2ae62899-1d1c-487a-a3ce-9cffd7e588a5
{ "language": "YAML" }
```yaml package: name: opencv version: 2.4.11 source: fn: opencv-2.4.11.zip url: http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.11/opencv-2.4.11.zip/download sha1: d6e3048416d42213c204f89b9dfe39742f9a708c patches: - osx_rpath.patch # [osx] build: number: 0 requirements: build: - cmake - numpy - eigen 3.* - tbb 4.* # [osx] run: - python - numpy - tbb 4.* # [osx] test: imports: - cv2 - cv2.cv about: home: http://opencv.org/ license: BSD ``` Use VC features - Python 2.x only
```yaml package: name: opencv version: 2.4.11 source: fn: opencv-2.4.11.zip url: http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.11/opencv-2.4.11.zip/download sha1: d6e3048416d42213c204f89b9dfe39742f9a708c patches: - osx_rpath.patch # [osx] build: number: 0 features: - vc9 # [win and py27] requirements: build: - cmake - numpy - python 2.x - eigen 3.* - tbb 4.* # [osx] run: - python 2.x - numpy - tbb 4.* # [osx] test: imports: - cv2 - cv2.cv about: home: http://opencv.org/ license: BSD ```
f1c6d2ee-08fc-478e-bae7-a391f8e10674
{ "language": "YAML" }
```yaml --- ansible: config_file: molecule.cfg requirements_file: molecule-requirements.yml playbook: molecule-playbook.yml verbose: sudo: True vagrant: platforms: - name: trusty64 box: ubuntu/trusty64 - name: xenial64 box: ubuntu/xenial64 providers: - name: virtualbox type: virtualbox options: memory: 1024 instances: - name: raster-foundry-jenkins molecule: test: sequence: - syntax - create - converge - idempotence - verify verifier: name: testinfra``` Use sudo when running testinfra
```yaml --- ansible: config_file: molecule.cfg requirements_file: molecule-requirements.yml playbook: molecule-playbook.yml verbose: sudo: True vagrant: platforms: - name: trusty64 box: ubuntu/trusty64 - name: xenial64 box: ubuntu/xenial64 providers: - name: virtualbox type: virtualbox options: memory: 1024 instances: - name: raster-foundry-jenkins molecule: test: sequence: - syntax - create - converge - idempotence - verify verifier: name: testinfra options: sudo: True```
bde29dac-e92a-4ccc-9e3e-1b1cef66f612
{ "language": "YAML" }
```yaml --- new_page_extension: md auto_deploy: false admin_path: webhook_url: sections: - type: document path: aboutme.md label: About me match: "**/*" - type: jekyll-pages label: Pages create: all - type: jekyll-posts label: Posts create: all upload_dir: uploads public_path: "/uploads" front_matter_path: '' use_front_matter_path: false file_template: ":filename:" build: preview_env: - JEKYLL_ENV=staging preview_output_directory: _site install_dependencies_command: bundle install --path vendor/bundle preview_docker_image: forestryio/ruby:2.6 mount_path: "/srv" working_dir: "/srv" instant_preview_command: bundle exec jekyll serve --drafts --unpublished --future --port 8080 --host 0.0.0.0 -d _site ``` Update from Forestry.io - Updated Forestry configuration
```yaml --- new_page_extension: md auto_deploy: false admin_path: webhook_url: sections: - type: document path: aboutme.md label: About me - type: jekyll-pages label: Pages create: all - type: jekyll-posts label: Posts create: all upload_dir: img public_path: "/img" front_matter_path: '' use_front_matter_path: false file_template: ":filename:" build: preview_env: - JEKYLL_ENV=staging preview_output_directory: _site install_dependencies_command: bundle install --path vendor/bundle preview_docker_image: forestryio/ruby:2.6 mount_path: "/srv" working_dir: "/srv" instant_preview_command: bundle exec jekyll serve --drafts --unpublished --future --port 8080 --host 0.0.0.0 -d _site ```
5132a539-257c-43ea-a955-d713c5049afc
{ "language": "YAML" }
```yaml --- site: bis_cic whitehall_slug: office-of-the-regulator-of-community-interest-companies host: www.cicregulator.gov.uk redirection_date: 28th November 2013 tna_timestamp: 20131003151857 title: Office of the Regulator of Community Interest Companies furl: www.gov.uk/cic-regulator homepage: https://www.gov.uk/government/organisations/office-of-the-regulator-of-community-interest-companies global: =301 https://www.gov.uk/government/organisations/office-of-the-regulator-of-community-interest-companies css: bis aliases: - www.cicreg.gov.uk ``` Configure legacy domain to preserve path for repoint
```yaml --- site: bis_cic whitehall_slug: office-of-the-regulator-of-community-interest-companies host: www.cicregulator.gov.uk redirection_date: 28th November 2013 tna_timestamp: 20131003151857 title: Office of the Regulator of Community Interest Companies furl: www.gov.uk/cic-regulator homepage: https://www.gov.uk/government/organisations/office-of-the-regulator-of-community-interest-companies css: bis aliases: - www.cicreg.gov.uk global: =301 https://www.bis.gov.uk/cic-regulator global_redirect_append_path: true ```
f7cb24f1-89f8-4721-be9d-26fdd32adb25
{ "language": "YAML" }
```yaml --- homebrew_install_script: "{{ downloads }}/homebrew_install" homebrew_install_path: /usr/local/bin homebrew_packages: - autoconf - gcc - gettext - git - go - grep - htop - jq - python3 - readline - ripgrep - wget homebrew_packages_10_12: - mysql - node homebrew_cask_appdir: /Applications homebrew_cask_apps: - chromedriver - docker - firefox - google-chrome - macvim - slack - spotify - visual-studio-code homebrew_cask_apps_10_12: - iterm2 ``` Install emacs cask on mac
```yaml --- homebrew_install_script: "{{ downloads }}/homebrew_install" homebrew_install_path: /usr/local/bin homebrew_packages: - autoconf - gcc - gettext - git - go - grep - htop - jq - python3 - readline - ripgrep - wget homebrew_packages_10_12: - mysql - node homebrew_cask_appdir: /Applications homebrew_cask_apps: - chromedriver - docker - emacs - firefox - google-chrome - macvim - slack - spotify - visual-studio-code homebrew_cask_apps_10_12: - iterm2 ```
f04cd3c5-c59c-40fb-a766-ad5b54cf436f
{ "language": "YAML" }
```yaml --- - homebrew_cask: name: - docker - p4v - homebrew: name: - docker-compose ``` Add docker{-compose} completions back, they are not part of the cask
```yaml --- - homebrew_cask: name: - docker - p4v - homebrew: name: - docker-completion - docker-compose - docker-compose-completion ```
8597ffa7-f98a-4f98-9fc4-33f24c5fd65e
{ "language": "YAML" }
```yaml # This workflow integrates Brakeman with GitHub's Code Scanning feature # Brakeman is a static analysis security vulnerability scanner for Ruby on Rails applications name: Brakeman Scan # This section configures the trigger for the workflow. Feel free to customize depending on your convention on: push: branches: [ "master" ] pull_request: branches: [ "master" ] jobs: brakeman-scan: name: Brakeman Scan runs-on: ubuntu-18.04 steps: # Checkout the repository to the GitHub Actions runner - name: Checkout uses: actions/checkout@v2 # Customize the ruby version depending on your needs - name: Setup Ruby uses: actions/setup-ruby@v1 with: ruby-version: '2.3' - name: Setup Brakeman env: BRAKEMAN_VERSION: '4.10' # SARIF support is provided in Brakeman version 4.10+ run: | gem install brakeman --version $BRAKEMAN_VERSION # Execute Brakeman CLI and generate a SARIF output with the security issues identified during the analysis - name: Scan continue-on-error: true run: | brakeman -f sarif -o output.sarif.json . # Upload the SARIF file generated in the previous step - name: Upload SARIF uses: github/codeql-action/upload-sarif@v1 with: sarif_file: output.sarif.json ``` Use ruby 2.4 as github actions do not support ruby 2.3.
```yaml # This workflow integrates Brakeman with GitHub's Code Scanning feature # Brakeman is a static analysis security vulnerability scanner for Ruby on Rails applications name: Brakeman Scan # This section configures the trigger for the workflow. Feel free to customize depending on your convention on: push: branches: [ "master" ] pull_request: branches: [ "master" ] jobs: brakeman-scan: name: Brakeman Scan runs-on: ubuntu-18.04 steps: # Checkout the repository to the GitHub Actions runner - name: Checkout uses: actions/checkout@v2 # Customize the ruby version depending on your needs - name: Setup Ruby uses: actions/setup-ruby@v1 with: ruby-version: '2.4' - name: Setup Brakeman env: BRAKEMAN_VERSION: '4.10' # SARIF support is provided in Brakeman version 4.10+ run: | gem install brakeman --version $BRAKEMAN_VERSION # Execute Brakeman CLI and generate a SARIF output with the security issues identified during the analysis - name: Scan continue-on-error: true run: | brakeman -f sarif -o output.sarif.json . # Upload the SARIF file generated in the previous step - name: Upload SARIF uses: github/codeql-action/upload-sarif@v1 with: sarif_file: output.sarif.json ```
e3965dc6-ba89-46bc-b441-c6e809d76283
{ "language": "YAML" }
```yaml homepage: '' changelog-type: markdown hash: 9e7ba38a6839d60d9b13f9dfe4fe83b32b947f1c7c3c645eed9f3f95b2e10efb test-bench-deps: {} maintainer: dan.firth@homotopic.tech synopsis: '' changelog: | # Changelog for polysemy-video ## v0.0.1.0 * Experimental DSL and interpreter. basic-deps: path: -any base: '>=4.7 && <5' text: -any turtle: -any path-utils: -any formatting: -any polysemy: -any all-versions: - 0.1.0.0 - 0.1.0.1 author: Daniel Firth latest: 0.1.0.1 description-type: markdown description: | # polysemy-video Experimental AV processing DSL for polysemy. Includes one interpretation to the command line version of ffmpeg. license-name: MIT ``` Update from Hackage at 2020-10-17T12:28:10Z
```yaml homepage: '' changelog-type: markdown hash: 40e77abb8e85aabdeb265d4a1b1a2c8256b0dcba825d8aa4db52737fecb9f47c test-bench-deps: {} maintainer: dan.firth@homotopic.tech synopsis: '' changelog: | # Changelog for polysemy-video ## v0.1.1.0 * Support both `Abs` and `Rel`. ## v0.1.0.0 * Experimental DSL and interpreter. basic-deps: path: -any base: '>=4.7 && <5' text: -any turtle: -any path-utils: -any formatting: -any polysemy: -any all-versions: - 0.1.0.0 - 0.1.0.1 - 0.1.1.0 author: Daniel Firth latest: 0.1.1.0 description-type: markdown description: | # polysemy-video Experimental AV processing DSL for polysemy. Includes one interpretation to the command line version of ffmpeg. license-name: MIT ```
bf2abd47-2c3a-4dcf-9ffa-09b08cdf68fd
{ "language": "YAML" }
```yaml --- profile::development::network::dns::manage_hosts: true profile::application::openssl::catrust::ca_cert: '/opt/himlar/provision/ca/intermediate/certs/ca-chain.cert.pem' profile::application::himlarcli::cacert: '/opt/himlar/provision/ca/intermediate/certs/ca-chain.cert.pem' profile::application::himlarcli::smtp: '' profile::application::himlarcli::from_addr: '' profile::application::himlarcli::mq_host: "%{hiera('mgmt__address__mq_01')}" profile::openstack::openrc::cacert: '/opt/himlar/provision/ca/intermediate/certs/ca-chain.cert.pem' # Use newest test repositories yum_base_mirror: 'https://download.iaas.uio.no/uh-iaas/test' #sensu_ssl_cachain: '-C /opt/himlar/provision/ca/intermediate/certs/ca-chain.cert.pem' sensu_ssl_cachain: '-k' # no proxy for vagrant environments profile::network::yum_proxy::yum_proxy: '' profile::openstack::identity::swift_enabled: true ``` Disable sending logs to logger in vagrant
```yaml --- profile::logging::rsyslog::client::manage_rsyslog: false profile::development::network::dns::manage_hosts: true profile::application::openssl::catrust::ca_cert: '/opt/himlar/provision/ca/intermediate/certs/ca-chain.cert.pem' profile::application::himlarcli::cacert: '/opt/himlar/provision/ca/intermediate/certs/ca-chain.cert.pem' profile::application::himlarcli::smtp: '' profile::application::himlarcli::from_addr: '' profile::application::himlarcli::mq_host: "%{hiera('mgmt__address__mq_01')}" profile::openstack::openrc::cacert: '/opt/himlar/provision/ca/intermediate/certs/ca-chain.cert.pem' # Use newest test repositories yum_base_mirror: 'https://download.iaas.uio.no/uh-iaas/test' #sensu_ssl_cachain: '-C /opt/himlar/provision/ca/intermediate/certs/ca-chain.cert.pem' sensu_ssl_cachain: '-k' # no proxy for vagrant environments profile::network::yum_proxy::yum_proxy: '' profile::openstack::identity::swift_enabled: true ```
66295776-ac4f-45ba-b4ee-523e6f78fa86
{ "language": "YAML" }
```yaml heat_template_version: 2013-05-23 resources: random_group: type: OS::Heat::ResourceGroup properties: count: 2 resource_def: type: OS::Heat::RandomString outputs: # Note for RandomString the resource ID is set to the random string # value, for other resources the ID returned will be the uuid of the # actual resource resource1_id: value: {get_attr: [random_group, resource.0]} resource2_id: value: {get_attr: [random_group, resource.1]} # The last part of the resource.0.value specifies the attribute of the # nested resource to access, e.g in this case 'value' resource1_value: value: {get_attr: [random_group, resource.0.value]} resource2_value: value: {get_attr: [random_group, resource.1.value]} ``` Add ResourceGroup attribute example for all values
```yaml heat_template_version: 2013-05-23 resources: random_group: type: OS::Heat::ResourceGroup properties: count: 2 resource_def: type: OS::Heat::RandomString outputs: # Note for RandomString the resource ID is set to the random string # value, for other resources the ID returned will be the uuid of the # actual resource resource1_id: value: {get_attr: [random_group, resource.0]} resource2_id: value: {get_attr: [random_group, resource.1]} # The last part of the resource.0.value specifies the attribute of the # nested resource to access, e.g in this case 'value' resource1_value: value: {get_attr: [random_group, resource.0.value]} resource2_value: value: {get_attr: [random_group, resource.1.value]} # You can also get a list of all values in the group all_values: value: {get_attr: [random_group, value]} ```
fa11327f-18f7-4fe7-9262-fcdc5eec7159
{ "language": "YAML" }
```yaml name: Default Tests on: pull_request: push: branches: [master] jobs: run: runs-on: ${{ matrix.os }} strategy: matrix: python-version: ["3.6", "3.7", "3.8", "3.9"] os: [windows-latest, ubuntu-latest, macos-latest] fail-fast: false steps: - uses: actions/checkout@v2 - name: Setup Conda uses: s-weigand/setup-conda@v1 with: activate-conda: false conda-channels: conda-forge - name: Python ${{ matrix.python-version }} shell: bash -l {0} run: | conda create --name TEST python=${{ matrix.python-version }} pip "libnetcdf<4.8.0" --file requirements.txt --file test_requirements.txt --strict-channel-priority conda activate TEST pip install --user -e . --no-deps --force-reinstall - name: Conda Info shell: bash -l {0} run: | conda activate TEST conda info --all conda list - name: Default Tests shell: bash -l {0} run: | conda activate TEST pytest -s -rxs -v -k "not integration" compliance_checker ``` Revert "`source activate` invocation changed to `conda activate`"
```yaml name: Default Tests on: pull_request: push: branches: [master] jobs: run: runs-on: ${{ matrix.os }} strategy: matrix: python-version: ["3.6", "3.7", "3.8", "3.9"] os: [windows-latest, ubuntu-latest, macos-latest] fail-fast: false steps: - uses: actions/checkout@v2 - name: Setup Conda uses: s-weigand/setup-conda@v1 with: activate-conda: false conda-channels: conda-forge - name: Python ${{ matrix.python-version }} shell: bash -l {0} run: | conda create --name TEST python=${{ matrix.python-version }} pip "libnetcdf<4.8.0" --file requirements.txt --file test_requirements.txt --strict-channel-priority source activate TEST pip install --user -e . --no-deps --force-reinstall - name: Conda Info shell: bash -l {0} run: | source activate TEST conda info --all conda list - name: Default Tests shell: bash -l {0} run: | source activate TEST pytest -s -rxs -v -k "not integration" compliance_checker ```
55f5c015-b468-44a0-a757-8aec35fe3a7b
{ "language": "YAML" }
```yaml name: Python package on: [push] jobs: build: runs-on: ubuntu-latest strategy: max-parallel: 4 matrix: python-version: [3.5, 3.6, 3.7] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v1 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt - name: Lint with flake8 run: | pip install flake8 # stop the build if there are Python syntax errors or undefined names flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics #- name: Test with pytest # run: | # pip install pytest # pytest ``` Check also other file extensions with flake 8
```yaml name: Python package on: [push] jobs: build: runs-on: ubuntu-latest strategy: max-parallel: 4 matrix: python-version: [3.5, 3.6, 3.7] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v1 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt - name: Lint with flake8 run: | pip install flake8 # stop the build if there are Python syntax errors or undefined names flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --filename=*.py,*.py.* # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --filename=*.py,*.py.* #- name: Test with pytest # run: | # pip install pytest # pytest ```
897c3e9a-dcf7-43d2-8baf-6c98ce2b670a
{ "language": "YAML" }
```yaml {{ if eq .Values.influxdb.host "" -}} apiVersion: extensions/v1beta1 kind: Deployment metadata: name: {{ include "chart.fullname" . }}-influxdb labels: app: influxdb chart: {{ include "chart.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} spec: replicas: 1 strategy: type: Recreate template: metadata: labels: app: influxdb release: {{ .Release.Name }} spec: containers: - name: influxdb image: influxdb imagePullPolicy: {{ .Values.image.pullPolicy }} env: - name: INFLUXDB_DB value: telegraf resources: requests: memory: 100Mi cpu: 50m limits: memory: 200Mi cpu: 1000m volumeMounts: - name: influxdb-config mountPath: /etc/influxdb/influxdb.conf subPath: influxdb.conf - mountPath: /var/lib/influxdb name: influxdb volumes: - name: influxdb-config configMap: name: {{ include "chart.fullname" . }}-influxdb - name: influxdb persistentVolumeClaim: claimName: {{ include "chart.fullname" . }}-influxdb {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 8 }} {{- end }} {{- end }} ``` Increase influxdb deployment memory request & limit in helm chart
```yaml {{ if eq .Values.influxdb.host "" -}} apiVersion: extensions/v1beta1 kind: Deployment metadata: name: {{ include "chart.fullname" . }}-influxdb labels: app: influxdb chart: {{ include "chart.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} spec: replicas: 1 strategy: type: Recreate template: metadata: labels: app: influxdb release: {{ .Release.Name }} spec: containers: - name: influxdb image: influxdb imagePullPolicy: {{ .Values.image.pullPolicy }} env: - name: INFLUXDB_DB value: telegraf resources: requests: memory: 200Mi cpu: 50m limits: memory: 500Mi cpu: 1000m volumeMounts: - name: influxdb-config mountPath: /etc/influxdb/influxdb.conf subPath: influxdb.conf - mountPath: /var/lib/influxdb name: influxdb volumes: - name: influxdb-config configMap: name: {{ include "chart.fullname" . }}-influxdb - name: influxdb persistentVolumeClaim: claimName: {{ include "chart.fullname" . }}-influxdb {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 8 }} {{- end }} {{- end }} ```
e71a9bb8-0308-440a-b114-30fceb3bf348
{ "language": "YAML" }
```yaml imports: - { resource: 'services.yml' } - { resource: '../../packages/**/config/config.yml' } - { resource: '../../packages/**/src/config/config.yml' } parameters: merge_sections: ['require', 'require-dev', 'autoload', 'autoload-dev', 'repositories'] package_directories: - 'packages' data_to_append: [] data_to_remove: [] package_alias_format: '<major>.<minor>-dev' section_order: - 'name' - 'description' - 'license' - 'bin' - 'require' - 'require-dev' - 'autoload' - 'autoload-dev' - 'repositories' - 'replace' - 'scripts' - 'config' - 'minimum-stability' - 'prefer-stable' - 'extra' ``` Add few more sections to section_order
```yaml imports: - { resource: 'services.yml' } - { resource: '../../packages/**/config/config.yml' } - { resource: '../../packages/**/src/config/config.yml' } parameters: merge_sections: ['require', 'require-dev', 'autoload', 'autoload-dev', 'repositories'] package_directories: - 'packages' data_to_append: [] data_to_remove: [] package_alias_format: '<major>.<minor>-dev' section_order: - 'name' - 'type' - 'description' - 'keywords' - 'homepage' - 'license' - 'authors' - 'bin' - 'require' - 'require-dev' - 'autoload' - 'autoload-dev' - 'repositories' - 'conflict' - 'replace' - 'provide' - 'scripts' - 'config' - 'minimum-stability' - 'prefer-stable' - 'extra' ```
5fcacda6-ab7f-47c3-9e42-dc818b6ba4f4
{ "language": "YAML" }
```yaml homepage: http://github.com/peti/hsyslog changelog-type: '' hash: adda66d7c9af31f5eac447f73bfb3ad65789cb78dcab8bd2e081de61a16d8fbe test-bench-deps: base: -any doctest: -any maintainer: Peter Simons <simons@cryp.to> synopsis: FFI interface to syslog(3) from POSIX.1-2001 changelog: '' basic-deps: base: ! '>=3 && <5' all-versions: - '1.2' - '1.3' - '1.4' - '1.5' - '1.6' - '2.0' author: Peter Simons <simons@cryp.to> latest: '2.0' description-type: haddock description: ! 'This library provides FFI bindings to syslog(3) from POSIX.1-2001. See <http://www.opengroup.org/onlinepubs/009695399/basedefs/syslog.h.html> for further details.' license-name: BSD3 ``` Update from Hackage at 2016-06-03T17:56:04+0000
```yaml homepage: http://github.com/peti/hsyslog changelog-type: '' hash: 73f8010b191da91007809db6cf2f2b5a7d7d59732a9c302457ce0816ffe7a25a test-bench-deps: bytestring: -any base: -any hsyslog: -any QuickCheck: -any maintainer: Peter Simons <simons@cryp.to> synopsis: FFI interface to syslog(3) from POSIX.1-2001 changelog: '' basic-deps: bytestring: ==0.10.* base: ! '>=3 && <5' all-versions: - '1.2' - '1.3' - '1.4' - '1.5' - '1.6' - '2.0' - '4' author: Peter Simons, John Lato, Jonathan Childress latest: '4' description-type: haddock description: ! 'This library provides FFI bindings to syslog(3) from <http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/syslog.h.html POSIX.1-2008>.' license-name: BSD3 ```
a4ca7dd4-ac33-451b-8aa4-23058c6912b6
{ "language": "YAML" }
```yaml Categories: - System - Phone & SMS License: GPL-3.0-or-later AuthorName: Marco Lettieri AuthorEmail: m.lettieri@microbees.com AuthorWebSite: https://www.microbees.com/ SourceCode: https://github.com/marcolettieri/proximitycallfix IssueTracker: https://github.com/marcolettieri/proximitycallfix/issues AutoName: ProximitySensorFix RepoType: git Repo: https://github.com/marcolettieri/proximitycallfix Builds: - versionName: 1.0.4 versionCode: 26 commit: 1.0.4 subdir: app gradle: - yes - versionName: 1.0.5 versionCode: 27 commit: 1.0.5 subdir: app gradle: - yes - versionName: 1.0.6 versionCode: 28 commit: 1.0.6 subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: 1.0.6 CurrentVersionCode: 28 ``` Update ProximitySensorFix to 1.0.7 (29)
```yaml Categories: - System - Phone & SMS License: GPL-3.0-or-later AuthorName: Marco Lettieri AuthorEmail: m.lettieri@microbees.com AuthorWebSite: https://www.microbees.com/ SourceCode: https://github.com/marcolettieri/proximitycallfix IssueTracker: https://github.com/marcolettieri/proximitycallfix/issues AutoName: ProximitySensorFix RepoType: git Repo: https://github.com/marcolettieri/proximitycallfix Builds: - versionName: 1.0.4 versionCode: 26 commit: 1.0.4 subdir: app gradle: - yes - versionName: 1.0.5 versionCode: 27 commit: 1.0.5 subdir: app gradle: - yes - versionName: 1.0.6 versionCode: 28 commit: 1.0.6 subdir: app gradle: - yes - versionName: 1.0.7 versionCode: 29 commit: 1.0.7 subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: 1.0.7 CurrentVersionCode: 29 ```
c2073b75-44ef-41cf-9368-57da69453f9c
{ "language": "YAML" }
```yaml Categories: - Internet License: GPL-3.0-or-later AuthorName: Dimitrios Desyllas AuthorEmail: pcmagas@disroot.org AuthorWebSite: https://pcmagas.wordpress.com/ SourceCode: https://github.com/pc-magas/sercommH300sVoipCredentialsRecovery IssueTracker: https://github.com/pc-magas/sercommH300sVoipCredentialsRecovery/issues AutoName: Recover VOIP settings from H300s RepoType: git Repo: https://github.com/pc-magas/sercommH300sVoipCredentialsRecovery Builds: - versionName: v2022-01-03 versionCode: 20220103 commit: v20220103 subdir: app gradle: - yes AutoUpdateMode: Version UpdateCheckMode: Tags CurrentVersion: v2022-01-03 CurrentVersionCode: 20220103 ``` Update Recover VOIP settings from H300s to v2022-01-22 (20220122)
```yaml Categories: - Internet License: GPL-3.0-or-later AuthorName: Dimitrios Desyllas AuthorEmail: pcmagas@disroot.org AuthorWebSite: https://pcmagas.wordpress.com/ SourceCode: https://github.com/pc-magas/sercommH300sVoipCredentialsRecovery IssueTracker: https://github.com/pc-magas/sercommH300sVoipCredentialsRecovery/issues AutoName: Recover VOIP settings from H300s RepoType: git Repo: https://github.com/pc-magas/sercommH300sVoipCredentialsRecovery Builds: - versionName: v2022-01-03 versionCode: 20220103 commit: v20220103 subdir: app gradle: - yes - versionName: v2022-01-22 versionCode: 20220122 commit: bb85f2d2513c10a4f1ae1bfa9304ce63b7d8e440 subdir: app gradle: - yes AutoUpdateMode: Version UpdateCheckMode: Tags CurrentVersion: v2022-01-22 CurrentVersionCode: 20220122 ```
e95c831b-91f0-4694-a30d-37406da21620
{ "language": "YAML" }
```yaml backend: - 'pyproject.toml' - 'rasa/**/*' - 'tests/**/*' - 'data/**/*' - 'examples/**/*' docker: - 'pyproject.toml' - 'rasa/**/*' - 'docker/**/*' docs: - 'docs/**/*' - 'changelog/*' - 'CHANGELOG.mdx' - 'tests/docs/*' - 'data/**/*' - 'examples/**/*' ``` Add Makefile to all CI filters
```yaml backend: - 'pyproject.toml' - 'rasa/**/*' - 'tests/**/*' - 'data/**/*' - 'examples/**/*' - 'Makefile' docker: - 'pyproject.toml' - 'rasa/**/*' - 'docker/**/*' - 'Makefile' docs: - 'docs/**/*' - 'changelog/*' - 'CHANGELOG.mdx' - 'tests/docs/*' - 'data/**/*' - 'examples/**/*' - 'Makefile' ```
0015841e-6be4-4898-bbc6-8734b9d639a8
{ "language": "YAML" }
```yaml name: gcc9 on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest container: image: docker.retrieva.jp/pficommon_ci:gcc9.2007 credentials: username: circleci password: ${{ secrets.RETRIEVA_DOCKER_REPOSITORY_PASSWORD }} steps: - uses: actions/checkout@v2 - name: configure run: ./waf configure - name: build run: ./waf build -j4 - name: test run: ./waf --check -j4 - name: install run: ./waf install ``` Change the username from circleci to github-actions
```yaml name: gcc9 on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest container: image: docker.retrieva.jp/pficommon_ci:gcc9.2007 credentials: username: github-actions password: ${{ secrets.RETRIEVA_DOCKER_REPOSITORY_PASSWORD }} steps: - uses: actions/checkout@v2 - name: configure run: ./waf configure - name: build run: ./waf build -j4 - name: test run: ./waf --check -j4 - name: install run: ./waf install ```
b61eeda0-79af-49fb-953e-c82ac69a2976
{ "language": "YAML" }
```yaml --- on: [push, pull_request] jobs: Lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Run ansible-lint uses: ansible-community/ansible-lint-action@main Tests: name: Test role runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: ansible: - "2.11" - "2.12" - "2.13" scenario: - dnsdist-14 - dnsdist-15 - dnsdist-16 - dnsdist-master steps: - name: checkout uses: actions/checkout@v2 - name: Install python uses: actions/setup-python@v2 with: python-version: "3.10" - name: Install dependencies run: | python -m pip install --upgrade pip pip install tox tox-gh-actions - name: Run the tests run: tox -- molecule test -s ${{ matrix.scenario }} env: ANSIBLE: ${{ matrix.ansible }} ``` Add test for dnsdist 17
```yaml --- on: [push, pull_request] jobs: Lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Run ansible-lint uses: ansible-community/ansible-lint-action@main Tests: name: Test role runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: ansible: - "2.11" - "2.12" - "2.13" scenario: - dnsdist-14 - dnsdist-15 - dnsdist-16 - dnsdist-17 - dnsdist-master steps: - name: checkout uses: actions/checkout@v2 - name: Install python uses: actions/setup-python@v2 with: python-version: "3.10" - name: Install dependencies run: | python -m pip install --upgrade pip pip install tox tox-gh-actions - name: Run the tests run: tox -- molecule test -s ${{ matrix.scenario }} env: ANSIBLE: ${{ matrix.ansible }} ```
85eec5d2-c643-4eb6-9265-8d01e3501f97
{ "language": "YAML" }
```yaml # This is a basic workflow to help you get started with Actions name: CI # Controls when the action will run. Triggers the workflow on push or pull request # events but only for the main branch on: push: branches: [ main ] pull_request: branches: [ main ] # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run on runs-on: ubuntu-latest # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - name: Install dependencies run: | npm install export CLOUDSDK_CORE_DISABLE_PROMPTS=1 sudo apt-get update && sudo apt-get install google-cloud-sdk google-cloud-sdk-datastore-emulator cd ./middleware && npm install mkdir ./tmp echo '{"cacheConfig": { "snapshotDir": "./tmp/rendertron" } }' > ./config.json - name: Lint the source run: npm run lint - name: Build Rendertron run: npm run build - name: Run the integration tests run: npm test - name: Run the e2e cache tests run: npm run test-cache - name: Run tests for the middleware run: (cd middleware && npm run lint && npm run test) ``` Split lint step in a new job
```yaml # This is a basic workflow to help you get started with Actions name: CI # Controls when the action will run. Triggers the workflow on push or pull request # events but only for the main branch on: push: branches: [ main ] pull_request: branches: [ main ] # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: node-version: 14 - run: npm ci - run: npm run lint # This workflow contains a single job called "build" build: # The type of runner that the job will run on runs-on: ubuntu-latest # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - name: Install dependencies run: | npm install export CLOUDSDK_CORE_DISABLE_PROMPTS=1 sudo apt-get update && sudo apt-get install google-cloud-sdk google-cloud-sdk-datastore-emulator cd ./middleware && npm install mkdir ./tmp echo '{"cacheConfig": { "snapshotDir": "./tmp/rendertron" } }' > ./config.json - name: Build Rendertron run: npm run build - name: Run the integration tests run: npm test - name: Run the e2e cache tests run: npm run test-cache - name: Run tests for the middleware run: (cd middleware && npm run lint && npm run test) ```
e556b0ae-075f-4b03-8f22-be2b7e37eeae
{ "language": "YAML" }
```yaml name: Build on: [push] jobs: build: name: Build 🛠 runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 - name: Setup Node uses: actions/setup-node@v1 with: node-version: '10.16' - name: Install Node packages run: yarn install --production --pure-lockfile --non-interactive - name: Build assets for deployment run: yarn run deploy - name: Set up Ruby 2.6 uses: actions/setup-ruby@v1 with: ruby-version: 2.6.x - name: Bundle install run: | gem install bundler bundle install --jobs 4 --retry 3 - name: Jekyll build run: jekyll build --config "_config.yml,_config.prod.yml" - name: CSS linting with stylelint uses: actions-hub/stylelint@v1.1.2 env: PATTERN: 'src/css/*.css' - name: JS linting with eslint run: yarn run lint:js - name: Site testing with html-proofer uses: chabad360/htmlproofer@master with: directory: './_site' arguments: '--empty_alt_ignore --http-status-ignore 999' ``` Use own npm scripts for linting
```yaml name: Build on: [push] jobs: build: name: Build & test 🛠 runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 - name: Setup Node uses: actions/setup-node@v1 with: node-version: '10.16' - name: Install Node packages run: yarn install --production --pure-lockfile --non-interactive - name: Build assets for deployment run: yarn run deploy - name: Set up Ruby 2.6 uses: actions/setup-ruby@v1 with: ruby-version: 2.6.x - name: Bundle install run: | gem install bundler bundle install --jobs 4 --retry 3 - name: Jekyll build run: jekyll build --config "_config.yml,_config.prod.yml" - name: CSS linting with stylelint run: yarn run lint:css - name: JS linting with eslint run: yarn run lint:js - name: Site testing with html-proofer uses: chabad360/htmlproofer@master with: directory: './_site' arguments: '--empty_alt_ignore --http-status-ignore 999' ```
37ed69fd-9025-44a0-9512-5f29955ed417
{ "language": "YAML" }
```yaml name: Build and test on: [push, pull_request] jobs: build-and-test: runs-on: ubuntu-latest timeout-minutes: 10 env: GET_GAUCHE_URL: https://raw.githubusercontent.com/shirok/get-gauche/master steps: - uses: actions/checkout@v3 - name: Install dependencies run: | curl -f -o get-gauche.sh $GET_GAUCHE_URL/get-gauche.sh chmod +x get-gauche.sh ./get-gauche.sh --sudo --auto --skip-tests --prefix=/usr sudo apt install -y libpq-dev libssl-dev postgresql postgresql-client sudo service postgresql start sudo -u postgres createuser runner sudo -u postgres createdb runner - name: Build and check run: | ./configure make make -s check ``` Use setup-gauche for auto test
```yaml name: Build and test on: [push, pull_request] jobs: build-and-test: runs-on: ubuntu-latest timeout-minutes: 10 steps: - uses: actions/checkout@v3 - uses: shirok/setup-gauche@v1 - name: Install and setup postgresql run: | sudo apt install -y libpq-dev libssl-dev postgresql postgresql-client sudo service postgresql start sudo -u postgres createuser runner sudo -u postgres createdb runner - name: Build and check run: | ./configure make make -s check ```
6ab348b9-d2f5-4e19-99de-81faef144d6b
{ "language": "YAML" }
```yaml name: Windows C++ make-specs on: workflow_dispatch: inputs: extra_resolve_options: description: "Extra Resolve Options" required: false schedule: - cron: "0 1 * * *" # 3 AM CET push: pull_request: jobs: Windows-mkspecs: uses: steinwurf/windows-mkspecs-action/.github/workflows/action.yml@5.0.0 with: extra_resolve_options: ${{ github.event.inputs.extra_resolve_options }} ``` Update Windows C++ make-specs to new version 6.0.0
```yaml name: Windows C++ make-specs on: workflow_dispatch: inputs: extra_resolve_options: description: "Extra Resolve Options" required: false schedule: - cron: "0 1 * * *" # 3 AM CET push: pull_request: jobs: Windows-mkspecs: uses: steinwurf/windows-mkspecs-action/.github/workflows/action.yml@6.0.0 with: extra_resolve_options: ${{ github.event.inputs.extra_resolve_options }} ```
267b0d55-5675-401d-ae41-1e21d924998c
{ "language": "YAML" }
```yaml name: Node CI on: [push] jobs: test: name: Run test suite runs-on: ubuntu-latest strategy: matrix: node-version: [12.x] steps: - uses: actions/checkout@v2.3.4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2.1.2 with: node-version: ${{ matrix.node-version }} - name: npm install and test run: | npm install npm run build npm test env: CI: true merge-me: name: Auto-merge dependency updates needs: test runs-on: ubuntu-latest steps: - uses: ridedott/merge-me-action@v1.8.24 with: GITHUB_LOGIN: 'dependabot[bot]' GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ``` Bump ridedott/merge-me-action from v1.8.24 to v1.8.30
```yaml name: Node CI on: [push] jobs: test: name: Run test suite runs-on: ubuntu-latest strategy: matrix: node-version: [12.x] steps: - uses: actions/checkout@v2.3.4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2.1.2 with: node-version: ${{ matrix.node-version }} - name: npm install and test run: | npm install npm run build npm test env: CI: true merge-me: name: Auto-merge dependency updates needs: test runs-on: ubuntu-latest steps: - uses: ridedott/merge-me-action@v1.8.30 with: GITHUB_LOGIN: 'dependabot[bot]' GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ```
3ccba0aa-74f9-4974-8f47-e9ffd233b2b9
{ "language": "YAML" }
```yaml name: Node CI on: [push] jobs: test: name: Run test suite runs-on: ubuntu-latest strategy: matrix: node-version: [12.x] steps: - uses: actions/checkout@v2.3.3 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2.1.2 with: node-version: ${{ matrix.node-version }} - name: npm install and test run: | npm install npm run build npm test env: CI: true merge-me: name: Auto-merge dependency updates needs: test runs-on: ubuntu-latest steps: - uses: ridedott/merge-me-action@v1.8.13 with: GITHUB_LOGIN: 'dependabot[bot]' GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ``` Bump ridedott/merge-me-action from v1.8.13 to v1.8.15
```yaml name: Node CI on: [push] jobs: test: name: Run test suite runs-on: ubuntu-latest strategy: matrix: node-version: [12.x] steps: - uses: actions/checkout@v2.3.3 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2.1.2 with: node-version: ${{ matrix.node-version }} - name: npm install and test run: | npm install npm run build npm test env: CI: true merge-me: name: Auto-merge dependency updates needs: test runs-on: ubuntu-latest steps: - uses: ridedott/merge-me-action@v1.8.15 with: GITHUB_LOGIN: 'dependabot[bot]' GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ```
8ab669e1-8ee6-467e-b335-d7ffe0e7b376
{ "language": "YAML" }
```yaml name: Test on: push: pull_request: env: FORCE_COLOR: 2 jobs: full: name: Node.js 15 Full runs-on: ubuntu-latest steps: - name: Checkout the repository uses: actions/checkout@v2 - name: Install Node.js uses: actions/setup-node@v2 with: node-version: 15 - name: Install dependencies uses: bahmutov/npm-install@v1 - name: Run tests run: yarn test short: runs-on: ubuntu-latest strategy: matrix: node-version: - 14 - 12 - 10 name: Node.js ${{ matrix.node-version }} Quick steps: - name: Checkout the repository uses: actions/checkout@v2 - name: Install Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - name: Install dependencies uses: bahmutov/npm-install@v1 with: install-command: yarn --frozen-lockfile --ignore-engines - name: Run unit tests run: npx jest ``` Use Node.js 16 on CI
```yaml name: Test on: push: pull_request: env: FORCE_COLOR: 2 jobs: full: name: Node.js 16 Full runs-on: ubuntu-latest steps: - name: Checkout the repository uses: actions/checkout@v2 - name: Install Node.js uses: actions/setup-node@v2 with: node-version: 16 - name: Install dependencies uses: bahmutov/npm-install@v1 - name: Run tests run: yarn test short: runs-on: ubuntu-latest strategy: matrix: node-version: - 14 - 12 - 10 name: Node.js ${{ matrix.node-version }} Quick steps: - name: Checkout the repository uses: actions/checkout@v2 - name: Install Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - name: Install dependencies uses: bahmutov/npm-install@v1 with: install-command: yarn --frozen-lockfile --ignore-engines - name: Run unit tests run: npx jest ```
e173316c-1dc8-4074-8653-9becbddf70f3
{ "language": "YAML" }
```yaml name: publish on: release: types: [published] jobs: publish: name: Publish 🚀 runs-on: ubuntu-latest env: VERSION: null steps: - uses: actions/checkout@v2 - name: Set up Python 🐍 uses: actions/setup-python@v2 with: python-version: 3.x - name: Install dependencies ⚙️ run: | python -m pip install --upgrade pip pip install build - name: Get version run: | cat setup.cfg | grep "version = " | awk '{print "VERSION="$(NF)}' >> $GITHUB_ENV - name: Build a binary wheel and a source tarball 🚧 run: python -m build --sdist --wheel --outdir dist/ . - name: Validate release tag run: | if [ "${GITHUB_REF#refs/tags/}" != "${VERSION}" ]; then exit 1; fi - name: Publish to Test PyPI 📦 if: contains(env.VERSION, 'a') uses: pypa/gh-action-pypi-publish@v1.4.2 with: user: __token__ password: ${{ secrets.TEST_PYPI_API_TOKEN }} repository_url: https://test.pypi.org/legacy/ - name: Publish to PyPI 📦 if: | !contains(env.VERSION, 'a') uses: pypa/gh-action-pypi-publish@v1.4.2 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} ``` Update github action for publishing release to only trigger on master branch
```yaml name: publish on: release: types: [published] branches: - master jobs: publish: name: Publish 🚀 runs-on: ubuntu-latest env: VERSION: null steps: - uses: actions/checkout@v2 - name: Set up Python 🐍 uses: actions/setup-python@v2 with: python-version: 3.x - name: Install dependencies ⚙️ run: | python -m pip install --upgrade pip pip install build - name: Get version run: | cat setup.cfg | grep "version = " | awk '{print "VERSION="$(NF)}' >> $GITHUB_ENV - name: Build a binary wheel and a source tarball 🚧 run: python -m build --sdist --wheel --outdir dist/ . - name: Validate release tag run: | if [ "${GITHUB_REF#refs/tags/}" != "${VERSION}" ]; then exit 1; fi - name: Publish to Test PyPI 📦 if: contains(env.VERSION, 'a') uses: pypa/gh-action-pypi-publish@v1.4.2 with: user: __token__ password: ${{ secrets.TEST_PYPI_API_TOKEN }} repository_url: https://test.pypi.org/legacy/ - name: Publish to PyPI 📦 if: | !contains(env.VERSION, 'a') uses: pypa/gh-action-pypi-publish@v1.4.2 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} ```
366ca84f-3c1a-4be1-b9b9-21927a18ed1b
{ "language": "YAML" }
```yaml # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. --- driver: name: terraform provisioner: name: terraform verifier: name: terraform platforms: - name: local suites: - name: simple_example driver: root_module_directory: test/fixtures/simple_example/ verifier: color: false systems: - name: simple_example local backend: local controls: - gcloud - name: simple_example gcp backend: gcp controls: - gcp ``` Use less ambiguous platform name
```yaml # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. --- driver: name: terraform provisioner: name: terraform verifier: name: terraform platforms: - name: default suites: - name: simple_example driver: root_module_directory: test/fixtures/simple_example/ verifier: color: false systems: - name: simple_example local backend: local controls: - gcloud - name: simple_example gcp backend: gcp controls: - gcp ```
67dedbcf-f22f-43b4-b82b-7de5a1834ac7
{ "language": "YAML" }
```yaml --- platform: linux image: docker:///flintstonecf/ci inputs: - name: git-bits-service-release params: BOSH_TARGET: BOSH_USERNAME: BOSH_PASSWORD: VERSION_FILE: outputs: - name: assets run: path: git-bits-service-release/ci/scripts/create-bits-release.sh ``` Add `bits-service-release-version` as input for create-bits-service task
```yaml --- platform: linux image: docker:///flintstonecf/ci inputs: - name: git-bits-service-release - name: bits-service-release-version params: BOSH_TARGET: BOSH_USERNAME: BOSH_PASSWORD: VERSION_FILE: outputs: - name: assets run: path: git-bits-service-release/ci/scripts/create-bits-release.sh ```
6a099a00-46ac-4dd8-af2c-fe61cbf4b0f6
{ "language": "YAML" }
```yaml name: xmdp base: core18 version: git license: Unlicense summary: An MDP clone using libxmp description: | xmdp is a clone of the Future Crew MusicDiskPlayer (released in 1993 with the Journey 1/2 and Chaotic Mind musicdisks) using libxmp to render module data. grade: devel confinement: strict apps: xmdp: command: xmdp plugs: - home - alsa - pulseaudio - x11 - wayland - opengl environment: LD_LIBRARY_PATH: $SNAP/usr/lib/x86_64-linux-gnu/pulseaudio parts: xmdp: source: . plugin: make artifacts: [xmdp] build-packages: - gcc - make - libsdl2-dev - libxmp-dev - libpulse-dev stage-packages: - libsdl2-2.0-0 - libxmp4 - libpulse0 - libgl1 ``` Use arch triplet to set snap library path
```yaml name: xmdp base: core18 version: git license: Unlicense summary: An MDP clone using libxmp description: | xmdp is a clone of the Future Crew MusicDiskPlayer (released in 1993 with the Journey 1/2 and Chaotic Mind musicdisks) using libxmp to render module data. grade: devel confinement: strict apps: xmdp: command: xmdp plugs: - home - alsa - pulseaudio - x11 - wayland - opengl environment: LD_LIBRARY_PATH: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio parts: xmdp: source: . plugin: make artifacts: [xmdp] build-packages: - gcc - make - libsdl2-dev - libxmp-dev - libpulse-dev stage-packages: - libsdl2-2.0-0 - libxmp4 - libpulse0 - libgl1 ```
944810f1-9589-470b-9b02-87e4fdf99e90
{ "language": "YAML" }
```yaml --- label: Event hide_body: false fields: - type: text name: layout label: layout hidden: true - type: boolean name: featured label: featured default: false hidden: false - type: text name: title label: Event title description: 'Example: "2020 SV Alumni Reunion"' - type: file name: img-url label: Events listing image config: maxSize: 2 description: 'Upload a square image. 741px * 741px ' - type: datetime name: date label: date - type: select name: event-type label: Type of event config: required: true options: - s3r3 - alumni reunion - webinar description: 'Choose: s3r3, alumni reunion, webinar' ``` Update from Forestry.io - Updated Forestry configuration
```yaml --- label: Event hide_body: false fields: - type: text name: layout label: layout hidden: true - type: boolean name: featured label: Featured default: false hidden: false description: If this event is set to featured, it will appear on the front page. - type: text name: title label: Event title description: 'Example: "2020 SV Alumni Reunion"' - type: file name: img-url label: Events listing image config: maxSize: 2 description: 'Upload a square image. 741px * 741px ' - type: datetime name: date label: date - type: select name: event-type label: Type of event config: required: true options: - s3r3 - alumni reunion - webinar description: 'Choose: s3r3, alumni reunion, webinar' ```
411740aa-4832-4713-84ee-100346ce4651
{ "language": "YAML" }
```yaml --- hide_body: false is_partial: false fields: - name: title label: Title type: text hidden: false default: '' description: e.g. About config: required: true - type: text name: display_title label: Display Title description: e.g. About Me - type: include name: nav_menu label: Nav Menu template: include-menu description: The menu to display in the nav bar - type: blocks name: sections label: Sections template_types: - partial-columns - partial-work description: The sections to include in the page ``` Update from Forestry.io - index.md
```yaml --- hide_body: false is_partial: false fields: - name: title label: Title type: text hidden: false default: '' description: e.g. About config: required: true - type: text name: display_title label: Display Title description: e.g. About Me - type: include name: nav_menu label: Nav Menu template: include-menu description: The menu to display in the nav bar - type: blocks name: sections label: Sections template_types: - partial-columns - partial-work description: The sections to include in the page pages: - index.md ```
5b42d549-4ca5-47d5-b889-8c001599182a
{ "language": "YAML" }
```yaml # Default values for odmcharts. # This is a YAML-formatted file. # Declare variables to be passed into your templates. image: repository: mycluster:8500/ibmcom prefix: odm tag: 8.9.0 pullPolicy: IfNotPresent ## Optionally specify an array of imagePullSecrets. ## Secrets must be manually created in the namespace. ## ref: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod ## - name: admin.registrykey pullSecrets: persistence: enabled: true service: type: NodePort decisionServerRuntime: replicaCount: 2 decisionCenter: replicaCount: 1 decisionRunner: replicaCount: 1 ``` Fix default value for common usage
```yaml # Default values for odmcharts. # This is a YAML-formatted file. # Declare variables to be passed into your templates. image: repository: ibmcom prefix: odm tag: 8.9.0 pullPolicy: IfNotPresent ## Optionally specify an array of imagePullSecrets. ## Secrets must be manually created in the namespace. ## ref: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod ## - name: admin.registrykey pullSecrets: persistence: enabled: false service: type: NodePort decisionServerRuntime: replicaCount: 2 decisionCenter: replicaCount: 1 decisionRunner: replicaCount: 1 ```
ecb6863e-2e57-4dfe-af0d-47322db460ba
{ "language": "YAML" }
```yaml --- - name: Create the socket directory file: path=/var/run/php-fpm owner=deploy group=deploy state=directory - name: Generate the virtual host template: src=vhost.j2 dest=/etc/nginx/sites-available/lychee mode=755 notify: - Restart Nginx - restart php-fpm - name: Enable the virtual host file: path=/etc/nginx/sites-enabled/lychee src=/etc/nginx/sites-available/lychee state=link notify: - Restart Nginx - restart php-fpm - name: Create the application directories file: path={{ item }} owner=deploy group=deploy state=directory with_items: - "{{ app_location }}" - "{{ app_location }}/shared" - "{{ app_location }}/shared/log" - "{{ app_location }}/shared/data" - "{{ app_location }}/shared/uploads" - "{{ app_location }}/current" notify: - Modify permissions on uploads - name: Check out the latest revision of the codebase git: repo=https://github.com/electerious/Lychee.git dest={{ app_location }}/current version=master sudo: yes sudo_user: deploy notify: - Symlink the shared directories - Modify permissions on uploads - restart php-fpm - name: Generate the database config template: src=data-config.php.j2 dest={{app_location}}/shared/data/config.php mode=755 ``` Upgrade to v2.7 of Lychee
```yaml --- - name: Install imagemagick apt: pkg=php5-imagick state=present - name: Create the socket directory file: path=/var/run/php-fpm owner=deploy group=deploy state=directory - name: Generate the virtual host template: src=vhost.j2 dest=/etc/nginx/sites-available/lychee mode=755 notify: - Restart Nginx - restart php-fpm - name: Enable the virtual host file: path=/etc/nginx/sites-enabled/lychee src=/etc/nginx/sites-available/lychee state=link notify: - Restart Nginx - restart php-fpm - name: Create the application directories file: path={{ item }} owner=deploy group=deploy state=directory with_items: - "{{ app_location }}" - "{{ app_location }}/shared" - "{{ app_location }}/shared/log" - "{{ app_location }}/shared/data" - "{{ app_location }}/shared/uploads" - "{{ app_location }}/current" notify: - Modify permissions on uploads - name: Check out the latest revision of the codebase git: repo=https://github.com/electerious/Lychee.git dest={{ app_location }}/current version=v2.7.0 sudo: yes sudo_user: deploy notify: - Symlink the shared directories - Modify permissions on uploads - restart php-fpm - name: Generate the database config template: src=data-config.php.j2 dest={{app_location}}/shared/data/config.php mode=755 ```
35804638-dd78-4dfa-bc5e-81c9c5b5cf68
{ "language": "YAML" }
```yaml --- # tests that shadows still render even if the associated text is clipped out root: items: - type: scroll-frame bounds: [14, 18, 10, 5] content-size: [10, 5] items: - type: "shadow" bounds: [11, 20, 100, 100] blur-radius: 3 offset: [0, 0] color: black - bounds: [14, 23, 100, 100] glyphs: [55] offsets: [16, 43] size: 18 color: black font: "VeraBd.ttf" - type: "pop-all-shadows" ``` Clarify a comment in a test
```yaml # Tests that the unclipped parts of a shadow still render even if the associated # text is clipped out. --- root: items: - type: scroll-frame bounds: [14, 18, 10, 5] content-size: [10, 5] items: - type: "shadow" bounds: [11, 20, 100, 100] blur-radius: 3 offset: [0, 0] color: black - bounds: [14, 23, 100, 100] glyphs: [55] offsets: [16, 43] size: 18 color: black font: "VeraBd.ttf" - type: "pop-all-shadows" ```
6819c209-9484-42ab-a29c-cdc038b91292
{ "language": "YAML" }
```yaml variants: experimental: CONFIG: experimental GO_VERSION: 1.13.5 K8S_RELEASE: stable BAZEL_VERSION: 0.28.1 UPGRADE_DOCKER: 'true' master: CONFIG: master GO_VERSION: 1.13.5 K8S_RELEASE: stable BAZEL_VERSION: 0.23.2 '1.18': CONFIG: '1.18' GO_VERSION: 1.13.5 K8S_RELEASE: stable-1.18 BAZEL_VERSION: 0.23.2 '1.17': CONFIG: '1.17' GO_VERSION: 1.13.5 K8S_RELEASE: stable-1.17 BAZEL_VERSION: 0.23.2 '1.16': CONFIG: '1.16' GO_VERSION: 1.13.5 K8S_RELEASE: stable-1.16 BAZEL_VERSION: 0.23.2 '1.15': CONFIG: '1.15' GO_VERSION: 1.12.12 K8S_RELEASE: stable-1.15 BAZEL_VERSION: 0.23.2 ``` Update go version to 1.13.6
```yaml variants: experimental: CONFIG: experimental GO_VERSION: 1.13.6 K8S_RELEASE: stable BAZEL_VERSION: 0.28.1 UPGRADE_DOCKER: 'true' master: CONFIG: master GO_VERSION: 1.13.6 K8S_RELEASE: stable BAZEL_VERSION: 0.23.2 '1.18': CONFIG: '1.18' GO_VERSION: 1.13.6 K8S_RELEASE: stable-1.18 BAZEL_VERSION: 0.23.2 '1.17': CONFIG: '1.17' GO_VERSION: 1.13.6 K8S_RELEASE: stable-1.17 BAZEL_VERSION: 0.23.2 '1.16': CONFIG: '1.16' GO_VERSION: 1.13.6 K8S_RELEASE: stable-1.16 BAZEL_VERSION: 0.23.2 '1.15': CONFIG: '1.15' GO_VERSION: 1.12.12 K8S_RELEASE: stable-1.15 BAZEL_VERSION: 0.23.2 ```
6c9572a9-a487-4e7f-9752-cb6d1b910138
{ "language": "YAML" }
```yaml build: goos: - linux - darwin - freebsd goarch: - 386 - amd64 - arm - arm64 archive: name_template: '{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' replacements: darwin: Darwin linux: Linux 386: i386 amd64: x86_64 brew: github: owner: getantibody name: homebrew-tap caveats: To start using antibody, you need to add `source <(antibody init)` to your `~/.zshrc`. folder: Formula homepage: http://getantibody.github.io description: The fastest shell plugin manager dependencies: - git nfpm: homepage: http://getantibody.github.io description: The fastest shell plugin manager maintainer: Carlos Alexandro Becker <root@carlosbecker.com> license: MIT vendor: Antibody formats: - deb dependencies: - git ``` Build for both ARMv6 and ARMv7
```yaml build: goos: - linux - darwin - freebsd goarch: - 386 - amd64 - arm - arm64 goarm: - 6 - 7 archive: name_template: '{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' replacements: darwin: Darwin linux: Linux 386: i386 amd64: x86_64 brew: github: owner: getantibody name: homebrew-tap caveats: To start using antibody, you need to add `source <(antibody init)` to your `~/.zshrc`. folder: Formula homepage: http://getantibody.github.io description: The fastest shell plugin manager dependencies: - git nfpm: homepage: http://getantibody.github.io description: The fastest shell plugin manager maintainer: Carlos Alexandro Becker <root@carlosbecker.com> license: MIT vendor: Antibody formats: - deb dependencies: - git ```
21144484-2a71-4ad2-bc21-e072bdda1283
{ "language": "YAML" }
```yaml spring: datasource: platform: h2 thymeleaf: cache: false jpa: show-sql: true hibernate: ddl-auto: '' mvc: date-format: 'yyyy/MM/dd HH:mm:ss' aop: proxy-target-class: true cache: type: guava server: error: whitelabel: enabled: false compression: enabled: true mime-types: text/html,text/css,application/json min-response-size: 2048 security: basic: enabled: false management: context-path: /manage add-application-context-header: false ``` Change cache type and add cache log
```yaml spring: datasource: platform: h2 thymeleaf: cache: false jpa: show-sql: true hibernate: ddl-auto: '' mvc: date-format: 'yyyy/MM/dd HH:mm:ss' aop: proxy-target-class: true cache: type: simple logging: level: org.springframework.cache: TRACE server: error: whitelabel: enabled: false compression: enabled: true mime-types: text/html,text/css,application/json min-response-size: 2048 security: basic: enabled: false management: context-path: /manage add-application-context-header: false ```
adbf34fd-48da-4ab0-a27b-70684117c554
{ "language": "YAML" }
```yaml {% set name = "pyaaf2" %} {% set version = "1.4.0" %} package: name: "{{ name|lower }}" version: "{{ version }}" source: url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz" sha256: 160d3c26c7cfef7176d0bdb0e55772156570435982c3abfa415e89639f76e71b build: number: 0 script: "{{ PYTHON }} -m pip install . -vv" requirements: host: - pip - python run: - python test: imports: - aaf2 - aaf2.model - aaf2.model.ext about: home: "https://github.com/markreidvfx/pyaaf2" license: MIT license_family: MIT license_file: LICENSE summary: "A python module for reading and writing advanced authoring format files" doc_url: dev_url: extra: recipe-maintainers: - vvzen ``` Make pyaaf2 noarch and specify py lower bound
```yaml {% set name = "pyaaf2" %} {% set version = "1.4.0" %} package: name: "{{ name|lower }}" version: "{{ version }}" source: url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz" sha256: 160d3c26c7cfef7176d0bdb0e55772156570435982c3abfa415e89639f76e71b build: noarch: python number: 0 script: "{{ PYTHON }} -m pip install . -vv" requirements: host: - pip - python >=3 run: - python >=3 test: imports: - aaf2 - aaf2.model - aaf2.model.ext about: home: "https://github.com/markreidvfx/pyaaf2" license: MIT license_family: MIT license_file: LICENSE summary: "A python module for reading and writing advanced authoring format files" doc_url: dev_url: extra: recipe-maintainers: - vvzen ```
f7b12004-0b10-478c-886c-af0ce38d03df
{ "language": "YAML" }
```yaml # JavaScript Node CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-javascript/ for more details # version: 2.1 jobs: build: docker: - image: circleci/node:14.12 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: npm install - save_cache: paths: - node_modules key: v1-dependencies-{{ checksum "package.json" }} - run: npm run lint - run: npm test ``` Update circleci/node Docker tag to v14.13
```yaml # JavaScript Node CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-javascript/ for more details # version: 2.1 jobs: build: docker: - image: circleci/node:14.13 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: npm install - save_cache: paths: - node_modules key: v1-dependencies-{{ checksum "package.json" }} - run: npm run lint - run: npm test ```
9ace03db-1131-4748-8da2-2e040c5e11fb
{ "language": "YAML" }
```yaml # Javascript Node CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-javascript/ for more details # version: 2 jobs: build: docker: - image: circleci/node:10.12-stretch working_directory: ~/node-7z 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: name: Install System Dependencies command: sudo apt-get update && sudo apt-get install -y p7zip-full - run: name: Install Package Dependencies command: npm install - run: name: Install Code Climate, notify of a pending test report command: | curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter chmod +x ./cc-test-reporter ./cc-test-reporter before-build - save_cache: paths: - node_modules key: v1-dependencies-{{ checksum "package.json" }} - run: name: Run tests and coverage command: npm run coverage - run: name: Send coverage to Code Climate command: ./cc-test-reporter after-build --coverage-input-type lcov --exit-code $? ``` Make 7z binary available for testing
```yaml # Javascript Node CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-javascript/ for more details # version: 2 jobs: build: docker: - image: circleci/node:10.12-stretch working_directory: ~/node-7z 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: name: Install System Dependencies command: sudo apt-get update && sudo apt-get install -y p7zip-full - run: name: Copy 7z Binary to _mock command: cp /usr/bin/7z "./test/_mock/Seven Zip" - run: name: Install Package Dependencies command: npm install - run: name: Install Code Climate, notify of a pending test report command: | curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter chmod +x ./cc-test-reporter ./cc-test-reporter before-build - save_cache: paths: - node_modules key: v1-dependencies-{{ checksum "package.json" }} - run: name: Run tests and coverage command: npm run coverage - run: name: Send coverage to Code Climate command: ./cc-test-reporter after-build --coverage-input-type lcov --exit-code $? ```
8662e567-d148-499e-8488-33944bcaa793
{ "language": "YAML" }
```yaml version: 2 jobs: build: docker: - image: python:3.6 working_directory: ~/repo steps: - checkout - restore_cache: keys: - v1-dependencies-{{ checksum "requirements.txt" }} - v1-dependencies- - run: name: Install dependencies command: | echo "deb http://mozilla.debian.net/ jessie-backports firefox-release" > /etc/apt/sources.list.d/debian-mozilla.list wget mozilla.debian.net/pkg-mozilla-archive-keyring_1.1_all.deb dpkg -i pkg-mozilla-archive-keyring_1.1_all.deb rm pkg-mozilla-archive-keyring_1.1_all.deb apt-get update apt-get install -y firefox python3 -m venv venv . venv/bin/activate pip install -r requirements.txt - save_cache: paths: - ./venv key: v1-dependencies-{{ checksum "requirements.txt" }} - run: name: Run command: | cp credentials.py.example credentials.py ./run.sh ``` Change to Firefox supported in Debian Jessie
```yaml version: 2 jobs: build: docker: - image: python:3.6 working_directory: ~/repo steps: - checkout - restore_cache: keys: - v1-dependencies-{{ checksum "requirements.txt" }} - v1-dependencies- - run: name: Install dependencies command: | echo "deb deb http://security.debian.org/ jessie/updates main" > /etc/apt/sources.list.d/debian-mozilla.list wget mozilla.debian.net/pkg-mozilla-archive-keyring_1.1_all.deb dpkg -i pkg-mozilla-archive-keyring_1.1_all.deb rm pkg-mozilla-archive-keyring_1.1_all.deb apt-get update apt-get install -y firefox-esr python3 -m venv venv . venv/bin/activate pip install -r requirements.txt - save_cache: paths: - ./venv key: v1-dependencies-{{ checksum "requirements.txt" }} - run: name: Run command: | cp credentials.py.example credentials.py ./run.sh ```
b72105a9-f44d-4cb7-ba42-ed4cfb2e1e99
{ "language": "YAML" }
```yaml version: 2 jobs: build: machine: enabled: true working_directory: ~/project steps: - checkout - run: name: "Build Docker Images" command: ./build-images.sh - deploy: command: | if [ "${CIRCLE_BRANCH}" == "master" ]; then docker login -u $DOCKER_USER -p $DOCKER_PASS docker push felicianotech/docker-hugo fi ``` Add new Docker Hub repo as push target.
```yaml version: 2 jobs: build: machine: enabled: true working_directory: ~/project steps: - checkout - run: name: "Build Docker Images" command: ./build-images.sh - deploy: command: | if [ "${CIRCLE_BRANCH}" == "master" ]; then docker login -u $DOCKER_USER -p $DOCKER_PASS docker push felicianotech/docker-hugo docker push cibuilds/hugo fi ```
71281375-c715-4efd-b95f-62ae2d7a957f
{ "language": "YAML" }
```yaml version: 2 jobs: build: docker: - image: circleci/node:8.9 working_directory: ~/repo branches: only: - production steps: - checkout # Download and cache dependencies - restore_cache: keys: - v1-dependencies-{{ checksum "app/package.json" }} # fallback to using the latest cache if no exact match is found - v1-dependencies- - run: command: yarn install working_directory: app - run: command: yarn test working_directory: app - save_cache: paths: - node_modules key: v1-dependencies-{{ checksum "app/package.json" }} # Build - run: sudo apt install rsync - run: command: yarn build working_directory: app - run: ssh-keyscan -H $DEPLOY_HOST >> ~/.ssh/known_hosts - run: rsync -az ~/repo/app/build/ $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_DIRECTORY --delete ``` Build css before running tests
```yaml version: 2 jobs: build: docker: - image: circleci/node:8.9 working_directory: ~/repo branches: only: - production steps: - checkout # Download and cache dependencies - restore_cache: keys: - v1-dependencies-{{ checksum "app/package.json" }} # fallback to using the latest cache if no exact match is found - v1-dependencies- - run: command: yarn install working_directory: app - run: command: yarn build-css && yarn test working_directory: app - save_cache: paths: - node_modules key: v1-dependencies-{{ checksum "app/package.json" }} # Build - run: sudo apt install rsync - run: command: yarn build working_directory: app - run: ssh-keyscan -H $DEPLOY_HOST >> ~/.ssh/known_hosts - run: rsync -az ~/repo/app/build/ $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_DIRECTORY --delete ```
335cfbb5-9b37-4e57-bc75-6d8b87a9f9b8
{ "language": "YAML" }
```yaml version: 2 jobs: build-and-test: environment: BUNDLE_PATH: vendor/bundle FL_OUTPUT_DIR: output macos: xcode: "9.4.1" working_directory: ~/VimeoNetworking shell: /bin/bash --login -o pipefail steps: - checkout - restore_cache: key: v1-gems-{{ checksum "Gemfile.lock" }} - run: name: Set Ruby version command: echo "ruby-2.4" > ~/.ruby-version - run: name: Install bundler dependencies command: bundle install --path vendor/bundle - run: name: Build and run iOS tests command: bundle exec fastlane scan environment: SCAN_DEVICE: iPhone 8 SCAN_SCHEME: VimeoNetworkingExample-iOS - save_cache: paths: - vendor/bundle key: v1-gems-{{ checksum "Gemfile.lock" }} - store_artifacts: path: output - store_test_results: path: output/scan workflows: version: 2 build: jobs: - build-and-test ``` Update CircleCI to build against Xcode 10
```yaml version: 2 jobs: build-and-test: environment: BUNDLE_PATH: vendor/bundle FL_OUTPUT_DIR: output macos: xcode: "10.0.0" working_directory: ~/VimeoNetworking shell: /bin/bash --login -o pipefail steps: - checkout - restore_cache: key: v1-gems-{{ checksum "Gemfile.lock" }} - run: name: Set Ruby version command: echo "ruby-2.4" > ~/.ruby-version - run: name: Install bundler dependencies command: bundle install --path vendor/bundle - run: name: Build and run iOS tests command: bundle exec fastlane ios test environment: SCAN_DEVICE: iPhone 8 SCAN_SCHEME: VimeoNetworkingExample-iOS - save_cache: paths: - vendor/bundle key: v1-gems-{{ checksum "Gemfile.lock" }} - store_artifacts: path: output - store_test_results: path: output/scan workflows: version: 2 build: jobs: - build-and-test ```
75084439-802c-4b9b-bd7b-ff8007c1dc93
{ "language": "YAML" }
```yaml version: 2 jobs: build: docker: - image: circleci/openjdk:8-jdk working_directory: ~/repo environment: JVM_OPTS: -Xmx2048m steps: - checkout - restore_cache: keys: - v1-dependencies-{{ checksum "build.gradle" }} - run: ./gradlew dependencies --no-parallel - save_cache: paths: - ~/.gradle key: v1-dependencies-{{ checksum "build.gradle" }} - run: ./gradlew build --no-parallel ``` Fix Retard Circle ™ - Round 2
```yaml version: 2 jobs: build: docker: - image: circleci/openjdk:8-jdk working_directory: ~/repo steps: - checkout - restore_cache: keys: - v1-dependencies-{{ checksum "build.gradle" }} - run: ./gradlew dependencies --no-parallel - save_cache: paths: - ~/.gradle key: v1-dependencies-{{ checksum "build.gradle" }} - run: ./gradlew build --no-parallel ```
dcc16eb9-9271-4661-91c4-370ff696c25a
{ "language": "YAML" }
```yaml # Python CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-python/ for more details # version: 2 jobs: build: docker: - image: circleci/python:3.9.4@sha256:41698b30a81f886d5a7365896d13c473db34e91c42e45c1ea67db5e0a963d43b working_directory: ~/repo steps: - checkout - restore_cache: keys: - cache-{{ checksum "Pipfile.lock" }} - cache- - run: name: Install dependencies command: | python3 -m venv .venv pip install --user pipenv pipenv sync --dev - save_cache: key: cache-{{ checksum "Pipfile.lock" }} paths: - ~/.local - ~/.cache - run: name: run tests command: | pipenv run flake8 bamboo_crawler tests export AWS_ACCESS_KEY_ID='1234' export AWS_SECRET_ACCESS_KEY='5678' pipenv run python setup.py test pipenv run python setup.py sdist bdist_wheel pipenv run twine check dist/* - store_artifacts: path: test-reports destination: test-reports ``` Update circleci/python Docker tag to v3.9.6
```yaml # Python CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-python/ for more details # version: 2 jobs: build: docker: - image: circleci/python:3.9.6@sha256:61c1806d7594b0bb3e5247709f6db770f3762ddf994545f1c172dc19924a0f7f working_directory: ~/repo steps: - checkout - restore_cache: keys: - cache-{{ checksum "Pipfile.lock" }} - cache- - run: name: Install dependencies command: | python3 -m venv .venv pip install --user pipenv pipenv sync --dev - save_cache: key: cache-{{ checksum "Pipfile.lock" }} paths: - ~/.local - ~/.cache - run: name: run tests command: | pipenv run flake8 bamboo_crawler tests export AWS_ACCESS_KEY_ID='1234' export AWS_SECRET_ACCESS_KEY='5678' pipenv run python setup.py test pipenv run python setup.py sdist bdist_wheel pipenv run twine check dist/* - store_artifacts: path: test-reports destination: test-reports ```
b54a7d43-fc89-4728-96e2-5cf44ff4a10a
{ "language": "YAML" }
```yaml version: 2 jobs: build: docker: - image: circleci/node:8@sha256:41517eb04d4fe284b93ae3a132a8dca0e2433ca7043d8a0bf809d3fb10a6a416 - image: circleci/mongo:3@sha256:2d9bd2912958ebb1b22c707d826d32d410012f1edf55681773cdbf076f54840b steps: - checkout - run: yarn install --frozen-lockfile - run: yarn test - run: yarn codecov ``` Update circleci/node:8 Docker digest to 0f95ad
```yaml version: 2 jobs: build: docker: - image: circleci/node:8@sha256:0f95ad042f0099e737b59c3873795b9fb427ddf5fac675e47b1d44d58616c1bd - image: circleci/mongo:3@sha256:2d9bd2912958ebb1b22c707d826d32d410012f1edf55681773cdbf076f54840b steps: - checkout - run: yarn install --frozen-lockfile - run: yarn test - run: yarn codecov ```
d534741d-9866-4952-ba72-4b17bdbdd202
{ "language": "YAML" }
```yaml name: tardis channels: - defaults - conda-forge - bioconda dependencies: - python=2.7 - numpy=1.12 - scipy=0.18 - pandas=0.20 - pytables - h5py=2.6 - matplotlib=2.0 - astropy=1.3 - numexpr=2.6 - Cython=0.21 - networkx=1.10 - pytest=3.0 - pyyaml=3.12 - jsonschema=2.5.1 - pyne=0.5.3 - graphviz=2.38 - pygraphviz # RTD requirements - sphinx=1.5.1 - nbconvert=4.2.0 - numpydoc=0.5 - docutils=0.13.1 - nbformat=4.0.1 #Coverage requirements - coverage=3.7.1 - requests=2.9.1 - docopt=0.6.2 - pytest-cov=2.2.1 - pip: - nbsphinx - sphinx_bootstrap_theme - sphinxcontrib-bibtex - sphinxcontrib-tikz - coveralls - pytest-html==1.10.0 - dokuwiki - dot2tex ``` Add pyside to requirements (needed for GUI)
```yaml name: tardis channels: - defaults - conda-forge - bioconda dependencies: - python=2.7 - numpy=1.12 - scipy=0.18 - pandas=0.20 - pytables - h5py=2.6 - matplotlib=2.0 - astropy=1.3 - numexpr=2.6 - Cython=0.21 - networkx=1.10 - pytest=3.0 - pyyaml=3.12 - jsonschema=2.5.1 - pyne=0.5.3 - pyside=1.2.0 - graphviz=2.38 - pygraphviz # RTD requirements - sphinx=1.5.1 - nbconvert=4.2.0 - numpydoc=0.5 - docutils=0.13.1 - nbformat=4.0.1 #Coverage requirements - coverage=3.7.1 - requests=2.9.1 - docopt=0.6.2 - pytest-cov=2.2.1 - pip: - nbsphinx - sphinx_bootstrap_theme - sphinxcontrib-bibtex - sphinxcontrib-tikz - coveralls - pytest-html==1.10.0 - dokuwiki - dot2tex ```
3d504589-3ba1-4528-b6de-586294eeaabe
{ "language": "YAML" }
```yaml # mailhog configuration. mailhog_binary_url: https://github.com/mailhog/MailHog/releases/download/v0.2.1/MailHog_linux_amd64 mailhog_install_dir: /opt/mailhog # ssmtp configuration. ssmtp_mailhub: localhost:1025 ssmtp_root: postmaster ssmtp_authuser: "" ssmtp_authpass: "" ssmtp_from_line_override: "YES" mailhog_php_ini: - section: PHP options: - key: sendmail_path val: val: "/usr/sbin/ssmtp -t" ``` Fix double val in mailhog defaults.
```yaml # mailhog configuration. mailhog_binary_url: https://github.com/mailhog/MailHog/releases/download/v0.2.1/MailHog_linux_amd64 mailhog_install_dir: /opt/mailhog # ssmtp configuration. ssmtp_mailhub: localhost:1025 ssmtp_root: postmaster ssmtp_authuser: "" ssmtp_authpass: "" ssmtp_from_line_override: "YES" mailhog_php_ini: - section: PHP options: - key: sendmail_path val: "/usr/sbin/ssmtp -t" ```
2a3fe97e-fbf1-4802-a0f8-3adbf934ef34
{ "language": "YAML" }
```yaml --- - name: install application dependent packages apt: name={{ item }} update_cache=yes state=latest with_items: - git - python-dev - python-setuptools - python-pip - supervisor register: deps_installed - include: nginx.yml - name: install virtualenv pip: name=virtualenv state=present - name: create project directory file: path={{ project_path }} state=directory mode=0755 - name: get the flask app git: repo={{ project_repository }} dest={{ project_path }} when: deps_installed|success - name: setup virtualenv pip: virtualenv={{ project_path }}/venv requirements={{ requirements_file }} - name: copy gunicorn script for running flask app template: src=gunicorn.sh.j2 dest="/opt/{{ project_name }}/gunicorn.sh" mode=755 - name: copy supervisor script template: src=supervisor_moonlighty.conf.j2 dest=/etc/supervisor/conf.d/{{ project_name }}.conf notify: restart supervisor - name: start the application supervisorctl: name={{ project_name }} state=started config=/etc/supervisor/conf.d/{{ project_name }}.conf ``` Clean out working git repository
```yaml --- - name: install application dependent packages apt: name={{ item }} update_cache=yes state=latest with_items: - git - python-dev - python-setuptools - python-pip - supervisor register: deps_installed - include: nginx.yml - name: install virtualenv pip: name=virtualenv state=present - name: create project directory file: path={{ project_path }} state=directory mode=0755 - name: get the flask app git: repo={{ project_repository }} dest={{ project_path }} force=yes when: deps_installed|success - name: setup virtualenv pip: virtualenv={{ project_path }}/venv requirements={{ requirements_file }} - name: copy gunicorn script for running flask app template: src=gunicorn.sh.j2 dest="/opt/{{ project_name }}/gunicorn.sh" mode=755 - name: copy supervisor script template: src=supervisor_moonlighty.conf.j2 dest=/etc/supervisor/conf.d/{{ project_name }}.conf notify: restart supervisor - name: start the application supervisorctl: name={{ project_name }} state=started config=/etc/supervisor/conf.d/{{ project_name }}.conf ```
5492baf2-c3f6-4f1f-ae08-34aaef10c372
{ "language": "YAML" }
```yaml --- # This file can be used to co-located bosh-bot on your BOSH Director - type: replace path: /releases/- value: name: bosh-bot version: 0.0.1 url: https://storage.googleapis.com/bosh-bot-ci/bosh-bot-0.0.1.tgz sha1: 0397c6db017a56d22eaf541da63f823a96806ddf - type: replace path: /instance_groups/name=bosh/jobs/- value: {name: bosh_bot, release: bosh_bot} - type: replace path: /instance_groups/name=bosh/properties/slack? value: token: ((bosh_bot_slack_token)) authorized_usernames: ((bosh_bot_slack_authorized_usernames)) authorized_channels: ((bosh_bot_slack_authorized_channels)) - type: replace path: /instance_groups/name=bosh/properties/bosh? value: releases: ((bosh_bot_releases)) stemcells: ((bosh_bot_stemcells)) deployments: ((bosh_bot_deployments)) assets: ((bosh_bot_assets)) # existing director manifest variables user: admin password: ((admin_password)) # from terraform outputs env: ((bosh_hostname)) ``` Fix hyphen to underscore typo
```yaml --- # This file can be used to co-located bosh-bot on your BOSH Director - type: replace path: /releases/- value: name: bosh-bot version: 0.0.1 url: https://storage.googleapis.com/bosh-bot-ci/bosh-bot-0.0.1.tgz sha1: 0397c6db017a56d22eaf541da63f823a96806ddf - type: replace path: /instance_groups/name=bosh/jobs/- value: {name: bosh-bot, release: bosh-bot} - type: replace path: /instance_groups/name=bosh/properties/slack? value: token: ((bosh_bot_slack_token)) authorized_usernames: ((bosh_bot_slack_authorized_usernames)) authorized_channels: ((bosh_bot_slack_authorized_channels)) - type: replace path: /instance_groups/name=bosh/properties/bosh? value: releases: ((bosh_bot_releases)) stemcells: ((bosh_bot_stemcells)) deployments: ((bosh_bot_deployments)) assets: ((bosh_bot_assets)) # existing director manifest variables user: admin password: ((admin_password)) # from terraform outputs env: ((bosh_hostname)) ```
169eba17-f142-448f-9bf4-4e418dfc4dc9
{ "language": "YAML" }
```yaml homepage: https://github.com/DanBurton/ANum#readme changelog-type: '' hash: 4dec8cf82968f9af259f1e60640bc34202740d549042f46cbc3509bc1063cb4a test-bench-deps: ANum: -any base: -any maintainer: dan.burton@originate.com synopsis: Num instance for Applicatives provided via the ANum newtype changelog: '' basic-deps: base: ! '>=4.8 && <5' all-versions: - '0.1.0.0' - '0.1.1.0' - '0.2.0.1' author: Dan Burton latest: '0.2.0.1' description-type: haddock description: '' license-name: BSD3 ``` Update from Hackage at 2018-02-13T00:15:27Z
```yaml homepage: https://github.com/DanBurton/ANum#readme changelog-type: markdown hash: c28c0a9779ba6e7c68b5bf9e395ea886563889bfa2c38583c69dd10aa283822e test-bench-deps: ANum: -any base: -any maintainer: danburton.email@gmail.com synopsis: Num instance for Applicatives provided via the ANum newtype changelog: ! '## 0.2.0 * Add Foldable and Traversable instances ' basic-deps: base: ! '>=4.8 && <5' all-versions: - '0.1.0.0' - '0.1.1.0' - '0.2.0.1' - '0.2.0.2' author: Dan Burton latest: '0.2.0.2' description-type: markdown description: ! 'ANum ==== Num instance for Applicatives provided via the ANum newtype ' license-name: BSD3 ```
26b74a07-e166-4922-a207-428e53508cfa
{ "language": "YAML" }
```yaml homepage: https://github.com/tmhedberg/here changelog-type: '' hash: 7e6e14d3afd129b5ffd758670e813d049a9a3146d58f8a7f74607d0490d0b6a5 test-bench-deps: {} maintainer: t@tmh.cc synopsis: Here docs & interpolated strings via quasiquotation changelog: '' basic-deps: base: ! '>=4.5 && <4.11' parsec: ==3.1.* mtl: ! '>=2.1 && <2.3' haskell-src-meta: ! '>=0.6 && <0.9' template-haskell: -any all-versions: - '1.0' - '1.1' - '1.2' - '1.2.1' - '1.2.2' - '1.2.3' - '1.2.4' - '1.2.5' - '1.2.6' - '1.2.7' - '1.2.8' - '1.2.9' - '1.2.10' - '1.2.11' author: Taylor M. Hedberg latest: '1.2.11' description-type: haddock description: Here docs & interpolated strings via quasiquotation license-name: BSD3 ``` Update from Hackage at 2017-12-22T22:59:14Z
```yaml homepage: https://github.com/tmhedberg/here changelog-type: '' hash: 17d34fb83f6239e2e715f2778f5a684fb93c370c847f8af5994e91514304525e test-bench-deps: {} maintainer: t@tmh.cc synopsis: Here docs & interpolated strings via quasiquotation changelog: '' basic-deps: base: ! '>=4.5 && <4.11' parsec: ==3.1.* mtl: ! '>=2.1 && <2.3' haskell-src-meta: ! '>=0.6 && <0.9' template-haskell: -any all-versions: - '1.0' - '1.1' - '1.2' - '1.2.1' - '1.2.2' - '1.2.3' - '1.2.4' - '1.2.5' - '1.2.6' - '1.2.7' - '1.2.8' - '1.2.9' - '1.2.10' - '1.2.11' - '1.2.12' author: Taylor M. Hedberg latest: '1.2.12' description-type: haddock description: Here docs & interpolated strings via quasiquotation license-name: BSD3 ```
23b6f1e6-f3fd-4023-bb4a-9b4994c1bfa5
{ "language": "YAML" }
```yaml homepage: https://github.com/chessai/star#readme changelog-type: '' hash: b71cee63174a63e99495874b97dcbb976984195c1e0518f621c0221e48bd488b test-bench-deps: {} maintainer: dcartwright@layer3com.com synopsis: ! '*-semirings' changelog: '' basic-deps: base: ! '>=4 && <5' all-versions: - '0.0.0.1' author: Daniel Cartwright latest: '0.0.0.1' description-type: markdown description: ! '`star` http://r6.ca/blog/20110808T035622Z.html ' license-name: BSD3 ``` Update from Hackage at 2017-11-09T13:28:08Z
```yaml homepage: https://github.com/chessai/star#readme changelog-type: '' hash: bbe3ebd54dab57437ec75f090e87b62c4352240ef4ea49e3bcfa673a4eb22ba9 test-bench-deps: {} maintainer: dcartwright@layer3com.com synopsis: ! '*-semirings' changelog: '' basic-deps: base: ! '>=4 && <5' all-versions: - '0.0.0.1' - '0.0.0.2' author: Daniel Cartwright latest: '0.0.0.2' description-type: markdown description: ! '`star` http://r6.ca/blog/20110808T035622Z.html ' license-name: BSD3 ```
4d36bd6f-4121-49f2-b0d1-0c10995ee9d9
{ "language": "YAML" }
```yaml AntiFeatures: - NonFreeNet - Tracking Categories: - Internet License: GPL-3.0-only AuthorName: Infomaniak WebSite: https://www.infomaniak.com SourceCode: https://github.com/Infomaniak/android-kDrive IssueTracker: https://contact.infomaniak.com AutoName: kDrive RepoType: git Repo: https://github.com/Infomaniak/android-kDrive.git Builds: - versionName: 4.0.11 versionCode: 40001101 commit: 4.0.11 subdir: app submodules: true gradle: - fdroid AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: 4.0.11 CurrentVersionCode: 40001101 ``` Update kDrive to 4.0.12 (40001201)
```yaml AntiFeatures: - NonFreeNet - Tracking Categories: - Internet License: GPL-3.0-only AuthorName: Infomaniak WebSite: https://www.infomaniak.com SourceCode: https://github.com/Infomaniak/android-kDrive IssueTracker: https://contact.infomaniak.com AutoName: kDrive RepoType: git Repo: https://github.com/Infomaniak/android-kDrive.git Builds: - versionName: 4.0.11 versionCode: 40001101 commit: 4.0.11 subdir: app submodules: true gradle: - fdroid - versionName: 4.0.12 versionCode: 40001201 commit: f409f3bcac905cf9f71cfb9ff8c39895b86d3fca subdir: app submodules: true gradle: - fdroid AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: 4.0.12 CurrentVersionCode: 40001201 ```
4b756b5d-5f2c-4016-9e39-9edc14db8e42
{ "language": "YAML" }
```yaml Categories: - Internet License: GPL-3.0-only SourceCode: https://github.com/TachibanaGeneralLaboratories/download-navi IssueTracker: https://github.com/TachibanaGeneralLaboratories/download-navi/issues Translation: https://crowdin.com/project/download-navi Changelog: https://github.com/TachibanaGeneralLaboratories/download-navi/blob/HEAD/NEWS Donate: https://github.com/TachibanaGeneralLaboratories/download-navi#donation AutoName: Download Navi RepoType: git Repo: https://github.com/TachibanaGeneralLaboratories/download-navi.git Builds: - versionName: 1.0.1 versionCode: 3 commit: 1.0.1 subdir: app gradle: - yes - versionName: 1.0.2 versionCode: 4 commit: 1.0.2 subdir: app gradle: - yes - versionName: 1.0.3 versionCode: 5 commit: 1.0.3 subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: 1.0.3 CurrentVersionCode: 5 ``` Update Download Navi to 1.1 (6)
```yaml Categories: - Internet License: GPL-3.0-only SourceCode: https://github.com/TachibanaGeneralLaboratories/download-navi IssueTracker: https://github.com/TachibanaGeneralLaboratories/download-navi/issues Translation: https://crowdin.com/project/download-navi Changelog: https://github.com/TachibanaGeneralLaboratories/download-navi/blob/HEAD/NEWS Donate: https://github.com/TachibanaGeneralLaboratories/download-navi#donation AutoName: Download Navi RepoType: git Repo: https://github.com/TachibanaGeneralLaboratories/download-navi.git Builds: - versionName: 1.0.1 versionCode: 3 commit: 1.0.1 subdir: app gradle: - yes - versionName: 1.0.2 versionCode: 4 commit: 1.0.2 subdir: app gradle: - yes - versionName: 1.0.3 versionCode: 5 commit: 1.0.3 subdir: app gradle: - yes - versionName: '1.1' versionCode: 6 commit: '1.1' subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: '1.1' CurrentVersionCode: 6 ```
9abfb048-f592-4a5b-9607-34d4d9abb84c
{ "language": "YAML" }
```yaml --- - name: Install openshift packages package: name: "{{ l_node_packages | join(',') }}" update_cache: true register: install_openshift until: install_openshift.rc == 0 retries: 3 delay: 1 vars: l_node_packages: #- "atomic-openshift-node{{ (openshift_pkg_version | default('')) | lib_utils_oo_image_tag_to_rpm_version(include_dash=True) }}" #- "atomic-openshift-clients{{ (openshift_pkg_version | default('')) | lib_utils_oo_image_tag_to_rpm_version(include_dash=True) }}" #- "atomic-openshift-hyperkube{{ (openshift_pkg_version | default('')) | lib_utils_oo_image_tag_to_rpm_version(include_dash=True) }}" - "origin-node{{ (openshift_pkg_version | default('')) | lib_utils_oo_image_tag_to_rpm_version(include_dash=True) }}" - "origin-clients{{ (openshift_pkg_version | default('')) | lib_utils_oo_image_tag_to_rpm_version(include_dash=True) }}" - "origin-hyperkube{{ (openshift_pkg_version | default('')) | lib_utils_oo_image_tag_to_rpm_version(include_dash=True) }}" ``` Install node package names based on openshift_release
```yaml --- - name: Install openshift packages package: name: "{{ l_node_packages | join(',') }}" update_cache: true register: install_openshift until: install_openshift.rc == 0 retries: 3 delay: 1 vars: l_node_packages: - "{{ openshift_service_type }}-node{{ (openshift_pkg_version | default('')) | lib_utils_oo_image_tag_to_rpm_version(include_dash=True) }}" - "{{ openshift_service_type }}-clients{{ (openshift_pkg_version | default('')) | lib_utils_oo_image_tag_to_rpm_version(include_dash=True) }}" - "{{ openshift_service_type }}-hyperkube{{ (openshift_pkg_version | default('')) | lib_utils_oo_image_tag_to_rpm_version(include_dash=True) }}" ```
010640aa-cd6a-40ca-8635-2b238a16fc8e
{ "language": "YAML" }
```yaml # Cloud Foundry Java Buildpack # Copyright 2013-2018 the original author or authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # Configuration for the Spring Auto Reconfiguration framework. # Note that the repository is shared with the Play Auto Reconfiguration framework and should be kept in step to # avoid conflicts. --- version: 1.+ repository_root: "{default.repository.root}/spring-boot-cli" ``` Update Spring Boot CLI to 2.x
```yaml # Cloud Foundry Java Buildpack # Copyright 2013-2018 the original author or authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # Configuration for the Spring Auto Reconfiguration framework. # Note that the repository is shared with the Play Auto Reconfiguration framework and should be kept in step to # avoid conflicts. --- version: 2.+ repository_root: "{default.repository.root}/spring-boot-cli" ```
1d7bbbfd-2321-44f2-b499-6607920f4c3f
{ "language": "YAML" }
```yaml name: Add a new GitHub Project card linked to a GitHub issue to the specified project column on: [issues, pull_request] jobs: github-actions-automate-projects: runs-on: ubuntu-latest steps: - name: add-new-issues-to-repository-based-project-column uses: docker://takanabe/github-actions-automate-projects:v0.0.1 if: github.event_name == 'issues' && github.event.action == 'opened' env: GITHUB_TOKEN: ${{ secrets.ORIGAMI_FOX_ACCESS_TOKEN }} GITHUB_PROJECT_URL: https://github.com/orgs/Financial-Times/projects/83 GITHUB_PROJECT_COLUMN_NAME: incoming - name: add-new-prs-to-repository-based-project-column uses: docker://takanabe/github-actions-automate-projects:v0.0.1 if: github.event_name == 'pull_request' && github.event.action == 'opened' env: GITHUB_TOKEN: ${{ secrets.ORIGAMI_FOX_ACCESS_TOKEN }} GITHUB_PROJECT_URL: https://github.com/orgs/Financial-Times/projects/83 GITHUB_PROJECT_COLUMN_NAME: incoming ``` Update to latest project board workflow
```yaml name: Add new issues and pull requests to Origami Project Board on: [issues, pull_request] jobs: origami_project_board_job: runs-on: ubuntu-latest name: Add new issue or pull request to Origami Project Board steps: - name: Add new issue or pull request to Origami Project Board id: origami-project-board uses: Financial-Times/origami-project-board-action@v1 with: origami-fox-access-token: ${{ secrets.ORIGAMI_FOX_ACCESS_TOKEN }} ```
85afa778-bde6-4563-af4d-e8b5eb050a5b
{ "language": "YAML" }
```yaml variants: canary: CONFIG: 'canary' GO_VERSION: '1.15rc1' KUBE_CROSS_VERSION: 'v1.15.0-rc.1-canary-1' PROTOBUF_VERSION: '3.0.2' ETCD_VERSION: 'v3.4.9' go1.15: CONFIG: 'go1.15' GO_VERSION: '1.15rc1' KUBE_CROSS_VERSION: 'v1.15.0-rc.1-1' PROTOBUF_VERSION: '3.0.2' ETCD_VERSION: 'v3.4.9' go1.14: CONFIG: 'go1.14' GO_VERSION: '1.14.6' KUBE_CROSS_VERSION: 'v1.14.6-1' PROTOBUF_VERSION: '3.0.2' ETCD_VERSION: 'v3.4.9' go1.13: CONFIG: 'go1.13' GO_VERSION: '1.13.14' KUBE_CROSS_VERSION: 'v1.13.14-1' PROTOBUF_VERSION: '3.0.2' ETCD_VERSION: 'v3.4.9' ``` Build v1.14.7-1 and v1.13.15-1 images
```yaml variants: canary: CONFIG: 'canary' GO_VERSION: '1.15rc1' KUBE_CROSS_VERSION: 'v1.15.0-rc.1-canary-1' PROTOBUF_VERSION: '3.0.2' ETCD_VERSION: 'v3.4.9' go1.15: CONFIG: 'go1.15' GO_VERSION: '1.15rc1' KUBE_CROSS_VERSION: 'v1.15.0-rc.1-1' PROTOBUF_VERSION: '3.0.2' ETCD_VERSION: 'v3.4.9' go1.14: CONFIG: 'go1.14' GO_VERSION: '1.14.7' KUBE_CROSS_VERSION: 'v1.14.7-1' PROTOBUF_VERSION: '3.0.2' ETCD_VERSION: 'v3.4.9' go1.13: CONFIG: 'go1.13' GO_VERSION: '1.13.15' KUBE_CROSS_VERSION: 'v1.13.15-1' PROTOBUF_VERSION: '3.0.2' ETCD_VERSION: 'v3.4.9' ```
b2263918-dc03-4172-815d-d4496bbd1131
{ "language": "YAML" }
```yaml imports: - { resource: config.yml } #framework: # validation: # cache: apc #doctrine: # orm: # metadata_cache_driver: apc # result_cache_driver: apc # query_cache_driver: apc monolog: handlers: main: type: fingers_crossed action_level: error handler: nested nested: type: stream path: "%kernel.logs_dir%/%kernel.environment%.log" level: debug console: type: console ``` Enable twig debug dump in production for testing
```yaml imports: - { resource: config.yml } services: twig.extension.debug: class: Twig_Extension_Debug tags: [{ name: 'twig.extension' }] #framework: # validation: # cache: apc #doctrine: # orm: # metadata_cache_driver: apc # result_cache_driver: apc # query_cache_driver: apc monolog: handlers: main: type: fingers_crossed action_level: error handler: nested nested: type: stream path: "%kernel.logs_dir%/%kernel.environment%.log" level: debug console: type: console ```
4b7f94e5-81b5-4682-83a2-afa53aa2eae2
{ "language": "YAML" }
```yaml _assetic: resource: . type: assetic _wdt: resource: "@WebProfilerBundle/Resources/config/routing/wdt.xml" prefix: /_wdt _profiler: resource: "@WebProfilerBundle/Resources/config/routing/profiler.xml" prefix: /_profiler _configurator: resource: "@SensioDistributionBundle/Resources/config/routing/webconfigurator.xml" prefix: /_configurator _main: resource: routing.yml ``` Revert "Revert "Removed Acme demo paths.""
```yaml _welcome: pattern: / defaults: { _controller: AcmeDemoBundle:Welcome:index } _demo_secured: resource: "@AcmeDemoBundle/Controller/SecuredController.php" type: annotation _demo: resource: "@AcmeDemoBundle/Controller/DemoController.php" type: annotation prefix: /demo _assetic: resource: . type: assetic _wdt: resource: "@WebProfilerBundle/Resources/config/routing/wdt.xml" prefix: /_wdt _profiler: resource: "@WebProfilerBundle/Resources/config/routing/profiler.xml" prefix: /_profiler _configurator: resource: "@SensioDistributionBundle/Resources/config/routing/webconfigurator.xml" prefix: /_configurator _main: resource: routing.yml ```
5c949af3-5846-41bd-b734-dbd15bcdffa8
{ "language": "YAML" }
```yaml homepage: http://github.com/khibino/haskell-json-rpc-generic changelog-type: '' hash: 5626a6644771cfe04424f72938e50b1c7e51db5325d1b33d19112d69dbe3d7fc test-bench-deps: base: <5 text: -any quickcheck-simple: -any json-rpc-generic: -any QuickCheck: -any aeson: -any maintainer: ex8k.hibino@gmail.com synopsis: Generic encoder and decode for JSON-RPC changelog: '' basic-deps: bytestring: ! '>=0.10' base: ! '>=4.6 && <5' unordered-containers: -any text: -any dlist: -any containers: -any transformers: -any scientific: -any aeson: ! '>=0.7' vector: ! '>=0.10' all-versions: - '0.0.1.0' - '0.1.0.0' author: Kei Hibino latest: '0.1.0.0' description-type: haddock description: This package contains generic encoder and decode for JSON-RPC license-name: BSD3 ``` Update from Hackage at 2016-07-23T04:48:29+0000
```yaml homepage: http://github.com/khibino/haskell-json-rpc-generic changelog-type: '' hash: 291dda542e204c14cdb9c929c6bf2ade16a52412a596eb1c47c13b7d5f55b313 test-bench-deps: base: <5 text: -any quickcheck-simple: -any json-rpc-generic: -any QuickCheck: -any aeson: -any maintainer: ex8k.hibino@gmail.com synopsis: Generic encoder and decode for JSON-RPC changelog: '' basic-deps: bytestring: ! '>=0.10' base: ! '>=4.6 && <5' unordered-containers: -any text: -any dlist: -any containers: -any transformers: -any scientific: -any aeson: ! '>=0.7' vector: ! '>=0.10' all-versions: - '0.0.1.0' - '0.1.0.0' - '0.2.0.0' author: Kei Hibino latest: '0.2.0.0' description-type: haddock description: This package contains generic encoder and decode for JSON-RPC license-name: BSD3 ```
fd7a4dd2-2271-483e-8ff1-4595170adc05
{ "language": "YAML" }
```yaml homepage: '' changelog-type: '' hash: b9ca6d4e84ecf6a85f1cf55c9343272b4f8829a242b2d583c007f14a86bc996a test-bench-deps: markov-processes: -any memoize: -any base: ==4.* assertions: -any bifunctors: -any random: -any maintainer: Vikram Verma <me@vikramverma.com> synopsis: Hidden Markov processes. changelog: '' basic-deps: memoize: -any MonadRandom: -any base: ==4.* bifunctors: -any random: -any all-versions: - 0.0.2 author: Leopold Tal G <leopold.tal.dg@gmail.com>, Yorick van Pelt <yorickvanpelt@gmail.com>, Vikram Verma <me@vikramverma.com> latest: 0.0.2 description-type: haddock description: '' license-name: MIT ``` Update from Hackage at 2022-09-04T18:02:05Z
```yaml homepage: '' changelog-type: '' hash: cb6f24fe270f17c9c3b1b986ae4049a058cb3601995e092ae894c8e4f7eadafc test-bench-deps: markov-processes: -any memoize: -any base: ==4.* assertions: -any bifunctors: -any random: -any maintainer: Vikram Verma <me@vikramverma.com> synopsis: Hidden Markov processes. changelog: '' basic-deps: memoize: -any MonadRandom: -any base: '>=4.6 && <4.7' bifunctors: -any random: -any all-versions: - 0.0.2 author: Leopold Tal G <leopold.tal.dg@gmail.com>, Yorick van Pelt <yorickvanpelt@gmail.com>, Vikram Verma <me@vikramverma.com> latest: 0.0.2 description-type: haddock description: '' license-name: MIT ```
ec1ced79-64e9-4911-9db9-807447017585
{ "language": "YAML" }
```yaml AUTH0_CLIENT_ID: AUTH0_DOMAIN: LEAFLET_TILE_URL: https://api.mapbox.com/v4/mapbox.light/{z}/{x}/{y}.png?access_token=your-access-token LEAFLET_RETINA_URL: https://api.mapbox.com/v4/mapbox.light/{z}/{x}/{y}@2x.png?access_token=token LEAFLET_ATTRIBUTION: &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, &copy; <a href='https://www.mapbox.com/about/maps/'>Mapbox</a> MAPZEN_SEARCH_KEY: test-search-key MAPZEN_TURN_BY_TURN_KEY: test-turn-key ``` Add label urls to the test config.
```yaml AUTH0_CLIENT_ID: AUTH0_DOMAIN: LEAFLET_TILE_URL: https://api.mapbox.com/v4/mapbox.light/{z}/{x}/{y}.png?access_token=your-access-token LEAFLET_RETINA_URL: https://api.mapbox.com/v4/mapbox.light/{z}/{x}/{y}@2x.png?access_token=token LEAFLET_ATTRIBUTION: &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, &copy; <a href='https://www.mapbox.com/about/maps/'>Mapbox</a> LABEL_TILE_URL: https://api.mapbox.com/v4/mapbox.light/{z}/{x}/{y}.png?access_token=your-access-token LABEL_RETINA_URL: https://api.mapbox.com/v4/mapbox.light/{z}/{x}/{y}@2x.png?access_token=token MAPZEN_SEARCH_KEY: test-search-key MAPZEN_TURN_BY_TURN_KEY: test-turn-key ```
0880ba81-3f22-4249-bddd-a8814225d5fc
{ "language": "YAML" }
```yaml postsubmits: kubernetes/k8s.io: - name: post-k8sio-infra-tools-push-images cluster: test-infra-trusted annotations: testgrid-dashboards: wg-k8s-infra-k8sio decorate: true run_if_changed: "^dns/octodns-docker/" branches: - ^master$ spec: serviceAccountName: deployer # TODO(fejta): use pusher containers: - image: gcr.io/k8s-testimages/image-builder:v20200422-c760048 command: - /run.sh args: # this is the project GCB will run in, which is the same as the GCR # images are pushed to. - --project=k8s-staging-infra-tools - --scratch-bucket=gs://k8s-staging-infra-tools-gcb - --env-passthrough=PULL_BASE_REF - dns/octodns-docker ``` Use k8s-infra-prow-build-trusted for an image-pushing job
```yaml postsubmits: kubernetes/k8s.io: - name: post-k8sio-infra-tools-push-images cluster: k8s-infra-prow-build-trusted annotations: testgrid-dashboards: wg-k8s-infra-k8sio decorate: true run_if_changed: "^dns/octodns-docker/" branches: - ^master$ spec: serviceAccountName: gcb-builder containers: - image: gcr.io/k8s-testimages/image-builder:v20200422-c760048 command: - /run.sh args: # this is the project GCB will run in, which is the same as the GCR # images are pushed to. - --project=k8s-staging-infra-tools - --scratch-bucket=gs://k8s-staging-infra-tools-gcb - --env-passthrough=PULL_BASE_REF - dns/octodns-docker ```
a43b2a2f-a7c7-4d61-8109-1e0d0beb945f
{ "language": "YAML" }
```yaml name: multiple_databases_repository_sample_app on: schedule: - cron: "0 17 * * *" push: paths: - "contrib/multiple_databases_repository_sample_app/**" - ".github/workflows/multiple_databases_repository_sample_app.yml" - "support/**" pull_request: types: [opened, reopened] paths: - "contrib/multiple_databases_repository_sample_app/**" - ".github/workflows/multiple_databases_repository_sample_app.yml" - "support/**" jobs: test: runs-on: ${{ matrix.os }} env: WORKING_DIRECTORY: contrib/multiple_databases_repository_sample_app strategy: fail-fast: false matrix: include: - ruby: ruby-3.0 gemfile: Gemfile os: ubuntu-20.04 steps: - uses: actions/checkout@v2 - run: test -e ${{ matrix.gemfile }}.lock working-directory: ${{ env.WORKING_DIRECTORY }} - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true working-directory: ${{ env.WORKING_DIRECTORY }} - run: bin/rspec working-directory: ${{ env.WORKING_DIRECTORY }} ``` Revert to Ruby 2.7, because Rails 6.1 does not support Ruby 3 yet
```yaml name: multiple_databases_repository_sample_app on: schedule: - cron: "0 17 * * *" push: paths: - "contrib/multiple_databases_repository_sample_app/**" - ".github/workflows/multiple_databases_repository_sample_app.yml" - "support/**" pull_request: types: [opened, reopened] paths: - "contrib/multiple_databases_repository_sample_app/**" - ".github/workflows/multiple_databases_repository_sample_app.yml" - "support/**" jobs: test: runs-on: ${{ matrix.os }} env: WORKING_DIRECTORY: contrib/multiple_databases_repository_sample_app strategy: fail-fast: false matrix: include: - ruby: ruby-2.7 gemfile: Gemfile os: ubuntu-20.04 steps: - uses: actions/checkout@v2 - run: test -e ${{ matrix.gemfile }}.lock working-directory: ${{ env.WORKING_DIRECTORY }} - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true working-directory: ${{ env.WORKING_DIRECTORY }} - run: bin/rspec working-directory: ${{ env.WORKING_DIRECTORY }} ```
eba7fe63-e80d-45b4-a304-4aa34ccd2eda
{ "language": "YAML" }
```yaml box: wercker/default build: steps: - arjen/hugo-build: version: 0.13 theme: herring-cove flags: --buildDrafts=true deploy: steps: - lukevivier/gh-pages@0.2.1: token: $GIT_TOKEN domain: viglug.github.io basedir: public ``` Remove domain that creates CNAME file breaking GHPages
```yaml box: wercker/default build: steps: - arjen/hugo-build: version: 0.13 theme: herring-cove flags: --buildDrafts=true deploy: steps: - lukevivier/gh-pages@0.2.1: token: $GIT_TOKEN basedir: public ```
45e15704-3092-47b4-8a25-ff51c8e358e4
{ "language": "YAML" }
```yaml box: ruby:2.5.7 services: - id: mongo:3.6.2 build: steps: - bundle-install - script: name: echo ruby information code: | echo "ruby version $(ruby --version) running" echo "from location $(which ruby)" echo -p "gem list: $(gem list)" - script: name: rspec code: bundle exec rake spec after-steps: - mzp/http-notify: url: $DASHBOZU_URL deploy: steps: - heroku-deploy: key: $HEROKU_KEY user: $HEROKU_USER app-name: $HEROKU_APP_NAME ``` Use bundler 2.0 at werker
```yaml box: ruby:2.5.7 services: - id: mongo:3.6.2 build: steps: - script: name: update bundler code: | sudo gem install bundler - bundle-install - script: name: echo ruby information code: | echo "ruby version $(ruby --version) running" echo "from location $(which ruby)" echo -p "gem list: $(gem list)" - script: name: rspec code: bundle exec rake spec after-steps: - mzp/http-notify: url: $DASHBOZU_URL deploy: steps: - heroku-deploy: key: $HEROKU_KEY user: $HEROKU_USER app-name: $HEROKU_APP_NAME ```
669cb4fa-1157-4220-be49-cd2743e15258
{ "language": "YAML" }
```yaml box: golang:1.8 services: - id: postgres env: POSTGRES_DB: account_service_test # optional build: steps: - setup-go-workspace # Gets the dependencies - script: name: go get code: | go get -t ./... # Test the project - script: name: go test code: | go test ./... -v -connect "host=${POSTGRES_PORT_5432_TCP_ADDR} user=postgres dbname=account_service_test sslmode=disable" # Build the project - script: name: go build code: | CGO_ENABLED=0 go build -a -ldflags '-s' -installsuffix cgo -o account_service . # Copy binary to a location that gets passed along to the deploy pipeline - script: name: copy binary code: cp account_service "$WERCKER_OUTPUT_DIR" deploy: box: golang steps: - internal/docker-scratch-push: username: $DOCKER_USERNAME password: $DOCKER_PASSWORD tag: latest repository: alexrbarlow/account_service registry: https://registry.hub.docker.com cmd: ./account_service ports: "8000" ``` Move to lileio docker account
```yaml box: golang:1.8 services: - id: postgres env: POSTGRES_DB: account_service_test # optional build: steps: - setup-go-workspace # Gets the dependencies - script: name: go get code: | go get -t ./... # Test the project - script: name: go test code: | go test ./... -v -connect "host=${POSTGRES_PORT_5432_TCP_ADDR} user=postgres dbname=account_service_test sslmode=disable" # Build the project - script: name: go build code: | CGO_ENABLED=0 go build -a -ldflags '-s' -installsuffix cgo -o account_service . # Copy binary to a location that gets passed along to the deploy pipeline - script: name: copy binary code: cp account_service "$WERCKER_OUTPUT_DIR" deploy: box: golang steps: - internal/docker-scratch-push: username: $DOCKER_USERNAME password: $DOCKER_PASSWORD tag: latest repository: lileio/account_service registry: https://registry.hub.docker.com cmd: ./account_service ports: "8000" ```
1dcddd73-4e0e-4585-a05e-55f671e99f25
{ "language": "YAML" }
```yaml name: parse_this pre-submit queues on: pull_request: branches: - "*" jobs: build: runs-on: ubuntu-latest strategy: fail-fast: false matrix: python-version: ["3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v2 - name: set up python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: install dependencies run: | python -m pip install --upgrade pip if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: black formatter uses: psf/black@stable with: options: "--check --verbose" src: "./parse_this ./test" - name: lint with flake8 run: | flake8 parse_this test --count --show-source --statistics - name: test with pytest run: | pytest ``` Update pytest command to generate coverage
```yaml name: parse_this pre-submit queues on: pull_request: branches: - "*" jobs: build: runs-on: ubuntu-latest strategy: fail-fast: false matrix: python-version: ["3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v2 - name: set up python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: install dependencies run: | python -m pip install --upgrade pip if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: black formatter uses: psf/black@stable with: options: "--check --verbose" src: "./parse_this ./test" - name: lint with flake8 run: | flake8 parse_this test --count --show-source --statistics - name: test with pytest run: | pytest --cache-clear --cov=parse_this --no-cov-on-fail test/ > pytest-coverage.txt ```
37c3a2c6-60e9-4823-a417-d2b295a7fde8
{ "language": "YAML" }
```yaml name: Update docs version on: release: types: [ published ] permissions: contents: read jobs: build: permissions: contents: write # for peter-evans/create-pull-request to create branch pull-requests: write # for peter-evans/create-pull-request to create a PR if: github.repository == 'testcontainers/testcontainers-java' runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v3 with: ref: master - name: Update latest_version property in mkdocs.yml run: | sed -i "s/latest_version: .*/latest_version: ${GITHUB_REF##*/}/g" mkdocs.yml git diff - name: Create Pull Request uses: peter-evans/create-pull-request@18f90432bedd2afd6a825469ffd38aa24712a91d # v3.10.1 with: title: Update docs version to ${GITHUB_REF##*/} body: | Update docs version to ${GITHUB_REF##*/} skip-checks: true branch: update-docs-version delete-branch: true ``` Bump peter-evans/create-pull-request from 4.1.1 to 4.1.3
```yaml name: Update docs version on: release: types: [ published ] permissions: contents: read jobs: build: permissions: contents: write # for peter-evans/create-pull-request to create branch pull-requests: write # for peter-evans/create-pull-request to create a PR if: github.repository == 'testcontainers/testcontainers-java' runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v3 with: ref: master - name: Update latest_version property in mkdocs.yml run: | sed -i "s/latest_version: .*/latest_version: ${GITHUB_REF##*/}/g" mkdocs.yml git diff - name: Create Pull Request uses: peter-evans/create-pull-request@671dc9c9e0c2d73f07fa45a3eb0220e1622f0c5f # v3.10.1 with: title: Update docs version to ${GITHUB_REF##*/} body: | Update docs version to ${GITHUB_REF##*/} skip-checks: true branch: update-docs-version delete-branch: true ```
e057fbcb-286d-43b6-a1b3-bf56b5acb182
{ "language": "YAML" }
```yaml name: build-desktop on: push: paths: - "core/**" - "desktop/**" jobs: build-desktop: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] include: - os: ubuntu-latest os-short: lnx - os: macos-latest os-short: mac - os: windows-latest os-short: win runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 - run: npm i - run: npm run bootstrap - run: npm run build:all - run: npm run package:${{ matrix.os_short }} ``` Set working dir in build desktop action
```yaml name: build-desktop on: push: paths: - "core/**" - "desktop/**" - ".github/workflows/build-desktop.yml" jobs: build-desktop: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] include: - os: ubuntu-latest os-short: lnx - os: macos-latest os-short: mac - os: windows-latest os-short: win runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 - run: npm i - run: npm run bootstrap - run: npm run build:all working-directory: desktop - run: npm run package:${{ matrix.os_short }} working-directory: desktop ```
0118bb4d-9b3a-45e9-8fe7-c65d43a5cb44
{ "language": "YAML" }
```yaml name: Linux C++ make-specs on: workflow_dispatch: inputs: extra_resolve_options: description: "Extra Resolve Options" required: false schedule: - cron: "0 1 * * *" # 3 AM CET push: pull_request: jobs: Linux-mkspecs: uses: steinwurf/linux-mkspecs-action/.github/workflows/action.yml@5.0.0 with: extra_resolve_options: ${{ github.event.inputs.extra_resolve_options }} ``` Update Linux C++ make-specs to new version 6.0.0
```yaml name: Linux C++ make-specs on: workflow_dispatch: inputs: extra_resolve_options: description: "Extra Resolve Options" required: false schedule: - cron: "0 1 * * *" # 3 AM CET push: pull_request: jobs: Linux-mkspecs: uses: steinwurf/linux-mkspecs-action/.github/workflows/action.yml@6.0.0 with: extra_resolve_options: ${{ github.event.inputs.extra_resolve_options }} ```
016e45d0-95e8-47a5-a0bf-dd9d6f4b7556
{ "language": "YAML" }
```yaml # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. name: Test C++ on: workflow_dispatch: push: branches: [ master ] pull_request: branches: [ master ] paths: - '.github/workflows/test-lang-c\+\+.yml' - 'lang/c\+\+/**' defaults: run: working-directory: lang/c++ jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Install Dependencies run: sudo apt-get install -qqy cppcheck libboost-all-dev libsnappy-dev cmake - name: Clean run: ./build.sh clean - name: Lint run: ./build.sh lint - name: Test run: ./build.sh test ``` Update from the Ubuntu repositories before installing the dependencies
```yaml # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. name: Test C++ on: workflow_dispatch: push: branches: [ master ] pull_request: branches: [ master ] paths: - '.github/workflows/test-lang-c\+\+.yml' - 'lang/c\+\+/**' defaults: run: working-directory: lang/c++ jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Install Dependencies run: sudo apt update && sudo apt-get install -qqy cppcheck libboost-all-dev libsnappy-dev cmake - name: Clean run: ./build.sh clean - name: Lint run: ./build.sh lint - name: Test run: ./build.sh test ```
8dccec57-10bb-45eb-ab04-209a93d5d867
{ "language": "YAML" }
```yaml package: name: databroker version: {{ environ['GIT_DESCRIBE_TAG'] }}.post{{ environ['GIT_DESCRIBE_NUMBER'] }} source: git_url: ../ build: number: 0 string: {{ environ.get('GIT_BUILD_STR', '') }}_py{{ py }} requirements: build: - python run: - python - pandas - pims - metadatastore >=v0.2.0 - filestore >=v0.2.0 - channelarchiver - six - tzlocal - singledispatch [py27] - doct test: requires: - nslsii_dev_configuration imports: - databroker - databroker.testing - databroker.examples - databroker.examples.sample_data - databroker.utils about: home: https://github.com/NSLS-II/databroker license: BSD ``` Use .get() instead of directly accessing env
```yaml package: name: databroker version: {{ environ.get('GIT_DESCRIBE_TAG', 'GIT_STUB') }}.post{{ environ.get('GIT_DESCRIBE_NUMBER', 'inf') }} source: git_url: ../ build: number: 0 string: {{ environ.get('GIT_BUILD_STR', '') }}_py{{ py }} requirements: build: - python run: - python - pandas - pims - metadatastore >=v0.2.0 - filestore >=v0.2.0 - channelarchiver - six - tzlocal - singledispatch [py27] - doct test: requires: - nslsii_dev_configuration imports: - databroker - databroker.testing - databroker.examples - databroker.examples.sample_data - databroker.utils about: home: https://github.com/NSLS-II/databroker license: BSD ```
f891d121-9f82-465a-a6f7-5d70f8d99953
{ "language": "YAML" }
```yaml package: name: dask 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 - pip - setuptools - toolz # bcolz is a runtime dependency but since it is installed with pip, we have # to install it in the build.sh. So we install its dependencies now. - cython # to compile bcolz - numpy # bcolz dependency run: - python - toolz - numpy - pandas - pyzmq - dill - psutil - chest test: requires: - pytest about: home: https://github.com/ContinuumIO/dask summary: Task scheduling and blocked algorithms for parallel processing. license: BSD ``` Add default package version as workaround for conda-build bug
```yaml package: name: dask version: {{ environ.get('GIT_DESCRIBE_TAG', '0.4.0') }} 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 - pip - setuptools - toolz # bcolz is a runtime dependency but since it is installed with pip, we have # to install it in the build.sh. So we install its dependencies now. - cython # to compile bcolz - numpy # bcolz dependency run: - python - toolz - numpy - pandas - pyzmq - dill - psutil - chest test: requires: - pytest about: home: https://github.com/ContinuumIO/dask summary: Task scheduling and blocked algorithms for parallel processing. license: BSD ```
70f2d5b2-ccaf-4293-9bbb-28ee04b4cba5
{ "language": "YAML" }
```yaml --- # 500 GB why not cvmfs_quota_limit: 512000 galaxynodes_group_authorized_key_users: - name: g2test authorized: "{{ galaxy_team_users }}" - name: g2main authorized: "{{ galaxy_team_users }}" galaxynodes_group_packages: - collectl - lzo - libcgroup-tools - singularity-runtime # packages for older tools - perl-Data-Dumper # Conda R does not package up all of its X dependencies # https://github.com/ContinuumIO/anaconda-issues/issues/4656 - xorg-x11-apps galaxynodes_group_files: - src: system/cleancgroups.py dest: ~root/cleancgroups.py galaxynodes_group_crontabs: - id: clean_cgroups name: Clean old cgroups user: root minute: "*/5" job: "python /root/cleancgroups.py >> /var/log/cleancgroups.log 2>&1" ``` Add libGL on nodes for PyQt5 conda package
```yaml --- # 500 GB why not cvmfs_quota_limit: 512000 galaxynodes_group_authorized_key_users: - name: g2test authorized: "{{ galaxy_team_users }}" - name: g2main authorized: "{{ galaxy_team_users }}" galaxynodes_group_packages: - collectl - lzo - libcgroup-tools - singularity-runtime # packages for older tools - perl-Data-Dumper # Conda R does not package up all of its X dependencies # https://github.com/ContinuumIO/anaconda-issues/issues/4656 - xorg-x11-apps - mesa-libGL galaxynodes_group_files: - src: system/cleancgroups.py dest: ~root/cleancgroups.py galaxynodes_group_crontabs: - id: clean_cgroups name: Clean old cgroups user: root minute: "*/5" job: "python /root/cleancgroups.py >> /var/log/cleancgroups.log 2>&1" ```
e6f18768-eba9-4b35-a6c7-abc67f3001d7
{ "language": "YAML" }
```yaml {% set version = "6.1.0" %} package: name: gmp version: {{ version }} source: fn: gmp-{{ version }}.tar.bz2 url: ftp://ftp.gnu.org/gnu/gmp/gmp-{{ version }}.tar.bz2 md5: 86ee6e54ebfc4a90b643a65e402c4048 build: number: 0 skip: true # [win] test: files: - test.c about: home: http://gmplib.org/ license: GPL 2 and LGPL 3 summary: The GNU multiprecision library. extra: recipe-maintainers: - asmeurer - isuruf - jakirkham ``` Add m4 as a build requirement. [skip appveyor]
```yaml {% set version = "6.1.0" %} package: name: gmp version: {{ version }} source: fn: gmp-{{ version }}.tar.bz2 url: ftp://ftp.gnu.org/gnu/gmp/gmp-{{ version }}.tar.bz2 md5: 86ee6e54ebfc4a90b643a65e402c4048 build: number: 0 skip: true # [win] requirements: build: - m4 test: files: - test.c about: home: http://gmplib.org/ license: GPL 2 and LGPL 3 summary: The GNU multiprecision library. extra: recipe-maintainers: - asmeurer - isuruf - jakirkham ```
8b489f46-fa59-45bb-a9bd-8807dfec1744
{ "language": "YAML" }
```yaml --- driver: name: ec2 aws_ssh_key_id: <%= ENV['AWS_KEYPAIR_NAME'] %> region: us-east-1 availability_zone: us-east-1b security_group_ids: - ci-testing instance_type: c3.large iam_profile_name: test-kitchen interface: public tags: Env: dev Type: test transport: name: sftp ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %> provisioner: name: chef_zero client_rb: environment: dev platforms: - name: ubuntu-14.04 - name: ubuntu-16.04 suites: - name: default driver: tags: Name: s3-put-default-ubuntu-1604 run_list: - recipe[test_s3_put::default] attributes: test_s3_put: bucket: ops remote_path: chef/test_s3_put - name: default-chef12 driver: tags: Name: s3-put-default-chef12-ubuntu-1604 provisioner: product_name: chef product_version: 12 run_list: - recipe[test_s3_put::default] attributes: test_s3_put: bucket: ops remote_path: chef/test_s3_put ``` Drop using a shared key for SSH access
```yaml --- driver: name: ec2 region: us-east-1 availability_zone: us-east-1b security_group_ids: - ci-testing instance_type: c3.large iam_profile_name: test-kitchen interface: public tags: Env: dev Type: test provisioner: name: chef_zero client_rb: environment: dev platforms: - name: ubuntu-14.04 - name: ubuntu-16.04 suites: - name: default driver: tags: Name: s3-put-default-ubuntu-1604 run_list: - recipe[test_s3_put::default] attributes: test_s3_put: bucket: ops remote_path: chef/test_s3_put - name: default-chef12 driver: tags: Name: s3-put-default-chef12-ubuntu-1604 provisioner: product_name: chef product_version: 12 run_list: - recipe[test_s3_put::default] attributes: test_s3_put: bucket: ops remote_path: chef/test_s3_put ```
4443eb19-cf90-4db3-904f-469e9364ac6b
{ "language": "YAML" }
```yaml --- driver: name: vagrant require_chef_omnibus: 11.8 platforms: - name: ubuntu-12.04 - name: centos-6.4 - name: centos-6.5 suites: - name: default run_list: - recipe[apt::default] - recipe[exhibitor::default] attributes: ``` Add testing on Ubuntu 14.04
```yaml --- driver: name: vagrant require_chef_omnibus: 11.8 platforms: - name: ubuntu-12.04 - name: ubuntu-14.04 - name: centos-6.4 - name: centos-6.5 suites: - name: default run_list: - recipe[apt::default] - recipe[exhibitor::default] attributes: ```
1c664835-e80b-4995-8156-aa6269eb22df
{ "language": "YAML" }
```yaml --- driver: name: vagrant provisioner: name: chef_solo platforms: - name: ubuntu-12.04 - name: ubuntu-13.10 suites: - name: default run_list: - recipe[chruby-build::default] attributes: - name: rubies_data_bags run_list: - recipe[chruby-build::rubies] attributes: - name: rubies_attributes run_list: - recipe[chruby-build::rubies] attributes: chruby_build: rubies_libs: - libyaml-dev - libssl-dev - libreadline-dev - zlib1g-dev google_perftools: enable: false libyaml: enable: false rubies: - id: "ruby-2.0.0-p247" url: "http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz" gems: - bundler - pry ``` Add integration test for ubuntu-14.04
```yaml --- driver: name: vagrant provisioner: name: chef_solo platforms: - name: ubuntu-12.04 - name: ubuntu-14.04 suites: - name: default run_list: - recipe[chruby-build::default] attributes: - name: rubies_data_bags run_list: - recipe[chruby-build::rubies] attributes: - name: rubies_attributes run_list: - recipe[chruby-build::rubies] attributes: chruby_build: rubies_libs: - libyaml-dev - libssl-dev - libreadline-dev - zlib1g-dev google_perftools: enable: false libyaml: enable: false rubies: - id: "ruby-2.0.0-p247" url: "http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz" gems: - bundler - pry ```
6ad87b54-5747-4c5c-985a-cdfc7b4baa4f
{ "language": "YAML" }
```yaml inherit_gem: rubocop-govuk: - config/default.yml Style/ClassVars: Enabled: false AllCops: Exclude: - 'vendor/**/*' ``` Fix linting 'tmp/' files on CI
```yaml inherit_gem: rubocop-govuk: - config/default.yml Style/ClassVars: Enabled: false ```
92716f0a-6a0d-47c0-ad09-554a0078c6a7
{ "language": "YAML" }
```yaml # I like trailing commas in maps. They let me insert new elements and # see them as one line in a diff, not two. TrailingComma: Enabled: false # I like trailing commas in maps. They let me insert new elements and # see them as one line in a diff, not two. Style/TrailingCommaInHashLiteral: EnforcedStyleForMultiline: comma Style/TrailingCommaInArrayLiteral: EnforcedStyleForMultiline: comma # If i'm using one function name and returning the contents of an # attribute, that's OK. The alternative would be this, which I find # confusing and often not really what I mean: # # attr_reader :something_else # alias_method :something, :something_else Style/TrivialAccessors: ExactNameMatch: true # # Add 'XX X' to the standard list # Style/CommentAnnotation: Keywords: - "TOD\ O" - FIXME - OPTIMIZE - HACK - REVIEW - "XX\ X" ``` Set target Ruby version, remove removed cop config
```yaml AllCops: TargetRubyVersion: 2.4 # I like trailing commas in maps. They let me insert new elements and # see them as one line in a diff, not two. Style/TrailingCommaInHashLiteral: EnforcedStyleForMultiline: comma Style/TrailingCommaInArrayLiteral: EnforcedStyleForMultiline: comma # If i'm using one function name and returning the contents of an # attribute, that's OK. The alternative would be this, which I find # confusing and often not really what I mean: # # attr_reader :something_else # alias_method :something, :something_else Style/TrivialAccessors: ExactNameMatch: true # # Add 'XX X' to the standard list # Style/CommentAnnotation: Keywords: - "TOD\ O" - FIXME - OPTIMIZE - HACK - REVIEW - "XX\ X" ```
79eace11-dc87-4d27-9543-38f9e320270c
{ "language": "YAML" }
```yaml --- AllCops: TargetRubyVersion: 2.2 DisplayCopNames: true Exclude: - 'control-repo/**/*' Metrics/BlockLength: Enabled: false ``` Configure Metrics/LineLength cop to be nicer
```yaml --- AllCops: TargetRubyVersion: 2.2 DisplayCopNames: true Exclude: - 'control-repo/**/*' Metrics/BlockLength: Enabled: false Metrics/LineLength: Max: 100 ```
0164f3dc-cf76-4b43-a863-5f218f747411
{ "language": "YAML" }
```yaml --- site: ukti_sirius whitehall_slug: uk-trade-investment homepage: https://www.gov.uk/the-sirius-programme tna_timestamp: 20150101010101 host: www.siriusprogramme.ukti.gov.uk homepage_furl: www.gov.uk/ukti global: =301 https://www.gov.uk/the-sirius-programme aliases: - www.siriusprogramme.com ``` Update Sirius campaign replacement page
```yaml --- site: ukti_sirius whitehall_slug: uk-trade-investment homepage: https://www.gov.uk/government/collections/sirius-programme-for-graduate-entrepreneurs tna_timestamp: 20150101010101 host: www.siriusprogramme.ukti.gov.uk homepage_furl: www.gov.uk/ukti global: =301 https://www.gov.uk/government/collections/sirius-programme-for-graduate-entrepreneurs aliases: - www.siriusprogramme.com ```