doc_id
stringlengths
36
36
metadata
dict
input
stringlengths
28
4.3k
output
stringlengths
11
5.45k
52881379-4c29-496a-a42a-133de7acedd0
{ "language": "YAML" }
```yaml version: '2' services: bugzilla: image: uneet/bugzilla restart: on-failure ports: - 8081:80 environment: SES_VERIFIED_SENDER: bugzilla.dev@unee-t.com MYSQL_HOST: db.dev.unee-t.com MYSQL_PORT: 3306 MYSQL_ROOT_PASSWORD: jai7Paib MYSQL_DATABASE: bugzilla MYSQL_USER: root MYSQL_PASSWORD: jai7Paib ``` Reset file for local development
```yaml version: '2' services: bugzilla: image: uneet/bugzilla restart: on-failure ports: - 8081:80 environment: # Setup by local .env file SES_SMTP_USERNAME: ${SES_SMTP_USERNAME} SES_SMTP_PASSWORD: ${SES_SMTP_PASSWORD} SES_VERIFIED_SENDER: ${SES_VERIFIED_SENDER} MYSQL_HOST: ${MYSQL_HOST} MYSQL_PORT: ${MYSQL_PORT} MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD} MYSQL_DATABASE: ${MYSQL_DATABASE} MYSQL_USER: ${MYSQL_USER} MYSQL_PASSWORD: ${MYSQL_PASSWORD} depends_on: - db volumes: - ./custom:/opt/bugzilla/template/en/custom - ./skin:/opt/bugzilla/skins/contrib/skin networks: - network db: image: mariadb ports: - 3306:3306 environment: MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD} MYSQL_DATABASE: ${MYSQL_DATABASE} MYSQL_USER: ${MYSQL_USER} MYSQL_PASSWORD: ${MYSQL_PASSWORD} volumes: - ./mariadb:/var/lib/mysql - ./sql:/docker-entrypoint-initdb.d networks: - network adminer: image: adminer ports: - 8082:8082 depends_on: - db networks: - network meteor: image: ulexus/meteor ports: - "8080:80" networks: - network environment: - BUNDLE_URL=https://unee-t-media.s3-accelerate.amazonaws.com/2017-08-31/unee-t-fe.tar.gz - ROOT_URL=http://local.unee-t.com - BUGZILLA_URL=http://bugzilla - BUGZILLA_ADMIN_KEY=I6zRu7bPak687rcIBCkNbFKblfRXPn2X3xgEFz99 - MONGO_URL=mongodb://mongo:27017/mydatabase mongo: image: mongo ports: - "27017:27017" networks: - network networks: network: driver: bridge ```
0b85f76b-190b-4f3a-a791-0d43eb6a87de
{ "language": "YAML" }
```yaml collectd: build: apps/collectd command: /bin/bash -c "service collectd stop; sleep 45; collectd -f" links: - kairosdb kairosdb: build: apps/kairosdb command: /bin/bash -c "sleep 30; /opt/kairosdb/bin/kairosdb.sh run" ports: - "4242:4242" - "8080:8080" links: - cassandra cassandra: image: jimthedev/cassandra hostname: cassandra ports: - "9042:9042" - "9160:9160" ``` Remove sleeps from compose configuration
```yaml collectd: build: apps/collectd command: /bin/bash -c "collectd -f" links: - kairosdb kairosdb: build: apps/kairosdb command: /bin/bash -c "/opt/kairosdb/bin/kairosdb.sh run" ports: - "4242:4242" - "8080:8080" links: - cassandra cassandra: image: jimthedev/cassandra hostname: cassandra ports: - "9042:9042" - "9160:9160" ```
303e787d-1893-44b7-9078-f5adc2a51371
{ "language": "YAML" }
```yaml version: '2' services: master: container_name: 'citus_master' image: 'citusdata/citus:5.2.2' ports: ['5432:5432'] labels: ['com.citusdata.role=Master'] worker: image: 'citusdata/citus:5.2.2' labels: ['com.citusdata.role=Worker'] config: container_name: 'citus_config' image: 'citusdata/workerlist-gen:0.9.0' volumes: ['/var/run/docker.sock:/tmp/docker.sock'] volumes_from: ['master'] ``` Use latest workerlist generation image
```yaml version: '2' services: master: container_name: 'citus_master' image: 'citusdata/citus:5.2.2' ports: ['5432:5432'] labels: ['com.citusdata.role=Master'] worker: image: 'citusdata/citus:5.2.2' labels: ['com.citusdata.role=Worker'] config: container_name: 'citus_config' image: 'citusdata/workerlist-gen:1.0.0' volumes: ['/var/run/docker.sock:/tmp/docker.sock'] volumes_from: ['master'] ```
2ad47979-3134-40d4-b9cb-b2ec996cf91a
{ "language": "YAML" }
```yaml name: PHP Mutation testing on: push: branches: [ main ] jobs: test: runs-on: 'ubuntu-latest' steps: - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: '8.1' - uses: actions/checkout@v2 with: fetch-depth: 0 - name: Validate composer.json and composer.lock run: composer validate --strict - name: Cache Composer packages id: composer-cache uses: actions/cache@v2 with: path: vendor key: ${{ runner.os }}-php-8.1-${{ hashFiles('**/composer.lock') }} restore-keys: | ${{ runner.os }}-php-8.1 - name: Install dependencies run: composer install --prefer-dist --no-progress - name: Run test suite run: ./vendor/bin/infection --threads=2``` Archive a copy of the mutation log results
```yaml name: PHP Mutation testing on: push: branches: [ main ] jobs: test: runs-on: 'ubuntu-latest' steps: - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: '8.1' - uses: actions/checkout@v2 with: fetch-depth: 0 - name: Validate composer.json and composer.lock run: composer validate --strict - name: Cache Composer packages id: composer-cache uses: actions/cache@v2 with: path: vendor key: ${{ runner.os }}-php-8.1-${{ hashFiles('**/composer.lock') }} restore-keys: | ${{ runner.os }}-php-8.1 - name: Install dependencies run: composer install --prefer-dist --no-progress - name: Run test suite run: ./vendor/bin/infection --threads=2 - name: Archive mutation results uses: actions/upload-artifact@v2 with: name: Mutation log path: infection.log```
d3918ab5-0ee0-4600-af27-0e9315272660
{ "language": "YAML" }
```yaml template: url: https://github.com/LaunchCodeEducation/Template-Light # Base URL of the published website baseUrl: http://education.launchcode.org/cs50x-yourcitygoeshere # Used to link to the GitHub project github: user: LaunchCodeEducation repo: cs50x-yourcitygoeshere title: LaunchCode's CS50x - Your City # The left menu bar menu: items: calendar: text: Calendar # You can use relative urls relativeUrl: calendar/ howtotake: text: How To Take This Class relativeUrl: how-to-take-this-class/ helpfulresources: text: Helpful Resources relativeUrl: helpful-resources/ studentguide: text: ‹ Student Guide absoluteUrl: linktoyourstudentguidegoeshere attributes: target="_blank" vocareum: text: ‹ Vocareum absoluteUrl: http://labs.vocareum.com/main/ attributes: target="_blank" piazza: text: ‹ Piazza absoluteUrl: http://piazza.com/wustl/spring2016/cs50x attributes: target="_blank" ``` Add IDE link, move Student Guide down
```yaml template: url: https://github.com/LaunchCodeEducation/Template-Light # Base URL of the published website baseUrl: http://education.launchcode.org/cs50x-yourcitygoeshere # Used to link to the GitHub project github: user: LaunchCodeEducation repo: cs50x-yourcitygoeshere title: LaunchCode's CS50x - Your City # The left menu bar menu: items: calendar: text: Calendar # You can use relative urls relativeUrl: calendar/ howtotake: text: How To Take This Class relativeUrl: how-to-take-this-class/ helpfulresources: text: Helpful Resources relativeUrl: helpful-resources/ ide: text: CS50 IDE absoluteUrl: http://ide.cs50.io/ attributes: target="_blank" vocareum: text: Vocareum absoluteUrl: http://labs.vocareum.com/main/ attributes: target="_blank" piazza: text: Piazza absoluteUrl: http://piazza.com/wustl/spring2016/cs50x attributes: target="_blank" studentguide: text: Student Guide absoluteUrl: linktoyourstudentguidegoeshere attributes: target="_blank" ```
b9f71f79-8dc0-46b4-9d30-87c08defa36a
{ "language": "YAML" }
```yaml Neos: Flow: security: session: inactivityTimeout: 0 # Disable session timeout while developing ``` Use correct order for inactivitytimeout
```yaml Neos: Flow: session: inactivityTimeout: 0 # Disable session timeout while developing ```
d4f252fc-9a8c-4940-bc11-79b74019e862
{ "language": "YAML" }
```yaml --- - name: "Download wordpress" become: yes get_url: "url={{ storyteller_wp_file_url }}/{{ storyteller_wp_file }} dest=/srv/{{ storyteller_wp_file }} sha256sum='{{ storyteller_wp_sha256sum }}'" - name: "Extract archive" become: yes unarchive: "src=/srv/{{ storyteller_wp_file }} dest=/srv copy=no creates=/srv/wordpress" - name: "Detect if there is a wp-config file" become: yes stat: path=/srv/wordpress/wp-config.php register: wp_config - name: "Fetch salts for wordpress config" command: get_url https://api.wordpress.org/secret-key/1.1/salt/ register: "wp_salt" when: not wp_config.stat.exists - name: "Copy Wordpress config" become: yes template: src=wp-config.php dest=/srv/wordpress/ when: not wp_config.stat.exists - name: "Change ownership of Wordpress installation" become: yes file: path=/srv/wordpress/ owner=www-data group=www-data state=directory recurse=yes ``` Revert "replaced curl with get_url"
```yaml --- - name: "Download wordpress" become: yes get_url: "url={{ storyteller_wp_file_url }}/{{ storyteller_wp_file }} dest=/srv/{{ storyteller_wp_file }} sha256sum='{{ storyteller_wp_sha256sum }}'" - name: "Extract archive" become: yes unarchive: "src=/srv/{{ storyteller_wp_file }} dest=/srv copy=no creates=/srv/wordpress" - name: "Detect if there is a wp-config file" become: yes stat: path=/srv/wordpress/wp-config.php register: wp_config - name: "Fetch salts for wordpress config" command: curl https://api.wordpress.org/secret-key/1.1/salt/ register: "wp_salt" when: not wp_config.stat.exists - name: "Copy Wordpress config" become: yes template: src=wp-config.php dest=/srv/wordpress/ when: not wp_config.stat.exists - name: "Change ownership of Wordpress installation" become: yes file: path=/srv/wordpress/ owner=www-data group=www-data state=directory recurse=yes ```
365b7b94-3a26-4571-9364-b82144fd147c
{ "language": "YAML" }
```yaml - apt: name: tshark - lineinfile: path: /usr/share/wireshark/init.lua regexp: '^disable_lua =' line: 'disable_lua = true' ``` Add wireshark group and grant execute tshark to wireshark group.
```yaml - apt: name: tshark - lineinfile: path: /usr/share/wireshark/init.lua regexp: '^disable_lua =' line: 'disable_lua = true' - group: name: wireshark state: present - file: path: /usr/bin/dumpcap group: wireshark mode: 0750 - capabilities: path: /usr/bin/dumpcap capability: - cap_net_raw - cap_net_admin=eip state: present ```
03b4362e-fe05-4e1e-8b50-d65536b38ecc
{ "language": "YAML" }
```yaml # Docker image to use. image: gcr.io/tf-on-k8s-dogfood/tf_operator:10b10fd test_image: gcr.io/tf-on-k8s-dogfood/tf_sample:dc944ff ## Install Default RBAC roles and bindings rbac: install: false apiVersion: v1beta1``` Update the tfjob image to the latest green CL.
```yaml # Docker image to use. image: gcr.io/tf-on-k8s-dogfood/tf_operator:v20171019-7a05c26 test_image: gcr.io/tf-on-k8s-dogfood/tf_sample:dc944ff ## Install Default RBAC roles and bindings rbac: install: false apiVersion: v1beta1 ```
e9305916-12f3-4fda-8a8a-7563a717eb03
{ "language": "YAML" }
```yaml homepage: https://github.com/nikita-volkov/attoparsec-time changelog-type: '' hash: 7254ee92d32a5e9c95ac1f570b0a2cea34003428b01b2f50f9b96dd71339355d test-bench-deps: {} maintainer: Nikita Volkov <nikita.y.volkov@mail.ru> synopsis: Attoparsec parsers of time changelog: '' basic-deps: bytestring: ==0.10.* base: ! '>=4.9 && <5' time: ! '>=1.4 && <2' text: ! '>=1 && <2' attoparsec: ! '>=0.13 && <0.15' scientific: ==0.3.* all-versions: - '0.1' - 0.1.1 - 0.1.1.1 - 0.1.2 - 0.1.2.1 - 0.1.3 - 0.1.3.1 - 0.1.3.2 - 0.1.4 - '1' - 1.0.1 - 1.0.1.1 author: Nikita Volkov <nikita.y.volkov@mail.ru> latest: 1.0.1.1 description-type: haddock description: A collection of Attoparsec parsers for the \"time\" library license-name: MIT ``` Update from Hackage at 2021-06-26T09:00:12Z
```yaml homepage: https://github.com/nikita-volkov/attoparsec-time changelog-type: '' hash: 4b2e24e2ecf1787561428c2ef666a7f2f3e63cd190412afc8ad96176f303ba5f test-bench-deps: {} maintainer: Nikita Volkov <nikita.y.volkov@mail.ru> synopsis: Attoparsec parsers of time changelog: '' basic-deps: bytestring: '>=0.10 && <0.12' base: '>=4.9 && <5' time: '>=1.4 && <2' text: '>=1 && <2' attoparsec: '>=0.13 && <0.15' all-versions: - '0.1' - 0.1.1 - 0.1.1.1 - 0.1.2 - 0.1.2.1 - 0.1.3 - 0.1.3.1 - 0.1.3.2 - 0.1.4 - '1' - 1.0.1 - 1.0.1.1 - 1.0.1.2 author: Nikita Volkov <nikita.y.volkov@mail.ru> latest: 1.0.1.2 description-type: haddock description: A collection of Attoparsec parsers for the \"time\" library license-name: MIT ```
c62d70da-1f88-4066-8c06-4431b0e28b5a
{ "language": "YAML" }
```yaml name: Continous build - build and test on every push on: push jobs: build: name: Build and test runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, windows-latest] java-version: [8, 11] steps: - name: Checkout uses: actions/checkout@v1 with: submodules: true - name: Setup Java ${{ matrix.java-version }} uses: actions/setup-java@v1 with: java-version: ${{ matrix.java-version }} - name: Report Java version run: | java -version javac -version - name: Build with Ant run: ant test ``` Add build with Java 7 on Linux
```yaml name: Continous build - build and test on every push on: push jobs: build: name: Build and test runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, windows-latest] java-version: [8, 11] steps: - name: Checkout uses: actions/checkout@v1 with: submodules: true - name: Setup Java ${{ matrix.java-version }} uses: actions/setup-java@v1 with: java-version: ${{ matrix.java-version }} - name: Report Java version run: | java -version javac -version - name: Build with Ant run: ant test build_j7: name: Build and test on Java 7 runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v1 with: submodules: true - name: Setup Java 7 uses: actions/setup-java@v1 with: java-version: 7 - name: Report Java version run: | java -version javac -version - name: Setup Moxie run: | wget http://gitblit.github.io/moxie/maven/com/gitblit/moxie/moxie+ant/0.9.4/moxie+ant-0.9.4.tar.gz tar -xzf moxie+ant-0.9.4.tar.gz moxie-0.9.4/bin/moxie -version - name: Build with Moxie run: moxie-0.9.4/bin/moxie ```
1241acae-1ab0-4ed3-a11d-f17a9961a834
{ "language": "YAML" }
```yaml --- - name: disable password authentication over SSH copy: src=sshd_config dest=/etc/ssh/sshd_config owner=root group=root mode=0644 sudo: yes - name: trust github's public key lineinfile: dest: /etc/ssh/ssh_known_hosts create: yes state: present line: "{{ github_ssh_pubkey | replace(' ', '') | trim }}" regexp: "^github\\.com" sudo: yes - name: trust GitHub users authorized_key: user=core state=present key=https://github.com/{{ item }}.keys with_items: github_usernames ``` Tag the SSH key task.
```yaml --- - name: disable password authentication over SSH copy: src=sshd_config dest=/etc/ssh/sshd_config owner=root group=root mode=0644 sudo: yes - name: trust github's public key lineinfile: dest: /etc/ssh/ssh_known_hosts create: yes state: present line: "{{ github_ssh_pubkey | replace(' ', '') | trim }}" regexp: "^github\\.com" sudo: yes - name: trust GitHub users authorized_key: user=core state=present key=https://github.com/{{ item }}.keys with_items: github_usernames tags: keys ```
e26505c3-4ef1-4b9b-aedc-943ef5cbcc45
{ "language": "YAML" }
```yaml homepage: https://github.com/mouri111/ast-monad#readme changelog-type: '' hash: 677616d2b7ebc0787bc947577f5f40c9f0e2f5948eb39ea38682740af7784952 test-bench-deps: base: -any ast-monad: -any maintainer: 8128jp@gmail.com synopsis: A library for constructing AST by using do-notation changelog: '' basic-deps: base: ! '>=4.8 && <5' all-versions: - '0.1.0.0' author: Masato Mouri latest: '0.1.0.0' description-type: markdown description: ! '# ast-monad A library for constructing AST by using do-notation ' license-name: BSD3 ``` Update from Hackage at 2018-10-20T22:35:07Z
```yaml homepage: https://github.com/mouri111/ast-monad#readme changelog-type: '' hash: 43f0394c4465cfd294666ff976242093e8b5f4b0e0322055250cf8e26fb53e8c test-bench-deps: base: -any ast-monad: -any maintainer: 8128jp@gmail.com synopsis: A library for constructing AST by using do-notation changelog: '' basic-deps: base: ! '>=4.8 && <4.11' all-versions: - '0.1.0.0' author: Masato Mouri latest: '0.1.0.0' description-type: markdown description: ! '# ast-monad A library for constructing AST by using do-notation ' license-name: BSD3 ```
5eefa8b3-1549-4912-9418-4e8017b07aaf
{ "language": "YAML" }
```yaml Categories: - Time - Theming License: GPL-3.0-only WebSite: https://ashutoshgngwr.github.io/10-bitClockWidget SourceCode: https://github.com/ashutoshgngwr/10-bitClockWidget IssueTracker: https://github.com/ashutoshgngwr/10-bitClockWidget/issues AutoName: 10-bit Clock Widget Description: 10-bit Clock Widget uses 10 binary dots and their color to represent current time in 12-hour format. RepoType: git Repo: https://github.com/ashutoshgngwr/10-bitClockWidget.git Builds: - versionName: 1.6-1 versionCode: 161 commit: v1.6-1 subdir: 10-bitClockWidget/app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 1.6-1 CurrentVersionCode: 161 ``` Update 10-bit Clock Widget to 1.6-2 (162)
```yaml Categories: - Time - Theming License: GPL-3.0-only WebSite: https://ashutoshgngwr.github.io/10-bitClockWidget SourceCode: https://github.com/ashutoshgngwr/10-bitClockWidget IssueTracker: https://github.com/ashutoshgngwr/10-bitClockWidget/issues AutoName: 10-bit Clock Widget Description: 10-bit Clock Widget uses 10 binary dots and their color to represent current time in 12-hour format. RepoType: git Repo: https://github.com/ashutoshgngwr/10-bitClockWidget.git Builds: - versionName: 1.6-1 versionCode: 161 commit: v1.6-1 subdir: 10-bitClockWidget/app gradle: - yes - versionName: 1.6-2 versionCode: 162 commit: v1.6-2 subdir: 10-bitClockWidget/app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 1.6-2 CurrentVersionCode: 162 ```
9cbc9b88-3687-4712-b370-11c250a72c0f
{ "language": "YAML" }
```yaml teams: sig-instrumentation-leads: description: "" members: - brancz - dashpole - ehashman - logicalhan privacy: closed sig-instrumentation-approvers: description: "" members: - brancz - dashpole - ehashman - logicalhan - RainbowMango - serathius privacy: closed sig-instrumentation-members: description: "" members: - 44past4 - andyxning - brancz - coffeepac - danielqsj - dashpole - DirectXMan12 - ehashman - kawych - lilic - loburm - logicalhan - piosz - RainbowMango - serathius - s-urbaniak - tariq1890 - x13n - zouyee privacy: closed ``` Remove inactive SIG Instrumentation members
```yaml teams: sig-instrumentation-leads: description: "" members: - brancz - dashpole - ehashman - logicalhan privacy: closed sig-instrumentation-approvers: description: "" members: - brancz - dashpole - ehashman - logicalhan - RainbowMango - serathius privacy: closed sig-instrumentation-members: description: "" members: - 44past4 - andyxning - brancz - coffeepac - dashpole - DirectXMan12 - ehashman - lilic - logicalhan - RainbowMango - s-urbaniak - serathius - tariq1890 privacy: closed ```
e14c78c0-6bdc-4b78-9373-5aca7649cb24
{ "language": "YAML" }
```yaml - name: Articles href: articles/ - name: API Documentation href: api/ homepage: api/index.md - name: Changelog href: /RELEASE_NOTES.html - name: GitHub href: https://github.com/nickbabcock/Farmhash.Sharp``` Fix link to release notes
```yaml - name: Articles href: articles/ - name: API Documentation href: api/ homepage: api/index.md - name: Changelog href: ../RELEASE_NOTES.md - name: GitHub href: https://github.com/nickbabcock/Farmhash.Sharp```
77ec066c-6ec2-4cc9-955a-ec2f344b5170
{ "language": "YAML" }
```yaml parameters: darvin_utils.sluggable.manager.entity.class: Darvin\Utils\Sluggable\SluggableEntityManager darvin_utils.sluggable.subscriber.class: Darvin\Utils\EventListener\SluggableSubscriber services: darvin_utils.sluggable.manager: alias: darvin_utils.sluggable.manager.entity darvin_utils.sluggable.manager.entity: class: %darvin_utils.sluggable.manager.entity.class% arguments: - "@darvin_utils.doctrine.orm.entity_manager_provider" - "@event_dispatcher" - "@darvin_utils.mapping.metadata_factory" - "@property_accessor" darvin_utils.sluggable.subscriber: class: %darvin_utils.sluggable.subscriber.class% public: false arguments: - "@darvin_utils.sluggable.manager" tags: - { name: doctrine.event_subscriber, priority: 200 } ``` Implement dummy publication slug prefix provider.
```yaml parameters: darvin_utils.sluggable.manager.entity.class: Darvin\Utils\Sluggable\SluggableEntityManager darvin_utils.sluggable.subscriber.class: Darvin\Utils\EventListener\SluggableSubscriber services: darvin_utils.sluggable.manager: alias: darvin_utils.sluggable.manager.entity darvin_utils.sluggable.manager.entity: class: %darvin_utils.sluggable.manager.entity.class% arguments: - "@service_container" - "@darvin_utils.doctrine.orm.entity_manager_provider" - "@event_dispatcher" - "@darvin_utils.mapping.metadata_factory" - "@property_accessor" darvin_utils.sluggable.subscriber: class: %darvin_utils.sluggable.subscriber.class% public: false arguments: - "@darvin_utils.sluggable.manager" tags: - { name: doctrine.event_subscriber, priority: 200 } ```
d4cc2e63-42c1-40fa-8a10-c96020379830
{ "language": "YAML" }
```yaml working_days: - monday - tuesday - wednesday - thursday - friday holidays: - January 1st, 2018 - January 2nd, 2018 - February 12th, 2018 - February 19th, 2018 - March 30th, 2018 - April 2nd, 2018 - May 21st, 2018 - June 21st, 2018 - June 25th, 2018 - July 2nd, 2018 - July 9th, 2018 - August 6th, 2018 - August 20th, 2018 - September 3rd, 2018 - October 8th, 2018 - November 12th, 2018 - December 25th, 2018 - December 26th, 2018 - January 1st, 2019 - January 2nd, 2019 - February 11th, 2019 - February 18th, 2019 - April 19th, 2019 - April 22nd, 2019 - May 20th, 2019 - June 21st, 2019 - June 24th, 2019 - July 1st, 2019 - July 9th, 2019 - August 5th, 2019 - August 19th, 2019 - September 2nd, 2019 - October 14th, 2019 - November 11th, 2019 - December 25th, 2019 - December 26th, 2019 ``` Remove regional holiday days. Add 2020 calculated days
```yaml working_days: - monday - tuesday - wednesday - thursday - friday holidays: - January 1st, 2018 - March 30th, 2018 - May 21st, 2018 - July 2nd, 2018 - September 3rd, 2018 - October 8th, 2018 - November 12th, 2018 - December 25th, 2018 - December 26th, 2018 - January 1st, 2019 - April 19th, 2019 - May 20th, 2019 - July 1st, 2019 - September 2nd, 2019 - October 14th, 2019 - November 11th, 2019 - December 25th, 2019 - December 26th, 2019 - January 1st, 2020```
3e6cd2f1-bd12-4862-9885-b1582cf14fbd
{ "language": "YAML" }
```yaml version: 1.0.0-{build} init: - SET PATH=%PYTHON%;%PYTHON%\Scripts;C:\Program Files\PostgreSQL\12\bin\;%PATH% image: - Visual Studio 2019 - Ubuntu1804 - macos environment: PGUSER: postgres PGPASSWORD: Password12! matrix: - PYTHON: "C:\\Python38" PYTHON_VERSION: "3.8.1" PYTHON_ARCH: "32" - PYTHON: "C:\\Python38-x64" PYTHON_VERSION: "3.8.1" PYTHON_ARCH: "64" cache: - '%LOCALAPPDATA%\pip\Cache' # services: # - postgresql12 # https://github.com/appveyor/ci/issues/3299 install: - pip install --upgrade --requirement requirements.txt build_script: - net start postgresql-x64-12 - createdb harmonbot - echo CREATE USER harmonbot WITH PASSWORD :'pgpassword' | psql --variable=pgpassword="%PGPASSWORD%" test_script: - cd Discord && python Harmonbot.py - cd ../Telegram && python Telegram_Harmonbot.py ``` Create PostgreSQL USER as SUPERUSER
```yaml version: 1.0.0-{build} init: - SET PATH=%PYTHON%;%PYTHON%\Scripts;C:\Program Files\PostgreSQL\12\bin\;%PATH% image: - Visual Studio 2019 - Ubuntu1804 - macos environment: PGUSER: postgres PGPASSWORD: Password12! matrix: - PYTHON: "C:\\Python38" PYTHON_VERSION: "3.8.1" PYTHON_ARCH: "32" - PYTHON: "C:\\Python38-x64" PYTHON_VERSION: "3.8.1" PYTHON_ARCH: "64" cache: - '%LOCALAPPDATA%\pip\Cache' # services: # - postgresql12 # https://github.com/appveyor/ci/issues/3299 install: - pip install --upgrade --requirement requirements.txt build_script: - net start postgresql-x64-12 - createdb harmonbot - echo CREATE USER harmonbot SUPERUSER PASSWORD :'pgpassword' | psql --variable=pgpassword="%PGPASSWORD%" test_script: - cd Discord && python Harmonbot.py - cd ../Telegram && python Telegram_Harmonbot.py ```
dcedbf88-dd16-4184-9402-e71dc0201495
{ "language": "YAML" }
```yaml --- platforms: ubuntu1404: build_flags: - "--build_tag_filters=-nolinux" build_targets: - "..." test_flags: - "--features=race" - "--test_tag_filters=-nolinux" test_targets: - "..." ubuntu1604: build_flags: - "--build_tag_filters=-nolinux" build_targets: - "..." test_flags: - "--features=race" - "--test_tag_filters=-nolinux" test_targets: - "..." macos: build_flags: - "--build_tag_filters=-nomacos" build_targets: - "..." test_flags: - "--features=race" - "--test_tag_filters=-nomacos" test_targets: - "..." windows: build_flags: - "--build_tag_filters=-nowindows" build_targets: - "..." test_flags: - "--test_tag_filters=-nowindows" - "--experimental_enable_runfiles" test_targets: - "..." ``` Test on Ubuntu 18.04 not 14.04
```yaml --- platforms: ubuntu1804: build_flags: - "--build_tag_filters=-nolinux" build_targets: - "..." test_flags: - "--features=race" - "--test_tag_filters=-nolinux" test_targets: - "..." ubuntu1604: build_flags: - "--build_tag_filters=-nolinux" build_targets: - "..." test_flags: - "--features=race" - "--test_tag_filters=-nolinux" test_targets: - "..." macos: build_flags: - "--build_tag_filters=-nomacos" build_targets: - "..." test_flags: - "--features=race" - "--test_tag_filters=-nomacos" test_targets: - "..." windows: build_flags: - "--build_tag_filters=-nowindows" build_targets: - "..." test_flags: - "--test_tag_filters=-nowindows" - "--experimental_enable_runfiles" test_targets: - "..." ```
c1c8b7cd-8aef-4685-8e4b-9b021e295ff8
{ "language": "YAML" }
```yaml api: description: Start the api tasks: - 'cssmin:production' - 'buildJS' - 'uglify:production' - 'express:dev' - 'watch' buildJS: tasks: - 'babel' default: description: Default Grunt task tasks: - 'api' test: description: Run the tests tasks: - 'run:createTestUser' - 'express:test' - 'mochaTest' ``` Add grunt task for use in IDE to pre process css and js
```yaml api: description: Start the api tasks: - 'cssmin:production' - 'buildJS' - 'uglify:production' - 'express:dev' - 'watch' prep: description: Run pre processing tasks tasks: - 'cssmin:production' - 'buildJS' - 'uglify:production' buildJS: tasks: - 'babel' default: description: Default Grunt task tasks: - 'api' test: description: Run the tests tasks: - 'run:createTestUser' - 'express:test' - 'mochaTest' ```
40ae27d5-b4a2-4d48-b381-8a5e2e36f21d
{ "language": "YAML" }
```yaml # Definition of Spark service name: spark components: - name: zookeeper service: zookeeper - name: spark code: type: aptomi/code/kubernetes-helm metadata: chartName: spark-1.0.0 params: spark: image: repository: mirantisworkloads/spark tag: 2.1.0 master: replicas: 1 worker: replicas: 1 service: type: NodePort zookeeper: deployChart: false externalAddress: zk-{{ .Components.zookeeper.zookeeper }}-0.zk-{{ .Components.zookeeper.zookeeper }}:2181 dependencies: - zookeeper ``` Fix multiple Sparks using single ZooKeeper
```yaml # Definition of Spark service name: spark components: - name: zookeeper service: zookeeper - name: spark code: type: aptomi/code/kubernetes-helm metadata: chartName: spark-1.0.0 params: spark: image: repository: mirantisworkloads/spark tag: 2.1.0 master: replicas: 1 worker: replicas: 1 service: type: NodePort zookeeper: deployChart: false externalAddress: zk-{{ .Components.zookeeper.zookeeper }}-0.zk-{{ .Components.zookeeper.zookeeper }}:2181 path: /{{ .ComponentInstance }} dependencies: - zookeeper ```
eefd27f1-06d2-48ac-8af3-c7ce5e59d95d
{ "language": "YAML" }
```yaml --- steps: - label: coverage commands: - bundle install --jobs=7 --retry=3 --without tools integration - bundle exec rake test:default expeditor: executor: docker: image: ruby:2.6-stretch ``` Use our coverage.sh rather than embedded commands
```yaml --- steps: - label: coverage commands: - /workdir/.expeditor/buildkite/coverage.sh expeditor: executor: docker: image: ruby:2.6-stretch ```
5b436c1d-f02e-4041-9a25-a19c8a415f10
{ "language": "YAML" }
```yaml --- new_page_extension: md auto_deploy: false admin_path: "/static/admin" webhook_url: sections: - type: heading label: Blog - type: directory path: content/blog label: Billets create: documents match: "**/*" new_doc_ext: md templates: - billet - type: directory path: content/tags label: Tags create: documents match: "**/*" exclude: index.md new_doc_ext: md - type: heading label: Site - type: directory path: content label: Pages create: all match: "*" new_doc_ext: md - type: directory path: content/projets label: Projets create: documents match: "**/*" exclude: index.md new_doc_ext: md - type: heading label: Configuration - type: document path: config.yml label: Site upload_dir: static/images public_path: "/images" front_matter_path: '' use_front_matter_path: false file_template: ":filename:" build: preview_env: - PHP_VERSION=7.2 preview_output_directory: _site install_dependencies_command: bash .forestry/install.sh preview_docker_image: composer:latest mount_path: "/usr/src" working_dir: "/usr/src" instant_preview_command: php cecil.phar serve -d --host=0.0.0.0 --port=8080 ``` Update from Forestry.io - Updated Forestry configuration
```yaml --- new_page_extension: md auto_deploy: false admin_path: "/static/admin" webhook_url: sections: - type: heading label: Blog - type: directory path: content/blog label: Billets create: documents match: "**/*" exclude: index.md new_doc_ext: md templates: - billet - type: directory path: content/tags label: Tags create: documents match: "**/*" exclude: index.md new_doc_ext: md - type: heading label: Site - type: directory path: content label: Pages create: all match: "*" new_doc_ext: md - type: directory path: content/projets label: Projets create: documents match: "**/*" exclude: index.md new_doc_ext: md - type: heading label: Configuration - type: document path: config.yml label: Site upload_dir: static/images public_path: "/images" front_matter_path: '' use_front_matter_path: false file_template: ":filename:" build: preview_env: - PHP_VERSION=7.2 preview_output_directory: _site install_dependencies_command: bash .forestry/install.sh preview_docker_image: composer:latest mount_path: "/usr/src" working_dir: "/usr/src" instant_preview_command: php cecil.phar serve -d --host=0.0.0.0 --port=8080 ```
5371a214-6327-494e-8a32-6a5052fdb3c1
{ "language": "YAML" }
```yaml --- new_page_extension: md auto_deploy: false admin_path: webhook_url: sections: - type: document path: _data/nav.yml label: 文档 - type: heading label: 博客 - 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 jekyll-bliss; bundle install --path vendor/bundle preview_docker_image: forestryio/ruby:2.6 mount_path: "/srv" working_dir: "/srv" instant_preview_command: bliss s --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: _data/nav.yml label: 文档 - type: heading label: 博客 - 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: bliss s --drafts --unpublished --future --port 8080 --host 0.0.0.0 -d _site ```
72ecdd53-5362-4ff7-b6e2-4e17b55bfae7
{ "language": "YAML" }
```yaml apiVersion: extensions/v1beta1 kind: Deployment metadata: name: myapp labels: app: myapp spec: replicas: 3 template: metadata: labels: app: myapp spec: containers: - name: myapp image: rosskukulinski/myapp:v2 env: - name: NSOLID_APPNAME value: myapp - name: NSOLID_HUB value: "nsolid-registry.nsolid:4001" - name: NSOLID_SOCKET value: "8000" - name: NSOLID_TAGS value: "nsolid-v1.3.1" - name: PORT value: "4444" ports: - containerPort: 4444 name: myapp - containerPort: 8000 name: nsolid ``` Use v4 version with vuln
```yaml apiVersion: extensions/v1beta1 kind: Deployment metadata: name: myapp labels: app: myapp spec: replicas: 3 template: metadata: labels: app: myapp spec: containers: - name: myapp image: rosskukulinski/myapp:v4 env: - name: NSOLID_APPNAME value: myapp - name: NSOLID_HUB value: "nsolid-registry.nsolid:4001" - name: NSOLID_SOCKET value: "8000" - name: NSOLID_TAGS value: "nsolid-v1.3.1" - name: PORT value: "4444" ports: - containerPort: 4444 name: myapp - containerPort: 8000 name: nsolid ```
4952c88b-618f-4b0d-85de-6bba47da4951
{ "language": "YAML" }
```yaml homepage: https://github.com/leftaroundabout/colour-space changelog-type: '' hash: 9f23033c897866cb5efc53a7a5ec989fffa6564655ddbc9ae12c6f4a79f7e66f test-bench-deps: {} maintainer: (@) jsag $ hvl.no synopsis: Instances of the manifold-classes for colour types changelog: '' basic-deps: linearmap-category: ! '>=0.3.5 && <0.3.6' JuicyPixels: ! '>=3.1 && <3.4' base: ! '>=4.7 && <5' vector-space: -any semigroups: -any manifolds: ! '>=0.4.5 && <0.6' lens: -any linear: -any colour: ! '>2 && <3' constrained-categories: -any call-stack: -any all-versions: - 0.1.0.0 - 0.1.1.0 - 0.1.2.0 - 0.1.3.0 - 0.1.4.0 - 0.1.5.0 author: Justus Sagemüller latest: 0.1.5.0 description-type: haddock description: '' license-name: GPL-3.0-only ``` Update from Hackage at 2019-10-15T10:28:38Z
```yaml homepage: https://github.com/leftaroundabout/colour-space changelog-type: '' hash: 479a78f9d2fd6462e6178be1182f3f04ca3e53730551f72b54e9d21481a1ba3f test-bench-deps: {} maintainer: (@) jsag $ hvl.no synopsis: Instances of the manifold-classes for colour types changelog: '' basic-deps: linearmap-category: ! '>=0.3.5' JuicyPixels: ! '>=3.1 && <3.4' base: ! '>=4.7 && <5' vector-space: -any semigroups: -any manifolds: ! '>=0.4.5 && <0.6' lens: -any linear: -any colour: ! '>2 && <3' constrained-categories: -any call-stack: -any all-versions: - 0.1.0.0 - 0.1.1.0 - 0.1.2.0 - 0.1.3.0 - 0.1.4.0 - 0.1.5.0 - 0.1.5.1 author: Justus Sagemüller latest: 0.1.5.1 description-type: haddock description: '' license-name: GPL-3.0-only ```
aa29ee6b-a075-4a8e-a062-fa054fa68fd1
{ "language": "YAML" }
```yaml homepage: '' changelog-type: '' hash: 14739f674376b05487d1cfd8e6d6803609e654e7dfaa146f7665a4936b783c5e test-bench-deps: base: ! '>=4 && <5' inline-c-cpp: -any maintainer: francesco@fpcomplete.com synopsis: Lets you embed C++ code into Haskell. changelog: '' basic-deps: inline-c: ! '>=0.6.0.0' base: ! '>=4.7 && <5' template-haskell: -any all-versions: - '0.1.0.0' - '0.2.0.0' - '0.2.0.1' - '0.2.0.2' author: Francesco Mazzoli latest: '0.2.0.2' description-type: haddock description: ! 'Utilities to inline C++ code into Haskell using inline-c. See tests for example on how to build.' license-name: MIT ``` Update from Hackage at 2017-08-15T15:46:37Z
```yaml homepage: '' changelog-type: '' hash: 144cb09c7c7a54538194bda3d02408f558a254438ad2be5259c775a7b1ae47f8 test-bench-deps: inline-c: -any base: ! '>=4 && <5' hspec: -any safe-exceptions: -any inline-c-cpp: -any maintainer: francesco@fpcomplete.com synopsis: Lets you embed C++ code into Haskell. changelog: '' basic-deps: inline-c: ! '>=0.6.0.0' base: ! '>=4.7 && <5' safe-exceptions: -any template-haskell: -any all-versions: - '0.1.0.0' - '0.2.0.0' - '0.2.0.1' - '0.2.0.2' - '0.2.1.0' author: Francesco Mazzoli latest: '0.2.1.0' description-type: haddock description: ! 'Utilities to inline C++ code into Haskell using inline-c. See tests for example on how to build.' license-name: MIT ```
d8cdc756-6eca-4c2a-9fee-cef9e31696b4
{ "language": "YAML" }
```yaml homepage: '' changelog-type: '' hash: 17d570bce9c004ec631527b0c352954e2e4e0f13614004647b4b66f1a9ebc00d test-bench-deps: either: -any base: <5.0 hspec: -any text: -any containers: -any product-profunctors: -any interpolator: -any mtl: -any QuickCheck: -any aeson: -any template-haskell: -any mono-traversable: -any profunctors: -any maintainer: TVision Insights synopsis: Runtime interpolation of environment variables in records using profunctors changelog: '' basic-deps: either: -any base: <5.0 text: -any containers: -any product-profunctors: -any mtl: -any QuickCheck: -any aeson: -any template-haskell: -any mono-traversable: -any profunctors: -any all-versions: - '0.1' author: Dan Fithian <daniel.m.fithian@gmail.com> latest: '0.1' description-type: haddock description: ! 'Runtime interpolation of environment variables in records using profunctors. See https://github.com/tvision-insights/interpolator/README.md.' license-name: MIT ``` Update from Hackage at 2018-12-21T16:55:04Z
```yaml homepage: https://github.com/tvision-insights/interpolator changelog-type: '' hash: b0e0dc6714ce4fb352c530be556499df4504eed12a7f2d04bac2ae3da9d3dea7 test-bench-deps: either: -any base: <5.0 hspec: -any text: -any containers: -any product-profunctors: -any interpolator: -any mtl: -any QuickCheck: -any aeson: -any template-haskell: -any mono-traversable: -any profunctors: -any maintainer: TVision Insights synopsis: Runtime interpolation of environment variables in records using profunctors changelog: '' basic-deps: either: -any base: <5.0 text: -any containers: -any product-profunctors: -any mtl: -any QuickCheck: -any aeson: -any template-haskell: -any mono-traversable: -any profunctors: -any all-versions: - '0.1' - 0.1.1 author: Dan Fithian <daniel.m.fithian@gmail.com> latest: 0.1.1 description-type: haddock description: ! 'Runtime interpolation of environment variables in records using profunctors. See `https://github.com/tvision-insights/interpolator/README.md`.' license-name: MIT ```
d0859a4c-8543-4b75-9508-55539795dc00
{ "language": "YAML" }
```yaml homepage: '' changelog-type: '' hash: 496812a28439a2f115c74f4d6933b39f978974dc950b1a4cdeb467b454df088a test-bench-deps: {} maintainer: Brian Lewis <brian@lorf.org> synopsis: A library for the analysis and creation of Graphviz DOT files changelog: '' basic-deps: base: ==4.* parsec: ==3.* mtl: ==1.* || ==2.* pretty: ==1.* all-versions: - '0.0.1' - '0.0.2' - '0.0.3' - '0.0.4' - '0.0.5' - '0.0.6' - '0.0.7' - '0.0.8' author: Brian Lewis <brian@lorf.org> latest: '0.0.8' description-type: haddock description: A library for the analysis and creation of Graphviz DOT files. license-name: BSD3 ``` Update from Hackage at 2016-04-13T12:40:10+0000
```yaml homepage: '' changelog-type: '' hash: ba3c8ad9d5d8dbc7c8edefcc49dab055bc9341b2fda3d0c4dde7b5a96344714a test-bench-deps: base: ==4.* parsec: ==3.* mtl: ==1.* || ==2.* pretty: ==1.* maintainer: Ben Gamari <ben@smart-cactus.org> synopsis: A library for the analysis and creation of Graphviz DOT files changelog: '' basic-deps: base: ==4.* parsec: ==3.* mtl: ! '>=1 && <3' pretty: ==1.* all-versions: - '0.0.1' - '0.0.2' - '0.0.3' - '0.0.4' - '0.0.5' - '0.0.6' - '0.0.7' - '0.0.8' - '0.0.9' author: Brian Lewis <brian@lorf.org> latest: '0.0.9' description-type: haddock description: A library for the analysis and creation of Graphviz DOT files. license-name: BSD3 ```
4ad4ff7d-df81-4b8e-8d0a-eedaa3a523d5
{ "language": "YAML" }
```yaml homepage: https://github.com/eliaslfox/language-elm#readme changelog-type: '' hash: 8f2873bb01b79ee504c6f4204c12fdcb74fe9497abc637b4f17cb933727a4562 test-bench-deps: base: -any HUnit: -any language-elm: -any pretty: -any maintainer: eliaslfox@gmail.com synopsis: Generate elm code changelog: '' basic-deps: MissingH: -any base: ! '>=4.7 && <5' pretty: -any all-versions: - '0.0.1.0' - '0.0.2.0' - '0.0.3.0' - '0.0.4.0' - '0.0.5.0' - '0.0.6.0' - '0.0.7.0' - '0.0.8.0' author: Elias Lawson-Fox latest: '0.0.8.0' description-type: markdown description: ! '# language-elm ' license-name: BSD3 ``` Update from Hackage at 2017-08-21T06:48:23Z
```yaml homepage: https://github.com/eliaslfox/language-elm#readme changelog-type: '' hash: ee3ad07d8cb735458d24e0028933ba499c70b0a97036ee06dc0507fcc96b91e7 test-bench-deps: base: -any HUnit: -any language-elm: -any pretty: -any maintainer: eliaslfox@gmail.com synopsis: Generate elm code changelog: '' basic-deps: MissingH: -any base: ! '>=4.7 && <5' pretty: -any all-versions: - '0.0.1.0' - '0.0.2.0' - '0.0.3.0' - '0.0.4.0' - '0.0.5.0' - '0.0.6.0' - '0.0.7.0' - '0.0.8.0' - '0.0.9.0' author: Elias Lawson-Fox latest: '0.0.9.0' description-type: markdown description: ! '# language-elm ' license-name: BSD3 ```
17b38875-00b1-4fad-ba87-2f0b62fe7c5f
{ "language": "YAML" }
```yaml homepage: https://github.com/metrix-ai/potoki-hasql changelog-type: '' hash: 737114290de778e5c020860e504bc1b1f41566a305968fd86fde9ba4e3c9b9e0 test-bench-deps: {} maintainer: Metrix.AI Ninjas <ninjas@metrix.ai> synopsis: Integration of "potoki" and "hasql". changelog: '' basic-deps: hasql: ==1.1.1 bytestring: ==0.10.8.2 base: ==4.10.1.0 text: ==1.2.3.0 potoki-core: ==1.5.2 potoki: ==0.11.1 profunctors: ==5.2.2 vector: ==0.12.0.1 all-versions: - '1' author: Nikita Volkov <nikita.y.volkov@mail.ru> latest: '1' description-type: haddock description: Utilities, which integrate Hasql and Potoki. license-name: MIT ``` Update from Hackage at 2018-03-25T17:00:17Z
```yaml homepage: https://github.com/metrix-ai/potoki-hasql changelog-type: '' hash: 1be5138bc7a066be6dfdea3fc807c4c34f737379c8aa45d81f3eeac3b8c9e668 test-bench-deps: {} maintainer: Metrix.AI Ninjas <ninjas@metrix.ai> synopsis: Integration of "potoki" and "hasql". changelog: '' basic-deps: hasql: ==1.1.1 bytestring: ==0.10.8.2 base: ==4.10.1.0 text: ==1.2.3.0 potoki-core: ==1.5.2 potoki: ==0.11.1 profunctors: ==5.2.2 vector: ==0.12.0.1 all-versions: - '1' - '1.1' author: Nikita Volkov <nikita.y.volkov@mail.ru> latest: '1.1' description-type: haddock description: Utilities, which integrate Hasql and Potoki. license-name: MIT ```
8045a2e4-02b8-4c9d-9196-5d368d00da10
{ "language": "YAML" }
```yaml name: CI-Windows on: [push] jobs: build-n-run-tests: runs-on: windows-2019 steps: - uses: actions/checkout@master - name: Build Everything run: | dotnet build - name: Download OSMesa Binary run: | curl -L http://github.com/pal1000/mesa-dist-win/releases/download/19.1.6/mesa3d-19.1.6-release-mingw.7z -o mesa.7z 7z x mesa.7z mkdir .\Tests\bin\Debug\netcoreapp3.0\mesa mv .\x64\opengl32.dll .\Tests\bin\Debug\netcoreapp3.0\mesa\opengl32.dll ls .\Tests\bin\Debug\netcoreapp3.0 - name: Run Tests run: | cd .\Tests\bin\Debug\netcoreapp3.0 ls . .\Tests.exe - name: Upload Test Artifact uses: actions/upload-artifact@master with: name: Test Result Artifact path: Tests\bin\Debug\netcoreapp3.0\TestResults ``` Test artifact will be created even if the build fails.
```yaml name: CI-Windows on: [push] jobs: build-n-run-tests: runs-on: windows-2019 steps: - uses: actions/checkout@master - name: Build Everything run: | dotnet build - name: Download OSMesa Binary run: | curl -L http://github.com/pal1000/mesa-dist-win/releases/download/19.1.6/mesa3d-19.1.6-release-mingw.7z -o mesa.7z 7z x mesa.7z mkdir .\Tests\bin\Debug\netcoreapp3.0\mesa mv .\x64\opengl32.dll .\Tests\bin\Debug\netcoreapp3.0\mesa\opengl32.dll ls .\Tests\bin\Debug\netcoreapp3.0 - name: Run Tests run: | cd .\Tests\bin\Debug\netcoreapp3.0 ls . .\Tests.exe - name: Upload Test Artifact if: always() uses: actions/upload-artifact@master with: name: Test Result Artifact path: Tests\bin\Debug\netcoreapp3.0\TestResults ```
bb333f10-09cb-477f-b0b9-6f8edad83057
{ "language": "YAML" }
```yaml name: Renovate-Dry-Run on: workflow_dispatch: inputs: pac_to_use: description: "Name of the workflow secret to use" type: string required: true branch: description: "Branch that renovate should operate on" type: string required: true jobs: renovate: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Renovate-dry-run uses: renovatebot/github-action@v34.12.0 with: configurationFile: renovate.json token: ${{secrets.$inputs.pac_to_use}} env: LOG_LEVEL: "debug" RENOVATE_DRY_RUN: "full" RENOVATE_BASE_BRANCHES: ${{inputs.branch}} RENOVATE_REPOSITORIES: "TNG/JGiven" ``` Update renovatebot/github-action action to v34.13.2
```yaml name: Renovate-Dry-Run on: workflow_dispatch: inputs: pac_to_use: description: "Name of the workflow secret to use" type: string required: true branch: description: "Branch that renovate should operate on" type: string required: true jobs: renovate: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Renovate-dry-run uses: renovatebot/github-action@v34.13.2 with: configurationFile: renovate.json token: ${{secrets.$inputs.pac_to_use}} env: LOG_LEVEL: "debug" RENOVATE_DRY_RUN: "full" RENOVATE_BASE_BRANCHES: ${{inputs.branch}} RENOVATE_REPOSITORIES: "TNG/JGiven" ```
7cb3d0a8-2cbf-4601-868b-bb522b337cd7
{ "language": "YAML" }
```yaml name: CI on: push: branches: - master pull_request: branches: - '**' jobs: test: name: Lint and test runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: 'lts/*' - run: npm ci - run: npm run lint - run: npm test ``` Use latest npm in CI
```yaml name: CI on: push: branches: - master pull_request: branches: - '**' jobs: test: name: Lint and test runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: 'lts/*' - name: Install latest npm run: npm install --global npm@latest - run: npm ci - run: npm run lint - run: npm test ```
23a63a0e-87fc-4feb-9950-bbc9bbae53cb
{ "language": "YAML" }
```yaml --- - name: Node hosts: all tasks: - name: ensure python-software-properties apt: name=python-software-properties state=present sudo: true - name: add Chris Lea's node.js repo apt_repository: repo='ppa:chris-lea/node.js' state=present update-cache=yes sudo: true - name: ensure node.js apt: name=nodejs state=latest sudo: true - name: ensure n npm: name=n global=yes state=present sudo: true - name: set custom node.js version if necessary when: node_version is defined command: n {{ node_version }} sudo: true - name: Gulp hosts: all tasks: - name: ensure gulp npm: name=gulp global=yes state=present - name: Mongo hosts: all tasks: - name: ensure mongo apt: pkg=mongodb state=latest sudo: true - name: NPM node_modules mountpoint hosts: all tasks: - name: mount folder mount: name=/vagrant/node_modules src=/tmp/node_modules opts=bind fstype=none state=mounted ``` Create temporary folder prior to mounting
```yaml --- - name: Node hosts: all tasks: - name: ensure python-software-properties apt: name=python-software-properties state=present sudo: true - name: add Chris Lea's node.js repo apt_repository: repo='ppa:chris-lea/node.js' state=present update-cache=yes sudo: true - name: ensure node.js apt: name=nodejs state=latest sudo: true - name: ensure n npm: name=n global=yes state=present sudo: true - name: set custom node.js version if necessary when: node_version is defined command: n {{ node_version }} sudo: true - name: Gulp hosts: all tasks: - name: ensure gulp npm: name=gulp global=yes state=present - name: Mongo hosts: all tasks: - name: ensure mongo apt: pkg=mongodb state=latest sudo: true - name: NPM node_modules mountpoint hosts: all tasks: - name: create local folder file: dest=/tmp/node_modules mode=777 owner=vagrant group=vagrant state=directory - name: mount folder mount: name=/vagrant/node_modules src=/tmp/node_modules opts=bind fstype=none state=mounted ```
54de0099-0af3-47d5-b609-0a23ee2cc19c
{ "language": "YAML" }
```yaml image: debian/stable packages: - cmake - ncurses-dev sources: - https://github.com/donmccaughey/fiends_and_fortune tasks: - setup: | cd fiends_and_fortune cmake -S . -B tmp - build: | cd fiends_and_fortune cmake --build tmp --target all test triggers: - action: email condition: failure to: Don McCaughey <don@donm.cc> ``` Add libbsd to Debian build on Sourcehut.
```yaml image: debian/stable packages: - cmake - libbsd-dev - ncurses-dev sources: - https://github.com/donmccaughey/fiends_and_fortune tasks: - setup: | cd fiends_and_fortune cmake -S . -B tmp - build: | cd fiends_and_fortune cmake --build tmp --target all test triggers: - action: email condition: failure to: Don McCaughey <don@donm.cc> ```
0a0cf1a3-ff39-421a-8ab6-f4ab2c258ab3
{ "language": "YAML" }
```yaml name: CI on: [push, pull_request] jobs: test: runs-on: ${{ matrix.os }} strategy: fail-fast: true matrix: os: ["windows-latest", "ubuntu-latest", "macos-latest"] python-version: ["3.9"] env: PYTHON_VERSION: ${{ matrix.python-version }} OS: ${{ matrix.os }} ACTIONS_ALLOW_UNSECURE_COMMANDS: true steps: - name: Checkout source uses: actions/checkout@v2 - name: Setup Conda Environment uses: mamba-org/provision-with-micromamba@main with: # python-version: ${{ matrix.python-version }} environment-file: continuous_integration/environment.yaml - name: Install Donfig shell: bash -l {0} run: | pip install --no-deps -e . - name: Run unit tests shell: bash -l {0} run: | pytest --cov=donfig donfig --cov-report=xml - name: Upload unittest coverage to Codecov uses: codecov/codecov-action@v1 with: flags: unittests file: ./coverage.xml env_vars: OS,PYTHON_VERSION,UNSTABLE ``` Fix CI micromamba on windows and non-windows
```yaml name: CI on: [push, pull_request] jobs: test: runs-on: ${{ matrix.os }} strategy: fail-fast: true matrix: os: ["windows-latest", "ubuntu-latest", "macos-latest"] python-version: ["3.9"] env: PYTHON_VERSION: ${{ matrix.python-version }} OS: ${{ matrix.os }} ACTIONS_ALLOW_UNSECURE_COMMANDS: true steps: - name: Checkout source uses: actions/checkout@v2 - name: Setup Conda Environment uses: mamba-org/provision-with-micromamba@main with: # python-version: ${{ matrix.python-version }} environment-file: continuous_integration/environment.yaml - name: Install Donfig shell: bash -l {0} run: | pip install --no-deps -e . - name: Run unit tests on non-Windows shell: bash -l {0} run: | pytest --cov=donfig donfig --cov-report=xml if: runner.os != 'Windows' - name: Run unit tests on Windows shell: powershell run: | pytest --cov=donfig donfig --cov-report=xml if: runner.os == 'Windows' - name: Upload unittest coverage to Codecov uses: codecov/codecov-action@v1 with: flags: unittests file: ./coverage.xml env_vars: OS,PYTHON_VERSION,UNSTABLE ```
032e2cfd-5044-4683-b135-4a12ed53c938
{ "language": "YAML" }
```yaml name: Build and publish to ECR on: workflow_dispatch: branches: - main push: branches: - main paths-ignore: - "Jenkinsfile" - ".git**" jobs: build-publish-image-to-ecr: uses: alphagov/govuk-infrastructure/.github/workflows/ci-ecr.yaml@main secrets: AWS_GOVUK_ECR_ACCESS_KEY_ID: ${{ secrets.AWS_GOVUK_ECR_ACCESS_KEY_ID }} AWS_GOVUK_ECR_SECRET_ACCESS_KEY: ${{ secrets.AWS_GOVUK_ECR_SECRET_ACCESS_KEY }} ``` Update CI workflow to trigger deploy to integration
```yaml name: CI on: workflow_dispatch: branches: - main push: branches: - main paths-ignore: - "Jenkinsfile" - ".git**" jobs: build-and-publish-image: name: Build and publish image uses: alphagov/govuk-infrastructure/.github/workflows/ci-ecr.yaml@main secrets: AWS_GOVUK_ECR_ACCESS_KEY_ID: ${{ secrets.AWS_GOVUK_ECR_ACCESS_KEY_ID }} AWS_GOVUK_ECR_SECRET_ACCESS_KEY: ${{ secrets.AWS_GOVUK_ECR_SECRET_ACCESS_KEY }} trigger-deploy-to-integration: name: Trigger deploy to integration needs: build-and-publish-image uses: alphagov/govuk-infrastructure/.github/workflows/deploy.yaml@main secrets: GOVUK_CI_GITHUB_API_TOKEN: ${{ secrets.GOVUK_CI_GITHUB_API_TOKEN }} ```
7a923775-12a3-45db-8d40-bfbc05a129b7
{ "language": "YAML" }
```yaml package: name: r-dbchip version: "1.1.6" source: fn: DBChIP_1.1.6.tar.gz url: http://pages.cs.wisc.edu/~kliang/DBChIP/DBChIP_1.1.6.tar.gz md5: f4b22bb2051ad6b2d33d4687754e8cee build: number: 0 # This is required to make R link correctly on Linux. rpaths: - lib/R/lib/ - lib/ requirements: build: - bioconductor-deseq - bioconductor-edger run: - bioconductor-deseq - bioconductor-edger test: commands: - $R -e "library('DBChIP')" # [not win] about: home: http://pages.cs.wisc.edu/~kliang/DBChIP license: 'GPL (>= 2)' summary: 'ChIP-seq differential binding' ``` Add explicit build/run r requirement
```yaml package: name: r-dbchip version: "1.1.6" source: fn: DBChIP_1.1.6.tar.gz url: http://pages.cs.wisc.edu/~kliang/DBChIP/DBChIP_1.1.6.tar.gz md5: f4b22bb2051ad6b2d33d4687754e8cee build: number: 1 # This is required to make R link correctly on Linux. rpaths: - lib/R/lib/ - lib/ requirements: build: - r - bioconductor-deseq - bioconductor-edger run: - r - bioconductor-deseq - bioconductor-edger test: commands: - $R -e "library('DBChIP')" # [not win] about: home: http://pages.cs.wisc.edu/~kliang/DBChIP license: 'GPL (>= 2)' summary: 'ChIP-seq differential binding' ```
af679cbc-57d6-4d92-9bb2-c5ff182e6b51
{ "language": "YAML" }
```yaml # This role prepares a runit folder structure. # The run script itself has to be written by # the caller. --- - name: Create runit service directory file: path=/etc/sv/{{runit_name}}/log state=directory - name: Create runit supervise directory file: path={{item}} state=directory mode=0700 with_items: - "/etc/sv/{{runit_name}}/supervise" - "/etc/sv/{{runit_name}}/log/supervise" - name: Create runit log run script template: src=log-run.j2 dest=/etc/sv/{{runit_name}}/log/run mode=0755 notify: restart {{runit_name}} - name: Log to central loghost template: src=log-config.j2 dest=/var/log/{{runit_name}}/config mode=0644 when: rsyslog_central_host_port is defined notify: restart {{runit_name}}/log - name: Link service file: src=/etc/sv/{{runit_name}} dest=/etc/service/{{runit_name}} state=link ``` Allow to disable logging for specified services
```yaml # This role prepares a runit folder structure. # The run script itself has to be written by # the caller. --- - name: Create runit service directory file: path=/etc/sv/{{runit_name}}/log state=directory - name: Create runit supervise directory file: path={{item}} state=directory mode=0700 with_items: - "/etc/sv/{{runit_name}}/supervise" - "/etc/sv/{{runit_name}}/log/supervise" - name: Create runit log run script template: src=log-run.j2 dest=/etc/sv/{{runit_name}}/log/run mode=0755 notify: restart {{runit_name}} - name: Log to central loghost template: src=log-config.j2 dest=/var/log/{{runit_name}}/config mode=0644 when: (rsyslog_remote is defined and rsyslog_remote != False) rsyslog_central_host_port is defined notify: restart {{runit_name}}/log - name: Disable logging to central loghost file: path=/var/log/{{runit_name}}/config state=absent when: rsyslog_remote is defined and rsyslog_remote == False notify: restart {{runit_name}}/log - name: Link service file: src=/etc/sv/{{runit_name}} dest=/etc/service/{{runit_name}} state=link ```
1d668987-520a-4d65-8423-94d2700ec2b5
{ "language": "YAML" }
```yaml store: image: aksw/dld-store-virtuoso7 presentation: image: aksw/dld-present-ontowiki links: - store ports: - "8080:80" ``` Add entries for environment password and volume
```yaml store: image: aksw/dld-store-virtuoso7 environment: PWDDBA: "password" volumes: - /tmp/volumes/virt/:/var/lib/virtuoso/db/ presentation: image: aksw/dld-present-ontowiki links: - store ports: - "8080:80" ```
1f084d65-3efb-46cb-ad0f-5e1b2b955ffd
{ "language": "YAML" }
```yaml GITCRYPT5 LJGGX%? QV7Mp>g|.i?{{^%VH A?|v!m%}d:V\|XcyV2[EY;.ЅQH$~GR``` Update ruby version to 2.5.5
```yaml GITCRYPT6'b<Urhx&t[,/7-FLPd}Du6x)Q ܡ ^n2N x=:ΤV_[rEpvoD,RqEsWS˚ ,Eڞ:FZjn6(c^0nl.x6```
dd53ccb8-bce3-4d5f-9dd2-a3208f7e6a22
{ "language": "YAML" }
```yaml homepage: https://github.com/vmchale/gmpint#readme changelog-type: '' hash: 8f91ceb17e9d35278d4c83c3bc7e4c4fed97ede03facf7ad4d08ebe6b869be7b test-bench-deps: {} maintainer: vamchale@gmail.com synopsis: GMP integer conversions changelog: '' basic-deps: base: ! '>=4.8 && <5' recursion-schemes: -any all-versions: - '0.1.0.0' - '0.1.0.1' - '0.1.0.2' - '0.1.0.3' author: Vanessa McHale latest: '0.1.0.3' description-type: markdown description: ! '# gmpint This defines a `GMPInt` type and a `Storable` instance for that type, as well functions for working with such types. ' license-name: BSD3 ``` Update from Hackage at 2018-02-08T05:21:12Z
```yaml homepage: https://github.com/vmchale/gmpint#readme changelog-type: '' hash: 685cf498d68eca0f2dc1ff53a2f19f297a71a290e8a0099d4387621179051b3f test-bench-deps: {} maintainer: vamchale@gmail.com synopsis: GMP integer conversions changelog: '' basic-deps: base: ! '>=4.8 && <5' recursion-schemes: -any all-versions: - '0.1.0.0' - '0.1.0.1' - '0.1.0.2' - '0.1.0.3' - '0.1.0.4' author: Vanessa McHale latest: '0.1.0.4' description-type: markdown description: ! '# gmpint This defines a `GMPInt` type and a `Storable` instance for that type, as well functions for working with such types. ' license-name: BSD3 ```
b1edd4a0-6ac0-447c-ac81-5dd3c8909f68
{ "language": "YAML" }
```yaml homepage: http://www.github.com/Happstack/userid changelog-type: '' hash: a773613219363386db87e14c3adf8ef748ea871c1a98e1e90b694c819d562164 test-bench-deps: {} maintainer: jeremy@n-heptane.com synopsis: A library which provides the UserId type and useful instances for web development changelog: '' basic-deps: base: ! '>=4.8 && <4.9' boomerang: ! '>=1.4 && <1.5' lens: ! '>=4.9 && <4.13' safecopy: ! '>=0.8 && <0.9' web-routes: ! '>=0.27 && <0.28' web-routes-th: ! '>=0.22 && <0.23' aeson: ! '>=0.9 && <0.10' all-versions: - '0.1.0.0' author: Jeremy Shaw latest: '0.1.0.0' description-type: haddock description: Includes instances for SafeCopy, Lens, Boomerang, PathInfo and more license-name: BSD3 ``` Update from Hackage at 2015-09-19T01:37:47+0000
```yaml homepage: http://www.github.com/Happstack/userid changelog-type: '' hash: 847365cb6e59dbcb122a20eb653f3e7ca6a162b0ee29ed700d07d748561c1bf3 test-bench-deps: {} maintainer: jeremy@n-heptane.com synopsis: A library which provides the UserId type and useful instances for web development changelog: '' basic-deps: base: ! '>=4.8 && <4.9' boomerang: ! '>=1.4 && <1.5' lens: ! '>=4.9 && <4.14' safecopy: ! '>=0.8 && <0.9' web-routes: ! '>=0.27 && <0.28' web-routes-th: ! '>=0.22 && <0.23' aeson: ! '>=0.9 && <0.10' all-versions: - '0.1.0.0' - '0.1.1.0' author: Jeremy Shaw latest: '0.1.1.0' description-type: haddock description: Includes instances for SafeCopy, Lens, Boomerang, PathInfo and more license-name: BSD3 ```
b44124e9-8601-4bd9-8467-a197e878749c
{ "language": "YAML" }
```yaml homepage: '' changelog-type: markdown hash: bb46bfb801035791bad65e88afea9a75fafd52ec2b9e42bdb5f6dedbc87ee64f test-bench-deps: {} maintainer: hvr@gnu.org synopsis: Domain Name Service (DNS) lookup via the Windows dnsapi standard library changelog: ! '## 0.1.0.0 * First version. Released on an unsuspecting world. ' basic-deps: bytestring: ! '>=0.9.2 && <0.11' base: ! '>=4.8 && <4.11 && <0' deepseq: ! '>=1.3.0.0 && <1.5' all-versions: - '0.1.0.0' author: Herbert Valerio Riedel latest: '0.1.0.0' description-type: haddock description: ! 'This package implements an API for accessing the [Domain Name Service (DNS)](https://tools.ietf.org/html/rfc1035) resolver service via the standard [<windns.h>/dnsapi.dll](https://msdn.microsoft.com/en-us/library/windows/desktop/ms682100\(v=vs.85\).aspx) system library on Win32 systems. This package provides the high-level API-subset of the [resolv](https://hackage.haskell.org/package/resolv) package.' license-name: GPL-3 ``` Update from Hackage at 2018-03-28T16:41:46Z
```yaml homepage: '' changelog-type: markdown hash: c76bd0ad129ea694e1e20c5397a9e58232de656dfafc336ecbe9bf5accb2c1a6 test-bench-deps: {} maintainer: hvr@gnu.org synopsis: Domain Name Service (DNS) lookup via the Windows dnsapi standard library changelog: ! '## 0.1.0.0 * First version. Released on an unsuspecting world. ' basic-deps: bytestring: ! '>=0.9.2 && <0.11' base: ! '>=4.8 && <4.12 && <0' deepseq: ! '>=1.3.0.0 && <1.5' all-versions: - '0.1.0.0' author: Herbert Valerio Riedel latest: '0.1.0.0' description-type: haddock description: ! 'This package implements an API for accessing the [Domain Name Service (DNS)](https://tools.ietf.org/html/rfc1035) resolver service via the standard [<windns.h>/dnsapi.dll](https://msdn.microsoft.com/en-us/library/windows/desktop/ms682100\(v=vs.85\).aspx) system library on Win32 systems. This package provides the high-level API-subset of the [resolv](https://hackage.haskell.org/package/resolv) package.' license-name: GPL-3 ```
f4c86797-7673-4e0a-a977-8849735e8c35
{ "language": "YAML" }
```yaml --- - name: Adding NGINX Repository, Hold on... apt_repository: repo=ppa:miteshshah/nginx-pagespeed register: nginx_repo - include: roles/libs/tasks/apt/update.yml when: nginx_repo.changed == True or nginx_key.changed == True - name: Installing NGINX, Hold on... apt: name=nginx-pagespeed state=present register: package_install # The notify will call the ../handlers/main.yml notify: service nginx restart ``` Remove NGINX key not needed
```yaml --- - name: Adding NGINX Repository, Hold on... apt_repository: repo=ppa:miteshshah/nginx-pagespeed register: nginx_repo - include: roles/libs/tasks/apt/update.yml when: nginx_repo.changed == True - name: Installing NGINX, Hold on... apt: name=nginx-pagespeed state=present register: package_install # The notify will call the ../handlers/main.yml notify: service nginx restart ```
7fe206c1-d36a-402f-b90b-240e20739a1e
{ "language": "YAML" }
```yaml --- - name: download piwik get_url: url=http://builds.piwik.org/piwik.tar.gz dest=/tmp/piwik.tar.gz - name: extract piwik command: tar -xf /tmp/piwik.tar.gz --directory /home/ubuntu - name: copy piwik config template: src=config.ini.php dest=/home/ubuntu/piwik/config/config.ini.php ``` Use deploy home instead of ubuntu for piwik
```yaml --- - name: download piwik get_url: url=http://builds.piwik.org/piwik.tar.gz dest=/tmp/piwik.tar.gz - name: extract piwik command: tar -xf /tmp/piwik.tar.gz --directory /home/deploy - name: copy piwik config template: src=config.ini.php dest=/home/deploy/piwik/config/config.ini.php ```
84b5459c-f9e8-4523-b5a8-1bfa02a43c65
{ "language": "YAML" }
```yaml - project: templates: - check-requirements - openstack-cover-jobs - openstack-lower-constraints-jobs - openstack-python3-victoria-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 check: jobs: - ironic-inspector-grenade - ironic-inspector-tempest - ironic-inspector-tempest-discovery - ironic-inspector-tempest-managed-non-standalone - openstack-tox-functional-py36 - bifrost-integration-tinyipa-ubuntu-bionic: voting: false - ironic-inspector-tox-bandit: voting: false gate: queue: ironic jobs: - ironic-inspector-grenade - ironic-inspector-tempest - ironic-inspector-tempest-discovery - ironic-inspector-tempest-managed-non-standalone - openstack-tox-functional-py36 ``` Add Python3 wallaby unit tests
```yaml - project: templates: - check-requirements - openstack-cover-jobs - openstack-lower-constraints-jobs - openstack-python3-wallaby-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 check: jobs: - ironic-inspector-grenade - ironic-inspector-tempest - ironic-inspector-tempest-discovery - ironic-inspector-tempest-managed-non-standalone - openstack-tox-functional-py36 - bifrost-integration-tinyipa-ubuntu-bionic: voting: false - ironic-inspector-tox-bandit: voting: false gate: queue: ironic jobs: - ironic-inspector-grenade - ironic-inspector-tempest - ironic-inspector-tempest-discovery - ironic-inspector-tempest-managed-non-standalone - openstack-tox-functional-py36 ```
24cf74d1-6982-45b8-a915-cc631846b840
{ "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: # specify the version you desire here # use `-browsers` prefix for selenium tests, e.g. `3.6.1-browsers` - image: jjanzic/docker-python3-opencv python # Specify service dependencies here if necessary # CircleCI maintains a library of pre-built images # documented at https://circleci.com/docs/2.0/circleci-images/ # - image: circleci/postgres:9.4 working_directory: ~/repo steps: - checkout # Download and cache dependencies - restore_cache: keys: - v1-dependencies-{{ checksum "requirements.txt" }} # fallback to using the latest cache if no exact match is found - v1-dependencies- - run: name: install dependencies command: | python3 -m venv venv . venv/bin/activate python3 setup.py install - save_cache: paths: - ./venv key: v1-dependencies-{{ checksum "requirements.txt" }} # run tests! # this example uses Django's built-in test-runner # other common Python testing frameworks include pytest and nose # https://pytest.org # https://nose.readthedocs.io - run: name: run tests command: | . venv/bin/activate python setup.py test - store_artifacts: path: test-reports destination: test-reports ``` Remove cache from circleci conf
```yaml # Python CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-python/ for more details # version: 2 jobs: build: docker: # specify the version you desire here # use `-browsers` prefix for selenium tests, e.g. `3.6.1-browsers` - image: jjanzic/docker-python3-opencv python # Specify service dependencies here if necessary # CircleCI maintains a library of pre-built images # documented at https://circleci.com/docs/2.0/circleci-images/ # - image: circleci/postgres:9.4 working_directory: ~/repo steps: - checkout - run: name: install dependencies command: | python3 -m venv venv . venv/bin/activate python3 setup.py install # run tests! # this example uses Django's built-in test-runner # other common Python testing frameworks include pytest and nose # https://pytest.org # https://nose.readthedocs.io - run: name: run tests command: | . venv/bin/activate python3 setup.py test - store_artifacts: path: test-reports destination: test-reports ```
94840f69-c290-48e1-9a3d-bb41df0f3010
{ "language": "YAML" }
```yaml version: 2.1 orbs: codecov: codecov/codecov@1.0.2 runtest: &runtest steps: - checkout - run: name: Install GPflow command: | pip install -U tfp-nightly-2.0-preview tfp-nightly python setup.py install - run: name: Run tests command: pytest -v -W ignore::UserWarning --durations=10 -m "${PYTEST_FILTER}" --cov=./gpflow ./tests - run: name: Upload coverage report command: bash <(curl -s https://codecov.io/bash) -t "${CODECOV_TOKEN}" jobs: unit-test: <<: *runtest docker: - image: awav/tensorflow:2.0-nightly-preview environment: PYTEST_FILTER: not notebooks # notebook-test: # <<: *runtest # docker: # - image: awav/tensorflow:1.12.1 # environment: # PYTEST_FILTER: notebooks workflows: version: 2.1 build_and_test: jobs: - unit-test # - notebook-test``` Remove support in circleci org
```yaml version: 2.1 runtest: &runtest steps: - checkout - run: name: Install GPflow command: | pip install -U tfp-nightly-2.0-preview tfp-nightly python setup.py install - run: name: Run tests command: pytest -v -W ignore::UserWarning --durations=10 -m "${PYTEST_FILTER}" --cov=./gpflow ./tests - run: name: Upload coverage report command: bash <(curl -s https://codecov.io/bash) -t "${CODECOV_TOKEN}" jobs: unit-test: <<: *runtest docker: - image: awav/tensorflow:2.0-nightly-preview environment: PYTEST_FILTER: not notebooks # notebook-test: # <<: *runtest # docker: # - image: awav/tensorflow:1.12.1 # environment: # PYTEST_FILTER: notebooks workflows: version: 2.1 build_and_test: jobs: - unit-test # - notebook-test```
8a7e2576-285e-476d-86f3-a4b58baa833b
{ "language": "YAML" }
```yaml jobs: build: working_directory: ~/CriminalContact docker: - image: circleci/node:10-browsers branches: only: - master steps: - checkout - restore_cache: key: dependency-cache-{{ checksum "package.json" }} - run: name: Install dependencies command: yarn install - save_cache: key: dependency-cache-{{ checksum "package.json" }} paths: - ./node_modules - run: name: Build Electron command: yarn run build:electron - run: name: Build Angular command: yarn run build:ng``` Store build artefacts in circleci
```yaml jobs: build: working_directory: ~/CriminalContact docker: - image: circleci/node:10-browsers branches: only: - master steps: - checkout - restore_cache: key: dependency-cache-{{ checksum "package.json" }} - run: name: Install dependencies command: yarn install - save_cache: key: dependency-cache-{{ checksum "package.json" }} paths: - ./node_modules - run: name: Build Electron command: yarn run build:electron - run: name: Build Angular command: yarn run build:ng - store_artifacts: path: /build```
8d1cb9ee-2073-4ecb-8067-5998980a8fd8
{ "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.7.0@sha256:ce542ad74740970bbe42c8056f59e58f2c4dfa43b9f90b455319581fc990a02c working_directory: ~/repo steps: - checkout - restore_cache: keys: - v1-dependencies-{{ checksum "requirements.txt" }}-{{ checksum "dev-requirements.txt" }} # fallback to using the latest cache if no exact match is found - v1-dependencies- - run: name: install dependencies command: | python3 -m venv venv . venv/bin/activate python setup.py dev_persistent_pip_sync - save_cache: paths: - ./venv key: v1-dependencies-{{ checksum "requirements.txt" }}-{{ checksum "dev-requirements.txt" }} - run: name: run tests command: | . venv/bin/activate flake8 bamboo_crawler tests export AWS_ACCESS_KEY_ID='' export AWS_SECRET_ACCESS_KEY='' python setup.py test - store_artifacts: path: test-reports destination: test-reports ``` Update circleci/python:3.7.0 Docker digest to dec5ac
```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.7.0@sha256:dec5ac94030a5c343c81b021ca5c68cfcd36895d49b9a1960ba714ef11892799 working_directory: ~/repo steps: - checkout - restore_cache: keys: - v1-dependencies-{{ checksum "requirements.txt" }}-{{ checksum "dev-requirements.txt" }} # fallback to using the latest cache if no exact match is found - v1-dependencies- - run: name: install dependencies command: | python3 -m venv venv . venv/bin/activate python setup.py dev_persistent_pip_sync - save_cache: paths: - ./venv key: v1-dependencies-{{ checksum "requirements.txt" }}-{{ checksum "dev-requirements.txt" }} - run: name: run tests command: | . venv/bin/activate flake8 bamboo_crawler tests export AWS_ACCESS_KEY_ID='' export AWS_SECRET_ACCESS_KEY='' python setup.py test - store_artifacts: path: test-reports destination: test-reports ```
1116659d-31e3-4965-94f2-b17bc111f59b
{ "language": "YAML" }
```yaml version: 2 jobs: gcc_5_python27: docker: - image: gcc:5 steps: - checkout - run: name: test with python2.7 command: | python ./waf configure python ./waf --check - run: name: build with python2.7 command: | python ./waf build python ./waf install gcc_5_python34: docker: - image: gcc:5 steps: - checkout - run: name: test with python3.4 command: | apt update -y apt install -y python3 python3 ./waf configure python3 ./waf --check - run: name: build with python3.4 command: | python3 ./waf build python3 ./waf install workflows: version: 2 build_and_test: jobs: - gcc_5_python27 - gcc_5_python34 ``` Add the job for bulding pficommon with (almost) all extensions
```yaml version: 2 jobs: gcc5_python27: docker: - image: gcc:5 steps: - checkout - run: name: test with python2.7 command: | python ./waf configure python ./waf --check - run: name: build with python2.7 command: | python ./waf build python ./waf install gcc5_python34: docker: - image: gcc:5 steps: - checkout - run: name: test with python3.4 command: | apt update -y apt install -y python3 python3 ./waf configure python3 ./waf --check - run: name: build with python3.4 command: | python3 ./waf build python3 ./waf install gcc5_full: docker: - image: gcc:5 steps: - checkout - run: name: build msgpack command: | wget https://github.com/msgpack/msgpack-c/releases/download/cpp-0.5.9/msgpack-0.5.9.tar.gz tar zxvf msgpack-0.5.9.tar.gz && cd msgpack-0.5.9 ./configure && make && make install - run: name: build fcgi command: | # apt update -y # apt install git # git clone https://github.com/toshic/libfcgi.git # cd libfcgi && ./configure && make && make install echo muri - run: name: build mysql command: | echo 'noop' - run: name: build postgresql command: | apt update -y apt install -y postgresql postgresql-server-dev-all - run: name: build pficommon command: | CPPFLAGS="-I/usr/include/postgresql" ./waf configure --disable-fcgi ./waf build ./waf install workflows: version: 2 build_and_test: jobs: - gcc5_python27 - gcc5_python34 ```
abb5dfaf-5e21-40ef-93f8-ffcda780df0b
{ "language": "YAML" }
```yaml ui: mocha-bdd concurrency: 1 browsers: - name: chrome version: -2..latest - name: firefox version: latest version: -2..latest - name: safari version: 5..latest - name: ie version: 8..latest ``` Test fewer versions of Chrome and Firefox
```yaml ui: mocha-bdd concurrency: 1 browsers: - name: chrome version: -1..latest - name: firefox version: latest version: -1..latest - name: safari version: 5..latest - name: ie version: 8..latest ```
8920f9e4-7394-4433-899e-27ef27cac5d7
{ "language": "YAML" }
```yaml version: 2.1 orbs: node: circleci/node@5.0.2 defaults: &defaults working_directory: ~/repo docker: - image: circleci/node:latest jobs: test: <<: *defaults steps: - checkout - restore_cache: keys: - v1-dependencies-{{ checksum "package.json" }} - v1-dependencies- - run: npm install - save_cache: paths: - node_modules key: v1-dependencies-{{ checksum "package.json" }} - run: npm test - persist_to_workspace: root: ~/repo paths: . build: <<: *defaults steps: - attach_workspace: at: ~/repo - run: npm prepare - persist_to_workspace: root: ~/repo paths: . publish: <<: *defaults steps: - attach_workspace: at: ~/repo - run: name: Authenticate with registry command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc - run: name: Publish package command: npm publish - run: yarn chromatic workflows: run: jobs: - test - build: requires: - test - publish: filters: tags: only: /^v.*/ branches: only: - master requires: - build ``` Revert "change commands on circle ci to use npm instead of yarn"
```yaml version: 2.1 orbs: node: circleci/node@5.0.2 defaults: &defaults working_directory: ~/repo docker: - image: circleci/node:latest jobs: test: <<: *defaults steps: - checkout - restore_cache: keys: - v1-dependencies-{{ checksum "package.json" }} - v1-dependencies- - run: yarn install - save_cache: paths: - node_modules key: v1-dependencies-{{ checksum "package.json" }} - run: yarn test - persist_to_workspace: root: ~/repo paths: . build: <<: *defaults steps: - attach_workspace: at: ~/repo - run: yarn prepare - persist_to_workspace: root: ~/repo paths: . publish: <<: *defaults steps: - attach_workspace: at: ~/repo - run: name: Authenticate with registry command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc - run: name: Publish package command: npm publish - run: yarn chromatic workflows: run: jobs: - test - build: requires: - test - publish: filters: tags: only: /^v.*/ branches: only: - master requires: - build ```
4955d7c5-987b-4358-a09e-781fea261a6b
{ "language": "YAML" }
```yaml sudo: required language: node_js node_js: - "node" branches: only: - master before_install: - sudo apt-get -qq update - sudo apt-get install -y fontforge openjdk-8-jre libbatik-java install: - npm install -g ttf2eot ttf2svg bower grunt-cli - npm install - bower install script: - grunt build_deploy deploy: local_dir: _dist/ provider: pages skip_cleanup: true github_token: $GITHUB_TOKEN on: branch: master``` Align the output folder with app.json
```yaml sudo: required language: node_js node_js: - "node" branches: only: - master before_install: - sudo apt-get -qq update - sudo apt-get install -y fontforge openjdk-8-jre libbatik-java install: - npm install -g ttf2eot ttf2svg bower grunt-cli - npm install - bower install script: - grunt build_deploy deploy: local_dir: _release/ provider: pages skip_cleanup: true github_token: $GITHUB_TOKEN on: branch: master```
3052637c-de77-4cbf-93f2-7a3dcdc5ce7f
{ "language": "YAML" }
```yaml --- - name: Install Sublime Text 3 homebrew_cask: name: sublime-text3 state: present - name: Set Sublime Text 3 general settings template: src: Preferences.sublime-settings.j2 dest: "~/Library/Application Support/Sublime Text 3/Packages/User/Preferences.sublime-settings" - name: Set Sublime Text 3 PHP settings template: src: PHP.sublime-settings.j2 dest: "~/Library/Application Support/Sublime Text 3/Packages/User/PHP.sublime-settings" - name: Set Sublime Text 3 JS settings template: src: Javascript.sublime-settings.j2 dest: "~/Library/Application Support/Sublime Text 3/Packages/User/Javascript.sublime-settings" - name: Set Sublime Text 3 CSS settings template: src: CSS.sublime-settings.j2 dest: "~/Library/Application Support/Sublime Text 3/Packages/User/CSS.sublime-settings" ``` Make sure Sublime Text preference folder exists
```yaml --- - name: Install Sublime Text 3 homebrew_cask: name: sublime-text3 state: present - name: "Make sure Sublime Text preference folder exists" file: path: "~/Library/Application Support/Sublime Text 3/Packages/User" state: directory - name: Set Sublime Text 3 general settings template: src: Preferences.sublime-settings.j2 dest: "~/Library/Application Support/Sublime Text 3/Packages/User/Preferences.sublime-settings" - name: Set Sublime Text 3 PHP settings template: src: PHP.sublime-settings.j2 dest: "~/Library/Application Support/Sublime Text 3/Packages/User/PHP.sublime-settings" - name: Set Sublime Text 3 JS settings template: src: Javascript.sublime-settings.j2 dest: "~/Library/Application Support/Sublime Text 3/Packages/User/Javascript.sublime-settings" - name: Set Sublime Text 3 CSS settings template: src: CSS.sublime-settings.j2 dest: "~/Library/Application Support/Sublime Text 3/Packages/User/CSS.sublime-settings" ```
762900f8-b4a2-4b9e-8cef-9f7ac600de90
{ "language": "YAML" }
```yaml homepage: https://github.com/achirkin/easytensor#readme changelog-type: '' hash: a7a332400fa3b3e9c1ce14831a57e5b80c944df765a4a333fda67c5d7716e068 test-bench-deps: easytensor: -any Cabal: ! '>=1.20' base: -any time: -any dimensions: -any QuickCheck: -any maintainer: chirkin@arch.ethz.ch synopsis: Pure, type-indexed haskell vector, matrix, and tensor library. changelog: '' basic-deps: base: ! '>=4.9 && <5' ghc-prim: ! '>=0.5' dimensions: -any all-versions: - '0.1.0.0' - '0.2.0.0' - '0.3.0.0' - '0.3.1.0' - '0.3.2.0' author: Artem Chirkin latest: '0.3.2.0' description-type: haddock description: ! 'Pure, type-indexed haskell vector, matrix, and tensor library. Features dimensionality type-checking for all operations. Generic n-dimensional versions are implemented using low-level prim ops. Allows ad-hoc replacement with fixed low-dimensionality vectors and matrices without changing user interface.' license-name: BSD3 ``` Update from Hackage at 2017-11-03T10:00:45Z
```yaml homepage: https://github.com/achirkin/easytensor#readme changelog-type: '' hash: 4545eacd39125dcf39b6b80dfd49b420c782868eacd0ac2aa3d8dd9bffaf6738 test-bench-deps: easytensor: -any Cabal: ! '>=1.20' base: -any time: -any dimensions: -any QuickCheck: -any maintainer: chirkin@arch.ethz.ch synopsis: Pure, type-indexed haskell vector, matrix, and tensor library. changelog: '' basic-deps: base: ! '>=4.9 && <5' ghc-prim: ! '>=0.5' dimensions: -any all-versions: - '0.1.0.0' - '0.2.0.0' - '0.3.0.0' - '0.3.1.0' - '0.4.0.0' author: Artem Chirkin latest: '0.4.0.0' description-type: haddock description: ! 'Pure, type-indexed haskell vector, matrix, and tensor library. Features dimensionality type-checking for all operations. Generic n-dimensional versions are implemented using low-level prim ops. Allows ad-hoc replacement with fixed low-dimensionality vectors and matrices without changing user interface.' license-name: BSD3 ```
89755e28-3d66-4e2a-ae76-3ff4ae2641de
{ "language": "YAML" }
```yaml homepage: https://github.com/sigrlami/http-trace#readme changelog-type: '' hash: 42b763ceae10bc7b9e08ebd392498bc242b3804f248a37cf43a9f13234126f59 test-bench-deps: {} maintainer: sergey.bushnyak@sigrlami.eu synopsis: Tracking http redirects changelog: '' basic-deps: MissingH: -any pcre-heavy: ! '>=1.0.0.0' base: ! '>=4.7 && <5' text: -any curl: ! '>=1.3.8' http-trace: -any transformers: -any template-haskell: -any safe: ! '>=0.3.9' all-versions: - '0.1.0.0' - '0.1.0.1' - '0.1.1.0' author: Sergey Bushnyak latest: '0.1.1.0' description-type: haddock description: Tracking http redirects for supplied url license-name: MIT ``` Update from Hackage at 2016-06-20T21:42:59+0000
```yaml homepage: https://github.com/sigrlami/http-trace#readme changelog-type: '' hash: beee71b58a19cc4a13dea574bd9645315f8896a1ade15f38e005a3f945e769ef test-bench-deps: {} maintainer: sergey.bushnyak@sigrlami.eu synopsis: Tracking http redirects changelog: '' basic-deps: MissingH: -any pcre-heavy: ! '>=1.0.0.0' base: ! '>=4.7 && <5' text: -any curl: ! '>=1.3.8' http-trace: -any transformers: -any template-haskell: -any safe: ! '>=0.3.9' all-versions: - '0.1.0.0' - '0.1.0.1' - '0.1.1.0' - '0.1.1.1' author: Sergey Bushnyak latest: '0.1.1.1' description-type: haddock description: Tracking http redirects for supplied url license-name: MIT ```
30d570ab-962d-40e6-8fbd-e9adeecf13f7
{ "language": "YAML" }
```yaml author: Fayrik delete-after: True changes: - tweak: "Refactored all NanoUI interfaces to use a more universal proc." - bugfix: "Removed automatic updates on atmospheric pumps, canisters and tanks, making them respond to button clicks much faster."``` STOP TRYING TO MAKE STEALTH CHANGES, FAYRIK
```yaml author: Fayrik delete-after: True changes: - tweak: "Canisters now automatically close their valve when air tanks are removed from them." - tweak: "Refactored all NanoUI interfaces to use a more universal proc." - bugfix: "Removed automatic updates on atmospheric pumps, canisters and tanks, making them respond to button clicks much faster."```
a57e0b6b-0774-4735-883e-9b63aaa5cc7d
{ "language": "YAML" }
```yaml version: 0.2 phases: install: commands: - yum install -y zip - npm install -g serverless build: commands: - serverless --version - cd sample-app - mkdir deploy-artifacts - serverless package --package deploy-artifacts - cd deploy-artifacts && zip -r ../deploy-artifacts.zip ./* artifacts: files: - deploy-artifacts.zip discard-paths: yes base-directory: sample-app``` Update to move deploy spec to deploy pipeline stage
```yaml version: 0.2 phases: install: commands: - yum install -y zip - npm install -g serverless build: commands: - serverless --version - cd sample-app - mkdir deploy-artifacts - serverless package --package deploy-artifacts - cd deploy-artifacts && cp ../../deployspec.yml . && zip -r ../deploy-artifacts.zip ./* artifacts: files: - deploy-artifacts.zip discard-paths: yes base-directory: sample-app```
53948f17-560e-4999-aac9-b802ecab1f23
{ "language": "YAML" }
```yaml version: 0.1 environment_variables: plaintext: FFPROBE_PATH: "bin/ffprobe" BUILD_PHASE_MARKER: build_phase_complete phases: install: commands: - echo $CODEBUILD_SOURCE_VERSION pre_build: commands: - npm install - chmod +x get-ffmpeg - ./get-ffmpeg build: commands: - npm test - touch $BUILD_PHASE_MARKER # - echo Compressing Lambda functions # - cd lambdas; find * -maxdepth 0 -type d|while read dirname; do cd "$dirname"; zip -r "$dirname" *; mv "$dirname".zip ..; cd ..; done; cd .. post_build: commands: - test -e $BUILD_PHASE_MARKER - echo Zipping Lambda code # TODO make the zip file name a template config - zip -r cms-audio-lambda.zip . -x .git - echo Copying zipped Lambda to S3 $CODE_BUCKET - aws s3 cp cms-audio-lambda.zip s3://$CODE_BUCKET/cms-audio-lambda.zip # TOD Get version ID and write it back to template config artifacts: # It seems like CodePipeline and CodeBuild expect an artifact here. Currently # we don't need any, so this is essentially a no-op. files: - README.md ``` Work on deploy package naming
```yaml version: 0.1 environment_variables: plaintext: FFPROBE_PATH: "bin/ffprobe" BUILD_PHASE_MARKER: build_phase_complete phases: install: commands: - echo $CODEBUILD_SOURCE_VERSION pre_build: commands: - npm install - chmod +x get-ffmpeg - ./get-ffmpeg build: commands: - npm test - touch $BUILD_PHASE_MARKER post_build: commands: - test -e $BUILD_PHASE_MARKER - echo Zipping Lambda code - zip -r cms-audio-lambda-$(basename $CODEBUILD_SOURCE_VERSION) . -x .git - echo Copying zipped Lambda to S3 $CODE_BUCKET - aws s3 cp cms-audio-lambda-$(basename $CODEBUILD_SOURCE_VERSION) s3://$CODE_BUCKET/cms-audio-lambda-$(basename $CODEBUILD_SOURCE_VERSION) # TODO Get version ID and write it back to template config artifacts: # It seems like CodePipeline and CodeBuild expect an artifact here. Currently # we don't need any, so this is essentially a no-op. files: - README.md ```
0a2a7024-fc35-4b95-9181-b62491609ad7
{ "language": "YAML" }
```yaml # PatchKit Tools Configuration # Behaviour debug: true # Api connection api_url: http://api.patchkit.net # Uploading # Upload chunk size in bytes upload_chunk_size: 262144 ``` Change chunk size to 32 megabytes
```yaml # PatchKit Tools Configuration # Behaviour debug: true # Api connection api_url: http://api.patchkit.net # Uploading # Upload chunk size in bytes upload_chunk_size: 33554432 ```
1a875013-570f-470b-ad55-e2daa052747e
{ "language": "YAML" }
```yaml --- # Playbook to install fileserver, master and worker tools ## Prepare fileserver - hosts: fileserver user: admin sudo: true roles: - private_ip - update - fileserver # Install tool dependencies, slurm, mount volumes - hosts: - master_private - workers vars_files: - inventory/cluster_data.yml user: admin sudo: true roles: - private_ip - update - core # Install tools and other master things (Postgres, proFTPd, galaxy, etc) - hosts: master_private vars_files: - roles/master/vars/tools.yml - roles/core/vars/main.yml sudo: true roles: - master # Reboot remote systems - hosts: - workers - fileserver sudo: true tasks: - name: Reboot system after provision command: /sbin/reboot ``` Reboot master as well after deploying
```yaml --- # Playbook to install fileserver, master and worker tools ## Prepare fileserver - hosts: fileserver user: admin sudo: true roles: - private_ip - update - fileserver # Install tool dependencies, slurm, mount volumes - hosts: - master_private - workers vars_files: - inventory/cluster_data.yml user: admin sudo: true roles: - private_ip - update - core # Install tools and other master things (Postgres, proFTPd, galaxy, etc) - hosts: master_private vars_files: - roles/master/vars/tools.yml - roles/core/vars/main.yml sudo: true roles: - master # Reboot remote systems - hosts: - workers - master - fileserver sudo: true tasks: - name: Reboot system after provision command: /sbin/reboot ```
352222af-c4e2-4c70-abff-b335cf98781c
{ "language": "YAML" }
```yaml {% set version = "5.2p1" %} package: name: blasr version: {{ version }} build: number: 0 skip: True # [not py27 or osx] source: # fn: blasr_{{ version }}.tar.gz # url: https://github.com/PacificBiosciences/blasr/archive/061bd35783637f511bdec6c237a2f8d1c0514e6e.tar.gz # md5: 257828868b17903608b010c7b2966d51 git_url: https://github.com/PacificBiosciences/blasr.git git_rev: 061bd35783637f511bdec6c237a2f8d1c0514e6e patches: - blasr.patch requirements: build: - gcc # [not osx] - llvm # [osx] - hdf5 - git run: - libgcc # [not osx] - hdf5 test: commands: - blasr --version about: home: https://github.com/PacificBiosciences/blasr license: BSD-3-Clause-Clear license_file: LICENSE summary: BLASR - The PacBio long read aligner ``` Update the version and the revision
```yaml {% set version = "4.0.0" %} package: name: blasr version: {{ version }} build: number: 0 skip: True # [not py27 or osx] source: git_url: https://github.com/PacificBiosciences/blasr.git git_rev: 8d086d747e51a409f25481524e92e99750b14d59 patches: - blasr.patch requirements: build: - gcc # [not osx] - llvm # [osx] - hdf5 - git run: - libgcc # [not osx] - hdf5 test: commands: - blasr --version about: home: https://github.com/PacificBiosciences/blasr license: BSD-3-Clause-Clear license_file: LICENSE summary: BLASR - The PacBio long read aligner ```
8ae1e235-ac6e-44d9-a9c2-3df33ab9b38b
{ "language": "YAML" }
```yaml {% set name = "verta" %} {% set version = "0.8.1" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: 24db7f5922fd63db8094717a020560435e121f5bf9c7c9478bad5938fe08947e build: noarch: python number: 0 script: "{{ PYTHON }} -m pip install . --no-deps -vv" requirements: host: - python >=3.5 - pip run: - python >=3.5 - googleapis-common-protos ~=1.5 - grpcio ~=1.16 - joblib ~=0.13 - protobuf ~=3.6 - requests ~=2.21 test: imports: - verta about: home: https://verta.readthedocs.io/en/latest/ license: Apache-2.0 license_family: Apache license_file: LICENSE summary: 'Python client for interfacing with ModelDB' doc_url: https://verta.readthedocs.io/en/latest/ dev_url: https://github.com/VertaAI/modeldb-client/ extra: recipe-maintainers: - convoliution - mvartakAtVerta ``` Change version specifiers from ~= to >=
```yaml {% set name = "verta" %} {% set version = "0.8.1" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: 24db7f5922fd63db8094717a020560435e121f5bf9c7c9478bad5938fe08947e build: noarch: python number: 0 script: "{{ PYTHON }} -m pip install . --no-deps -vv" requirements: host: - python >=3.5 - pip run: - python >=3.5 - googleapis-common-protos >=1.5 - grpcio >=1.16 - joblib >=0.13 - protobuf >=3.6 - requests >=2.21 test: imports: - verta about: home: https://verta.readthedocs.io/en/latest/ license: Apache-2.0 license_family: Apache license_file: LICENSE summary: 'Python client for interfacing with ModelDB' doc_url: https://verta.readthedocs.io/en/latest/ dev_url: https://github.com/VertaAI/modeldb-client/ extra: recipe-maintainers: - convoliution - mvartakAtVerta ```
fde9aa9f-02bd-4886-a1bc-de0f7fbc8268
{ "language": "YAML" }
```yaml AntiFeatures: - NonFreeNet Categories: - Internet - Science & Education License: GPL-3.0-or-later AuthorName: Vít Skalický AuthorEmail: vit.skalicky@email.cz SourceCode: https://github.com/vitSkalicky/lepsi-rozvrh IssueTracker: https://github.com/vitSkalicky/lepsi-rozvrh/issues AutoName: Better schedule RepoType: git Repo: https://github.com/vitSkalicky/lepsi-rozvrh.git Builds: - versionName: '1.0' versionCode: 1 commit: v1.0 subdir: app gradle: - yes - versionName: '1.1' versionCode: 2 commit: v1.1 subdir: app gradle: - yes - versionName: 1.3.2 versionCode: 6 commit: v1.3.2 subdir: app gradle: - yes scanignore: - app/build.gradle - versionName: '1.4' versionCode: 7 commit: v1.4 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags UpdateCheckIgnore: beta preview CurrentVersion: '1.4' CurrentVersionCode: 7 ``` Update Better schedule to 1.5 (8)
```yaml AntiFeatures: - NonFreeNet Categories: - Internet - Science & Education License: GPL-3.0-or-later AuthorName: Vít Skalický AuthorEmail: vit.skalicky@email.cz SourceCode: https://github.com/vitSkalicky/lepsi-rozvrh IssueTracker: https://github.com/vitSkalicky/lepsi-rozvrh/issues AutoName: Better schedule RepoType: git Repo: https://github.com/vitSkalicky/lepsi-rozvrh.git Builds: - versionName: '1.0' versionCode: 1 commit: v1.0 subdir: app gradle: - yes - versionName: '1.1' versionCode: 2 commit: v1.1 subdir: app gradle: - yes - versionName: 1.3.2 versionCode: 6 commit: v1.3.2 subdir: app gradle: - yes scanignore: - app/build.gradle - versionName: '1.4' versionCode: 7 commit: v1.4 subdir: app gradle: - yes - versionName: '1.5' versionCode: 8 commit: v1.5 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags UpdateCheckIgnore: beta preview CurrentVersion: '1.5' CurrentVersionCode: 8 ```
e8381aec-7684-496b-8a6f-a4d0af7cf3e1
{ "language": "YAML" }
```yaml --- # Copyright 2017, Rackspace US, Inc. # # 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. - project: name: openstack/openstack-ansible-galera_client check: jobs: - openstack-ansible-linters - openstack-ansible-functional-centos-7 - openstack-ansible-functional-opensuse-423 - openstack-ansible-functional-ubuntu-xenial - openstack-ansible-ssl-galera_server-ubuntu-xenial - openstack-ansible-functional-galera_server-ubuntu-xenial gate: jobs: - openstack-ansible-linters - openstack-ansible-functional-centos-7 - openstack-ansible-functional-opensuse-423 - openstack-ansible-functional-ubuntu-xenial ``` Allow the experimental trigger of the integrated repo
```yaml --- # Copyright 2017, Rackspace US, Inc. # # 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. - project: name: openstack/openstack-ansible-galera_client check: jobs: - openstack-ansible-linters - openstack-ansible-functional-centos-7 - openstack-ansible-functional-opensuse-423 - openstack-ansible-functional-ubuntu-xenial - openstack-ansible-ssl-galera_server-ubuntu-xenial - openstack-ansible-functional-galera_server-ubuntu-xenial experimental: jobs: - openstack-ansible-integrated-deploy-aio gate: jobs: - openstack-ansible-linters - openstack-ansible-functional-centos-7 - openstack-ansible-functional-opensuse-423 - openstack-ansible-functional-ubuntu-xenial ```
d263f029-0610-49d4-9f1e-c7de18f76904
{ "language": "YAML" }
```yaml version: 2 jobs: build: working_directory: ~/mern-starter # directory where steps will run docker: # run the steps with Docker - image: circleci/node:10.14 steps: - checkout - run: name: update-npm command: 'sudo npm install -g npm@latest' - run: name: update-apt-get command: 'sudo apt-get update' - run: name: install-xmlsec1 command: 'sudo apt-get install xmlsec1' - restore_cache: # special step to restore the dependency cache key: dependency-cache-{{ checksum "package.json" }} - run: name: install-deps command: npm install - save_cache: # special step to save the dependency cache key: dependency-cache-{{ checksum "package.json" }} paths: - ./node_modules - run: # run tests with code coverage name: test-code-coverage command: npm run coverage - run: # run coveralls report name: test-report-coveralls command: npm run coveralls ``` Update nodejs to LTS version
```yaml version: 2 jobs: build: working_directory: ~/mern-starter # directory where steps will run docker: # run the steps with Docker - image: circleci/node:16.13 steps: - checkout - run: name: update-npm command: 'sudo npm install -g npm@latest' - run: name: update-apt-get command: 'sudo apt-get update' - run: name: install-xmlsec1 command: 'sudo apt-get install xmlsec1' - restore_cache: # special step to restore the dependency cache key: dependency-cache-{{ checksum "package.json" }} - run: name: install-deps command: npm install - save_cache: # special step to save the dependency cache key: dependency-cache-{{ checksum "package.json" }} paths: - ./node_modules - run: # run tests with code coverage name: test-code-coverage command: npm run coverage - run: # run coveralls report name: test-report-coveralls command: npm run coveralls ```
0eaf4109-0b51-41e2-b2ba-1b6e78861ae7
{ "language": "YAML" }
```yaml version: 2 jobs: build: docker: - image: debian:stable working_directory: /src/cl-png steps: - checkout - run: apt-get update -y && apt-get install -y sbcl wget gcc libpng-dev - run: wget https://beta.quicklisp.org/quicklisp.lisp - run: sbcl --load quicklisp.lisp --eval "(quicklisp-quickstart:install)" --eval '(ql:quickload "cffi")' --quit - run: ln -s /src/cl-png /root/quicklisp/local-projects/png - run: sbcl --load /root/quicklisp/setup.lisp --eval '(ql:quickload "png")' --eval "(asdf:oos 'asdf:load-op '#:png-test)" --eval "(lisp-unit:run-all-tests :png-test)" --quit ``` Add other tests to CircleCI
```yaml version: 2 jobs: build: docker: - image: debian:stable working_directory: /src/cl-png steps: - checkout - run: apt-get update -y && apt-get install -y sbcl wget gcc libpng-dev - run: wget https://beta.quicklisp.org/quicklisp.lisp - run: sbcl --load quicklisp.lisp --eval "(quicklisp-quickstart:install)" --eval '(ql:quickload "cffi")' --quit - run: ln -s /src/cl-png /root/quicklisp/local-projects/png - run: sbcl --load /root/quicklisp/setup.lisp --eval '(ql:quickload "png")' --eval "(asdf:oos 'asdf:load-op '#:png-test)" --eval "(lisp-unit:run-all-tests :png-test)" --quit - run: sbcl --load /root/quicklisp/setup.lisp --eval '(ql:quickload "png")' --eval "(asdf:oos 'asdf:load-op '#:image-test)" --eval "(lisp-unit:run-all-tests :image-test)" --quit - run: sbcl --load /root/quicklisp/setup.lisp --eval '(ql:quickload "png")' --eval "(asdf:oos 'asdf:load-op '#:bmp-test)" --eval "(lisp-unit:run-all-tests :bmp-test)" --quit - run: sbcl --load /root/quicklisp/setup.lisp --eval '(ql:quickload "png")' --eval "(asdf:oos 'asdf:load-op '#:ops-test)" --eval "(lisp-unit:run-all-tests :ops-test)" --quit ```
663dbe86-f30e-4ac5-bc75-f5ad422358e1
{ "language": "YAML" }
```yaml version: 2 jobs: build: docker: - image: circleci/node:8@sha256:0f7e40987efd757877a64d34f49ed5b9d611e9d2f969d12bdabdf87daf45f29a - image: circleci/mongo:3@sha256:c9066bf12029c85a280120305f0ab49bd97203fae76e891aa52f0bf7342bef94 steps: - checkout - run: yarn install --frozen-lockfile - run: yarn test - run: yarn codecov ``` Update circleci/mongo:3 Docker digest to 04a81e
```yaml version: 2 jobs: build: docker: - image: circleci/node:8@sha256:0f7e40987efd757877a64d34f49ed5b9d611e9d2f969d12bdabdf87daf45f29a - image: circleci/mongo:3@sha256:04a81e1cd52345ebf5886874621d47f32662810213ef327532bf2aa63ae86dc6 steps: - checkout - run: yarn install --frozen-lockfile - run: yarn test - run: yarn codecov ```
047e91ab-8d42-4055-9f32-b2d7aba23bbd
{ "language": "YAML" }
```yaml version: 2 jobs: build: working_directory: ~/code docker: - image: circleci/android:api-28 environment: JVM_OPTS: -Xmx3200m steps: - checkout - restore_cache: key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }} # - run: # name: Chmod permissions #if permission for Gradlew Dependencies fail, use this. # command: sudo chmod +x ./gradlew - run: name: Download Dependencies command: ./gradlew androidDependencies - save_cache: paths: - ~/.gradle key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }} - run: name: Run Tests command: ./gradlew testDebugUnitTest - store_artifacts: # for display in Artifacts: https://circleci.com/docs/2.0/artifacts/ path: app/build/reports destination: reports - store_test_results: # for display in Test Summary: https://circleci.com/docs/2.0/collect-test-data/ path: app/build/test-results # See https://circleci.com/docs/2.0/deployment-integrations/ for deploy examples ``` Fix Circle CI cache key
```yaml version: 2 reference: ## Cache gradle_key: &gradle_key jars-{{ checksum "gradle/wrapper/gradle-wrapper.properties" }}-{{ checksum "build.gradle" }} restore_gradle_cache: &restore_gradle_cache restore_cache: key: *gradle_key save_gradle_cache: &save_gradle_cache save_cache: key: *gradle_key paths: - ~/.gradle - ~/.m2 jobs: build: working_directory: ~/code docker: - image: circleci/android:api-28 environment: JVM_OPTS: -Xmx3200m steps: - checkout - *restore_gradle_cache - run: name: Download Dependencies command: ./gradlew androidDependencies - *save_gradle_cache - run: name: Run Tests command: ./gradlew testDebugUnitTest - store_artifacts: # for display in Artifacts: https://circleci.com/docs/2.0/artifacts/ path: app/build/reports destination: reports - store_test_results: # for display in Test Summary: https://circleci.com/docs/2.0/collect-test-data/ path: app/build/test-results # See https://circleci.com/docs/2.0/deployment-integrations/ for deploy examples ```
8b6b20b0-c8ce-4037-96e2-ed5ec7d23877
{ "language": "YAML" }
```yaml version: 2 jobs: build: environment: JVM_OPTS: -Xmx3200m docker: - image: circleci/android:api-28 steps: - checkout - restore_cache: keys: - v1-dep-{{ checksum "lib/build.gradle" }} - run: ./gradlew androidDependencies - save_cache: key: v1-dep-{{ checksum "lib/build.gradle" }} paths: - ~/.gradle - ~/.android - /usr/local/android-sdk-linux/extras - run: name: Run checks command: ./gradlew clean test lint --continue --console=plain --max-workers=3 - store_artifacts: path: lib/build/reports destination: reports - store_test_results: path: lib/build/test-results``` Update CircleCI Docker image to supported format
```yaml version: 2 jobs: build: environment: JVM_OPTS: -Xmx3200m docker: - image: cimg/android:2022.03.1 steps: - checkout - restore_cache: keys: - v1-dep-{{ checksum "lib/build.gradle" }} - run: ./gradlew androidDependencies - save_cache: key: v1-dep-{{ checksum "lib/build.gradle" }} paths: - ~/.gradle - ~/.android - /usr/local/android-sdk-linux/extras - run: name: Run checks command: ./gradlew clean test lint --continue --console=plain --max-workers=3 - store_artifacts: path: lib/build/reports destination: reports - store_test_results: path: lib/build/test-results ```
e68335b7-7386-4e0b-a170-284e2cedda5b
{ "language": "YAML" }
```yaml version: 2 jobs: build: docker: - image: circleci/node:latest steps: - checkout # - run: # name: update-npm # command: 'sudo npm install -g npm@latest' - restore_cache: key: dependency-cache-{{ checksum "package.json" }} - run: name: install-npm-wee command: npm install - save_cache: key: dependency-cache-{{ checksum "package.json" }} paths: - ./node_modules - run: name: test command: npm test - run: name: deploy command: | echo "${CIRCLE_TAG}" if [[ "${CIRCLE_TAG}" =~ v[0-9]+(\.[0-9]+)* ]]; then node ./scripts/publish.js fi``` Add workflow to trigger tag builds
```yaml version: 2 jobs: build: docker: - image: circleci/node:latest steps: - checkout # - run: # name: update-npm # command: 'sudo npm install -g npm@latest' - restore_cache: key: dependency-cache-{{ checksum "package.json" }} - run: name: install-npm-wee command: npm install - save_cache: key: dependency-cache-{{ checksum "package.json" }} paths: - ./node_modules - run: name: test command: npm test - run: name: deploy command: | echo "${CIRCLE_TAG}" if [[ "${CIRCLE_TAG}" =~ v[0-9]+(\.[0-9]+)* ]]; then node ./scripts/publish.js fi workflows: version: 2 build-n-publish: jobs: - build: filters: tags: only: /v[0-9]+(\.[0-9]+)*/```
d7e0da87-c191-4156-834a-434f6175259e
{ "language": "YAML" }
```yaml version: 2 jobs: build: parallelism: 3 working_directory: ~/music-service-api docker: - image: circleci/ruby:2.4.1-node environment: RAILS_ENV: test - image: circleci/postgres:9.4.12-alpine steps: - checkout # Restore bundle cache - restore_cache: key: music-service-api-{{ checksum "Gemfile.lock" }} # Bundle install dependencies - run: bundle install --path vendor/bundle # Store bundle cache - save_cache: key: music-service-api-{{ checksum "Gemfile.lock" }} paths: - vendor/bundle # Database setup - run: bundle exec rake db:create - run: bundle exec rake db:schema:load # Run rspec in parallel - type: shell command: | bundle exec rspec --profile 10 \ --format RspecJunitFormatter \ --out test_results/rspec.xml \ --format progress \ $(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings) # Save test results for timing analysis - store_test_results: path: test_results ``` Set DATABASE_URL env var in circleci
```yaml version: 2 jobs: build: parallelism: 3 working_directory: ~/music-service-api docker: - image: circleci/ruby:2.4.1-node environment: RAILS_ENV: test - image: circleci/postgres:9.4.12-alpine steps: - checkout # Restore bundle cache - restore_cache: key: music-service-api-{{ checksum "Gemfile.lock" }} # Bundle install dependencies - run: bundle install --path vendor/bundle # Store bundle cache - save_cache: key: music-service-api-{{ checksum "Gemfile.lock" }} paths: - vendor/bundle # Database setup - run: bundle exec rake db:create - run: bundle exec rake db:schema:load environment: DATABASE_URL: "postgres://ubuntu@localhost:5432/db_name" # Run rspec in parallel - type: shell command: | bundle exec rspec --profile 10 \ --format RspecJunitFormatter \ --out test_results/rspec.xml \ --format progress \ $(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings) # Save test results for timing analysis - store_test_results: path: test_results ```
e4429c1a-aa7a-417f-8ef2-f24260f2e3e3
{ "language": "YAML" }
```yaml version: 2.1 orbs: ruby-orbs: sue445/ruby-orbs@volatile heroku: circleci/heroku@volatile slack: circleci/slack@volatile executors: default: docker: - image: circleci/ruby:2.7.2 environment: RACK_ENV: test - image: circleci/postgres:9.4-alpine-ram environment: POSTGRES_USER: ubuntu POSTGRES_DB: circle_test working_directory: ~/app jobs: rspec: executor: name: default steps: - checkout - ruby-orbs/bundle-install: cache_key_prefix: "v3-bundle" - run: cp .circleci/database.yml config/database.yml - run: bundle exec rake ar:migrate:reset - run: bundle exec rspec - slack/notify: event: fail template: basic_fail_1 rubocop: executor: name: default steps: - checkout - ruby-orbs/bundle-install: cache_key_prefix: "v3-bundle" - run: bundle exec rubocop - slack/notify: event: fail template: basic_fail_1 workflows: version: 2 build-and-deploy: jobs: - rspec - rubocop - heroku/deploy-via-git: context: Heroku requires: - rspec - rubocop filters: branches: only: master post-deploy: - slack/notify: event: fail template: basic_fail_1 ``` Revert " slack/status is removed since circleci/slack v4.0.0"
```yaml version: 2.1 orbs: ruby-orbs: sue445/ruby-orbs@volatile heroku: circleci/heroku@volatile slack: circleci/slack@volatile executors: default: docker: - image: circleci/ruby:2.7.2 environment: RACK_ENV: test - image: circleci/postgres:9.4-alpine-ram environment: POSTGRES_USER: ubuntu POSTGRES_DB: circle_test working_directory: ~/app jobs: rspec: executor: name: default steps: - checkout - ruby-orbs/bundle-install: cache_key_prefix: "v3-bundle" - run: cp .circleci/database.yml config/database.yml - run: bundle exec rake ar:migrate:reset - run: bundle exec rspec - slack/notify: event: fail template: basic_fail_1 rubocop: executor: name: default steps: - checkout - ruby-orbs/bundle-install: cache_key_prefix: "v3-bundle" - run: bundle exec rubocop - slack/notify: event: fail template: basic_fail_1 workflows: version: 2 build-and-deploy: jobs: - rspec - rubocop - heroku/deploy-via-git: context: Heroku requires: - rspec - rubocop filters: branches: only: master post-deploy: - slack/status ```
b9e50cd4-bd7a-4d3c-9ed2-140c852bdbcd
{ "language": "YAML" }
```yaml AntiFeatures: - NonFreeNet Categories: - Internet License: LGPL-3.0-only AuthorName: wangdaye SourceCode: https://github.com/WangDaYeeeeee/GeometricWeather IssueTracker: https://github.com/WangDaYeeeeee/GeometricWeather/issues Changelog: https://github.com/WangDaYeeeeee/GeometricWeather/releases AutoName: Geometric Weather RepoType: git Repo: https://github.com/WangDaYeeeeee/GeometricWeather.git Builds: - versionName: 3.007_fdroid versionCode: 30007 commit: '3.007' subdir: app gradle: - fdroid rm: - app/libs/* prebuild: perl -i -0 -p -e 's|maven {\n\s*url "https://dl.bintray.com/qichuan/maven/"\n\s*}||g' build.gradle AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: 3.007_fdroid CurrentVersionCode: 30007 ``` Update Geometric Weather to 3.008_fdroid (30008)
```yaml AntiFeatures: - NonFreeNet Categories: - Internet License: LGPL-3.0-only AuthorName: wangdaye SourceCode: https://github.com/WangDaYeeeeee/GeometricWeather IssueTracker: https://github.com/WangDaYeeeeee/GeometricWeather/issues Changelog: https://github.com/WangDaYeeeeee/GeometricWeather/releases AutoName: Geometric Weather RepoType: git Repo: https://github.com/WangDaYeeeeee/GeometricWeather.git Builds: - versionName: 3.007_fdroid versionCode: 30007 commit: '3.007' subdir: app gradle: - fdroid rm: - app/libs/* prebuild: perl -i -0 -p -e 's|maven {\n\s*url "https://dl.bintray.com/qichuan/maven/"\n\s*}||g' build.gradle - versionName: 3.008_fdroid versionCode: 30008 commit: '3.008' subdir: app gradle: - fdroid rm: - app/libs/* prebuild: perl -i -0 -p -e 's|maven {\n\s*url "https://dl.bintray.com/qichuan/maven/"\n\s*}||g' build.gradle AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: 3.008_fdroid CurrentVersionCode: 30008 ```
d7549114-5406-4bce-948e-b7373f0ae167
{ "language": "YAML" }
```yaml --- - name: Add the PostgreSQL public GPG key to the apt repo apt_key: url=https://www.postgresql.org/media/keys/ACCC4CF8.asc state=present - name: Add PostgreSQL to the sources list apt_repository: repo='deb http://apt.postgresql.org/pub/repos/apt/ {{ ansible_distribution_release }}-pgdg main' update_cache={{ update_apt_cache }} state=present - name: Install PostgreSQL apt: name={{ item }} update_cache={{ update_apt_cache }} state=installed with_items: - postgresql - postgresql-contrib - python-psycopg2 tags: packages - name: Ensure the PostgreSQL service is running service: name=postgresql state=started enabled=yes - name: Ensure database is created become: yes become_user: postgres postgresql_db: name={{ db_name }} encoding='UTF-8' lc_collate='en_US.UTF-8' lc_ctype='en_US.UTF-8' template='template0' state=present - name: Ensure user has access to the database become: yes become_user: postgres postgresql_user: db={{ db_name }} name={{ db_user }} password={{ db_password }} priv=ALL state=present - name: Ensure user does not have unnecessary privileges become: yes become_user: postgres postgresql_user: name={{ db_user }} role_attr_flags=NOSUPERUSER,NOCREATEDB state=present ``` Make sure db locale is available on the machine before setting this.
```yaml --- - name: Ensure locale is available locale_gen: name=en_US.UTF-8 - name: Add the PostgreSQL public GPG key to the apt repo apt_key: url=https://www.postgresql.org/media/keys/ACCC4CF8.asc state=present - name: Add PostgreSQL to the sources list apt_repository: repo='deb http://apt.postgresql.org/pub/repos/apt/ {{ ansible_distribution_release }}-pgdg main' update_cache={{ update_apt_cache }} state=present - name: Install PostgreSQL apt: name={{ item }} update_cache={{ update_apt_cache }} state=installed with_items: - postgresql - postgresql-contrib - python-psycopg2 tags: packages - name: Ensure the PostgreSQL service is running service: name=postgresql state=started enabled=yes - name: Ensure database is created become: yes become_user: postgres postgresql_db: name={{ db_name }} encoding='UTF-8' lc_collate='en_US.UTF-8' lc_ctype='en_US.UTF-8' template='template0' state=present - name: Ensure user has access to the database become: yes become_user: postgres postgresql_user: db={{ db_name }} name={{ db_user }} password={{ db_password }} priv=ALL state=present - name: Ensure user does not have unnecessary privileges become: yes become_user: postgres postgresql_user: name={{ db_user }} role_attr_flags=NOSUPERUSER,NOCREATEDB state=present ```
9c8d225c-5458-41a4-be58-773909f23b61
{ "language": "YAML" }
```yaml --- - name: Install Go unarchive: src: "https://storage.googleapis.com/golang/go{{ go_version }}.darwin-amd64.tar.gz" dest: /usr/local copy: no creates: /usr/local/go/VERSION tags: - go ``` Make it easy to upgrade go
```yaml --- - name: Checking installed version of go command: cat /usr/local/go/VERSION register: current_go_version ignore_errors: yes tags: - go - name: Remove old version of Go file: path: /usr/local/go state: absent when: not "go{{ go_version }}" == current_go_version.stdout tags: - go - name: Install Go unarchive: src: "https://storage.googleapis.com/golang/go{{ go_version }}.darwin-amd64.tar.gz" dest: /usr/local copy: no creates: /usr/local/go/VERSION when: not "go{{ go_version }}" == current_go_version.stdout tags: - go ```
f38c35cf-d304-4e19-86f1-5dd46c0087d6
{ "language": "YAML" }
```yaml generator: class: dmAdminDoctrineGenerator param: model_class: DmCatalogue theme: dmAdmin non_verbose_templates: true with_show: false route_prefix: dm_catalogue with_doctrine_route: false config: actions: ~ fields: { } list: display: - '=name' - source_lang - target_lang sort: - name - asc table_method: getAdminListQuery table_count_method: ~ sortable: false filter: display: - name - source_lang - target_lang form: display: NONE: [name] Others: [source_lang, target_lang] class: DmCatalogueAdminForm fields: { } edit: ~ new: ~ ``` Add message lists to catalogue admin
```yaml generator: class: dmAdminDoctrineGenerator param: model_class: DmCatalogue theme: dmAdmin non_verbose_templates: true with_show: false route_prefix: dm_catalogue with_doctrine_route: false config: actions: ~ fields: { } list: display: - '=name' - source_lang - target_lang - units_list sort: - name - asc table_method: getAdminListQuery table_count_method: ~ sortable: false filter: display: - name - source_lang - target_lang form: display: NONE: [name] Others: [source_lang, target_lang] Messages: [units_list] class: DmCatalogueAdminForm fields: { } edit: ~ new: ~ ```
627d4f12-5277-4dae-86f7-3646b765fd88
{ "language": "YAML" }
```yaml --- - project: templates: - openstack-lower-constraints-jobs - openstack-python3-victoria-jobs - check-requirements - publish-openstack-docs-pti - release-notes-jobs-python3 - periodic-stable-jobs ``` Add Python3 wallaby unit tests
```yaml --- - project: templates: - openstack-lower-constraints-jobs - openstack-python3-wallaby-jobs - check-requirements - publish-openstack-docs-pti - release-notes-jobs-python3 - periodic-stable-jobs ```
7fbbc65a-6e9c-4df3-a1b3-225400e66b6c
{ "language": "YAML" }
```yaml apiVersion: extensions/v1beta1 kind: Deployment metadata: name: k8s-snapshots namespace: kube-system spec: replicas: 1 template: metadata: labels: app: k8s-snapshots spec: containers: - name: k8s-snapshots image: elsdoerfer/k8s-snapshots:dev # v2.0 has a breaking bug in AWS support env: - name: USE_CLAIM_NAME value: "true" # k8s-snapshots need EBS and S3 permissions to take and save snapshots. # Under the kops IAM Role scheme, only Masters have these permissions. # The easiest solution was to run k8s-snapshots on Masters. See # https://issues.gpii.net/browse/GPII-2545?focusedCommentId=28509&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-28509 # # To run on a Master, we need to: # * overcome a Taint -- see # https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ # # * specify that we require a Master -- see # https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ tolerations: - key: "node-role.kubernetes.io/master" operator: "Equal" value: "" effect: "NoSchedule" nodeSelector: kubernetes.io/role: master ``` Use mrtyler version of k8s-snapshots.
```yaml apiVersion: extensions/v1beta1 kind: Deployment metadata: name: k8s-snapshots namespace: kube-system spec: replicas: 1 template: metadata: labels: app: k8s-snapshots spec: containers: - name: k8s-snapshots # Temporarily using mrtyler version of this image due to # https://github.com/miracle2k/k8s-snapshots/issues/53 image: mrtyler/k8s-snapshots:dev # Use :dev because :v2.0 has a breaking bug in AWS support env: - name: USE_CLAIM_NAME value: "true" # k8s-snapshots need EBS and S3 permissions to take and save snapshots. # Under the kops IAM Role scheme, only Masters have these permissions. # The easiest solution was to run k8s-snapshots on Masters. See # https://issues.gpii.net/browse/GPII-2545?focusedCommentId=28509&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-28509 # # To run on a Master, we need to: # * overcome a Taint -- see # https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ # # * specify that we require a Master -- see # https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ tolerations: - key: "node-role.kubernetes.io/master" operator: "Equal" value: "" effect: "NoSchedule" nodeSelector: kubernetes.io/role: master ```
5ec41634-6eac-4d4a-9672-210a769cd845
{ "language": "YAML" }
```yaml flexget_tasks: - { name: "an_rss_feed", rss: "http://a_url"} millpond_transmission_user: something millpond_transmission_pass: redacted letsencrypt_dir: /etc/letsencrypt/live/istic.net ``` Update example config & docs
```yaml ##### # Flexget configuration flexget_tasks: - { name: "an_rss_feed", rss: "http://a_url"} ##### # Transmission configuration millpond_transmission_user: something millpond_transmission_pass: redacted ##### # nginx config letsencrypt_dir: /etc/letsencrypt/live/[certname] ##### # plex update settings plex_email: user@example.com plex_password: s3cret ##### # Retort (Kettle controller) # Allows IPs that start with these numbers retort_allow_ip: - "192.168" - "82.6.184.52" retort_server_name: kettle.supersecret-dynamicdns-name.net retort_server_alias: kettle.local retort_htaccess: /etc/apache2/users ##### # Filebot install version # Currently there's no update detection, so if you change this # delete /usr/bin/filebot on the servers to force the upgrade. filebot_version: 4.7.8 ```
53672bd4-87f4-4b29-bef1-67b01b5bbc61
{ "language": "YAML" }
```yaml image: python:2.7 default: test targets: versiune: image: lstephen/versiune:14 run: - VERSION - -f python construi/__version__.py test_p27: &test_p before: - versiune run: python setup.py test test_p34: <<: *test_p image: python:3.4 test: before: - test_p27 - test_p34 run: echo 'Done' package: before: - versiune run: - rm -rf dist - python setup.py sdist release: before: - package environment: - DRY_RUN - TWINE_USERNAME - TWINE_PASSWORD volumes: - $GIT_SSH_KEY:/ssh/id_rsa run: scripts/release.sh flake8: python setup.py flake8 format: python setup.py yapf ``` Remove versiune use in travis
```yaml image: python:2.7 default: test targets: test_p27: &test_p run: python setup.py test test_p34: <<: *test_p image: python:3.4 test: before: - test_p27 - test_p34 package: run: - rm -rf dist - python setup.py sdist release: before: - package environment: - DRY_RUN - TWINE_USERNAME - TWINE_PASSWORD volumes: - $GIT_SSH_KEY:/ssh/id_rsa run: scripts/release.sh flake8: python setup.py flake8 format: python setup.py yapf ```
22f588cf-f11e-4117-9dbb-9968bad0dd3d
{ "language": "YAML" }
```yaml doc-warnings: yes test-warnings: yes strictness: high max-line-length: 80 autodetect: no pep8: full: true pyroma: run: true vulture: run: true ``` Remove vulture from prospector run.
```yaml doc-warnings: yes test-warnings: yes strictness: high max-line-length: 80 autodetect: no pep8: full: true pyroma: run: true ```
a4b75eca-18b8-4bb2-8952-dc7cc6058d7b
{ "language": "YAML" }
```yaml ignore-paths: - doc - cli.py - test - alembic - app_context_rqworker.py - warm.py pylint: disable: - F0401 - E0611 - W0613 ``` Change order of ignore error.
```yaml ignore-paths: - doc - cli.py - test - alembic - app_context_rqworker.py - warm.py pylint: disable: - E0611 - F0401 - W0613 ```
8530e6a2-e06c-494c-ac07-aec4a2cfcef2
{ "language": "YAML" }
```yaml homepage: '' changelog-type: '' hash: aa45956d66e8b64d57b42f33753688e028e9b44d992d99cc06514aa4150d639d test-bench-deps: {} maintainer: janis.voigtlaender@uni-due.de synopsis: Interpreter for AM changelog: '' basic-deps: base: ! '>=3 && <5' parsec: ! '>=3.0 && <3.2' deepseq: ! '>=1.0 && <1.5' all-versions: - '0.0' - 0.0.0.1 - 0.0.0.2 - 0.0.0.3 - 0.0.0.4 - 0.0.0.5 - 0.0.0.6 author: Daniel Seidel and Janis Voigtlaender latest: 0.0.0.6 description-type: haddock description: The package contains an interpreter for the AM-Language that is introduced in the basic programming course \"Algorithmisches Denken und imperative Programmierung\" (WS 2011/12 and later) at the University of Bonn. license-name: LicenseRef-GPL ``` Update from Hackage at 2020-01-17T10:16:55Z
```yaml homepage: '' changelog-type: '' hash: a8e2fda769004d057891c8259f8cdce8ff2949ab739a337db57da380a0bd6fd1 test-bench-deps: {} maintainer: janis.voigtlaender@uni-due.de synopsis: Interpreter for AM changelog: '' basic-deps: base: ! '>=3 && <5' parsec: ! '>=3.0 && <3.2' deepseq: ! '>=1.0 && <1.5' all-versions: - '0.0' - 0.0.0.1 - 0.0.0.2 - 0.0.0.3 - 0.0.0.4 - 0.0.0.5 - 0.0.0.6 - 0.0.0.7 author: Daniel Seidel and Janis Voigtlaender latest: 0.0.0.7 description-type: haddock description: The package contains an interpreter for the AM-Language that is introduced in the basic programming course \"Algorithmisches Denken und imperative Programmierung\" (WS 2011/12 and later) at the University of Bonn. license-name: LicenseRef-GPL ```
d6d27655-8f78-45ac-ab2b-cc9a3b7b447f
{ "language": "YAML" }
```yaml Categories: - Graphics - Reading - Theming License: Apache-2.0 SourceCode: https://github.com/RichyHBM/Monochromatic IssueTracker: https://github.com/RichyHBM/Monochromatic/issues AutoName: Monochromatic Summary: Enable the built-in black and white mode Description: |- This app makes use of the built-in black and white device feature to provide a blue-light filtered screen without the use of an overlay screen, to help relax your eyes at night and disincentivise phone usage. RepoType: git Repo: https://github.com/RichyHBM/Monochromatic Builds: - versionName: '0.2' versionCode: 1 commit: v0.2 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: '0.2' CurrentVersionCode: 1 ``` Update Monochromatic to 0.3.1 (4)
```yaml Categories: - Graphics - Reading - Theming License: Apache-2.0 SourceCode: https://github.com/RichyHBM/Monochromatic IssueTracker: https://github.com/RichyHBM/Monochromatic/issues AutoName: Monochromatic Summary: Enable the built-in black and white mode Description: |- This app makes use of the built-in black and white device feature to provide a blue-light filtered screen without the use of an overlay screen, to help relax your eyes at night and disincentivise phone usage. RepoType: git Repo: https://github.com/RichyHBM/Monochromatic Builds: - versionName: '0.2' versionCode: 1 commit: v0.2 subdir: app gradle: - yes - versionName: 0.3.1 versionCode: 4 commit: v0.3.1 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 0.3.1 CurrentVersionCode: 4 ```
eb715328-bb4a-4cfd-8b18-bf1bee11e522
{ "language": "YAML" }
```yaml --- "Basic delete_by_query": - do: index: index: test_1 type: test id: 1 body: { foo: bar } - do: index: index: test_1 type: test id: 2 body: { foo: baz } - do: index: index: test_1 type: test id: 3 body: { foo: foo } - do: indices.refresh: {} - do: delete_by_query: index: test_1 body: query: match: foo: bar - is_true: ok - do: indices.refresh: {} - do: count: index: test_1 - match: { count: 2 } ``` Split delete by query tests pre-1.0 and post-1.0
```yaml --- "Basic delete_by_query, post 1.0": - skip: version: "0 - 0.999" reason: "Since 1.0 the query top-level key in the body is required" - do: index: index: test_1 type: test id: 1 body: { foo: bar } - do: index: index: test_1 type: test id: 2 body: { foo: baz } - do: index: index: test_1 type: test id: 3 body: { foo: foo } - do: indices.refresh: {} - do: delete_by_query: index: test_1 body: query: match: foo: bar - is_true: ok - do: indices.refresh: {} - do: count: index: test_1 - match: { count: 2 } --- "Basic delete_by_query, pre 1.0": - skip: version: "1 - 999" reason: "Since 1.0 the query top-level key in the body is required" - do: index: index: test_1 type: test id: 1 body: { foo: bar } - do: index: index: test_1 type: test id: 2 body: { foo: baz } - do: index: index: test_1 type: test id: 3 body: { foo: foo } - do: indices.refresh: {} - do: delete_by_query: index: test_1 body: match: foo: bar - is_true: ok - do: indices.refresh: {} - do: count: index: test_1 - match: { count: 2 } ```
ab466baf-6fd5-4b7b-be0c-66bf8de1a1e0
{ "language": "YAML" }
```yaml Categories: - Multimedia License: GPL-3.0-only SourceCode: https://github.com/flackbash/AudioAnchor IssueTracker: https://github.com/flackbash/AudioAnchor/issues Changelog: https://github.com/flackbash/AudioAnchor/releases AutoName: AudioAnchor Description: |- ''AudioAnchor'' is an audio player that tracks the listening process of your audio books and podcasts. '''Features:''' AudioAnchor offers a clean and intuitive interface for listening to audio files while keeping track of the listening process. Additional features include: * lock screen media controls * sleep timer * export / import listening progress as sql database RepoType: git Repo: https://github.com/flackbash/AudioAnchor Builds: - versionName: '1.7' versionCode: 8 commit: v1.7 subdir: app gradle: - yes - versionName: '1.8' versionCode: 9 commit: v1.8 subdir: app gradle: - yes - versionName: 1.8.1 versionCode: 10 commit: v1.8.1 subdir: app gradle: - yes - versionName: '1.9' versionCode: 11 commit: v1.9 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: '1.9' CurrentVersionCode: 11 ``` Update AudioAnchor to 1.9.1 (12)
```yaml Categories: - Multimedia License: GPL-3.0-only SourceCode: https://github.com/flackbash/AudioAnchor IssueTracker: https://github.com/flackbash/AudioAnchor/issues Changelog: https://github.com/flackbash/AudioAnchor/releases AutoName: AudioAnchor Description: |- ''AudioAnchor'' is an audio player that tracks the listening process of your audio books and podcasts. '''Features:''' AudioAnchor offers a clean and intuitive interface for listening to audio files while keeping track of the listening process. Additional features include: * lock screen media controls * sleep timer * export / import listening progress as sql database RepoType: git Repo: https://github.com/flackbash/AudioAnchor Builds: - versionName: '1.7' versionCode: 8 commit: v1.7 subdir: app gradle: - yes - versionName: '1.8' versionCode: 9 commit: v1.8 subdir: app gradle: - yes - versionName: 1.8.1 versionCode: 10 commit: v1.8.1 subdir: app gradle: - yes - versionName: '1.9' versionCode: 11 commit: v1.9 subdir: app gradle: - yes - versionName: 1.9.1 versionCode: 12 commit: v1.9.1 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 1.9.1 CurrentVersionCode: 12 ```
bda9de27-1f82-49c7-882c-c21dc3bdb60c
{ "language": "YAML" }
```yaml --- - name: Install i3 apt: name: i3 become: yes - name: Install desktop enviroment extras apt: name: "{{ item }}" become: yes with_items: - xautolock - feh - pavucontrol - moka-icon-theme - vinagre - rofi - arc-theme - lxappearance - compton - alsa-tools-gui - xfce4-power-manager ``` Install cups and tlp as part of i3 role
```yaml --- - name: Install i3 apt: name: i3 become: yes - name: Install desktop enviroment extras apt: name: "{{ item }}" become: yes with_items: - xautolock - feh - pavucontrol - moka-icon-theme - vinagre - rofi - arc-theme - lxappearance - compton - alsa-tools-gui - xfce4-power-manager - cups - tlp ```
ba7c3846-1d36-4fe8-afc4-8089ac172881
{ "language": "YAML" }
```yaml name: SuperbVote main: io.minimum.minecraft.superbvote.SuperbVote author: tuxed version: ${project.version} depend: [Votifier] softdepend: [Vault] api-version: "1.13" commands: superbvote: description: SuperbVote main command. aliases: [sv] vote: description: SuperbVote vote command. permissions: superbvote.notify: default: true superbvote.votes.others: default: op superbvote.admin: default: op``` Add PlaceholderAPI as a softdepend
```yaml name: SuperbVote main: io.minimum.minecraft.superbvote.SuperbVote author: tuxed version: ${project.version} depend: [Votifier] softdepend: [Vault, PlaceholderAPI] api-version: "1.13" commands: superbvote: description: SuperbVote main command. aliases: [sv] vote: description: SuperbVote vote command. permissions: superbvote.notify: default: true superbvote.votes.others: default: op superbvote.admin: default: op ```
10d973f3-5ac4-4553-8b09-aac9593d4fc4
{ "language": "YAML" }
```yaml # This file describes an application. You can have multiple applications # in the same project. # The name of this app. Must be unique within a project. name: myphpproject # The type of the application to build. type: php:5.6 build: flavor: symfony # The relationships of the application with services or other applications. # The left-hand side is the name of the relationship as it will be exposed # to the application in the PLATFORM_RELATIONSHIPS variable. The right-hand # side is in the form `<service name>:<endpoint name>`. relationships: database: "mysql:mysql" # The configuration of app when it is exposed to the web. web: locations: "/": # The public directory of the app, relative to its root. root: "web" # The front-controller script to send non-static requests to. passthru: "/app.php" # The size of the persistent disk of the application (in MB). disk: 2048 # The mounts that will be performed when the package is deployed. mounts: "/var/cache": "shared:files/cache" "/var/logs": "shared:files/logs" "/var/sessions": "shared:files/sessions" # The hooks that will be performed when the package is deployed. hooks: build: | rm web/app_dev.php bin/console --env=prod assets:install --no-debug ``` Switch to PHP 7 by default.
```yaml # This file describes an application. You can have multiple applications # in the same project. # The name of this app. Must be unique within a project. name: myphpproject # The type of the application to build. type: php:7.0 build: flavor: symfony # The relationships of the application with services or other applications. # The left-hand side is the name of the relationship as it will be exposed # to the application in the PLATFORM_RELATIONSHIPS variable. The right-hand # side is in the form `<service name>:<endpoint name>`. relationships: database: "mysql:mysql" # The configuration of app when it is exposed to the web. web: locations: "/": # The public directory of the app, relative to its root. root: "web" # The front-controller script to send non-static requests to. passthru: "/app.php" # The size of the persistent disk of the application (in MB). disk: 2048 # The mounts that will be performed when the package is deployed. mounts: "/var/cache": "shared:files/cache" "/var/logs": "shared:files/logs" "/var/sessions": "shared:files/sessions" # The hooks that will be performed when the package is deployed. hooks: build: | rm web/app_dev.php bin/console --env=prod assets:install --no-debug ```
84eff618-8b8d-4c74-8f65-8692a444640c
{ "language": "YAML" }
```yaml ################################################## ## Automation ################################################## automation: - alias: Turn on in the morning and sunset trigger: - platform: time at: "06:30:00" - platform: sun event: sunset offset: "-01:00:00" action: - service: homeassistant.turn_on entity_id: switch.lwrf_hall_socket_1 # Twigs - service: homeassistant.turn_on entity_id: switch.lwrf_hall_socket_2 # Air Freshener - alias: Turn off after sunrise trigger: - platform: numeric_state entity_id: sun.sun value_template: "{{ state.attributes.elevation }}" above: 10.0 action: - service: homeassistant.turn_off entity_id: switch.lwrf_hall_socket_1 # Twigs - alias: Turn off at night trigger: - platform: time at: "23:00:00" action: - service: homeassistant.turn_off entity_id: switch.lwrf_hall_socket_2 # Air Freshener ``` Update to use state_attr to avoid errors when value not available
```yaml ################################################## ## Automation ################################################## automation: - alias: Turn on in the morning and sunset trigger: - platform: time at: "06:30:00" - platform: sun event: sunset offset: "-01:00:00" action: - service: homeassistant.turn_on entity_id: switch.lwrf_hall_socket_1 # Twigs - service: homeassistant.turn_on entity_id: switch.lwrf_hall_socket_2 # Air Freshener - alias: Turn off after sunrise trigger: - platform: numeric_state entity_id: sun.sun value_template: "{{ state_attr('sun.sun', 'elevation') }}" above: 10.0 action: - service: homeassistant.turn_off entity_id: switch.lwrf_hall_socket_1 # Twigs - alias: Turn off at night trigger: - platform: time at: "23:00:00" action: - service: homeassistant.turn_off entity_id: switch.lwrf_hall_socket_2 # Air Freshener ```
7bfe7048-5d25-4211-abf4-d567a6cfe87d
{ "language": "YAML" }
```yaml steps: - download: current artifact: ${{ parameters.platform }}_wheels displayName: Download wheels - task: UsePythonVersion@0 inputs: versionSpec: '$(python.version)' architecture: 'x64' displayName: 'Use Python $(python.version)' - script: | python -m pip install --upgrade pip pip install tox codecov displayName: Install tox - bash: | ls $PIPELINE_WORKSPACE/${{ parameters.platform }}_wheels/ tox --installpkg $PIPELINE_WORKSPACE/${{ parameters.platform }}_wheels/$WHL_FILE displayName: Run tests ``` Add codecov to wheel tests
```yaml steps: - download: current artifact: ${{ parameters.platform }}_wheels displayName: Download wheels - task: UsePythonVersion@0 inputs: versionSpec: '$(python.version)' architecture: 'x64' displayName: 'Use Python $(python.version)' - script: | python -m pip install --upgrade pip pip install tox codecov displayName: Install tox - bash: | ls $PIPELINE_WORKSPACE/${{ parameters.platform }}_wheels/ tox --installpkg $PIPELINE_WORKSPACE/${{ parameters.platform }}_wheels/$WHL_FILE displayName: Run tests - task: PythonScript@0 inputs: scriptSource: 'filePath' scriptPath: 'ci/upload_coverage.py' arguments: --codecov-token 813fb6da-087d-4b36-a185-5a530cab3455 displayName: 'Upload codecov data' ```
9660ef9a-4835-4684-97d3-42b3a2aeddc3
{ "language": "YAML" }
```yaml --- class_name: "RunfolderSensor" entry_point: "runfolder_sensor.py" description: "Sensor which monitors runfolders" poll_interval: 30 trigger_types: - name: "runfolder_ready" description: "Trigger which indicates that a runfolder is ready for processing" payload_schema: type: "object" properties: host: type: "string" runfolder: type: "string" link: type: "string" timestamp: type: "string" ``` Increase sensor poll time to 5 min
```yaml --- class_name: "RunfolderSensor" entry_point: "runfolder_sensor.py" description: "Sensor which monitors runfolders" poll_interval: 300 # Every 5 minutes trigger_types: - name: "runfolder_ready" description: "Trigger which indicates that a runfolder is ready for processing" payload_schema: type: "object" properties: host: type: "string" runfolder: type: "string" link: type: "string" timestamp: type: "string" ```
d0d99af4-ddd2-433d-992c-b98be0ae56f3
{ "language": "YAML" }
```yaml --- name: Long Lartin nomis_id: LLI enabled: false estate: Long Lartin ``` Update Long Lartin for Go Live
```yaml --- name: Long Lartin nomis_id: LLI enabled: true estate: Long Lartin address: - South Littleton - Evesham - Worcestershire - WR11 8TZ booking_window: 28 email: Socialvisits.longlartin@hmps.gsi.gov.uk lead_days: 3 phone: 01386 295188 slots: tue: - 1400-1615 thu: - 1400-1615 sat: - 1400-1600 sun: - 1400-1600 unbookable: - 2015-12-25 - 2015-12-26 - 2016-01-01 ```
90c23ec8-e5eb-48ec-aa39-9f796b6b20be
{ "language": "YAML" }
```yaml - hosts: localhost roles: - prepare-docs-for-afs - role: fetch-tox-output tox_envlist: releasenotes - role: fetch-sphinx-output sphinx_output_src: "{{ zuul.project.src_dir }}/doc/build/html/" zuul_executor_dest: "{{ zuul.executor.work_root }}/artifacts" - create-afs-token - role: upload-afs afs_target: "{{ afs.path }}/releasenotes/{{ zuul.project.short_name }}" - destroy-afs-token ``` Switch release note publish jobs to use the correct path
```yaml - hosts: localhost roles: - prepare-docs-for-afs - role: fetch-tox-output tox_envlist: releasenotes - role: fetch-sphinx-output sphinx_output_src: "{{ zuul.project.src_dir }}/releasenotes/build/html/" zuul_executor_dest: "{{ zuul.executor.work_root }}/artifacts" - create-afs-token - role: upload-afs afs_target: "{{ afs.path }}/releasenotes/{{ zuul.project.short_name }}" - destroy-afs-token ```
43cf3190-2ac4-4fdd-bb4d-147158431331
{ "language": "YAML" }
```yaml --- - name: Ensure logfile path with correct ownership file: path: "{{ logfile }}" mode: 0644 owner: "{{ ansible_user_id }}" state: touch become: yes ``` Add access and modification time to logfile touch
```yaml --- - name: Ensure logfile path with correct ownership file: path: "{{ logfile }}" mode: 0644 owner: "{{ ansible_user_id }}" state: touch access_time: preserve modification_time: preserve become: yes ```