doc_id
stringlengths
36
36
metadata
dict
input
stringlengths
28
4.3k
output
stringlengths
11
5.45k
6597728a-1028-40cd-a5bd-5b2910cf4bb5
{ "language": "YAML" }
```yaml # # values to use if these are not specified in the ingest # rights: 'All rights reserved (no additional license for public reuse)' publisher: <%= GenericWork::DEFAULT_PUBLISHER %> institution: <%= GenericWork::DEFAULT_INSTITUTION %> license: <%= GenericWork::DEFAULT_LICENSE %> # # the admin notes for informat...
```yaml # # values to use if these are not specified in the ingest # rights: 'All rights reserved (no additional license for public reuse)' publisher: <%= GenericWork::DEFAULT_PUBLISHER %> institution: <%= GenericWork::DEFAULT_INSTITUTION %> license: <%= GenericWork::DEFAULT_LICENSE %> # # the admin notes for informat...
4b35bdc0-ea89-42e3-bee8-b7c44aa0257a
{ "language": "YAML" }
```yaml trigger: - master jobs: - job: Linux pool: vmImage: 'ubuntu-18.04' steps: - script: sudo apt-get update --fix-missing - script: sudo apt-get install -y libgl1-mesa-dev libgles2-mesa-dev libopenal-dev libasound2-dev libxxf86vm-dev libxi-dev libxcursor-dev libxrandr-dev libxss-dev - script: | ...
```yaml trigger: - master jobs: - job: Linux pool: vmImage: 'ubuntu-18.04' steps: - script: sudo apt-get update --fix-missing - script: sudo apt-get install -y libgl1-mesa-dev libgles2-mesa-dev libopenal-dev libasound2-dev libxxf86vm-dev libxi-dev libxcursor-dev libxrandr-dev libxss-dev - script: | ...
961fe2c8-1d94-4cf0-8efc-068e7363ae08
{ "language": "YAML" }
```yaml # ASP.NET # Build and test ASP.NET projects. # Add steps that publish symbols, save build artifacts, deploy, and more: # https://docs.microsoft.com/azure/devops/pipelines/apps/aspnet/build-aspnet-4 pool: vmImage: 'VS2017-Win2016' variables: solution: '**/*.sln' buildPlatform: 'Any CPU' buildConfigurat...
```yaml # ASP.NET # Build and test ASP.NET projects. # Add steps that publish symbols, save build artifacts, deploy, and more: # https://docs.microsoft.com/azure/devops/pipelines/apps/aspnet/build-aspnet-4 pool: vmImage: 'VS2017-Win2016' variables: solution: '**/*.sln' buildPlatform: 'Any CPU' buildConfigurat...
67dd43fc-3a56-48e2-be7e-f1b3cc0a4ad2
{ "language": "YAML" }
```yaml trigger: - master pool: vmImage: 'windows-latest' variables: Major: 4 Minor: 0 BuildConfiguration: 'Release' name: $(Major).$(Minor).$(BuildID) steps: - checkout: self submodules: true - task: UseDotNet@2 inputs: packageType: 'sdk' version: '3.1.301' includePreviewVersions: true - ...
```yaml trigger: - master pool: vmImage: 'windows-latest' variables: Major: 4 Minor: 0 BuildConfiguration: 'Release' name: $(Major).$(Minor).$(BuildID) steps: - checkout: self submodules: true - task: UseDotNet@2 inputs: packageType: 'sdk' version: '3.1.302' includePreviewVersions: true - ...
57ce69aa-ff85-4402-93a8-759eb52682f5
{ "language": "YAML" }
```yaml --- - name: deploy SSL private key become: true become_user: taiga copy: dest: "{{ _taiga_ssl_key_path }}" mode: "0640" content: "{{ taiga_webserver_ssl_key }}" tags: - config - front-config - name: deploy SSL certificate become: true become_user: taiga copy: dest: "{{ _ta...
```yaml --- - name: deploy SSL private key become: true become_user: taiga copy: dest: "{{ _taiga_ssl_key_path }}" mode: "0640" content: "{{ taiga_ssl_key }}" tags: - config - front-config - name: deploy SSL certificate become: true become_user: taiga copy: dest: "{{ _taiga_ssl_ce...
961704f3-a022-4475-99e0-bbe9a7ef9bd0
{ "language": "YAML" }
```yaml --- jenkins_dest: /opt/jenkins jenkins_lib: /var/lib/jenkins jenkins: package: "http://pkg.jenkins-ci.org/debian/binary/jenkins_2.50_all.deb" repo: "deb http://pkg.jenkins.io/debian-stable binary/" key: "https://pkg.jenkins.io/debian/jenkins-ci.org.key" dependencies: - openjdk-7-jre - openjdk-7-...
```yaml --- jenkins_dest: /opt/jenkins jenkins_lib: /var/lib/jenkins jenkins: package: "http://pkg.jenkins-ci.org/debian/binary/jenkins_2.54_all.deb" repo: "deb http://pkg.jenkins.io/debian-stable binary/" key: "https://pkg.jenkins.io/debian/jenkins-ci.org.key" dependencies: - openjdk-7-jre - openjdk-7-...
c86861e5-e743-46c6-9187-4ecb859b2448
{ "language": "YAML" }
```yaml presubmits: kubernetes-sigs/service-apis: - name: pull-service-apis-build annotations: testgrid-dashboards: sig-network-service-apis testgrid-tab-name: build decorate: true path_alias: sigs.k8s.io/service-apis always_run: true skip_report: false spec: containers: ...
```yaml presubmits: kubernetes-sigs/service-apis: - name: pull-service-apis-build annotations: testgrid-dashboards: sig-network-service-apis testgrid-tab-name: build labels: preset-dind-enabled: "true" decorate: true path_alias: sigs.k8s.io/service-apis always_run: true ski...
5f1fae2c-459f-446a-b5cb-9a63bb433484
{ "language": "YAML" }
```yaml --- - name: Create project namespace shell: oc new-project {{ namespace }} --description="EnMasse Infrastructure" register: namespace_exists failed_when: namespace_exists.stderr != '' and 'already exists' not in namespace_exists.stderr changed_when: namespace_exists.rc == 0 ``` Make sure project namesp...
```yaml --- - name: Create project namespace shell: oc new-project {{ namespace }} --description="EnMasse Infrastructure" register: namespace_exists failed_when: namespace_exists.stderr != '' and 'already exists' not in namespace_exists.stderr changed_when: namespace_exists.rc == 0 - name: Select project namesp...
f062de96-8cd8-43b9-a1cc-54954cefe0b6
{ "language": "YAML" }
```yaml homepage: http://projects.haskell.org/gtk2hs/ changelog-type: '' hash: 4b3032d9ca1e3b9e0f85d94622335f000ec00cc65bebaee9623fb717d70d9ad5 test-bench-deps: {} maintainer: gtk2hs-users@lists.sourceforge.net synopsis: Binding to the GStreamer open source multimedia framework. changelog: '' basic-deps: bytestring: ...
```yaml homepage: http://projects.haskell.org/gtk2hs/ changelog-type: '' hash: e4552cc645778981e21ec8d129c7c4634c40731ac471125f54ddb854ee23ae96 test-bench-deps: {} maintainer: gtk2hs-users@lists.sourceforge.net synopsis: Binding to the GStreamer open source multimedia framework. changelog: '' basic-deps: bytestring: ...
bd36d971-bc22-4bcb-baae-4fb4d73415a4
{ "language": "YAML" }
```yaml homepage: https://github.com/nbrk/hashflare changelog-type: '' hash: a6f690f635b12064b1176286f46e129a99d2b6707e54460ea9a6edb6fd969606 test-bench-deps: {} maintainer: nbrk@linklevel.net synopsis: A library for working with HashFlare.io contracts and hashrates changelog: '' basic-deps: base: ! '>=4.8 && <4.9' ...
```yaml homepage: '' changelog-type: '' hash: accd8a66c743cbd6580182c1a85916dd6422d67a1587b7e2927849cd53e38f9a test-bench-deps: {} maintainer: nbrk@linklevel.net synopsis: A library for working with HashFlare.io contracts and hashrates changelog: '' basic-deps: base: ! '>=4.8 && <5.1' simple-money: ! '>=0.2.0.0' ...
a38e9c85-8c9a-4ad7-a285-34e618d3eaae
{ "language": "YAML" }
```yaml image: fedora:latest variables: DEPENDENCIES: chrpath vala gtk-doc gobject-introspection-devel libxml2-devel libsoup-devel glib2-devel gtk3-devel liboauth-devel totem-pl-parser-devel meson redhat-rpm-config gcc gcc-c++ glibc-devel build_stable:...
```yaml image: fedora:latest variables: DEPENDENCIES: chrpath vala gtk-doc gobject-introspection-devel libxml2-devel libsoup-devel glib2-devel gtk3-devel liboauth-devel totem-pl-parser-devel meson redhat-rpm-config gcc gcc-c++ glibc-devel build_stable:...
50eeb590-756f-4208-9fdf-701310f2ac8e
{ "language": "YAML" }
```yaml before_script: - | apt-key adv -q --batch --yes --keyserver keyserver.ubuntu.com --recv-keys AA12E97F0881517F && add-apt-repository 'deb https://static.redox-os.org/toolchain/apt ./' && apt-get update -qq && apt-get purge -qq binutils-doc && apt-get install -qq build-essential nasm pkg-conf...
```yaml before_script: - | apt-get install -qq build-essential gnupg nasm pkg-config fuse libfuse-dev genisoimage syslinux realpath && apt-key adv -q --batch --yes --keyserver keyserver.ubuntu.com --recv-keys AA12E97F0881517F && add-apt-repository 'deb https://static.redox-os.org/toolchain/apt ./' && a...
b886b284-6e05-47b5-9704-9db2f45fa92e
{ "language": "YAML" }
```yaml before_script: - angr-test sync hard local: script: "angr-test cle" tags: - "angr" angr: script: "angr-test angr" tags: - "angr" fidget: script: "angr-test fidget" tags: - "angr" angrop: script: "angr-test angrop" tags: - "angr" cle_lint: ...
```yaml before_script: - angr-test sync hard local: script: "angr-test cle" tags: - "angr" angr: script: "angr-test angr" tags: - "angr" fidget: script: "angr-test fidget" tags: - "angr" angrop: script: "angr-test angrop" tags: - "angr" tracer: ...
605a68f0-71e1-4bd1-a601-83202b2c44a2
{ "language": "YAML" }
```yaml # See https://github.com/ridedott/merge-me-action/ # This workflow automates merges from patches sent by Dependabot, and # only by dependabot, once the other CI workflows pass name: Auto-merge Dependabot PRs on: workflow_run: types: - completed workflows: - "Continuous Integration" jobs:...
```yaml # See https://github.com/ridedott/merge-me-action/ # This workflow automates merges from patches sent by Dependabot, and # only by dependabot, once the other CI workflows pass name: Auto-merge Dependabot PRs on: workflow_run: types: - completed workflows: - "Continuous Integration" jobs:...
5f8ea3f0-e6a2-49ac-8cf9-89ea2c48a62e
{ "language": "YAML" }
```yaml variables: CI_SCRIPTS_DIR: "./ci" gift-gala: script: - MATLAB_EXE=/Applications/MATLAB_R2015b.app/bin/matlab - MATLAB_SCRIPT=$(pwd)/matlab/CIBuildAndTest.m - "$CI_SCRIPTS_DIR/test-mac.sh $MATLAB_EXE $MATLAB_SCRIPT" tags: - gift-gala - gift-mac - matlab-r2015b - cuda gift-adel...
```yaml variables: CI_SCRIPTS_DIR: "./ci" gift-gala: script: - MATLAB_EXE=/Applications/MATLAB_R2016b.app/bin/matlab - MATLAB_SCRIPT=$(pwd)/matlab/CIBuildAndTest.m - XCODE_EXE=/Applications/Xcode7.3.1.app/Contents/Developer - env DEVELOPER_DIR=$XCODE_EXE $CI_SCRIPTS_DIR/test-mac.sh $MATLAB_EXE $MAT...
2fc46e07-b88d-4e4c-93a9-c6341b4d9757
{ "language": "YAML" }
```yaml # Test job template .test_template: &test_definition stage: test script: - bundle install --jobs $(nproc) --without docs --path vendor - bundle exec rake tests - bundle exec rake spec # Test with version present on Debian Stretch test:puppet4.8: image: ruby:2.3 variables: PUPPET_VERSION...
```yaml # Test job template .test_template: &test_definition stage: test script: - bundle install --jobs $(nproc) --without docs --path vendor - bundle exec rake tests - bundle exec rake spec # Test with version present on Debian Buster test:puppet5.5: image: ruby:2.5 variables: PUPPET_VERSION:...
f308d754-32e7-402d-a10b-4a5d5cbd4d5c
{ "language": "YAML" }
```yaml title: Showcase '@extends': default form: fields: tabs: fields: advanced: fields: columns: fields: column1: fields: name: default: modular/showcase '@data-op...
```yaml title: Showcase '@extends': default form: fields: tabs: fields: advanced: fields: columns: fields: column1: fields: name: default: modular/showcase '@data-op...
d2fd3d03-3c38-47b0-aab6-5b891378043a
{ "language": "YAML" }
```yaml apiVersion: extensions/v1beta1 kind: Deployment metadata: name: sinker labels: app: sinker spec: replicas: 1 template: metadata: labels: app: sinker spec: containers: - name: sinker image: gcr.io/kubernetes-jenkins-pull/sinker:0.0 restartPolicy: Never ...
```yaml apiVersion: extensions/v1beta1 kind: Deployment metadata: name: sinker labels: app: sinker spec: replicas: 1 template: metadata: labels: app: sinker spec: containers: - name: sinker image: gcr.io/kubernetes-jenkins-pull/sinker:0.0 ```
5ba6b65f-b89f-4c9c-b1e4-c9653d1336b1
{ "language": "YAML" }
```yaml homepage: http://www.keera.es/blog/community/ changelog-type: '' hash: ad4cbcaacbd2e242e58723f1b7e848a2271ed7b185ab3f6ee2768afdc0510215 test-bench-deps: {} maintainer: ivan.perez@keera.es synopsis: Haskell on Gtk rails - Reactive Fields for Gtk widgets changelog: '' basic-deps: keera-hails-reactivevalues: -an...
```yaml homepage: http://www.keera.es/blog/community/ changelog-type: '' hash: a0dfc0461193c650372e7381462da2c021a7489274149e13ab752697c0c5bba2 test-bench-deps: {} maintainer: ivan.perez@keera.es synopsis: Haskell on Gtk rails - Reactive Fields for Gtk widgets changelog: '' basic-deps: keera-hails-reactivevalues: -an...
675099e3-2006-4467-a4f0-821aed4f198a
{ "language": "YAML" }
```yaml - name: Copy script to workspace copy: src: "clear_nexus_vlans.py" dest: "{{ workspace }}/clear_nexus_vlans.py" - name: Ensure nexus switch is in known_hosts known_hosts: name: "{{ nexus_ip }}" key: "{{ lookup('pipe', 'ssh-keyscan -t rsa %s' % nexus_ip) }}" - name: Clear the claimed VLANs ...
```yaml - name: Copy script to workspace copy: src: "clear_nexus_vlans.py" dest: "{{ workspace }}/clear_nexus_vlans.py" - name: ssh-keyscan the nexus switch command: "ssh-keyscan -t rsa {{ nexus_ip }}" register: nexus_keyscan_result - name: Ensure nexus switch is in known_hosts known_hosts: name: ...
eabb6c76-eac5-48d4-af69-b5b8572d4ef4
{ "language": "YAML" }
```yaml --- yaml_strings_to_extract: db/fixtures/miq_product_features.*: - name - description db/fixtures/miq_report_formats.*: - description db/fixtures/notification_types.*: - message product/charts/layouts/*.yaml: - title product/charts/layouts/*/*.yaml: - title product/compare/*.yaml: - he...
```yaml --- yaml_strings_to_extract: db/fixtures/miq_product_features{.yml,.yaml,/*.yml,/*.yaml}: - name - description db/fixtures/miq_report_formats.*: - description db/fixtures/notification_types.*: - message product/charts/layouts/*.yaml: - title product/charts/layouts/*/*.yaml: - title produ...
7c3aae39-bade-4cd5-8ce7-4f54f8462108
{ "language": "YAML" }
```yaml language: python python: - 2.7 env: global: before_install: - pip install awscli install: - pip install -r requirements.txt before_script: script: after_success: ``` Write the CF template for the code-deploy. Need to test. Publish for time and life.
```yaml AWSTemplateFormatVersion: "2010-09-09" Description: The code deployment application. Parameters: ServiceRole: Default: INPUT_IAM Description: IAM service role for code deploy Type: String ApplicationName: Default: stringer-app Type: String EC2TagKey: Default: owner Type: S...
1b940a25-e734-4ef6-873b-c82e26920e48
{ "language": "YAML" }
```yaml fields: - "jobcentre" - "name" - "address" - "postcode" phase: "discovery" register: "jobcentre" registry: "department-for-work-pensions" text: "Job Centre Offices" ``` Rename "Job Centre Offices" to "Jobcentre Offices"
```yaml fields: - "jobcentre" - "name" - "address" - "postcode" phase: "discovery" register: "jobcentre" registry: "department-for-work-pensions" text: "Jobcentre Offices" ```
dc9e3cf4-ed9e-4b10-b8c5-4b061d8bee4a
{ "language": "YAML" }
```yaml resources: 'ApiPlatform\Core\Tests\Fixtures\TestBundle\Entity\Dummy': ~ 'ApiPlatform\Core\Tests\Fixtures\TestBundle\Entity\FileConfigDummy': shortName: 'thedummyshortname' description: 'Dummy resource' itemOperations: my_op_name: method: 'GET' ...
```yaml resources: 'ApiPlatform\Core\Tests\Fixtures\TestBundle\Entity\Dummy': ~ 'ApiPlatform\Core\Tests\Fixtures\TestBundle\Entity\FileConfigDummy': shortName: 'thedummyshortname' description: 'Dummy resource' itemOperations: my_op_name: method: 'GET' ...
4fa75e83-b29a-4640-908c-4eaaa60154c0
{ "language": "YAML" }
```yaml package: name: tifffile version: 0.3.1 source: git_rev: v0.3.1 git_url: https://github.com/blink1073/tifffile build: number: 1 requirements: build: - python - setuptools - numpy x.x run: - python - numpy x.x test: imports: - tifffile about: home: https://github.co...
```yaml package: name: tifffile version: 0.7.0 source: git_rev: v0.7.0 git_url: https://github.com/blink1073/tifffile build: number: 1 requirements: build: - python - setuptools - numpy x.x run: - python - numpy x.x test: imports: - tifffile about: home: https://github.co...
82cd910c-4f64-40d6-a868-403830a6e1f2
{ "language": "YAML" }
```yaml name: "Validate Gradle Wrapper" on: [push, pull_request] permissions: contents: read jobs: validation: name: "Validation" runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: gradle/wrapper-validation-action@v1 ``` Use actions/checkout@v3 for Gradle Wrapper Validation...
```yaml name: "Validate Gradle Wrapper" on: [push, pull_request] permissions: contents: read jobs: validation: name: "Validation" runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: gradle/wrapper-validation-action@v1 ```
79012729-e846-417c-a7cc-f11c54d20b87
{ "language": "YAML" }
```yaml parameters: # bonnes_adresses.example.class: Bonnes\AdressesBundle\Example services: adresses.admin: class: Bonnes\AdressesBundle\Admin\AdresseAdmin tags: - { name: sonata.admin, manager_type: doctrine_mongodb, group: "Adresses", label: "Adresses" } arguments: [null,...
```yaml parameters: # bonnes_adresses.example.class: Bonnes\AdressesBundle\Example services: adresses.admin: class: Bonnes\AdressesBundle\Admin\AdresseAdmin tags: - { name: sonata.admin, manager_type: doctrine_mongodb, group: "Adresses", label: "Adresses" } arguments: [null,...
dc6565cc-5996-4b36-a9ab-c165968f3e39
{ "language": "YAML" }
```yaml kind: MasterConfiguration apiVersion: kubeadm.k8s.io/v1alpha1 controllerManagerExtraArgs: horizontal-pod-autoscaler-use-rest-clients: "true" horizontal-pod-autoscaler-sync-period: "10s" node-monitor-grace-period: "10s" apiServerExtraArgs: runtime-config: "api/all=true" feature-gates: "TaintBasedEvicti...
```yaml apiVersion: kubeadm.k8s.io/v1alpha1 kind: MasterConfiguration controllerManagerExtraArgs: horizontal-pod-autoscaler-use-rest-clients: "true" horizontal-pod-autoscaler-sync-period: "10s" node-monitor-grace-period: "10s" apiServerExtraArgs: runtime-config: "api/all=true" kubernetesVersion: "stable-1.7" ``...
d5b49f32-2e57-48ac-b9ef-8ef2b0c3d0ad
{ "language": "YAML" }
```yaml variants: boskos: COMPONENT: boskos SUBDIR: '' reaper: COMPONENT: reaper SUBDIR: reaper janitor: COMPONENT: janitor SUBDIR: janitor aws-janitor: COMPONENT: aws-janitor SUBDIR: ../maintenance/aws-janitor # why? ``` Add missing boskos metrics image.
```yaml variants: boskos: COMPONENT: boskos SUBDIR: '' reaper: COMPONENT: reaper SUBDIR: reaper janitor: COMPONENT: janitor SUBDIR: janitor metrics: COMPONENT: metrics SUBDIR: metrics aws-janitor: COMPONENT: aws-janitor SUBDIR: ../maintenance/aws-janitor # why? ```
d1e974f2-e48c-40e7-ae7e-875a029c9c44
{ "language": "YAML" }
```yaml global: scrape_interval: 15s evaluation_interval: 15s scrape_configs: - job_name: 'prometheus' static_configs: - targets: ['localhost:9090'] - job_name: 'node' static_configs: - targets: ['localhost:9100', 'sb-staging:9100', 'sb-prod:9100'] - job_name: 'app_server' static_co...
```yaml global: scrape_interval: 15s evaluation_interval: 15s scrape_configs: - job_name: 'prometheus' static_configs: - targets: ['localhost:9090'] - job_name: 'node' static_configs: - targets: ['localhost:9100', 'sb-staging:9100', 'sb-prod:9100'] - job_name: 'app_server' static_co...
3619241d-cecd-429d-a63c-28962d3deeab
{ "language": "YAML" }
```yaml apiVersion: v1 kind: ReplicationController metadata: name: elasticsearch labels: provider: elasticsearch-1 heritage: helm spec: replicas: 1 selector: provider: elasticsearch-1 template: metadata: name: elasticsearch-1 labels: provider: elasticsearch-1 spec: ...
```yaml apiVersion: v1 kind: ReplicationController metadata: name: elasticsearch labels: provider: elasticsearch-1 heritage: helm spec: replicas: 1 selector: provider: elasticsearch-1 template: metadata: name: elasticsearch labels: provider: elasticsearch-1 spec: ...
18eed2b9-274b-4775-8d09-b9374f03e1eb
{ "language": "YAML" }
```yaml package: name: "hydromath" version: {{ environ['GIT_DESCRIBE_TAG'][1:] }} build: number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }} source: git_url: https://github.com/amacd31/hydromath_py.git git_rev: master requirements: build: - python x.x - libhydromath # [unix] ...
```yaml package: name: "hydromath" version: {{ environ['GIT_DESCRIBE_TAG'][1:] }} build: number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }} source: git_url: ../ requirements: build: - python x.x - libhydromath # [unix] - cffi run: - python x.x - libhydr...
6c6392c4-3bdb-4ba6-a8e8-a97b01bbfde0
{ "language": "YAML" }
```yaml development: database: 'twb' username: root password: root production: database: 'twb' username: root password: root test: database: 'twb' username: root password: root ``` Change database name to botnbot
```yaml development: database: 'botnbot' username: root password: root production: database: 'botnbot' username: root password: root test: database: 'botnbot' username: root password: root ```
c2a7b5a8-4f0e-4b1f-94c7-4d82d0344893
{ "language": "YAML" }
```yaml --- - name: elasticsearch-install | Add repository keys apt_key: keyserver="{{item.server}}" id="{{item.key}}" state=present with_items: "{{ elasticsearch_apt_repo_keys }}" - name: elasticsearch-install | Add repositories apt_repository: repo="{{item}}" update_cache=yes with_items: "{{ elasticsearch_a...
```yaml --- - name: elasticsearch-install | Add repository keys apt_key: keyserver="{{item.server}}" id="{{item.key}}" state=present with_items: "{{ elasticsearch_apt_repo_keys }}" - name: elasticsearch-install | Add repositories apt_repository: repo="{{item}}" update_cache=yes with_items: "{{ elasticsearch_a...
ed19c670-1e54-4d6e-a184-fe297d1b0a50
{ "language": "YAML" }
```yaml directory: ~/music/beetsdir library: ~/.beets.db plugins: missing duplicates fetchart embedart zero convert chroma info play discogs random fuzzy import: copy: yes log: ~/.beetsimports.log fuzzy: threshold: 0.8 prefix: "?" fetchart: enforce_ratio: no minwidth: 500 zero: fiel...
```yaml directory: ~/music/beetsdir library: ~/.beets.db asciify_path: yes plugins: missing duplicates fetchart embedart zero convert chroma info play discogs random fuzzy import: copy: yes log: ~/.beetsimports.log fuzzy: threshold: 0.8 prefix: "?" fetchart: enforce_ratio: no minwidth: 5...
da12562e-8262-4b7c-a554-f3b5b2e48475
{ "language": "YAML" }
```yaml name: ${project.name} version: ${project.version} main: nl.rutgerkok.blocklocker.impl.BlockLockerPluginImpl author: Rutger Kok load: startup permissions: blocklocker.protect: description: "Protect containers and doors." default: true blocklocker.bypass: description: "Bypass someone else's protec...
```yaml name: ${project.name} version: ${project.version} main: nl.rutgerkok.blocklocker.impl.BlockLockerPluginImpl author: Rutger Kok load: startup permissions: blocklocker.protect: description: "Protect containers and doors." default: true blocklocker.bypass: description: "Bypass someone else's protec...
cdccfdd1-0f93-407a-9fd5-506cc0fcaa16
{ "language": "YAML" }
```yaml name: Build on: [push, pull_request] jobs: build: runs-on: ubuntu-latest strategy: fail-fast: false matrix: php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0'] name: PHP ${{ matrix.php }} steps: - uses: actions/checkout@v...
```yaml name: Build on: [push, pull_request] jobs: build: runs-on: ubuntu-latest strategy: fail-fast: false matrix: php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0'] name: PHP ${{ matrix.php }} environment: Build steps: ...
31672c0e-452b-4a56-b6dc-eb9e0f052662
{ "language": "YAML" }
```yaml # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven name: Java CI with Maven on: [push] jobs: build: ...
```yaml # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven name: Java CI with Maven on: [push] jobs: build: ...
6c80adcf-d860-47bf-b743-d59943385b2f
{ "language": "YAML" }
```yaml hosts: [localhost] port: 8182 serializer: { className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0}``` Update config with titan-specific serialization option.
```yaml hosts: [localhost] port: 8182 serializer: { className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0, config: { custom: [com.thinkaurelius.titan.graphdb.relations.RelationIdentifier] }}```
eab68911-64a3-4270-b725-a64f786597c5
{ "language": "YAML" }
```yaml en: voc: cancel: "Cancel" close: "Close" confirm: "Are you sure?" delete: "Delete" edit: "Edit" login: "Sign in" save: "Save changes" register: "Sign up" terms: "Terms of Service" update: "Update" messages: noauth: "requires authentication"``` Apply review sugges...
```yaml en: voc: cancel: "Cancel" close: "Close" confirm: "Are you sure?" delete: "Delete" edit: "Edit" login: "Sign in" save: "Save changes" register: "Sign up" terms: "Terms of Service" update: "Update" messages: noauth: "You must be signed in to do this."```
5b07aee0-4a2b-41f1-b6b7-c279d4ded192
{ "language": "YAML" }
```yaml --- include: default: - profile::openstack::metric - profile::openstack::openrc - profile::logging::rsyslog::client openstack_version: 'queens' #FIXME memcached::max_memory: '20%' profile::base::common::packages: 'python-openstackclient': {} 'openstack-selinux': {} 'python-memcached': {} ...
```yaml --- include: default: - profile::openstack::metric - profile::openstack::openrc - profile::logging::rsyslog::client openstack_version: 'queens' #FIXME memcached::max_memory: '20%' profile::base::common::packages: 'python-openstackclient': {} 'openstack-selinux': {} 'python-memcached': {} ...
c5af8f02-c959-4927-ba08-875db48637fc
{ "language": "YAML" }
```yaml Categories: - Security License: GPL-3.0-only AuthorName: Sultanahamer SourceCode: https://github.com/sultanahamer/PermissionsManager IssueTracker: https://github.com/sultanahamer/PermissionsManager/issues Changelog: https://github.com/sultanahamer/PermissionsManager/blob/HEAD/CHANGELOG AutoName: PermissionsM...
```yaml Categories: - Security License: GPL-3.0-only AuthorName: Sultanahamer SourceCode: https://github.com/sultanahamer/PermissionsManager IssueTracker: https://github.com/sultanahamer/PermissionsManager/issues Changelog: https://github.com/sultanahamer/PermissionsManager/blob/HEAD/CHANGELOG AutoName: PermissionsM...
74a15ba2-bb25-42d2-93ea-6818880ca9a7
{ "language": "YAML" }
```yaml Categories: - Security - Multimedia - Connectivity License: GPL-3.0-only AuthorName: Daniele Verducci AuthorEmail: daniele.verducci@gmail.com SourceCode: https://github.com/penguin86/ojo IssueTracker: https://github.com/penguin86/ojo/issues Name: Ojo RTSP IP Camera viewer AutoName: Ojo RepoType: git Rep...
```yaml Categories: - Security - Multimedia - Connectivity License: GPL-3.0-only AuthorName: Daniele Verducci AuthorEmail: daniele.verducci@gmail.com SourceCode: https://github.com/penguin86/ojo IssueTracker: https://github.com/penguin86/ojo/issues Name: Ojo RTSP IP Camera viewer AutoName: Ojo RepoType: git Rep...
423418ed-c26f-490f-884c-9f073f021c63
{ "language": "YAML" }
```yaml --- - name: openvpn restart service: name={{openvpn_service}} state=restarted - name: openvpn pack clients command: zip -j {{openvpn_keydir}}/{{item.item}}.zip {{openvpn_keydir}}/{{item.item}}.crt {{openvpn_keydir}}/{{item.item}}.key {{openvpn_keydir}}/{{item.item}}.ovpn {{openvpn_keydir}}/ca.crt {{openvp...
```yaml --- - name: openvpn restart service: name={{openvpn_service}} state=restarted - name: openvpn pack clients command: zip -j {{item.item}}.zip {{item.item}}.crt {{item.item}}.key {{item.item}}.ovpn ca.crt {{openvpn_tls_key if openvpn_tls_auth else ''}} when: item.changed with_items: "{{openvpn_clients_c...
acb7d092-1d38-49f1-874b-7b334156576b
{ "language": "YAML" }
```yaml parameters: darvin_menu.item_factory.abstract.class: Darvin\MenuBundle\Item\AbstractItemFactory darvin_menu.item_factory.menu_item.class: Darvin\MenuBundle\Item\MenuItemFactory darvin_menu.item_factory.slug_map_item.class: Darvin\MenuBundle\Item\SlugMapItemFactory darvin_menu.item_factory....
```yaml parameters: darvin_menu.item_factory.abstract.class: Darvin\MenuBundle\Item\AbstractItemFactory darvin_menu.item_factory.menu_item.class: Darvin\MenuBundle\Item\MenuItemFactory darvin_menu.item_factory.slug_map_item.class: Darvin\MenuBundle\Item\SlugMapItemFactory darvin_menu.item_factory....
c041fe98-4c06-4940-91f8-e6c019438d2a
{ "language": "YAML" }
```yaml sudo: false notifications: email: false language: python python: - "2.7" before_install: - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/bin:$PATH" - conda update --yes c...
```yaml sudo: false notifications: email: false language: python python: - "2.7" before_install: - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/bin:$PATH" - conda update --yes c...
db531d94-0cc5-4637-be28-ef34035c4ba7
{ "language": "YAML" }
```yaml sudo: required dist: trusty language: python python: - '2.6' - '2.7' - '3.2' - '3.3' - '3.4' - '3.5' - '3.5-dev' - 'nightly' - 'pypy' - 'pypy3' matrix: allow_failures: - python: '2.6' - python: '3.2' - python: '3.5-dev' - python: 'nightly' - python: 'pypy' - python...
```yaml sudo: required dist: trusty language: python python: - '2.7' - '3.3' - '3.4' - '3.5' - '3.5-dev' - 'nightly' matrix: allow_failures: - python: '3.5-dev' - python: 'nightly' addons: apt: packages: - texlive-latex-extra - texlive-pictures - texlive-science - t...
7234b3e1-8323-47a1-a845-4207d5d158c4
{ "language": "YAML" }
```yaml language: csharp mono: none dotnet: 2.0.0 dist: trusty branches: only: - master - develop script: - dotnet restore notifications: email: on_success: never on_failure: always``` Add build step to Travis CI
```yaml language: csharp mono: none dotnet: 2.0.0 dist: trusty branches: only: - master - develop script: - dotnet restore - dotnet build notifications: email: on_success: never on_failure: always```
014e2d2b-e757-4dd8-becc-56963edde100
{ "language": "YAML" }
```yaml language: haskell before_install: - npm install coffee-script -g - cabal install alex >= 3.0.5 script: - cabal configure && cabal build deploy: provider: heroku api_key: secure: hBbPLNburzk/YY3hbpgdmbMdfk/osgh76fYBui1Yx6CYBTfMRUii22y8rtrCeu2BD6bEVEoSzFEelxg/LsVUjHIBnowXkl26lu3qbt6WpXi6KIyNJx/Y0U1g...
```yaml language: haskell before_install: - npm install coffee-script -g - cabal install 'alex >= 3.0.5' script: - cabal configure && cabal build deploy: provider: heroku api_key: secure: hBbPLNburzk/YY3hbpgdmbMdfk/osgh76fYBui1Yx6CYBTfMRUii22y8rtrCeu2BD6bEVEoSzFEelxg/LsVUjHIBnowXkl26lu3qbt6WpXi6KIyNJx/Y0U...
ef76116f-fa77-4859-b7ad-76272b2201b1
{ "language": "YAML" }
```yaml sudo: false language: python python: - "3.5" addons: apt: packages: - git install: - pip install -r requirements-py35-linux64.txt - python setup.py develop - git clone --depth=1 https://github.com/gem/oq-hazardlib.git # We must set the PYTHONPATH to the root oq-engine (insted of oq-engine/...
```yaml sudo: false language: python python: - "3.5" addons: apt: packages: - git install: - pip install -r requirements-py35-linux64.txt - python setup.py develop - git clone --depth=1 https://github.com/gem/oq-hazardlib.git # We must set the PYTHONPATH to the root oq-engine (insted of oq-engine/...
790284fa-7920-4954-ac11-617eabd919bc
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - ree env: - DB=mysql - DB=postgres before_script: - "mysql -e 'create database foreigner-matcher_test;'" - "psql -c 'create database foreigner-matcher_test;' -U postgres" - bundle exec rake db:test:reset script: bundle exec rspec spec ``` Update da...
```yaml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - ree env: - DB=mysql - DB=postgres before_script: - "mysql -e 'create database `foreigner-matcher_test`;'" - "psql -c 'create database \"foreigner-matcher_test\";' -U postgres" - bundle exec rake db:test:reset script: bundle exec rspec spec ```
d6a3d646-ce92-4104-8760-6f9bf4db18b2
{ "language": "YAML" }
```yaml language: cpp addons: apt: packages: - python3 - python3-pip matrix: include: # We need use to Ubuntu Trusty to get pip3. - os: linux dist: trusty compiler: clang env: - BUILD_TYPE=Debug - os: linux dist: trusty compiler: clang env: ...
```yaml language: cpp addons: apt: packages: - python3 - python3-pip matrix: include: # We need use to Ubuntu Trusty to get pip3. - os: linux dist: trusty compiler: clang env: - BUILD_TYPE=Debug - os: linux dist: trusty compiler: clang env: ...
4544e1d4-cbbb-4ece-87ab-6df99658afd7
{ "language": "YAML" }
```yaml language: node_js node_js: - "7" dist: trusty sudo: false addons: chrome: stable before_install: - npm install -g npm@5.3.0 script: - npm run test ``` Remove Travis CI email notifications
```yaml language: node_js node_js: - "7" dist: trusty sudo: false addons: chrome: stable before_install: - npm install -g npm@5.3.0 script: - npm run test notifications: email: false ```
a1a3c4bb-096d-498d-9070-48570266de2e
{ "language": "YAML" }
```yaml {{- if .Values.ingress.enabled -}} {{- $fullName := include "cla-frontend.fullname" . -}} {{- $svcPort := .Values.service.port -}} apiVersion: networking.k8s.io/v1beta1 kind: Ingress metadata: name: {{ $fullName }} labels: {{- include "cla-frontend.labels" . | nindent 4 }} annotations: nginx.ingr...
```yaml {{- if .Values.ingress.enabled -}} {{- $fullName := include "cla-frontend.fullname" . -}} {{- $svcPort := .Values.service.port -}} apiVersion: networking.k8s.io/v1beta1 kind: Ingress metadata: name: {{ $fullName }} labels: {{- include "cla-frontend.labels" . | nindent 4 }} annotations: nginx.ingr...
abd5f374-6fd5-4642-a7ee-28bbae467dac
{ "language": "YAML" }
```yaml lv: postgresql: pv: - '/dev/sdb1' - '/dev/sdd1' - '/dev/sde1' - '/dev/sdf1' - '/dev/sdg1' vg: 'backups' data: pv: '/dev/sdc1' vg: 'postgresql' govuk_postgresql::server::max_connections: 200 ``` Add an extra disk to staging
```yaml lv: postgresql: pv: - '/dev/sdb1' - '/dev/sdd1' - '/dev/sde1' - '/dev/sdf1' - '/dev/sdg1' - '/dev/sdh1' vg: 'backups' data: pv: '/dev/sdc1' vg: 'postgresql' govuk_postgresql::server::max_connections: 200 ```
87d42d7a-f92d-47ea-aed9-d8df96ce5757
{ "language": "YAML" }
```yaml language: python # pick the appropriate requirements file for 2.7 or 3.x matrix: include: - python: "2.7" env: REQUIREMENTS=requirements2.txt - python: "3.5" env: REQUIREMENTS=requirements.txt - python: "3.6" env: REQUIREMENTS=requirements.txt branches: only: - master - dev...
```yaml language: python # pick the appropriate requirements file for 2.7 or 3.x matrix: include: - python: "2.7" env: REQUIREMENTS=requirements2.txt - python: "3.5" env: REQUIREMENTS=requirements.txt - python: "3.6" env: REQUIREMENTS=requirements.txt - python: "3.7" env: REQUI...
df221466-56c6-4075-9b67-c8e4fddc77de
{ "language": "YAML" }
```yaml # Config file for automatic testing at travis-ci.org language: python python: - "3.5" - "3.4" - "3.3" - "2.7" - "pypy" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: pip install -r requirements.txt # command to run tests, e.g. python setup.py test sc...
```yaml # Config file for automatic testing at travis-ci.org sudo: true language: python python: - "3.5" - "3.4" - "3.3" - "2.7" - "pypy" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: - sudo add-apt-repository ppa:adamansky/ejdb -y - sudo apt-get up...
cada9e6e-34c8-4c87-b1ea-3fd5594ad9c6
{ "language": "YAML" }
```yaml # Config file for automatic testing at travis-ci.org language: python sudo: false python: - "2.6" - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" install: - "python setup.py sdist" - "pip install dist/skyfield-*.tar.gz[tests]" - "pip install https://github.com/brandon-rhodes/assay/archive/master.zi...
```yaml # Config file for automatic testing at travis-ci.org language: python sudo: false python: - "2.6" - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" install: - "python setup.py sdist" - "pip install $(echo dist/skyfield-*.tar.gz)'[tests]'" - "pip install https://github.com/brandon-rhodes/assay/archive...
e206845a-4a49-4ecd-9ccc-bfcbbfbc3a1c
{ "language": "YAML" }
```yaml faf-api: version: #faf-api.version# map: folder-zip-files: ${MAP_UPLOAD_PATH:/content/faf/vault/maps} folder-preview-path-small: ${MAP_PREVIEW_PATH_SMALL:/content/faf/vault/map_previews/small} folder-preview-path-large: ${MAP_PREVIEW_PATH_LARGE:/content/faf/vault/map_previews/large} spring: a...
```yaml faf-api: version: #faf-api.version# map: folder-zip-files: ${MAP_UPLOAD_PATH:/content/faf/vault/maps} folder-preview-path-small: ${MAP_PREVIEW_PATH_SMALL:/content/faf/vault/map_previews/small} folder-preview-path-large: ${MAP_PREVIEW_PATH_LARGE:/content/faf/vault/map_previews/large} spring: a...
2b6bdaff-a538-4699-9f43-c28a3a7fd54f
{ "language": "YAML" }
```yaml language: python python: - 3.6 install: - pip install codecov script: - ./setup.py test after_success: - codecov ``` Fix permisiion denied problem in build
```yaml language: python python: - 3.6 install: - pip install codecov script: - ./setup.py test after_success: - codecov before_install: - chmod +x setup.py ```
497f02e8-8e45-487d-8c5b-dc4e1dcd34d9
{ "language": "YAML" }
```yaml language: node_js services: - couchdb node_js: - "14" sudo: false script: npm run $COMMAND before_script: - "npm install add-cors-to-couchdb" - "./node_modules/.bin/add-cors-to-couchdb" env: matrix: - COMMAND=test - CLIENT=selenium:phantomjs COMMAND=test - COMMAND=coverage branches: only: ...
```yaml language: node_js node_js: - "14" sudo: false script: npm run $COMMAND env: matrix: - COMMAND=test - CLIENT=selenium:phantomjs COMMAND=test - COMMAND=coverage branches: only: - master ```
e6480cd2-63a1-42e9-a5c9-01513bb6dd92
{ "language": "YAML" }
```yaml sudo: false language: rust rust: - stable - beta - nightly - 1.19.0 script: - cargo build - cargo test ``` Raise minimum tested version to rustc 1.31
```yaml sudo: false language: rust rust: - stable - beta - nightly - 1.31.0 script: - cargo build - cargo test matrix: include: - rust: 1.19.0 script: - cargo build ```
6b0e4b03-873c-4937-856b-749a2c4bfb88
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.10" - "0.12" - "4" env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 script: "npm test && sudo $(which npm) run test-root && npm run test:install" before_script: - "./test/hosts.sh" before_install: - sudo apt-g...
```yaml language: node_js node_js: - "0.10" - "0.12" - "4" - "6" env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 script: "npm test && sudo $(which npm) run test-root && npm run test:install" before_script: - "./test/hosts.sh" before_install: - su...
2412231b-f700-427b-8be9-45294cd4e8a5
{ "language": "YAML" }
```yaml language: python python: - "2.7" sudo: required services: - docker env: global: - DOCKER_VERSION=1.12.0-0~trusty - DOCKER_COMPOSE_VERSION=1.6.2 before_install: - apt-cache madison docker-engine - sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine=${DOCKER_VERSION} ...
```yaml language: python python: - "2.7" sudo: required services: - docker env: global: - DOCKER_VERSION=1.12.0-0~trusty - DOCKER_COMPOSE_VERSION=1.6.2 before_install: - apt-cache madison docker-engine - sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine=${DOCKER_VERSION} ...
db6d88dc-f67f-4f41-8f7f-89cdcb08f231
{ "language": "YAML" }
```yaml --- - name: fetch securedrop source ths fetch: src=/var/lib/tor/services/source/hostname dest=./app-source-ths flat=yes - name: fetch securedrop document aths fetch: src=/var/lib/tor/services/source/hostname dest=./app-document-aths flat=yes - name: fetch securedrop ssh aths fetch: src=/var/lib/tor/serv...
```yaml --- - name: fetch securedrop source ths fetch: src=/var/lib/tor/services/source/hostname dest=./app-source-ths flat=yes - name: fetch securedrop document aths fetch: src=/var/lib/tor/services/document/hostname dest=./app-document-aths flat=yes - name: fetch securedrop ssh aths fetch: src=/var/lib/tor/se...
2230c8be-5352-455b-bf87-daea5dc61206
{ "language": "YAML" }
```yaml sudo: false language: java jdk: - openjdk6 - openjdk7 - oraclejdk7 os: - linux - osx script: - ./autogen.sh && ./configure && make -j2 - cd java && mvn test && cd .. - cd javanano && mvn test && cd .. - cd python && python setup.py build && python setup.py google_test - LD_LIBRARY_PATH=../sr...
```yaml sudo: false language: java jdk: - openjdk6 - openjdk7 - oraclejdk7 os: - linux - osx script: - ./autogen.sh && ./configure && make -j2 - cd java && mvn test && cd .. - cd javanano && mvn test && cd .. - cd python && python setup.py build && python setup.py google_test && cd .. - LD_LIBRARY_P...
9c90f010-6ce3-4da9-a108-88b1ab786b20
{ "language": "YAML" }
```yaml language: java install: true before_install: - chmod +x gradlew - sudo apt-get -y install at-spi2-core jdk: - openjdk8 git: depth: false addons: sonarcloud: organization: "gurkenlabs-github" services: - xvfb cache: directories: - '$HOME/.m2/repository' - '$HOME/.sonar/cache' ...
```yaml language: java install: true before_install: - chmod +x gradlew - sudo apt-get -y install at-spi2-core jdk: - openjdk8 git: depth: false addons: sonarcloud: organization: "gurkenlabs-github" services: - xvfb cache: directories: - '$HOME/.m2/repository' - '$HOME/.sonar/cache' ...
e41d8bec-98cf-44cb-b052-914e82730ad9
{ "language": "YAML" }
```yaml sudo: false language: node_js matrix: include: - node_js: iojs-v1 - node_js: iojs-v2 - node_js: "0.10" - node_js: "0.12" after_script: "npm install coveralls && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage" notifications: email: - tormozz48@gmail.com - yndx.tavria@yan...
```yaml sudo: false language: node_js matrix: include: - node_js: "4.1.x" - node_js: "iojs" - node_js: "0.12" - node_js: "0.10" after_script: "npm install coveralls && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage" notifications: email: - tormozz48@gmail.com - yndx.tavria@yand...
89b6f972-d1a9-4984-851f-378060d65631
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 ``` Update the Rubies we're testing against
```yaml language: ruby rvm: - 2.0.0 - 2.1.5 - 2.2.1 ```
5ff14d47-ca7f-4975-a333-15b1cbf613a6
{ "language": "YAML" }
```yaml language: ruby cache: bundler rvm: - 2.3 - 2.4 - 2.5 - 2.6 script: - bundle exec jekyll build - rake 'draft[Hello\, world]' - rake undraft[hello-world.md] - grep johnotander/pixyll _site/index.html - grep post-title _site/index.html - grep pagination-item _site/index.html - grep johnotande...
```yaml language: ruby cache: bundler rvm: - 2.4 - 2.5 - 2.6 script: - bundle exec jekyll build - rake 'draft[Hello\, world]' - rake undraft[hello-world.md] - grep johnotander/pixyll _site/index.html - grep post-title _site/index.html - grep pagination-item _site/index.html - grep johnotander/pixyl...
f66b6148-1f95-41f9-a2e7-5cdbdc50dcba
{ "language": "YAML" }
```yaml vcs: git prerequisites: - working-copy-check - display-last-changes - composer-json-check: composer: composer - command: cmd: composer update - tests-check: command: vendor/bin/phpunit --stop-on-failure - composer-security-check - composer-stability-check - command: cmd:...
```yaml vcs: git prerequisites: - working-copy-check - display-last-changes - composer-json-check: composer: composer - command: cmd: composer update - tests-check: command: phpunit --stop-on-failure - composer-security-check - composer-stability-check - command: cmd: git remote...
562b77ec-6c75-47c2-a3ea-a44041a4bf1a
{ "language": "YAML" }
```yaml dist: trusty sudo: required env: matrix: - TEST_TARGET: test-debian - TEST_TARGET: test-alpine before_install: - sudo apt-get remove docker docker-engine - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - - sudo add-apt-repository "deb [arch=amd64] https://download.dock...
```yaml dist: trusty sudo: required env: matrix: - TEST_TARGET: test-debian - TEST_TARGET: test-alpine before_install: - sudo apt-get -y remove docker docker-engine docker-ce - sudo rm /etc/apt/sources.list.d/docker.list - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - - su...
247edc44-dc2b-4bb3-9a7c-3ac73993754f
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - 2.1.1 - 2.1.2 - jruby-19mode ``` Configure Travis for better build performance
```yaml sudo: false language: ruby cache: bundler rvm: - 1.9.3 - 2.0.0 - 2.1.0 - 2.1.1 - 2.1.2 - jruby-19mode ```
ead99960-99a5-4751-a5e2-440c159ef1c0
{ "language": "YAML" }
```yaml sudo: false language: go before_script: - go get -u golang.org/x/tools/cmd/vet - go get -u github.com/golang/lint/golint go: tip script: - test -z "$(gofmt -s -l -w ./autorest/. | tee /dev/stderr)" - test -z "$(golint ./... | grep -v 'should have comment' | grep -v 'stutters' | tee /dev/stderr)" -...
```yaml sudo: false language: go before_script: - go get -u golang.org/x/tools/cmd/vet - go get -u github.com/golang/lint/golint go: 1.5 script: - test -z "$(gofmt -s -l -w ./autorest/. | tee /dev/stderr)" - test -z "$(golint ./... | grep -v 'should have comment' | grep -v 'stutters' | tee /dev/stderr)" -...
8584e470-e4d0-47d3-a6b0-42b9d70fba4c
{ "language": "YAML" }
```yaml language: node_js node_js: - "5" - "4" - "0.12" - "0.10" addons: apt: sources: - ubuntu-toolchain-r-test packages: - gcc-4.8 - g++-4.8 - libsnappy-dev - realpath install: - export CC="gcc-4.8" - export CXX="g++-4.8" - mkdir deps ...
```yaml language: node_js node_js: - "6" - "5" - "4" - "0.12" - "0.10" addons: apt: sources: - ubuntu-toolchain-r-test packages: - gcc-4.8 - g++-4.8 - libsnappy-dev - realpath install: - export CC="gcc-4.8" - export CXX="g++-4.8" - mkdir ...
934032db-11d3-41c4-a6a0-1b64de92c882
{ "language": "YAML" }
```yaml language: node_js node_js: - "6" - "5" - "4" - "0.12" - "0.10" ``` Remove 0.10 and 0.12 tests
```yaml language: node_js node_js: - "6" - "5" - "4" ```
735da303-2bec-4cd0-91b7-1f2e08c21e85
{ "language": "YAML" }
```yaml language: clojure notifications: irc: "jcsi.ms#qualityclj" ``` Use a notice instead of join/message.
```yaml language: clojure notifications: irc: channels: - "jcsi.ms#qualityclj" use_notice: true ```
c7472166-2b37-4c29-9935-5b1512748d86
{ "language": "YAML" }
```yaml dist: trusty language: node_js node_js: - 8 - 6 - 4 before_install: - yarn global add greenkeeper-lockfile@1 - npm install -g npm@5 - npm install -g greenkeeper-lockfile@1 install: - npm install before_script: greenkeeper-lockfile-update script: npm run build # Only the node version 6 job will u...
```yaml dist: trusty language: node_js node_js: - 8 - 6 - 4 before_install: - yarn global add greenkeeper-lockfile@1 - npm install -g npm@5 - npm install -g greenkeeper-lockfile@1 install: - npm install before_script: greenkeeper-lockfile-update script: npm run build # Only the node version 6 job will u...
4f2302ab-7ebb-45e6-aaeb-b98d1a6aa96b
{ "language": "YAML" }
```yaml language: ruby rvm: - "1.9.2" - "1.9.3" # - jruby-19mode # JRuby in 1.9 mode - Sinatra fails. Disabled on Mar/15'13 # Disabled for the time being, see https://github.com/dmytro/nagira/issues/9 # - rbx-19mode env: - RACK_ENV=test branches: only: - master script: bundle exec rspec spec ``` Add rub...
```yaml language: ruby rvm: - "1.9.2" - "1.9.3" - "2.0.0" # - jruby-19mode # JRuby in 1.9 mode - Sinatra fails. Disabled on Mar/15'13 # Disabled for the time being, see https://github.com/dmytro/nagira/issues/9 # - rbx-19mode env: - RACK_ENV=test branches: only: - master script: bundle exec rspec spec ...
a6d3d1e0-1727-4726-970c-316fe7b46286
{ "language": "YAML" }
```yaml language: python python: - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" - "3.6-dev" - "3.7-dev" - "nightly" install: - "pip install -r requirements.txt" script: - robot --exclude skip --pythonpath src tests ``` Drop support for Python 3.3 (EOL) in Travis
```yaml language: python python: - "2.7" - "3.4" - "3.5" - "3.6" - "3.6-dev" - "3.7-dev" - "nightly" install: - "pip install -r requirements.txt" script: - robot --exclude skip --pythonpath src tests ```
8992e7af-8950-47f4-b38d-02853415b2d0
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.10" notifications: email: false before_install: - npm install -g grunt-cli before_script: - grunt sudo: false ``` Use NodeJS 5.1 as Travis engine.
```yaml language: node_js node_js: - "5.1" notifications: email: false before_install: - npm install -g grunt-cli before_script: - grunt sudo: false ```
10b24a9d-a447-483a-94c2-ed921e83b057
{ "language": "YAML" }
```yaml name: Deploy documentation on: push: branches: - master jobs: deploy_github_pages: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: node-version: '12.x' - name: Get npm cache directory id: npm-cache run...
```yaml name: Deploy documentation on: push: branches: - master jobs: deploy_github_pages: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: node-version: '12.x' - name: Get npm cache directory id: npm-cache run...
57ae127d-7bfe-4400-9f74-505a7a07b7a6
{ "language": "YAML" }
```yaml # # DO NOT EDIT THIS FILE # # It is automatically copied from https://github.com/pion/.goassets repository. # If this repository should have package specific CI config, # remove the repository name from .goassets/.github/workflows/assets-sync.yml. # # If you want to update the shared CI config, send a PR to # h...
```yaml # # DO NOT EDIT THIS FILE # # It is automatically copied from https://github.com/pion/.goassets repository. # If this repository should have package specific CI config, # remove the repository name from .goassets/.github/workflows/assets-sync.yml. # # If you want to update the shared CI config, send a PR to # h...
23d63c97-c8dd-4a48-907d-408f04a505c5
{ "language": "YAML" }
```yaml language: python python: - "pypy" - 2.7 - 3.3 - 3.4 - 3.5 - 3.6 install: - pip install coveralls script: - coverage run --source=jsonmerge setup.py test after_success: - coveralls ``` Add Python 3.7, remove 3.3 test from Travis.
```yaml dist: xenial language: python python: - "pypy" - 2.7 - 3.4 - 3.5 - 3.6 - 3.7 install: - pip install coveralls script: - coverage run --source=jsonmerge setup.py test after_success: - coveralls ```
003fa5e2-5cf0-48f5-ad37-d8a8f89efd87
{ "language": "YAML" }
```yaml sudo: false language: node_js node_js: - "0.11" - "0.10" - "0.12" - iojs before_install: - npm update -g npm - npm install -g bob coveralls --loglevel error script: - bob build - cat .bob/coverage/buster-istanbul/lcov.info | coveralls ``` Update Travis config to latest. Upgrade gcc to 4.8, stop...
```yaml sudo: false language: node_js node_js: - "0.10" - "0.11" - "0.12" - "4.0" - "4.1" env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 before_install: - npm install -g bob coveralls --loglevel error script: - DEBUG=canihaz bob build - cat...
e318bc91-4ce8-4c18-b536-df09dc10f883
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.2.2 script: - bundle exec rspec - bundle exec rubocop install: bundle install --jobs=3 --retry=3 sudo: false ``` Add Ruby 2.3, 2.4 for testing on Travis
```yaml language: ruby rvm: - 2.2.2 - 2.3 - 2.4 script: - bundle exec rspec - bundle exec rubocop install: bundle install --jobs=3 --retry=3 sudo: false ```
ee849754-eb25-49d8-a937-b565730448f5
{ "language": "YAML" }
```yaml # Configuration for CI build language: java jdk: - openjdk7 - oraclejdk7 - oraclejdk8 ``` Revert "Also test against openjdk7 and oraclejdk7 (in addition to oraclejdk8)"
```yaml # Configuration for CI build language: java jdk: - oraclejdk8 ```
7199ee9a-2ec3-4658-82d9-b9597a087f0d
{ "language": "YAML" }
```yaml --- name: Check new exporter releases on: schedule: - cron: "15 8,16 * * *" # Allows you to run this workflow manually from the Actions tab workflow_dispatch: jobs: check_new_releases: runs-on: ubuntu-20.04 steps: - name: Checkout repository uses: actions/checkout@v3 ...
```yaml --- name: Check new exporter releases on: schedule: - cron: "15 8,16 * * *" # Allows you to run this workflow manually from the Actions tab workflow_dispatch: jobs: check_new_releases: runs-on: ubuntu-22.04 steps: - name: Checkout repository uses: actions/checkout@v3 ...
5534b880-7e03-41c1-b9e0-c3ee6e3d88c0
{ "language": "YAML" }
```yaml network.host: 0.0.0.0 # this value is required because we set "network.host" # be sure to modify it appropriately for a production cluster deployment discovery.zen.minimum_master_nodes: 1 ``` Fix groovy script popup error un Kibana
```yaml network.host: 0.0.0.0 # this value is required because we set "network.host" # be sure to modify it appropriately for a production cluster deployment discovery.zen.minimum_master_nodes: 1 script.inline: true ```
ba8e23c2-d731-401f-b5fb-8942f072de87
{ "language": "YAML" }
```yaml language: node_js node_js: "0.10" install: - mkdir nsq - curl -s 'https://s3.amazonaws.com/bitly-downloads/nsq/nsq-0.3.2.linux-amd64.go1.4.1.tar.gz' | tar --strip-components 1 -C nsq -xvz - npm install before_script: - nsq/bin/nsqlookupd >/dev/null 2>&1 & - nsq/bin/nsqd -lookupd-tcp-address=localho...
```yaml language: node_js node_js: "0.10" install: - mkdir nsq - curl -s 'https://s3.amazonaws.com/bitly-downloads/nsq/nsq-0.3.2.linux-amd64.go1.4.1.tar.gz' | tar --strip-components 1 -C nsq -xvz - npm install before_script: - nsq/bin/nsqlookupd >/dev/null 2>&1 & - nsq/bin/nsqd -lookupd-tcp-address=localho...
8df40c68-13dc-4737-a897-7272db9df951
{ "language": "YAML" }
```yaml before_install: - sudo apt-get -qq update compiler: - clang install: - wget https://github.com/uncrustify/uncrustify/archive/uncrustify-0.61.tar.gz -O /tmp/uncrustify.tar.gz - tar zxvf /tmp/uncrustify.tar.gz - pushd uncrustify-uncrustify-0.61 && ./configure --prefix=/usr && make && sudo make...
```yaml before_install: - sudo apt-get -qq update compiler: - clang - gcc install: - wget https://github.com/uncrustify/uncrustify/archive/uncrustify-0.61.tar.gz -O /tmp/uncrustify.tar.gz - tar zxvf /tmp/uncrustify.tar.gz - pushd uncrustify-uncrustify-0.61 && ./configure --prefix=/usr && make &&...
a636db46-d374-4068-be89-262349306bb8
{ "language": "YAML" }
```yaml # brian's standard Travis CI config for Perl 5 modules # https://github.com/briandfoy/brians_perl_modules_travis_config # This file is licensed under the Artistic License 2.0 sudo: false language: perl perl: - "5.10" - "5.12" - "5.14" - "5.16" - "5.18" - "5.20" - "5.22" - "5.24...
```yaml # brian's standard Travis CI config for Perl 5 modules # https://github.com/briandfoy/brians_perl_modules_travis_config # This file is licensed under the Artistic License 2.0 sudo: false language: perl perl: - "5.10" - "5.12" - "5.14" - "5.16" - "5.18" - "5.20" - "5.22" - "5.24...
cb059494-a7a9-447f-9552-81135a3e0bdf
{ "language": "YAML" }
```yaml language: c # whatever install: sudo apt-get install -qq --no-install-recommends curl devscripts git libyaml-perl man-db perl script: make all maintainer-check check && sudo make install && sudo make uninstall ``` Call apt-get update in Travis CI configuration
```yaml language: c # whatever before_install: sudo apt-get update install: sudo apt-get install -qq --no-install-recommends curl devscripts git libyaml-perl man-db perl script: make all maintainer-check check && sudo make install && sudo make uninstall ```
44b4499e-8627-4694-81cc-9e403b8aed27
{ "language": "YAML" }
```yaml language: python python: - 3.4 install: - gem install scss-lint - pip install flake8 - npm install script: - npm test ``` Add dependencies installation to Travis build
```yaml language: python python: - 3.4 install: - gem install scss-lint - pip install flake8 - pip install -r requirements.txt - npm install script: - npm test ```
6081df53-2038-496e-b9bc-837c0899fbcb
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.8.7 - 1.9.3 - 2.0.0 ``` Set up test DB before running tests.
```yaml language: ruby rvm: - 1.8.7 - 1.9.3 - 2.0.0 before_script: "pushd spec/dummy && RAILS_ENV=test bundle exec rake db:create; popd" ```
66cc99f0-1c5f-4546-bd29-30cf0d70f92c
{ "language": "YAML" }
```yaml language: php php: - 5.6 env: - MONGO_DRIVER=mongo matrix: include: - php: 5.6 env: MONGO_DRIVER=mongo COMPOSER_FLAGS='--prefer-lowest --prefer-stable' - php: 7.0 env: ADAPTER_VERSION="^1.0.0" MONGO_DRIVER=mongodb sudo: false cache: directories: - $HOME/.composer/cache serv...
```yaml language: php sudo: false php: - 5.6 - 7.0 - 7.1 env: global: - DRIVER_VERSION="stable" - ADAPTER_VERSION="^1.0.0" matrix: include: - php: 5.6 env: DRIVER_VERSION="1.5.8" PREFER_LOWEST="--prefer-lowest" cache: directories: - $HOME/.composer/cache services: mongodb install...
7ac51b2f-e605-4d30-b1ce-2ff4e52e3501
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 - 2.0 - 2.1 - 2.2 - jruby-19mode # JRuby in 1.9 mode - rbx-2 before_install: - gem update bundler gemfile: - gemfiles/3.2.gemfile - gemfiles/4.0.gemfile - gemfiles/4.1.gemfile - gemfiles/4.2.gemfile matrix: exclude: - rvm: rbx gemfile: gemfiles/4....
```yaml language: ruby rvm: - 1.9.3 - 2.0 - 2.1 - 2.2 - jruby-19mode # JRuby in 1.9 mode - rbx-2 before_install: - gem update bundler gemfile: - gemfiles/3.2.gemfile - gemfiles/4.0.gemfile - gemfiles/4.1.gemfile - gemfiles/4.2.gemfile matrix: exclude: - rvm: rbx gemfile: gemfiles/4....
15883ed4-a7e2-43f8-b9a6-3b26edfd47ea
{ "language": "YAML" }
```yaml box: pjvds/golang@1.0.1``` Add redis service with environment variables
```yaml box: pjvds/golang@1.0.1 services: - wercker/redis@0.0.8 build: steps: - script: name: set environment variables code: export REDIS_ADDR=$WERCKER_REDIS_URL ```
510ad7c0-b473-4cbe-8ff1-53500d1f4ead
{ "language": "YAML" }
```yaml --- version: '2.2' services: redis: build: context: ../ dockerfile: docker/redis/Dockerfile command: redis-server ports: - 6379:6379 base: build: context: ../ dockerfile: docker/base/Dockerfile worker: build: context: ../ dockerfile: docker/wor...
```yaml --- version: '2.2' services: redis: build: context: ../ dockerfile: docker/redis/Dockerfile command: redis-server # ports: # - 6379:6379 networks: - default base: build: context: ../ dockerfile: docker/base/Dockerfile worker: build: context...
d52e1f66-e718-45b1-bdde-1e4d00947b16
{ "language": "YAML" }
```yaml box: wercker/nodejs build: steps: - npm-install deploy: steps: - add-to-known_hosts: hostname: server.octohost.io - add-ssh-key: keyname: KEY - script: name: Push to octohost code: | git push $GIT_REMOTE master after-steps: - sherzberg/slac...
```yaml box: wercker/nodejs build: steps: - npm-install after-steps: - wantedly/pretty-slack-notify: webhook_url: $SLACK_WEBHOOK_URL deploy: steps: - add-to-known_hosts: hostname: server.octohost.io - add-ssh-key: keyname: KEY - script: name: Push to octohost ...