doc_id
stringlengths
36
36
metadata
dict
input
stringlengths
28
4.3k
output
stringlengths
11
5.45k
73870255-d853-4437-b847-99f2410b536d
{ "language": "YAML" }
```yaml - name: Client library help items: - name: Getting started href: getting-started.md - name: Troubleshooting href: troubleshooting.md - name: Emulator support href: emulators.md - name: Supported platforms href: platforms.md - name: Package names href: package-names.md - name: Page streaming href: page-streaming.md - name: Resource names and IDs href: resource-names.md - name: API layers href: api-layers.md - name: Call settings href: call-settings.md - name: Resource clean-up href: cleanup.md - name: Versioning href: versioning.md ``` Add TOC entry for GAX v4 breaking changes
```yaml - name: Client library help items: - name: Getting started href: getting-started.md - name: Troubleshooting href: troubleshooting.md - name: Emulator support href: emulators.md - name: Supported platforms href: platforms.md - name: Package names href: package-names.md - name: Page streaming href: page-streaming.md - name: Resource names and IDs href: resource-names.md - name: API layers href: api-layers.md - name: Call settings href: call-settings.md - name: Resource clean-up href: cleanup.md - name: Versioning href: versioning.md - name: GAX v4 breaking changes href: breaking-gax4.md ```
bec82762-d80c-4e87-9c29-c72bc85aa1b1
{ "language": "YAML" }
```yaml script: - pip install -i http://pypi.douban.com/simple/ --trusted-host=pypi.douban.com -r dev-requirements.txt - python setup.py develop - py.test --cov=badwolf -v notification: email: [email protected] ``` Send notification email to tech group
```yaml script: - pip install -i http://pypi.douban.com/simple/ --trusted-host=pypi.douban.com -r dev-requirements.txt - python setup.py develop - py.test --cov=badwolf -v notification: email: [email protected] ```
9eaf6e08-01c0-4991-aacd-9952446650ed
{ "language": "YAML" }
```yaml homepage: https://hub.darcs.net/vmchale/continued-fraction#readme changelog-type: '' hash: 450e6d11c9877cbb0afd8bab3a20da3bbe687fd728483d165d298f458198f6bf test-bench-deps: continued-fraction: -any base: -any hspec: -any criterion: -any maintainer: [email protected] synopsis: Types and functions for working with continued fractions in Haskell changelog: '' basic-deps: free: -any base: ! '>=4.9 && <5' recursion-schemes: ! '>=5.0' all-versions: - '0.1.0.0' - '0.1.0.3' author: Vanessa McHale latest: '0.1.0.3' description-type: markdown description: ! "# continued-fraction\n\nThis is a library for working with continued fractions and rational\napproximations in Haskell.\n\n## The pitch\n\n * Simple, easy to use library\n * Documentation with examples\n\n## The anti-pitch\n\n * Not optimized for performance\n * Missing some features present in other libraries\n" license-name: BSD3 ``` Update from Hackage at 2018-01-08T20:10:26Z
```yaml homepage: https://hub.darcs.net/vmchale/continued-fraction#readme changelog-type: '' hash: 8b45ed830b0c4283155a556090b810d1e831af5727f7ca1196ccef2f87c50bb2 test-bench-deps: continued-fraction: -any base: -any hspec: -any criterion: -any maintainer: [email protected] synopsis: Types and functions for working with continued fractions in Haskell changelog: '' basic-deps: base: ! '>=4.9 && <5' recursion-schemes: ! '>=5.0' all-versions: - '0.1.0.0' - '0.1.0.3' - '0.1.0.4' author: Vanessa McHale latest: '0.1.0.4' description-type: markdown description: ! "# continued-fraction\n\nThis is a library for working with continued fractions and rational\napproximations in Haskell. You can find documentation\n[here](https://hackage.haskell.org/package/continued-fraction).\n\n## The pitch\n\n * Simple, easy to use library\n * Documentation with examples\n\n## The anti-pitch\n\n * Not optimized for performance\n * Missing some features present in other libraries\n" license-name: BSD3 ```
9a1751ab-da6d-4af5-a13b-01a127f37476
{ "language": "YAML" }
```yaml AllCops: Exclude: - db/schema.rb - web/node_modules/**/* Documentation: Enabled: false Metrics/LineLength: Max: 120 Exclude: - db/**/*.rb - spec/**/*.rb Style/HashSyntax: EnforcedStyle: hash_rockets Style/NestedParenthesizedCalls: Enabled: false Style/BlockDelimiters: Exclude: - config/routes.rb ``` Exclude specs from RuboCop BlockLength rule
```yaml AllCops: Exclude: - db/schema.rb - web/node_modules/**/* Documentation: Enabled: false Metrics/LineLength: Max: 120 Exclude: - db/**/*.rb - spec/**/*.rb Metrics/BlockLength: Exclude: - spec/**/*.rb Style/HashSyntax: EnforcedStyle: hash_rockets Style/NestedParenthesizedCalls: Enabled: false Style/BlockDelimiters: Exclude: - config/routes.rb ```
72686905-ab8a-413f-95bb-0dbb06525e05
{ "language": "YAML" }
```yaml inherit_from: .rubocop_todo.yml AllCops: TargetRubyVersion: 1.9 Include: - "**/*.cap" - "Gemfile" - "Rakefile" - "appsignal.gemspec" Exclude: - "tmp/**/*" - "gemfiles/vendor/**/*" - "vendor/**/*" - "benchmark.rake" DisplayCopNames: true UseCache: true CacheRootDirectory: ./tmp Style/Documentation: Enabled: false Style/StringLiterals: EnforcedStyle: double_quotes Style/StringLiteralsInInterpolation: EnforcedStyle: double_quotes Layout/AlignParameters: EnforcedStyle: with_fixed_indentation Layout/MultilineMethodCallIndentation: EnforcedStyle: indented Layout/MultilineOperationIndentation: EnforcedStyle: indented Style/HashSyntax: EnforcedStyle: hash_rockets Layout/AlignHash: EnforcedLastArgumentHashStyle: ignore_implicit Layout/IndentArray: EnforcedStyle: consistent Style/EmptyMethod: EnforcedStyle: expanded Style/MethodMissing: Exclude: - "lib/appsignal/extension.rb" - "lib/appsignal/transaction.rb" Style/TrailingUnderscoreVariable: Enabled: false Style/FileName: Exclude: - "ext/Rakefile" Metrics/BlockLength: Exclude: - "Rakefile" # Metrics/LineLength: # Max: 80 ``` Exclude `pkg/` dir in RuboCop
```yaml inherit_from: .rubocop_todo.yml AllCops: TargetRubyVersion: 1.9 Include: - "**/*.cap" - "Gemfile" - "Rakefile" - "appsignal.gemspec" Exclude: - "pkg/**/*" - "tmp/**/*" - "gemfiles/vendor/**/*" - "vendor/**/*" - "benchmark.rake" DisplayCopNames: true UseCache: true CacheRootDirectory: ./tmp Style/Documentation: Enabled: false Style/StringLiterals: EnforcedStyle: double_quotes Style/StringLiteralsInInterpolation: EnforcedStyle: double_quotes Layout/AlignParameters: EnforcedStyle: with_fixed_indentation Layout/MultilineMethodCallIndentation: EnforcedStyle: indented Layout/MultilineOperationIndentation: EnforcedStyle: indented Style/HashSyntax: EnforcedStyle: hash_rockets Layout/AlignHash: EnforcedLastArgumentHashStyle: ignore_implicit Layout/IndentArray: EnforcedStyle: consistent Style/EmptyMethod: EnforcedStyle: expanded Style/MethodMissing: Exclude: - "lib/appsignal/extension.rb" - "lib/appsignal/transaction.rb" Style/TrailingUnderscoreVariable: Enabled: false Style/FileName: Exclude: - "ext/Rakefile" Metrics/BlockLength: Exclude: - "Rakefile" # Metrics/LineLength: # Max: 80 ```
080852a7-148f-4035-b45b-fa13ca2d7ee3
{ "language": "YAML" }
```yaml --- inherit_from: .rubocop_todo.yml require: rubocop-performance AllCops: TargetRubyVersion: 2.5 NewCops: enable Layout/LineLength: Max: 123 Exclude: - 'lib/gitlab/client/*' - 'spec/**/*' Metrics/BlockLength: Exclude: - 'spec/**/*' Metrics/ParameterLists: MaxOptionalParameters: 4 Style/Documentation: Enabled: false Style/ClassAndModuleChildren: Exclude: - 'lib/gitlab/*' - 'lib/gitlab/client/*' Lint/NonDeterministicRequireOrder: Enabled: false ``` Disable new cops in Rubocop
```yaml --- inherit_from: .rubocop_todo.yml require: rubocop-performance AllCops: TargetRubyVersion: 2.5 NewCops: disable Layout/LineLength: Max: 123 Exclude: - 'lib/gitlab/client/*' - 'spec/**/*' Metrics/BlockLength: Exclude: - 'spec/**/*' Metrics/ParameterLists: MaxOptionalParameters: 4 Style/Documentation: Enabled: false Style/ClassAndModuleChildren: Exclude: - 'lib/gitlab/*' - 'lib/gitlab/client/*' Lint/NonDeterministicRequireOrder: Enabled: false ```
7f21efe2-a0b1-4b25-a743-f5a7d2c7478f
{ "language": "YAML" }
```yaml # See https://cloud.google.com/cloud-build/docs/build-config steps: - name: gcr.io/cloud-builders/docker entrypoint: "/usr/bin/make" args: - "push-images" - "TAG=$_GIT_TAG" - name: "gcr.io/google.com/cloudsdktool/cloud-sdk" entrypoint: "/usr/bin/make" args: - "deploy" - "TAG=$_GIT_TAG" substitutions: # variables set by kubernetes/test-infra/images/builder # set by image-builder to vYYYYMMDD-hash _GIT_TAG: "12345" ``` Add stage ids and wait for image build
```yaml # See https://cloud.google.com/cloud-build/docs/build-config steps: - id: build-image name: gcr.io/cloud-builders/docker entrypoint: "/usr/bin/make" args: - "push-images" - "TAG=$_GIT_TAG" - id: deploy-staging name: "gcr.io/google.com/cloudsdktool/cloud-sdk" entrypoint: "/usr/bin/make" args: - "deploy" - "TAG=$_GIT_TAG" waitFor: - build-image substitutions: # variables set by kubernetes/test-infra/images/builder # set by image-builder to vYYYYMMDD-hash _GIT_TAG: "12345" ```
68a8f3ce-be9a-44d4-88f4-e772de5115b0
{ "language": "YAML" }
```yaml --- mountpoints: /srv/storage/space: device: saam:/srv/storage/space fstype: nfs options: - rw - soft - intr - rsize=8192 - wsize=8192 - noauto - x-systemd.automount - x-systemd.device-timeout=10 /srv/softwareheritage/objects: device: saam:/srv/softwareheritage/objects fstype: nfs options: - rw - soft - intr - rsize=8192 - wsize=8192 - noauto - x-systemd.automount - x-systemd.device-timeout=10 ``` Add swap and tmp on tmpfs for Rocquencourt prod workers
```yaml --- tmpfs::size: "%{::memory.swap.total_bytes}" tmpfs::nr_inodes: 1m mountpoints: /srv/storage/space: device: saam:/srv/storage/space fstype: nfs options: - rw - soft - intr - rsize=8192 - wsize=8192 - noauto - x-systemd.automount - x-systemd.device-timeout=10 /srv/softwareheritage/objects: device: saam:/srv/softwareheritage/objects fstype: nfs options: - rw - soft - intr - rsize=8192 - wsize=8192 - noauto - x-systemd.automount - x-systemd.device-timeout=10 swap: device: LABEL="swap" fstype: swap options: - sw /tmp: device: tmpfs fstype: tmpfs options: - "size=%{lookup('tmpfs::size')}" - "nr_inodes=%{lookup('tmpfs::nr_inodes')}" - noexec - nosuid - nodev - relatime - rw ```
a5baa4a8-e69a-4d50-a66d-fc79624cfc02
{ "language": "YAML" }
```yaml Categories: - Internet License: GPL-3.0-or-later SourceCode: https://github.com/fabienli/DokuwikiAndroid IssueTracker: https://github.com/fabienli/DokuwikiAndroid/issues AutoName: Dokuwiki Description: Android application to access a dokuwiki and keep pages in local cache. RepoType: git Repo: https://github.com/fabienli/DokuwikiAndroid Builds: - versionName: v0.8 versionCode: 52 commit: v0.8 subdir: app gradle: - yes - versionName: v0.10 versionCode: 54 commit: v0.10 subdir: app gradle: - yes - versionName: v0.11 versionCode: 55 commit: v0.11 subdir: app gradle: - yes - versionName: v0.14 versionCode: 58 commit: v0.14 subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags v\d+\.\d+ CurrentVersion: v0.14 CurrentVersionCode: 58 ``` Update Dokuwiki to v0.16 (60)
```yaml Categories: - Internet License: GPL-3.0-or-later SourceCode: https://github.com/fabienli/DokuwikiAndroid IssueTracker: https://github.com/fabienli/DokuwikiAndroid/issues AutoName: Dokuwiki Description: Android application to access a dokuwiki and keep pages in local cache. RepoType: git Repo: https://github.com/fabienli/DokuwikiAndroid Builds: - versionName: v0.8 versionCode: 52 commit: v0.8 subdir: app gradle: - yes - versionName: v0.10 versionCode: 54 commit: v0.10 subdir: app gradle: - yes - versionName: v0.11 versionCode: 55 commit: v0.11 subdir: app gradle: - yes - versionName: v0.14 versionCode: 58 commit: v0.14 subdir: app gradle: - yes - versionName: v0.16 versionCode: 60 commit: v0.16 subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags v\d+\.\d+ CurrentVersion: v0.16 CurrentVersionCode: 60 ```
7662667e-8d19-4eb6-a46a-149275a03ee9
{ "language": "YAML" }
```yaml Categories: - Internet License: GPL-3.0-only SourceCode: https://github.com/slowscript/warpinator-android IssueTracker: https://github.com/slowscript/warpinator-android/issues Changelog: https://github.com/slowscript/warpinator-android/releases AutoName: Warpinator RepoType: git Repo: https://github.com/slowscript/warpinator-android.git Builds: - versionName: '1.3' versionCode: 1030 commit: v1.3 subdir: app gradle: - yes - versionName: 1.3.1 versionCode: 1031 commit: 1845359ed79470cd7d66de784eb04af4c5e50900 subdir: app gradle: - yes AutoUpdateMode: Version UpdateCheckMode: Tags CurrentVersion: 1.3.1 CurrentVersionCode: 1031 ``` Update Warpinator to 1.3.2 (1032)
```yaml Categories: - Internet License: GPL-3.0-only SourceCode: https://github.com/slowscript/warpinator-android IssueTracker: https://github.com/slowscript/warpinator-android/issues Changelog: https://github.com/slowscript/warpinator-android/releases AutoName: Warpinator RepoType: git Repo: https://github.com/slowscript/warpinator-android.git Builds: - versionName: '1.3' versionCode: 1030 commit: v1.3 subdir: app gradle: - yes - versionName: 1.3.1 versionCode: 1031 commit: 1845359ed79470cd7d66de784eb04af4c5e50900 subdir: app gradle: - yes - versionName: 1.3.2 versionCode: 1032 commit: e5d1ea32d9fa6edf622466ec9a81a03a495336d9 subdir: app gradle: - yes AutoUpdateMode: Version UpdateCheckMode: Tags CurrentVersion: 1.3.2 CurrentVersionCode: 1032 ```
ba9078f9-8740-4ce0-afa5-87db3ee93949
{ "language": "YAML" }
```yaml --- - name: etcd version set_fact: etcd_version: "v2.2.0" - name: Create download dir file: path="/tmp/.ansible/files" state=directory - name: Download tar file get_url: url: "https://github.com/coreos/etcd/releases/download/{{ etcd_version }}/etcd-{{ etcd_version }}-linux-amd64.tar.gz" dest: /tmp/.ansible/files validate_certs: False environment: http_proxy: "{{ http_proxy|default('') }}" https_proxy: "{{ https_proxy|default('') }}" - name: Extract tar file unarchive: src: "/tmp/.ansible/files/etcd-{{ etcd_version }}-linux-amd64.tar.gz" dest: /usr/local copy: no - name: Create symlinks file: src: /usr/local/etcd-{{ etcd_version }}-linux-amd64/{{ item }} dest: /usr/local/bin/{{ item }} state: link with_items: - etcd - etcdctl - name: Create upstart script copy: src=etcd.upstart dest=/etc/init/etcd.conf - name: Create config directory file: path="/etc/etcd" state=directory ``` Update ansible etcd version to 2.2.3
```yaml --- - name: etcd version set_fact: etcd_version: "v2.2.3" - name: Create download dir file: path="/tmp/.ansible/files" state=directory - name: Download tar file get_url: url: "https://github.com/coreos/etcd/releases/download/{{ etcd_version }}/etcd-{{ etcd_version }}-linux-amd64.tar.gz" dest: /tmp/.ansible/files validate_certs: False environment: http_proxy: "{{ http_proxy|default('') }}" https_proxy: "{{ https_proxy|default('') }}" - name: Extract tar file unarchive: src: "/tmp/.ansible/files/etcd-{{ etcd_version }}-linux-amd64.tar.gz" dest: /usr/local copy: no - name: Create symlinks file: src: /usr/local/etcd-{{ etcd_version }}-linux-amd64/{{ item }} dest: /usr/local/bin/{{ item }} state: link with_items: - etcd - etcdctl - name: Create upstart script copy: src=etcd.upstart dest=/etc/init/etcd.conf - name: Create config directory file: path="/etc/etcd" state=directory ```
f6c7e98f-b98d-4af5-ac37-0fd5af47ec10
{ "language": "YAML" }
```yaml Categories: - Science & Education - Writing License: Apache-2.0 AuthorName: Marc Donald AuthorWebSite: https://marcdonald.com/ WebSite: https://marcdonald.com/hibi SourceCode: https://github.com/marcdonald/hibi IssueTracker: https://github.com/marcdonald/hibi/issues Changelog: https://github.com/MarcDonald/Hibi/releases AutoName: Hibi RepoType: git Repo: https://github.com/marcdonald/hibi Builds: - versionName: 1.3.2 versionCode: 34 commit: v1.3.2;34 subdir: app gradle: - yes - versionName: 1.3.3 versionCode: 35 commit: v1.3.3;35 subdir: app gradle: - yes AutoUpdateMode: Version v%v;%c UpdateCheckMode: Tags CurrentVersion: 1.3.3 CurrentVersionCode: 35 ``` Update Hibi to 1.4.0 (36)
```yaml Categories: - Science & Education - Writing License: Apache-2.0 AuthorName: Marc Donald AuthorWebSite: https://marcdonald.com/ WebSite: https://marcdonald.com/hibi SourceCode: https://github.com/marcdonald/hibi IssueTracker: https://github.com/marcdonald/hibi/issues Changelog: https://github.com/MarcDonald/Hibi/releases AutoName: Hibi RepoType: git Repo: https://github.com/marcdonald/hibi Builds: - versionName: 1.3.2 versionCode: 34 commit: v1.3.2;34 subdir: app gradle: - yes - versionName: 1.3.3 versionCode: 35 commit: v1.3.3;35 subdir: app gradle: - yes - versionName: 1.4.0 versionCode: 36 commit: v1.4.0;36 subdir: app gradle: - yes AutoUpdateMode: Version v%v;%c UpdateCheckMode: Tags CurrentVersion: 1.4.0 CurrentVersionCode: 36 ```
137f7bb2-00d2-4bd1-a540-ba804bf05eed
{ "language": "YAML" }
```yaml Categories: - Writing License: GPL-3.0-only AuthorName: Om Godse AuthorEmail: [email protected] SourceCode: https://github.com/OmGodse/Notally IssueTracker: https://github.com/OmGodse/Notally/issues Donate: https://www.patreon.com/omgodse AutoName: Notally RepoType: git Repo: https://github.com/OmGodse/Notally Builds: - versionName: '3.0' versionCode: 25 commit: v3.0 subdir: app gradle: - yes - versionName: '3.2' versionCode: 27 commit: v3.2 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: '3.2' CurrentVersionCode: 27 ``` Update Notally to 3.3 (28)
```yaml Categories: - Writing License: GPL-3.0-only AuthorName: Om Godse AuthorEmail: [email protected] SourceCode: https://github.com/OmGodse/Notally IssueTracker: https://github.com/OmGodse/Notally/issues Donate: https://www.patreon.com/omgodse AutoName: Notally RepoType: git Repo: https://github.com/OmGodse/Notally Builds: - versionName: '3.0' versionCode: 25 commit: v3.0 subdir: app gradle: - yes - versionName: '3.2' versionCode: 27 commit: v3.2 subdir: app gradle: - yes - versionName: '3.3' versionCode: 28 commit: v3.3 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: '3.3' CurrentVersionCode: 28 ```
ecc85ef9-8d26-467d-90e8-62912d2e26c3
{ "language": "YAML" }
```yaml Categories: - Internet License: GPL-3.0-only AuthorName: Christian Schneppe SourceCode: https://github.com/kriztan/Pix-Art-Messenger IssueTracker: https://github.com/kriztan/Pix-Art-Messenger/issues Changelog: https://github.com/kriztan/Pix-Art-Messenger/blob/HEAD/CHANGELOG.md AutoName: Pix-Art Messenger RepoType: git Repo: https://github.com/kriztan/Pix-Art-Messenger Builds: - versionName: 2.0.2 versionCode: 233 commit: 2.0.2 gradle: - standard - versionName: 2.1.0 (beta 2018-07-15) versionCode: 237 commit: 2.1.0.3 gradle: - standard - versionName: 2.1.0 versionCode: 238 commit: 2.1.0 gradle: - standard AutoUpdateMode: Version %v UpdateCheckMode: Tags ^[0-9.]+$ CurrentVersion: 2.1.0 CurrentVersionCode: 238 ``` Update Pix-Art Messenger to 2.1.1 (243)
```yaml Categories: - Internet License: GPL-3.0-only AuthorName: Christian Schneppe SourceCode: https://github.com/kriztan/Pix-Art-Messenger IssueTracker: https://github.com/kriztan/Pix-Art-Messenger/issues Changelog: https://github.com/kriztan/Pix-Art-Messenger/blob/HEAD/CHANGELOG.md AutoName: Pix-Art Messenger RepoType: git Repo: https://github.com/kriztan/Pix-Art-Messenger Builds: - versionName: 2.0.2 versionCode: 233 commit: 2.0.2 gradle: - standard - versionName: 2.1.0 (beta 2018-07-15) versionCode: 237 commit: 2.1.0.3 gradle: - standard - versionName: 2.1.0 versionCode: 238 commit: 2.1.0 gradle: - standard - versionName: 2.1.1 versionCode: 243 commit: 2.1.1 gradle: - standard AutoUpdateMode: Version %v UpdateCheckMode: Tags ^[0-9.]+$ CurrentVersion: 2.1.1 CurrentVersionCode: 243 ```
54727def-f5a4-4e4a-9f62-f6a2f2fe181f
{ "language": "YAML" }
```yaml homepage: https://github.com/ethercrow/lightstep-haskell#readme changelog-type: '' hash: 748c6f764ba3694eebc8385c2e7f2c23eac8ce9ea31bfc92538b0b024f9a5cc7 test-bench-deps: {} maintainer: Dmitry Ivanov <[email protected]> synopsis: LightStep OpenTracing client library changelog: '' basic-deps: stm: -any base: ! '>=4.12 && <5' http2-client-grpc: -any unordered-containers: -any text: -any safe-exceptions: -any http2-client: -any async: -any containers: -any lens: -any chronos: -any proto-lens: -any mtl: -any lightstep-haskell: -any transformers: -any proto-lens-runtime: -any all-versions: - 0.1.0 - 0.1.1 - 0.1.2 - 0.1.3 - 0.1.4 - 0.1.5 author: '' latest: 0.1.5 description-type: haddock description: LightStep OpenTracing client library. Uses GRPC transport via proto-lens. license-name: Apache-2.0 ``` Update from Hackage at 2019-10-29T13:20:39Z
```yaml homepage: https://github.com/ethercrow/lightstep-haskell#readme changelog-type: '' hash: 36315a3a74c0e81c7436b7d23bcb635157e4f985f22e571bb8fa555fb3d84f2c test-bench-deps: {} maintainer: Dmitry Ivanov <[email protected]> synopsis: LightStep OpenTracing client library changelog: '' basic-deps: stm: -any base: ! '>=4.12 && <5' http2-client-grpc: -any unordered-containers: -any text: -any safe-exceptions: -any http2-client: -any async: -any containers: -any lens: -any chronos: -any proto-lens: -any mtl: -any lightstep-haskell: -any transformers: -any proto-lens-runtime: -any all-versions: - 0.1.0 - 0.1.1 - 0.1.2 - 0.1.3 - 0.1.4 - 0.1.5 - 0.1.6 author: '' latest: 0.1.6 description-type: haddock description: LightStep OpenTracing client library. Uses GRPC transport via proto-lens. license-name: Apache-2.0 ```
43209039-1555-4f77-ae55-9c0efe8f1221
{ "language": "YAML" }
```yaml - alias: 'Main door open' initial_state: True trigger: - platform: state entity_id: binary_sensor.door_window_sensor_158d00016d6ddb to: 'on' action: - service: light.turn_on data: entity_id: light.gateway_light_34ce0088d9ad - service: xiaomi.play_ringtone data: gw_sid: 14cc20ec7106 ringtone_id: 20 ringtone_vol: 20 - alias: 'Main door close' initial_state: True trigger: - platform: state entity_id: binary_sensor.door_window_sensor_158d00016d6ddb to: 'off' action: - service: light.turn_off data: entity_id: light.gateway_light_34ce0088d9ad - service: xiaomi.stop_ringtone data: gw_sid: 14cc20ec7106 ``` Comment out front door ringtone-malfunctioning.
```yaml - alias: 'Main door open' initial_state: True trigger: - platform: state entity_id: binary_sensor.door_window_sensor_158d00016d6ddb to: 'on' action: - service: light.turn_on data: entity_id: light.gateway_light_34ce0088d9ad # - service: xiaomi.play_ringtone # data: # gw_sid: 14cc20ec7106 # ringtone_id: 20 # ringtone_vol: 20 - alias: 'Main door close' initial_state: True trigger: - platform: state entity_id: binary_sensor.door_window_sensor_158d00016d6ddb to: 'off' action: - service: light.turn_off data: entity_id: light.gateway_light_34ce0088d9ad # - service: xiaomi.stop_ringtone # data: # gw_sid: 14cc20ec7106 ```
7ad3127b-c3a0-400a-8a0e-e8904bee7ae3
{ "language": "YAML" }
```yaml name: Deploy Documentation on: pull_request: branches: - release jobs: deploy-docs: runs-on: ubuntu-latest defaults: run: shell: bash -l {0} steps: - uses: actions/checkout@v2 # Install dependencies - name: Set up Python 3.8 uses: actions/setup-python@v1 with: python-version: 3.8 - name: Install dependencies run: | pip install -r requirements/pip_requirements.txt pip install -r requirements/doc_requirements.txt # Build the documentation - name: Build the documentation run: | cd docs make html # Push the documentation's HTML to github-pages - name: GitHub Pages action uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./docs/_build/html cname: openpnm.org ``` Add option to docs action to run on demand
```yaml name: Deploy Documentation on: workflow_dispatch: pull_request: branches: - release jobs: deploy-docs: runs-on: ubuntu-latest defaults: run: shell: bash -l {0} steps: - uses: actions/checkout@v2 # Install dependencies - name: Set up Python 3.8 uses: actions/setup-python@v1 with: python-version: 3.8 - name: Install dependencies run: | pip install -r requirements/pip_requirements.txt pip install -r requirements/doc_requirements.txt # Build the documentation - name: Build the documentation run: | cd docs make html # Push the documentation's HTML to github-pages - name: GitHub Pages action uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./docs/_build/html cname: openpnm.org ```
31a6de0d-d152-4446-add5-3ba4c3d1c61d
{ "language": "YAML" }
```yaml name: Prettier on: push: branches: [ master, next ] pull_request: branches: [ master, next ] workflow_dispatch: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: ref: ${{ github.head_ref }} - name: Prettify code uses: creyD/[email protected] with: dry: True prettier_options: --write **/*{.php,.md,.js,.css,.html} prettier_plugins: '@prettier/plugin-php' ``` Fix version to be with a "v"
```yaml name: Prettier on: push: branches: [ master, next ] pull_request: branches: [ master, next ] workflow_dispatch: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: ref: ${{ github.head_ref }} - name: Prettify code uses: creyD/[email protected] with: dry: True prettier_options: --write **/*{.php,.md,.js,.css,.html} prettier_plugins: '@prettier/plugin-php' ```
20500ee4-2df6-440c-bc3d-cd46efa4ea99
{ "language": "YAML" }
```yaml --- image: "{{ base_name }}" volume_name: galaxy-gie-all-20170417 image_names: - bgruening/docker-jupyter-notebook:16.01.1 - shiltemann/ethercalc-galaxy-ie ``` Update GIE Docker image volume
```yaml --- image: "{{ base_name }}" volume_name: galaxy-gie-all-20170419 image_names: - bgruening/docker-jupyter-notebook:17.05 - shiltemann/ethercalc-galaxy-ie ```
503cd57c-3e75-4df9-9f68-5c131f5a947d
{ "language": "YAML" }
```yaml app: port: 6789 # namespace: # The base path for this application. Leave empty or omit for none. namespace: /test # trustProxy: # Whether to set the Express 'trust proxy' setting, which tells Express to # use the X-Forwarded-* headers to get client information like IP address and # protocol. trustProxy: true # secret: # The secret key to use for Express sessions. secret: please use something better than this # mongoUrl: # The connection URL to use for MongoDB (to store sessions). mongoUrl: mongodb://localhost/test-connect-sessions logging: # level: # The minimum log level that will be shown in console output. Levels are: # silly:0, input:1, verbose:2, prompt:3, debug:4, http:4.5, info:5, data:6, # help:7, warn:8, error:9 level: http auth: # digestFile: # The file containing usernames and hashed passwords in htdigest format # (lines like 'user:realm:hash' where hash = md5(username:realm:password)) digestFile: test/config/test-users.digest ``` Change test port to 9099
```yaml app: port: 9099 # namespace: # The base path for this application. Leave empty or omit for none. namespace: /test # trustProxy: # Whether to set the Express 'trust proxy' setting, which tells Express to # use the X-Forwarded-* headers to get client information like IP address and # protocol. trustProxy: true # secret: # The secret key to use for Express sessions. secret: please use something better than this # mongoUrl: # The connection URL to use for MongoDB (to store sessions). mongoUrl: mongodb://localhost/test-connect-sessions logging: # level: # The minimum log level that will be shown in console output. Levels are: # silly:0, input:1, verbose:2, prompt:3, debug:4, http:4.5, info:5, data:6, # help:7, warn:8, error:9 level: http auth: # digestFile: # The file containing usernames and hashed passwords in htdigest format # (lines like 'user:realm:hash' where hash = md5(username:realm:password)) digestFile: test/config/test-users.digest ```
b48fc49b-9a48-42ae-9fbc-922a10e1078d
{ "language": "YAML" }
```yaml - project: check: jobs: - monasca-tempest-python-mysql: voting: false - monasca-tempest-python-postgresql: voting: false - monasca-tempest-java-mysql: voting: false - monasca-tempest-java-postgresql: voting: false - legacy-monasca-thresh-maven-build gate: jobs: - legacy-monasca-thresh-maven-build post: jobs: - legacy-monasca-thresh-localrepo-upload ``` Fix Zuul job names to enable tempest tests
```yaml - project: check: jobs: - monasca-tempest-python-influxdb: voting: false - monasca-tempest-python-cassandra: voting: false - monasca-tempest-java-influxdb: voting: false - monasca-tempest-java-cassandra: voting: false - legacy-monasca-thresh-maven-build gate: jobs: - legacy-monasca-thresh-maven-build post: jobs: - legacy-monasca-thresh-localrepo-upload ```
59bc1b18-bf8c-44af-bfaf-66d404432df2
{ "language": "YAML" }
```yaml spring: profiles: active: receiver,ssl hono: client: host: localhost tenant: id: DEFAULT_TENANT device: id: 4711 --- spring: profiles: receiver hono: client: port: 15671 --- spring: profiles: ssl hono: client: hostnameVerificationRequired: false trustStorePath: target/config/hono-demo-certs-jar/trusted-certs.pem ``` Disable JMX exporter for command line consumer.
```yaml spring: jmx: enabled: false profiles: active: receiver,ssl hono: client: host: localhost tenant: id: DEFAULT_TENANT device: id: 4711 --- spring: profiles: receiver hono: client: port: 15671 --- spring: profiles: ssl hono: client: hostnameVerificationRequired: false trustStorePath: target/config/hono-demo-certs-jar/trusted-certs.pem ```
85d2d2de-dcae-4a87-af9d-3f159681b8c5
{ "language": "YAML" }
```yaml name: Copy PR template to Dependabot PRs on: pull_request_target: types: [opened] jobs: copy_pr_template: runs-on: ubuntu-latest if: github.actor == 'dependabot[bot]' steps: - uses: actions/checkout@v3 - name: Fetch PR template id: fetch-pr-template uses: juliangruber/read-file-action@v1 with: path: .github/pull_request_template.md - name: Create comment uses: peter-evans/create-or-update-comment@v2 with: issue-number: ${{ github.event.number }} body: ${{ steps.fetch-pr-template.outputs.content }} ``` Create workflow to copy PR template onto Dependabot PRs
```yaml name: Copy PR template to Dependabot PRs on: pull_request_target: types: [opened] permissions: contents: read pull-requests: write jobs: copy_pr_template: name: Copy PR template to Dependabot PR runs-on: ubuntu-latest if: github.actor == 'dependabot[bot]' steps: - uses: actions/checkout@v3 - name: Post PR template as a comment uses: actions/github-script@v6 with: script: | const fs = require('fs') const body = [ "pull_request_template.md", ".github/pull_request_template.md", "docs/pull_request_template.md", ]. filter(path => fs.existsSync(path)). map(path => fs.readFileSync(path)). join("\n") if (body !== "") { github.rest.issues.createComment({ issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, body }) } ```
51cb4825-214d-4dc2-8dac-24ecc97b34fa
{ "language": "YAML" }
```yaml homepage: '' changelog-type: '' hash: 536eb5ccdb14b53963fd9fbc90f357f7c3e2f4da88c4d2c17d6a2e4123b9f877 test-bench-deps: base: ! '>=4.9.0.0 && <=4.9.1.0' constraints: -any mtl: -any random: -any DeepDarkFantasy: -any maintainer: [email protected] synopsis: A DSL for creating neural network. changelog: '' basic-deps: base: ! '>=4.9.0.0 && <=4.9.1.0' constraints: -any mtl: -any random: -any all-versions: - '0.0.1' - '0.0.1.1' - '0.2017.3.28' - '0.2017.3.30' author: '' latest: '0.2017.3.30' description-type: haddock description: Deep Dark Fantasy(DDF) is a domain specific language that allow one to automatically derive derivative of program in DDF. Hence, one can write neural network in DDF and use the derivative program for gradient descend. license-name: Apache ``` Update from Hackage at 2017-04-01T23:36:21Z
```yaml homepage: '' changelog-type: '' hash: 0dbd16368edcf4cf67ec98a506923cd4500d6ba2f72cca07b469a66a3abdefe4 test-bench-deps: base: ! '>=4.9.0.0 && <=4.9.1.0' constraints: -any mtl: -any random: -any DeepDarkFantasy: -any maintainer: [email protected] synopsis: A DSL for creating neural network. changelog: '' basic-deps: base: ! '>=4.9.0.0 && <=4.9.1.0' constraints: -any mtl: -any random: -any all-versions: - '0.0.1' - '0.0.1.1' - '0.2017.3.28' - '0.2017.3.30' - '0.2017.4.1' author: '' latest: '0.2017.4.1' description-type: haddock description: Deep Dark Fantasy(DDF) is a domain specific language that allow one to automatically derive derivative of program in DDF. Hence, one can write neural network in DDF and use the derivative program for gradient descend. license-name: Apache ```
1d608c35-3cc0-47b2-b5c1-5db5bf7914c3
{ "language": "YAML" }
```yaml one: id: 1 firstname: Ada lastname: Lovelace email: [email protected] encrypted_password: <%= Profile.new.send(:password_digest, 'Testpassword') %> languages: Deutsch city: New York talks: CCC published: true two: id: 2 firstname: Inge lastname: lastname email: [email protected] languages: Deutsch city: Berlin talks: Repuclica three: id: 3 firstname: Anon lastname: lastname email: [email protected] languages: Deutsch city: Hintertupfingen talks: jane: id: 4 firstname: Jane lastname: Admin email: [email protected] encrypted_password: <%= Profile.new.send(:password_digest, 'Testpassword') %> languages: MyString city: MyString admin: true ``` Remove city from the fixtures in the rakes tests
```yaml one: id: 1 firstname: Ada lastname: Lovelace email: [email protected] encrypted_password: <%= Profile.new.send(:password_digest, 'Testpassword') %> languages: Deutsch talks: CCC published: true two: id: 2 firstname: Inge lastname: lastname email: [email protected] languages: Deutsch talks: Repuclica three: id: 3 firstname: Anon lastname: lastname email: [email protected] languages: Deutsch talks: jane: id: 4 firstname: Jane lastname: Admin email: [email protected] encrypted_password: <%= Profile.new.send(:password_digest, 'Testpassword') %> languages: MyString admin: true ```
61d37cde-a240-4f96-9603-6495182c5aaa
{ "language": "YAML" }
```yaml Categories: - Security - System License: GPL-3.0-or-later SourceCode: https://github.com/Secure-File-Manager/Secure-File-Manager IssueTracker: https://github.com/Secure-File-Manager/Secure-File-Manager/issues Changelog: https://github.com/Secure-File-Manager/Secure-File-Manager/blob/HEAD/CHANGELOG.md RepoType: git Repo: https://github.com/Secure-File-Manager/Secure-File-Manager Builds: - versionName: 0.1.2-beta2 versionCode: 4 commit: v0.1.2-beta2 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 0.1.2-beta2 CurrentVersionCode: 4 ``` Set autoname of Secure File Manager Beta
```yaml Categories: - Security - System License: GPL-3.0-or-later SourceCode: https://github.com/Secure-File-Manager/Secure-File-Manager IssueTracker: https://github.com/Secure-File-Manager/Secure-File-Manager/issues Changelog: https://github.com/Secure-File-Manager/Secure-File-Manager/blob/HEAD/CHANGELOG.md AutoName: Secure File Manager Beta RepoType: git Repo: https://github.com/Secure-File-Manager/Secure-File-Manager Builds: - versionName: 0.1.2-beta2 versionCode: 4 commit: v0.1.2-beta2 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 0.1.2-beta2 CurrentVersionCode: 4 ```
9074e213-ad74-4fe4-95ad-17bf16f54106
{ "language": "YAML" }
```yaml homepage: https://github.com/liamoc/latex-formulae#readme changelog-type: '' hash: 6e21582d5e8f5b5a0e3671becabcf7a35bab8600a7da7b79717cd204902a8ee2 test-bench-deps: {} maintainer: [email protected] synopsis: Use actual LaTeX to render formulae inside Hakyll pages changelog: '' basic-deps: lrucache: ! '>=1.2 && <1.3' base: ! '>=4.7 && <4.9' latex-formulae-image: ! '>=0.1.1.0 && <0.2' latex-formulae-pandoc: ! '>=0.2.0.1 && <0.3' pandoc-types: ! '>=1.12 && <1.13' hakyll: ! '>=4.6 && <4.8' all-versions: - '0.1.0.0' author: Liam O'Connor latest: '0.1.0.0' description-type: haddock description: ! 'This library provides functions to render all math formulae inside Pandoc-processed Hakyll pages using real LaTeX. It also provides a simple LRU cache to avoid recompiling the same formulae repeatedly during a @watch@ session.' license-name: BSD3 ``` Update from Hackage at 2015-11-13T03:36:30+0000
```yaml homepage: https://github.com/liamoc/latex-formulae#readme changelog-type: '' hash: f33ba39349e3f633cfb07f6ab5dc8564cb4d017560c0c44ba7f3156ce0b9e0db test-bench-deps: {} maintainer: [email protected] synopsis: Use actual LaTeX to render formulae inside Hakyll pages changelog: '' basic-deps: lrucache: ! '>=1.2 && <1.3' base: ! '>=4.7 && <4.9' latex-formulae-image: ! '>=0.1.1.0 && <0.2' latex-formulae-pandoc: ! '>=0.2.0.1 && <0.3' pandoc-types: ! '>=1.12 && <1.13' hakyll: ! '>=4.6 && <4.8' all-versions: - '0.1.0.0' - '0.2.0.0' author: Liam O'Connor latest: '0.2.0.0' description-type: haddock description: ! 'This library provides functions to render all math formulae inside Pandoc-processed Hakyll pages using real LaTeX. It also provides a simple LRU cache to avoid recompiling the same formulae repeatedly during a @watch@ session.' license-name: BSD3 ```
b916cf56-bce5-4e13-be78-05ac8253cb24
{ "language": "YAML" }
```yaml Categories: - System License: MIT AuthorName: 0ranko0P AuthorEmail: [email protected] SourceCode: https://github.com/0ranko0P/AutoDark IssueTracker: https://github.com/0ranko0P/AutoDark/issues Changelog: https://github.com/0ranko0P/AutoDark/releases AutoName: AutoDark RepoType: git Repo: https://github.com/0ranko0P/AutoDark Builds: - versionName: 2.0.3 versionCode: 6 commit: v2.0.3 subdir: app submodules: true gradle: - yes - versionName: 2.1.1 versionCode: 9 commit: v2.1.1 subdir: app submodules: true gradle: - yes - versionName: 3.0.0 versionCode: 10 commit: v3.0.0 subdir: app submodules: true gradle: - yes - versionName: 3.0.1 versionCode: 11 commit: v3.0.1 subdir: app submodules: true gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 3.0.1 CurrentVersionCode: 11 ``` Update AutoDark to 3.0.2 (12)
```yaml Categories: - System License: MIT AuthorName: 0ranko0P AuthorEmail: [email protected] SourceCode: https://github.com/0ranko0P/AutoDark IssueTracker: https://github.com/0ranko0P/AutoDark/issues Changelog: https://github.com/0ranko0P/AutoDark/releases AutoName: AutoDark RepoType: git Repo: https://github.com/0ranko0P/AutoDark Builds: - versionName: 2.0.3 versionCode: 6 commit: v2.0.3 subdir: app submodules: true gradle: - yes - versionName: 2.1.1 versionCode: 9 commit: v2.1.1 subdir: app submodules: true gradle: - yes - versionName: 3.0.0 versionCode: 10 commit: v3.0.0 subdir: app submodules: true gradle: - yes - versionName: 3.0.1 versionCode: 11 commit: v3.0.1 subdir: app submodules: true gradle: - yes - versionName: 3.0.2 versionCode: 12 commit: v3.0.2 subdir: app submodules: true gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 3.0.2 CurrentVersionCode: 12 ```
14dd9dbd-998a-4784-9818-c8d4a41ec061
{ "language": "YAML" }
```yaml --- title: Impersonation no longer gets stuck on password change. merge_request: 2904 author: type: fixed ``` Fix MR IID in changelog item
```yaml --- title: Impersonation no longer gets stuck on password change. merge_request: 15497 author: type: fixed ```
2e4279a5-de5d-4f5b-b61d-66191da13a9c
{ "language": "YAML" }
```yaml homepage: https://github.com/SumAll/canteven-http changelog-type: '' hash: 935dcd783a91086ca4437e461b16ebe666358d7ec6cc98c4ec64575e16c37e55 test-bench-deps: {} maintainer: [email protected] synopsis: Utilities for HTTP programming. changelog: '' basic-deps: exceptions: ! '>=0.8.2 && <0.9' bytestring: ! '>=0.10 && <0.11' wai: ! '>=3.2 && <3.3' base: ! '>=4.7 && <4.9' time: ! '>=1.5.0.1 && <1.6' text: ! '>=1.2 && <1.3' uuid: ! '>=1.3.12 && <1.4' canteven-log: ! '>=1.0 && <1.1' monad-logger: ! '>=0.3.19 && <0.4' transformers: ! '>=0.4.2.0 && <0.5' http-types: ! '>=0.9.1 && <0.10' all-versions: - '0.1.1.0' - '0.1.1.1' author: Rick Owens latest: '0.1.1.1' description-type: haddock description: '' license-name: MIT ``` Update from Hackage at 2016-10-01T03:41:11+00:00
```yaml homepage: https://github.com/SumAll/canteven-http changelog-type: '' hash: 93ec0e7fe7a761149eb51292f78988cefc1ba5a1eccc4864f434f8e61e5a92b9 test-bench-deps: {} maintainer: [email protected] synopsis: Utilities for HTTP programming. changelog: '' basic-deps: exceptions: ! '>=0.8.2 && <0.9' bytestring: ! '>=0.10 && <0.11' wai: ! '>=3.2 && <3.3' base: ! '>=4.7 && <4.10' time: ! '>=1.5.0.1 && <1.7' text: ! '>=1.2 && <1.3' uuid: ! '>=1.3.12 && <1.4' canteven-log: ! '>=1.0 && <2.1' monad-logger: ! '>=0.3.19 && <0.4' transformers: ! '>=0.4.2.0 && <0.6' http-types: ! '>=0.9.1 && <0.10' all-versions: - '0.1.1.0' - '0.1.1.1' - '0.1.1.2' author: Rick Owens latest: '0.1.1.2' description-type: haddock description: '' license-name: MIT ```
246a526b-7ad9-47ef-95b9-cab54ac9a0ea
{ "language": "YAML" }
```yaml homepage: http://github.com/mgsloan/th-reify-many changelog-type: '' hash: fe00ca5b122ab4faa12f8ba41c59b83dba5ce28573bfef0f92e051cfca6976d0 test-bench-deps: base: -any th-reify-many: -any template-haskell: -any maintainer: Michael Sloan <mgsloan at gmail> synopsis: Recurseively reify template haskell datatype info changelog: '' basic-deps: base: ! '>=4 && <5' containers: -any th-expand-syns: -any mtl: -any template-haskell: ! '>=2.5.0.0' safe: -any all-versions: - '0.1.1' - '0.1.2' - '0.1.3' author: Michael Sloan latest: '0.1.3' description-type: haddock description: ! '@th-reify-many@ provides functions for recursively reifying top level declarations. The main intended use case is for enumerating the names of datatypes reachable from an initial datatype, and passing these names to some function which generates instances.' license-name: BSD3 ``` Update from Hackage at 2016-01-19T00:15:13+0000
```yaml homepage: http://github.com/mgsloan/th-reify-many changelog-type: '' hash: 61020b3bbb609d80962494775bcbc2c2d02fde68f744a9794439c9e9c11168ef test-bench-deps: base: -any th-reify-many: -any template-haskell: -any maintainer: Michael Sloan <mgsloan at gmail> synopsis: Recurseively reify template haskell datatype info changelog: '' basic-deps: base: ! '>=4 && <5' containers: -any th-expand-syns: -any mtl: -any template-haskell: ! '>=2.5.0.0' safe: -any all-versions: - '0.1.1' - '0.1.2' - '0.1.3' - '0.1.4' author: Michael Sloan latest: '0.1.4' description-type: haddock description: ! '@th-reify-many@ provides functions for recursively reifying top level declarations. The main intended use case is for enumerating the names of datatypes reachable from an initial datatype, and passing these names to some function which generates instances.' license-name: BSD3 ```
33de988d-c292-4882-84fd-5210409b1970
{ "language": "YAML" }
```yaml # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # 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. # {%- macro alpine_tools_config() %} {{- docker_config() }} {%- endmacro %} {%- macro docker_config(repository_url) %} config: platform: linux image_resource: type: docker-image source: username: ((!docker-username)) password: ((!docker-password)) repository: gcr.io/((gcp-project))/((pipeline-prefix))alpine-tools tag: latest {%- endmacro %} {%- macro github_access(public) -%} uri: https://github.com/((geode-fork))/((geode-repo-name)).git {%- if repository.public == "false" %} username: ((github-username)) password: ((github-password)) {%- endif %} {%- endmacro %} ``` Fix jinja logic for concourse-to-github creds
```yaml # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # 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. # {%- macro alpine_tools_config() %} {{- docker_config() }} {%- endmacro %} {%- macro docker_config(repository_url) %} config: platform: linux image_resource: type: docker-image source: username: ((!docker-username)) password: ((!docker-password)) repository: gcr.io/((gcp-project))/((pipeline-prefix))alpine-tools tag: latest {%- endmacro %} {%- macro github_access(public) -%} uri: https://github.com/((geode-fork))/((geode-repo-name)).git {%- if not repository.public %} username: ((github-username)) password: ((github-password)) {%- endif %} {%- endmacro %} ```
667f9637-133a-4e2d-b261-64a0e2853a4b
{ "language": "YAML" }
```yaml apiVersion: extensions/v1beta1 kind: Deployment metadata: annotations: kubernetes.io/change-cause: "<to be filled in deploy_to_kubernetes script>" name: laa-legal-adviser-api spec: replicas: 2 template: metadata: labels: app: laa-legal-adviser-api env: staging service_area: laa-get-access service_team: cla-fala spec: containers: - image: "<to be set by deploy_to_kubernetes>" name: app readinessProbe: httpGet: path: /ping.json port: 80 initialDelaySeconds: 5 timeoutSeconds: 1 periodSeconds: 10 livenessProbe: httpGet: path: /ping.json port: 80 initialDelaySeconds: 10 timeoutSeconds: 1 periodSeconds: 10 ports: - containerPort: 80 name: http env: - name: LOG_LEVEL value: INFO - name: SECRET_KEY valueFrom: secretKeyRef: name: secret-key key: SECRET_KEY ``` Remove as-yet-not-useful sections of container spec
```yaml apiVersion: extensions/v1beta1 kind: Deployment metadata: annotations: kubernetes.io/change-cause: "<to be filled in deploy_to_kubernetes script>" name: laa-legal-adviser-api spec: replicas: 2 template: metadata: labels: app: laa-legal-adviser-api env: staging service_area: laa-get-access service_team: cla-fala spec: containers: - image: "<to be set by deploy_to_kubernetes>" name: app env: - name: LOG_LEVEL value: INFO - name: SECRET_KEY valueFrom: secretKeyRef: name: secret-key key: SECRET_KEY ```
ab998670-9df7-41e5-948d-9f9f76f78aab
{ "language": "YAML" }
```yaml --- rundeck: plugins: # Extra plugins to bundle - "com.github.Batix:rundeck-ansible-plugin:3.1.0" - "com.github.rundeck-plugins:aws-s3-model-source:v1.0.6" - "com.github.rundeck-plugins:py-winrm-plugin:2.0.12" - "com.github.rundeck-plugins:openssh-node-execution:2.0.1" - "com.github.rundeck-plugins:multiline-regex-datacapture-filter:1.0.0" - "com.github.rundeck-plugins:attribute-match-node-enhancer:v0.1.5" - "com.github.rundeck-plugins:sshj-plugin:v0.1.2" ``` Upgrade pywinrm plugin. Excluded RD_EXEC_COMMAND from environment variables due to it presents an issue when the command is a special character like %
```yaml --- rundeck: plugins: # Extra plugins to bundle - "com.github.Batix:rundeck-ansible-plugin:3.1.0" - "com.github.rundeck-plugins:aws-s3-model-source:v1.0.6" - "com.github.rundeck-plugins:py-winrm-plugin:2.0.13" - "com.github.rundeck-plugins:openssh-node-execution:2.0.1" - "com.github.rundeck-plugins:multiline-regex-datacapture-filter:1.0.0" - "com.github.rundeck-plugins:attribute-match-node-enhancer:v0.1.5" - "com.github.rundeck-plugins:sshj-plugin:v0.1.2" ```
cc7786ff-ee4c-4159-b5fe-b000020c7f8d
{ "language": "YAML" }
```yaml machine: node: version: 4.3.1 general: artifacts: - "./coverage/lcov-report/" ``` Clean out node_modules before install on CI.
```yaml machine: node: version: 4.3.1 dependencies: pre: # Clean out node-modules to prevent issues with circle-ci's caching. - rm -rf node_modules general: artifacts: - "./coverage/lcov-report/" ```
9bb3bbe6-449b-42a9-a6c5-836df75ff6d0
{ "language": "YAML" }
```yaml machine: node: version: 4.4.7 test: post: # Ensure steps leading up to publishing work. - node_modules/.bin/builder run transpile-dev``` Use correct script in Circle
```yaml machine: node: version: 4.4.7 test: post: # Ensure steps leading up to publishing work. - node_modules/.bin/builder run build-dist```
c086fa6d-7f33-41a0-9f4b-18a960443fe5
{ "language": "YAML" }
```yaml general: artifacts: - "build/reports" # relative to the build directory branches: ignore: - gh-pages # list of branches to ignore - /release\/.*/ # or ignore regexes machine: environment: TERM: dumb CI_BUILD: true java: version: oraclejdk7 test: pre: - ./create-coveralls-config.sh override: - ./gradlew clean check jacocoTestReport --info post: - mkdir -p $CIRCLE_TEST_REPORTS/junit/ - find . -type f -regex ".*/build/.*-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \; ``` Add coveralls to test execution
```yaml general: artifacts: - "build/reports" # relative to the build directory branches: ignore: - gh-pages # list of branches to ignore - /release\/.*/ # or ignore regexes machine: environment: TERM: dumb CI_BUILD: true java: version: oraclejdk7 test: pre: - ./create-coveralls-config.sh override: - ./gradlew clean check jacocoTestReport coveralls --info post: - mkdir -p $CIRCLE_TEST_REPORTS/junit/ - find . -type f -regex ".*/build/.*-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \; ```
90918da3-7777-426b-adc9-3d4c422d0fa7
{ "language": "YAML" }
```yaml #general: # build_dir: koordinates machine: python: version: 2.7.9 test: override: - python setup.py test ``` Support 2.x/3.x testing via Parallel testing in CI
```yaml #general: # build_dir: koordinates #machine: # python: # version: 2.7.9 #test: # override: # - python setup.py test machine: python: version: 3.4.2 dependencies: pre: - if [ $CIRCLE_NODE_INDEX == "1" ] ; then pyenv global 2.7.9 ; fi test: override: - make test ```
c5ff3c26-fa24-49f1-8d7c-ef4af9ae6999
{ "language": "YAML" }
```yaml homepage: '' changelog-type: '' hash: 00b348473c411661809d90507150b6d128aed45f58be3562bfdc97b8a6da3160 test-bench-deps: {} maintainer: Kazu Yamamoto <[email protected]> synopsis: Template Haskell for test framework changelog: '' basic-deps: test-framework: -any base: ! '>=4 && <5' haskell-src-exts: -any cpphs: ! '>=0.2.1' template-haskell: -any all-versions: - '0.0.0' - '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: Kazu Yamamoto <[email protected]> latest: '0.0.9' description-type: haddock description: ! 'Automatically generates a Test list for HUnit, doctest and QuickCheck2.' license-name: BSD3 ``` Update from Hackage at 2017-09-11T06:15:02Z
```yaml homepage: '' changelog-type: '' hash: faee4da570533c3304b2239b218f6284eb24c6535e2c862f938f44cc99db5e5a test-bench-deps: {} maintainer: Kazu Yamamoto <[email protected]> synopsis: Template Haskell for test framework changelog: '' basic-deps: test-framework: -any base: ! '>=4 && <5' haskell-src-exts: -any cpphs: ! '>=0.2.1' template-haskell: -any all-versions: - '0.0.0' - '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' - '0.0.10' author: Kazu Yamamoto <[email protected]> latest: '0.0.10' description-type: haddock description: ! 'Automatically generates a Test list for HUnit, doctest and QuickCheck2.' license-name: BSD3 ```
0b02bda5-ffe9-4ac9-bfc9-335e2e8c4e05
{ "language": "YAML" }
```yaml {% set name = "parquet-python" %} {% set version = "1.3.1" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/p/parquet/parquet-{{ version }}.tar.gz sha256: fb1c90768c1b9159d4d6a9b3112ea8107b0b46d7491c5ac452ba7350f333bf0a build: number: 0 noarch: python script: {{ PYTHON }} -m pip install . --no-deps -vv entry_points: - parquet = parquet.__main__:main', requirements: host: - python run: - python outputs: - name: parquet-python requirements: host: - python - pip run: - python - thriftpy2 test: imports: - parquet - name: parquet_python requirements: host: - python run: - {{ pin_subpackage("parquet-python", exact=True) }} test: imports: - parquet about: home: https://github.com/jcrobak/parquet-python license: Apache-2.0 license_family: Apache license_file: LICENSE summary: Python implementation of the parquet columnar file format. dev_url: https://github.com/jcrobak/parquet-python extra: recipe-maintainers: - timkpaine ``` Use top level as first output
```yaml {% set name = "parquet-python" %} {% set version = "1.3.1" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/p/parquet/parquet-{{ version }}.tar.gz sha256: fb1c90768c1b9159d4d6a9b3112ea8107b0b46d7491c5ac452ba7350f333bf0a build: number: 0 noarch: python script: {{ PYTHON }} -m pip install . --no-deps -vv entry_points: - parquet = parquet.__main__:main', requirements: host: - python - pip run: - python - thriftpy2 test: imports: - parquet outputs: - name: parquet-python - name: parquet_python build: noarch: generic requirements: run: - {{ pin_subpackage("parquet-python", exact=True) }} test: imports: - parquet about: home: https://github.com/jcrobak/parquet-python license: Apache-2.0 license_family: Apache license_file: LICENSE summary: Python implementation of the parquet columnar file format. dev_url: https://github.com/jcrobak/parquet-python extra: recipe-maintainers: - timkpaine ```
f6ac85f3-a39b-4d3a-b2d2-4f4908c16846
{ "language": "YAML" }
```yaml --- wall_channel: 1 marker_channel: 0 surface_percentile: 95 wall_percentile_filter_percentile: 95 wall_percentile_filter_size: 2 wall_zabove: -2 wall_zbelow: 6 wall_threshold_adaptive_block_size: 51 wall_remove_small_objects_in_cell_min_size: 5 wall_remove_small_objects_in_wall_min_size: 50 wall_erode_step: True marker_zabove: -2 marker_zbelow: 6 marker_min_intensity: 0 ``` Fix params for endogenous basl 11
```yaml --- wall_channel: 1 marker_channel: 0 surface_percentile: 95 wall_percentile_filter_percentile: 95 wall_percentile_filter_size: 2 wall_zabove: 0 wall_zbelow: 6 wall_threshold_adaptive_block_size: 151 wall_remove_small_objects_in_cell_min_size: 30 wall_remove_small_objects_in_wall_min_size: 50 wall_erode_step: True marker_zabove: -2 marker_zbelow: 6 marker_min_intensity: 0 ```
18fb5d98-52ab-4a35-9b55-567395ce1b0b
{ "language": "YAML" }
```yaml name: CI on: push: pull_request: branches: - main jobs: ci: name: CI runs-on: debian-latest env: DATABASE_URL: postgres://postgres@localhost:5433/flatshare_app_test services: db: image: postgres:10.13 ports: ["5433:5432"] env: POSTGRES_HOST_AUTH_METHOD: trust POSTGRES_DB: flatshare_app_test steps: - name: Checkout code id: checkout-code uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: 2.7.5 bundler-cache: true # - name: Install bundler # id: install-bundler # run: gem install bundler # - name: Install dependencies # id: install-dependencies # run: bundle install - name: Run Spec id: run-spec env: RAILS_ENV: test run: | cp config/database.yml.sample config/database.yml bundle exec rake ``` Change OS label to ubuntu-20.04
```yaml name: CI on: push: pull_request: branches: - main jobs: ci: name: CI runs-on: ubuntu-20.04 env: DATABASE_URL: postgres://postgres@localhost:5433/flatshare_app_test services: db: image: postgres:10.13 ports: ["5433:5432"] env: POSTGRES_HOST_AUTH_METHOD: trust POSTGRES_DB: flatshare_app_test steps: - name: Checkout code id: checkout-code uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: 2.7.5 bundler-cache: true # - name: Install bundler # id: install-bundler # run: gem install bundler # - name: Install dependencies # id: install-dependencies # run: bundle install - name: Run Spec id: run-spec env: RAILS_ENV: test run: | cp config/database.yml.sample config/database.yml bundle exec rake ```
d17deb0a-9545-4436-949b-0ebe4751cda8
{ "language": "YAML" }
```yaml name: CI on: [push, pull_request] jobs: phpspec: runs-on: ubuntu-latest strategy: matrix: php: [7.2, 7.3, 7.4, 8.0] steps: - uses: actions/checkout@v1 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - name: Validate Composer files run: composer validate --no-check-all --strict - name: Install Composer dependencies run: composer install --prefer-dist --no-progress --no-suggest - name: Run tests run: php vendor/bin/phpspec run ``` Stop using deprecated Composer option
```yaml name: CI on: [push, pull_request] jobs: phpspec: runs-on: ubuntu-latest strategy: matrix: php: [7.2, 7.3, 7.4, 8.0] steps: - uses: actions/checkout@v1 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - name: Validate Composer files run: composer validate --no-check-all --strict - name: Install Composer dependencies run: composer install --prefer-dist --no-progress - name: Run tests run: php vendor/bin/phpspec run ```
133d97c3-1add-46cc-843b-2a5069a5a2d9
{ "language": "YAML" }
```yaml name: CI on: push: pull_request: schedule: [cron: "40 1 * * *"] env: RUSTFLAGS: '-Dwarnings' jobs: test: name: Rust ${{matrix.rust}} on ${{matrix.os}} runs-on: ${{matrix.os}}-latest strategy: fail-fast: false matrix: rust: [nightly, beta, stable, 1.34.0] os: [ubuntu, macos, windows] steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@master with: toolchain: ${{matrix.rust}} - run: cargo test clippy: name: Clippy runs-on: ubuntu-latest if: github.event_name != 'pull_request' steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@clippy - run: cargo clippy -- -Dclippy::all -Dclippy::pedantic outdated: name: Outdated runs-on: ubuntu-latest if: github.event_name != 'pull_request' steps: - uses: actions/checkout@v3 - uses: dtolnay/install@cargo-outdated - run: cargo outdated --exit-code 1 ``` Drop unneeded quoting from env variable in workflows yaml
```yaml name: CI on: push: pull_request: schedule: [cron: "40 1 * * *"] env: RUSTFLAGS: -Dwarnings jobs: test: name: Rust ${{matrix.rust}} on ${{matrix.os}} runs-on: ${{matrix.os}}-latest strategy: fail-fast: false matrix: rust: [nightly, beta, stable, 1.34.0] os: [ubuntu, macos, windows] steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@master with: toolchain: ${{matrix.rust}} - run: cargo test clippy: name: Clippy runs-on: ubuntu-latest if: github.event_name != 'pull_request' steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@clippy - run: cargo clippy -- -Dclippy::all -Dclippy::pedantic outdated: name: Outdated runs-on: ubuntu-latest if: github.event_name != 'pull_request' steps: - uses: actions/checkout@v3 - uses: dtolnay/install@cargo-outdated - run: cargo outdated --exit-code 1 ```
3e383686-cd52-48a2-be28-2ba7060217f7
{ "language": "YAML" }
```yaml name: ci env: PROJECT_NAME: Lunet on: push: paths-ignore: - 'doc/**' - 'img/**' - 'changelog.md' - 'readme.md' pull_request: jobs: build: runs-on: windows-latest steps: - name: Checkout uses: actions/checkout@v1 - name: Install .NET 5.0 uses: actions/setup-dotnet@v1 with: dotnet-version: '5.0.x' - name: Install .NET Core 3.1 uses: actions/setup-dotnet@v1 with: dotnet-version: '3.1.x' - name: Build & test (Release) run: dotnet test src -c Release - name: Pack run: | dotnet pack src -c Release - name: Publish if: github.event_name == 'push' run: | if ( "${{github.ref}}" -match "^refs/tags/[0-9]+\.[0-9]+\.[0-9]+" ) { dotnet nuget push src\${{env.PROJECT_NAME}}\bin\Release\*.nupkg -s nuget.org -k ${{secrets.NUGET_TOKEN}} } else { echo "publish is only enabled by tagging with a release tag" } ``` Fix CI to use net6.0
```yaml name: ci env: PROJECT_NAME: Lunet on: push: paths-ignore: - 'doc/**' - 'img/**' - 'changelog.md' - 'readme.md' pull_request: jobs: build: runs-on: windows-latest steps: - name: Checkout uses: actions/checkout@v1 - name: Install .NET 6.0 uses: actions/setup-dotnet@v1 with: dotnet-version: '6.0.x' - name: Build & test (Release) run: dotnet test src -c Release - name: Pack run: | dotnet pack src -c Release - name: Publish if: github.event_name == 'push' run: | if ( "${{github.ref}}" -match "^refs/tags/[0-9]+\.[0-9]+\.[0-9]+" ) { dotnet nuget push src\${{env.PROJECT_NAME}}\bin\Release\*.nupkg -s nuget.org -k ${{secrets.NUGET_TOKEN}} } else { echo "publish is only enabled by tagging with a release tag" } ```
2e77ff5d-9b59-4b3f-8d68-295f46d300b3
{ "language": "YAML" }
```yaml --- name: CI on: - push - pull_request jobs: rspec: runs-on: ubuntu-latest strategy: fail-fast: false matrix: ruby: - 2.7.x - 2.6.x - 2.5.x rails: - rails_5.2.4 - rails_6.0.3 - rails_6.1.0 steps: - name: Checkout uses: actions/checkout@v2 - name: Setup Ruby uses: actions/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Setup Ruby cache uses: actions/cache@v2 with: path: "${GITHUB_WORKSPACE}/vendor/bundle" key: ${{ runner.os }}-gems-${{ matrix.ruby }}-${{ matrix.rails }}-${{ hashFiles('**/Gemfile.lock') }} restore-keys: | ${{ runner.os }}-gems-${{ matrix.ruby }}-${{ matrix.rails }}- - name: Bundle env: RAILS_VERSION: ${{ matrix.rails }} run: | export BUNDLE_GEMFILE="${GITHUB_WORKSPACE}/gemfiles/${RAILS_VERSION}.gemfile" gem install bundler -v 2.1.4 bundle config path "${GITHUB_WORKSPACE}/vendor/bundle" bundle install --jobs 4 --retry 3 - name: RSpec env: RAILS_VERSION: ${{ matrix.rails }} run: | export BUNDLE_GEMFILE="${GITHUB_WORKSPACE}/gemfiles/${RAILS_VERSION}.gemfile" bundle exec rake ``` Use latest bundler version in CI
```yaml --- name: CI on: - push - pull_request jobs: rspec: runs-on: ubuntu-latest strategy: fail-fast: false matrix: ruby: - 2.7.x - 2.6.x - 2.5.x rails: - rails_5.2.4 - rails_6.0.3 - rails_6.1.0 steps: - name: Checkout uses: actions/checkout@v2 - name: Setup Ruby uses: actions/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Setup Ruby cache uses: actions/cache@v2 with: path: "${GITHUB_WORKSPACE}/vendor/bundle" key: ${{ runner.os }}-gems-${{ matrix.ruby }}-${{ matrix.rails }}-${{ hashFiles('**/Gemfile.lock') }} restore-keys: | ${{ runner.os }}-gems-${{ matrix.ruby }}-${{ matrix.rails }}- - name: Bundle env: RAILS_VERSION: ${{ matrix.rails }} run: | export BUNDLE_GEMFILE="${GITHUB_WORKSPACE}/gemfiles/${RAILS_VERSION}.gemfile" gem install bundler bundle config path "${GITHUB_WORKSPACE}/vendor/bundle" bundle install --jobs 4 --retry 3 - name: RSpec env: RAILS_VERSION: ${{ matrix.rails }} run: | export BUNDLE_GEMFILE="${GITHUB_WORKSPACE}/gemfiles/${RAILS_VERSION}.gemfile" bundle exec rake ```
eac1f2d0-a227-4c8d-8f89-766868fd57db
{ "language": "YAML" }
```yaml name: Go on: push: pull_request: schedule: - cron: '6 15 * * SUN' jobs: build: strategy: matrix: go-version: [1.13.x, 1.14.x, 1.15.x] platform: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.platform }} name: "Build ${{ matrix.go-version }} test on ${{ matrix.platform }}" steps: - name: Set up Go 1.x uses: actions/setup-go@v2 with: go-version: ${{ matrix.go-version }} id: go - name: Check out code into the Go module directory uses: actions/checkout@v2 - name: Get dependencies run: go get -v -t -d ./... - name: Build run: go build -v ./... - name: Test run: go test -race -v ./... ``` Test on newer versions of Go
```yaml name: Go on: push: pull_request: schedule: - cron: '6 15 * * SUN' jobs: build: strategy: matrix: go-version: [1.16.x, 1.17.x] platform: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.platform }} name: "Build ${{ matrix.go-version }} test on ${{ matrix.platform }}" steps: - name: Set up Go 1.x uses: actions/setup-go@v2 with: go-version: ${{ matrix.go-version }} id: go - name: Check out code into the Go module directory uses: actions/checkout@v2 - name: Get dependencies run: go get -v -t -d ./... - name: Build run: go build -v ./... - name: Test run: go test -race -v ./... ```
c2e8e406-bfec-4476-befc-9897e1b254d8
{ "language": "YAML" }
```yaml name: sw on: [push, pull_request] jobs: build: runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: [windows-latest, ubuntu-20.04, macOS-latest] steps: - uses: actions/checkout@v1 - uses: egorpugin/sw-action@master - name: build if: matrix.os == 'windows-latest' run: ./sw -static -shared -platform x86,x64 -config d,r build - name: build if: matrix.os != 'windows-latest' run: ./sw -static -shared -config d,r build ``` Build unit tests on github ci on linux/macos.
```yaml name: sw on: [push, pull_request] jobs: build: runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: [windows-latest, ubuntu-20.04, macOS-latest] steps: - uses: actions/checkout@v1 - uses: egorpugin/sw-action@master - name: build if: matrix.os == 'windows-latest' run: ./sw -static -shared -platform x86,x64 -config d,r build - name: build if: matrix.os != 'windows-latest' run: ./sw -static -shared -config d,r build -Dwith-tests=1 ```
11bb552b-221d-4be4-89e2-2842141bbd06
{ "language": "YAML" }
```yaml # SQLite version 3.x # gem install sqlite3 # # Ensure the SQLite 3 gem is defined in your Gemfile # gem 'sqlite3' # default: &default adapter: sqlite3 pool: 5 timeout: 5000 development: <<: *default database: db/development.sqlite3 # Warning: The database defined as "test" will be erased and # re-generated from your development database when you run "rake". # Do not set this db to the same as development or production. test: <<: *default database: db/test.sqlite3 production: <<: *default database: db/production.sqlite3 ``` Move to sqlite memory db
```yaml # SQLite version 3.x # gem install sqlite3 # # Ensure the SQLite 3 gem is defined in your Gemfile # gem 'sqlite3' # default: &default adapter: sqlite3 development: <<: *default database: ':memory:' # Warning: The database defined as "test" will be erased and # re-generated from your development database when you run "rake". # Do not set this db to the same as development or production. test: <<: *default database: ':memory:' production: <<: *default database: ':memory:' ```
0861c6ac-8d6f-44ac-908e-9d3ca30934e0
{ "language": "YAML" }
```yaml --- cell_instances: 30 router_instances: 6 api_instances: 6 doppler_instances: 24 log_api_instances: 6 adapter_instances: 2 cc_hourly_rate_limit: 20000 paas_region_name: ireland ``` Scale Ireland up from 6 to 12 routers
```yaml --- cell_instances: 30 router_instances: 12 api_instances: 6 doppler_instances: 24 log_api_instances: 6 adapter_instances: 2 cc_hourly_rate_limit: 20000 paas_region_name: ireland ```
66b80962-6d9e-4bf8-83f5-ffc30a8e6e35
{ "language": "YAML" }
```yaml --- profile::base::common::manage_networkifs: true named_interfaces::config: mgmt: - eth0 transport: - eth1 public: - dummy0 network::interfaces_hash: 'eth0': ipaddress: '10.171.92.6' netmask: '255.255.255.0' gateway: '10.171.92.1' defroute: no mtu: '1500' 'eth1': ipaddress: '172.31.66.11' netmask: '255.255.255.0' gateway: '172.31.66.1' defroute: yes 'dummy0': ipaddress: '158.38.144.254' netmask: '255.255.255.255' defroute: no ``` Fix dev02 master transport IP
```yaml --- profile::base::common::manage_networkifs: true named_interfaces::config: mgmt: - eth0 transport: - eth1 public: - dummy0 network::interfaces_hash: 'eth0': ipaddress: '10.171.92.6' netmask: '255.255.255.0' gateway: '10.171.92.1' defroute: no mtu: '1500' 'eth1': ipaddress: '172.31.66.6' netmask: '255.255.255.0' gateway: '172.31.66.1' defroute: yes 'dummy0': ipaddress: '158.38.144.254' netmask: '255.255.255.255' defroute: no ```
a773430a-878a-4ec4-9b1e-6d4c672e4cfb
{ "language": "YAML" }
```yaml Categories: - Games License: MIT AuthorName: Vivek Thazhathattil AuthorEmail: [email protected] AuthorWebSite: https://vivekthazhathattil.github.io SourceCode: https://github.com/VivekThazhathattil/Chalachithram/ IssueTracker: https://github.com/VivekThazhathattil/Chalachithram/issues Changelog: https://github.com/VivekThazhathattil/dekadico/releases AutoName: Chalachithram RepoType: git Repo: https://github.com/VivekThazhathattil/Chalachithram/ Builds: - versionName: '1.2' versionCode: 2 commit: 8bb34bf7ead6ccf5aef20f8cb5a0c1422525d1e0 subdir: app gradle: - yes - versionName: '1.3' versionCode: 3 commit: 006d2dcd999959e0afe380eed3c8bda5e728409b subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: '1.3' CurrentVersionCode: 3 ``` Update Chalachithram to 1.4 (4)
```yaml Categories: - Games License: MIT AuthorName: Vivek Thazhathattil AuthorEmail: [email protected] AuthorWebSite: https://vivekthazhathattil.github.io SourceCode: https://github.com/VivekThazhathattil/Chalachithram/ IssueTracker: https://github.com/VivekThazhathattil/Chalachithram/issues Changelog: https://github.com/VivekThazhathattil/dekadico/releases AutoName: Chalachithram RepoType: git Repo: https://github.com/VivekThazhathattil/Chalachithram/ Builds: - versionName: '1.2' versionCode: 2 commit: 8bb34bf7ead6ccf5aef20f8cb5a0c1422525d1e0 subdir: app gradle: - yes - versionName: '1.3' versionCode: 3 commit: 006d2dcd999959e0afe380eed3c8bda5e728409b subdir: app gradle: - yes - versionName: '1.4' versionCode: 4 commit: 1902772a0ed019410d82b1a28847ffc858754766 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: '1.4' CurrentVersionCode: 4 ```
e3ead2dc-6a0e-4e4d-b2c3-c147b35dbe2c
{ "language": "YAML" }
```yaml --- - name: Add GPG key for Docker packages sudo: yes apt_key: keyserver=hkp://p80.pool.sks-keyservers.net:80 id=9DC858229FC7DD38854AE2D88D81803C0EBFCD88 - name: add repo for Docker packages sudo: yes apt_repository: repo: 'deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial main' state: present update_cache: true - name: Install device-mapper packages sudo: yes yum: name: device-mapper-libs state: latest - name: detect kernel version command: uname -r register: uname_kernel_version - name: install docker packages sudo: yes apt: name: "{{ item }}" state: present with_items: - "linux-image-extra-{{uname_kernel_version.stdout}}" - linux-image-extra-virtual - docker-ce - name: enable docker sudo: yes service: name: docker enabled: yes state: started - name: install latest docker-compose sudo: yes shell: "curl -L https://github.com/docker/compose/releases/download/{{docker_compose_version}}/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose" ``` Fix docker package repo. Also, device-mapper-libs is no longer needed.
```yaml --- - name: Add GPG key for Docker packages sudo: yes apt_key: keyserver=hkp://p80.pool.sks-keyservers.net:80 id=9DC858229FC7DD38854AE2D88D81803C0EBFCD88 - name: add repo for Docker packages sudo: yes apt_repository: repo: 'deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable' state: present update_cache: true - name: detect kernel version command: uname -r register: uname_kernel_version - name: install docker packages sudo: yes apt: name: "{{ item }}" state: present with_items: - "linux-image-extra-{{uname_kernel_version.stdout}}" - linux-image-extra-virtual - docker-ce - name: enable docker sudo: yes service: name: docker enabled: yes state: started - name: install latest docker-compose sudo: yes shell: "curl -L https://github.com/docker/compose/releases/download/{{docker_compose_version}}/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose" ```
ba8facc3-12c5-4a33-bda8-fda35b50a721
{ "language": "YAML" }
```yaml :concurrency: 20 :queues: - [default, 1] - [searchkick, 1] ``` Fix missing mailers queue in Sidekiq
```yaml :concurrency: 20 :queues: - [default, 1] - [searchkick, 1] - [mailers, 1] ```
be1fa6df-b724-4e27-8291-638f9809384a
{ "language": "YAML" }
```yaml Categories: - Time License: MIT SourceCode: https://github.com/mattvchandler/progressbars IssueTracker: https://github.com/mattvchandler/progressbars/issues Changelog: https://github.com/mattvchandler/ProgressBars/releases AutoName: Progress Bars RepoType: git Repo: https://github.com/mattvchandler/progressbars Builds: - versionName: 2.0.2 versionCode: 190020002 commit: v2.0.2 subdir: app gradle: - yes - versionName: 2.0.3 versionCode: 190020003 commit: v2.0.3 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 2.0.3 CurrentVersionCode: 190020003 ``` Update Progress Bars to 2.0.4 (190020004)
```yaml Categories: - Time License: MIT SourceCode: https://github.com/mattvchandler/progressbars IssueTracker: https://github.com/mattvchandler/progressbars/issues Changelog: https://github.com/mattvchandler/ProgressBars/releases AutoName: Progress Bars RepoType: git Repo: https://github.com/mattvchandler/progressbars Builds: - versionName: 2.0.2 versionCode: 190020002 commit: v2.0.2 subdir: app gradle: - yes - versionName: 2.0.3 versionCode: 190020003 commit: v2.0.3 subdir: app gradle: - yes - versionName: 2.0.4 versionCode: 190020004 commit: v2.0.4 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 2.0.4 CurrentVersionCode: 190020004 ```
fb089a5d-0880-46da-aa57-80bda96763af
{ "language": "YAML" }
```yaml title: Mobility path: mobility icon: 'mdi:car' cards: - type: entities entities: - sensor.niro_expdate - binary_sensor.niro_insured - sensor.niro_recall show_header_toggle: False title: Kia Niro - type: entities entities: - sensor.aygo_expdate - binary_sensor.aygo_insured - sensor.aygo_recall show_header_toggle: False title: Toyota Aygo ``` Add fuel prices to UI
```yaml title: Mobility path: mobility icon: 'mdi:car' cards: - type: entities entities: - sensor.niro_expdate - binary_sensor.niro_insured - sensor.niro_recall show_header_toggle: False title: Kia Niro - type: entities entities: - sensor.aygo_expdate - binary_sensor.aygo_insured - sensor.aygo_recall show_header_toggle: False title: Toyota Aygo - type: entities entities: - entity: sensor.euro95_dijktank_kanaalweg name: Dijktank Kanaalweg - entity: sensor.euro95_tinq_bermweg name: Tinq Bermweg - entity: sensor.euro95_lukoil_schermerhoek name: Lukoil Schermerhoek - entity: sensor.euro95_shell_nieuwerkerk name: Shell Nieuwerkerk - entity: sensor.euro95_advies name: Adviesprijs title: Euro 95 show_header_toggle: False ```
a34998b8-816c-4319-802f-acce9b5f470b
{ "language": "YAML" }
```yaml admin_password: changeme123 admin_password_hash: "{{ admin_password | password_hash(salt='sRvXWmR5BBwqRlih') }}" ``` Change default password to be generated based on current date
```yaml admin_password: LearnAnsible{{ lookup('pipe', 'date +%m%y')}} admin_password_hash: "{{ admin_password | password_hash(salt='sRvXWmR5BBwqRlih') }}" ```
5ea3f98c-2186-41cd-967c-6b83b64c8262
{ "language": "YAML" }
```yaml resource_registry: OS::TripleO::PostDeploySteps: ../common/major_upgrade_steps.yaml parameter_defaults: EnableConfigPurge: true StackUpdateType: UPGRADE UpgradeLevelNovaCompute: auto UpgradeInitCommonCommand: | #!/bin/bash # Newton to Ocata, we need to remove old hiera hook data and # install ansible heat agents and ansible-pacemaker set -eu yum install -y python-heat-agent-* yum update -y ansible yum install -y ansible-pacemaker rm -f /usr/libexec/os-apply-config/templates/etc/puppet/hiera.yaml rm -f /usr/libexec/os-refresh-config/configure.d/40-hiera-datafiles rm -f /etc/puppet/hieradata/*.yaml MigrationSshPort: 22 UpgradeRemoveUnusedPackages: false ``` Remove hiera hook transition from the upgradeinitcommand.
```yaml resource_registry: OS::TripleO::PostDeploySteps: ../common/major_upgrade_steps.yaml parameter_defaults: EnableConfigPurge: true StackUpdateType: UPGRADE UpgradeLevelNovaCompute: auto UpgradeInitCommonCommand: | #!/bin/bash set -eu yum install -y python-heat-agent-* yum update -y ansible yum install -y ansible-pacemaker MigrationSshPort: 22 UpgradeRemoveUnusedPackages: false ```
0b59dcf3-50af-4b85-a4aa-5ebb9f2f8aaa
{ "language": "YAML" }
```yaml --- - block: - block: - name: Copy keystore to {{ inventory_hostname }}:{{ apigee_tls_keystore_dest }} copy: src: '{{ apigee_tls_keystore_src }}' dest: '{{ apigee_tls_keystore_dest }}' when: apigee_tls_keystore_src is not none - block: - name: Remove keystore file: path: '{{ apigee_tls_keystore_dest }}' state: absent - name: Generate keystore command: "{{ apigee_tls_keystore_keytool_path }} -genkeypair -keyalg RSA -sigalg SHA256withRSA -keystore {{ apigee_tls_keystore_dest }} -alias {{ apigee_tls_keystore_keyalias or 'apigee' }} -dname CN={{ apigee_tls_keystore_keyalias or 'apigee' }} -validity {{ apigee_tls_keystore_validity }} -storepass {{ apigee_tls_keystore_password or apigee_admin_password }} -keypass {{ apigee_tls_keystore_password or apigee_admin_password }}" when: apigee_tls_keystore_src is none - name: Set keystore ownership and permissions file: path: '{{ apigee_tls_keystore_dest }}' owner: apigee group: apigee mode: 0600 become: true become_user: '{{ apigee_become_user }}' ``` Remove redundant variables passed to keytool
```yaml --- - block: - block: - name: Copy keystore to {{ inventory_hostname }}:{{ apigee_tls_keystore_dest }} copy: src: '{{ apigee_tls_keystore_src }}' dest: '{{ apigee_tls_keystore_dest }}' when: apigee_tls_keystore_src is not none - block: - name: Remove keystore file: path: '{{ apigee_tls_keystore_dest }}' state: absent - name: Generate keystore command: "{{ apigee_tls_keystore_keytool_path }} -genkeypair -keyalg RSA -sigalg SHA256withRSA -keystore {{ apigee_tls_keystore_dest }} -alias {{ apigee_tls_keystore_keyalias }} -dname CN={{ apigee_tls_keystore_keyalias }} -validity {{ apigee_tls_keystore_validity }} -storepass {{ apigee_tls_keystore_password }} -keypass {{ apigee_tls_keystore_password }}" when: apigee_tls_keystore_src is none - name: Set keystore ownership and permissions file: path: '{{ apigee_tls_keystore_dest }}' owner: apigee group: apigee mode: 0600 become: true become_user: '{{ apigee_become_user }}' ```
208859b5-335e-4738-8ef7-be7c09dc16cc
{ "language": "YAML" }
```yaml apiVersion: extensions/v1beta1 kind: Deployment metadata: name: mysql spec: replicas: 1 strategy: type: Recreate template: metadata: labels: name: mysql annotations: # Restrict scheduling to zone where volume is located. scheduler.alpha.kubernetes.io/affinity: > { "nodeAffinity": { "requiredDuringSchedulingIgnoredDuringExecution": { "nodeSelectorTerms": [ { "matchExpressions": [ { "key": "failure-domain.beta.kubernetes.io/zone", "operator": "In", "values": ["asia-northeast1-b"] } ] } ] } } } spec: containers: - name: mysql image: mysql:5.6 env: - name: MYSQL_ROOT_PASSWORD valueFrom: secretKeyRef: name: mysql-secret key: root-password ports: - containerPort: 3306 name: mysql volumeMounts: # name must match the volume name below - name: mysql-persistent-storage # mount path within the container mountPath: /var/lib/mysql resources: requests: memory: 800Mi cpu: 250m limits: memory: 800Mi cpu: 500m volumes: - name: mysql-persistent-storage persistentVolumeClaim: claimName: mysql-data ``` Update node affinity for mysql
```yaml apiVersion: extensions/v1beta1 kind: Deployment metadata: name: mysql spec: replicas: 1 strategy: type: Recreate template: metadata: labels: name: mysql spec: affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: failure-domain.beta.kubernetes.io/zone operator: In values: - asia-northeast1-a containers: - name: mysql image: mysql:5.6 env: - name: MYSQL_ROOT_PASSWORD valueFrom: secretKeyRef: name: mysql-secret key: root-password ports: - containerPort: 3306 name: mysql volumeMounts: # name must match the volume name below - name: mysql-persistent-storage # mount path within the container mountPath: /var/lib/mysql resources: requests: memory: 800Mi cpu: 250m limits: memory: 800Mi cpu: 500m volumes: - name: mysql-persistent-storage persistentVolumeClaim: claimName: mysql-data ```
9423c8f3-6783-4918-b784-4831223714dc
{ "language": "YAML" }
```yaml --- # # yum # v_yum_common_packages: - bash-completion - git - lsof - mailx - net-tools - nmap - tmux - tree - vim # # yum-cron # v_yum_cron_update_cmd: "minimal" v_yum_cron_update_cmd_hourly: "security" v_yum_cron_update_messages: "yes" v_yum_cron_download_updates: "yes" v_yum_cron_apply_updates: "yes" v_yum_cron_random_sleep: 0 v_yum_cron_emit_via: "email" v_yum_cron_email_from: "root@localhost" v_yum_cron_email_to: "root" v_yum_cron_email_host: "localhost" # # docker # v_yum_docker_repo: https://download.docker.com/linux/centos/docker-ce.repo v_yum_docker_prerequisite_packages: - device-mapper-persistent-data - lvm2 - python-docker-py - yum-utils v_yum_docker_packages: - docker-ce ``` Add extra commonly used utils.
```yaml --- # # yum # v_yum_common_packages: - bash-completion - bind-utils - git - lsof - mailx - net-tools - nmap - ruby - rubygem-bundler - tmux - tree - vim - whois # # yum-cron # v_yum_cron_update_cmd: "minimal" v_yum_cron_update_cmd_hourly: "security" v_yum_cron_update_messages: "yes" v_yum_cron_download_updates: "yes" v_yum_cron_apply_updates: "yes" v_yum_cron_random_sleep: 0 v_yum_cron_emit_via: "email" v_yum_cron_email_from: "root@localhost" v_yum_cron_email_to: "root" v_yum_cron_email_host: "localhost" # # docker # v_yum_docker_repo: https://download.docker.com/linux/centos/docker-ce.repo v_yum_docker_prerequisite_packages: - device-mapper-persistent-data - lvm2 - python-docker-py - yum-utils v_yum_docker_packages: - docker-ce ```
3b8c228c-d62f-4dc8-950b-eb6567961439
{ "language": "YAML" }
```yaml name: Build on: [push] jobs: build: runs-on: macos-latest steps: - uses: actions/checkout@v2 with: fetch-depth: 0 - name: Build run: swift build - name: Tests run: swift test --enable-code-coverage - name: Codecov run: | xcrun llvm-cov export -format="lcov" .build/debug/ValidationToolkitPackageTests.xctest/Contents/MacOS/ValidationToolkitPackageTests -instr-profile .build/debug/codecov/default.profdata > .build/ValidationToolkitPackageTests.lcov bash <(curl https://codecov.io/bash) ``` Rename checkout step in the github workflow
```yaml name: Build on: [push] jobs: build: runs-on: macos-latest steps: - name: Checkout uses: actions/checkout@v2 with: fetch-depth: 0 - name: Build run: swift build - name: Tests run: swift test --enable-code-coverage - name: Codecov run: | xcrun llvm-cov export -format="lcov" .build/debug/ValidationToolkitPackageTests.xctest/Contents/MacOS/ValidationToolkitPackageTests -instr-profile .build/debug/codecov/default.profdata > .build/ValidationToolkitPackageTests.lcov bash <(curl https://codecov.io/bash) ```
57dd8ead-6504-4445-a9dc-56bb06ef8e68
{ "language": "YAML" }
```yaml lv: data: pv: '/dev/nvme1n1' vg: 'postgresql' ``` Fix Postgis version to 2.2 for Mapit
```yaml postgresql::globals::postgis_version: '2.2' lv: data: pv: '/dev/nvme1n1' vg: 'postgresql' ```
a6b79713-658a-4d84-9932-00e1afe1fba8
{ "language": "YAML" }
```yaml --- label: Post hide_body: false fields: - type: textarea name: content label: Content description: Content goes here config: wysiwyg: true schema: format: markdown pages: - _posts/Test.md ``` Update from Forestry.io - Updated Forestry configuration
```yaml --- label: Post hide_body: false fields: - type: text name: title label: Title - type: text name: layout label: layout config: required: true default: post hidden: true pages: - _posts/Test.md ```
f5f31b64-ca7a-40dd-9be1-85d4f1996bbc
{ "language": "YAML" }
```yaml name: Build on: push: paths-ignore: - '*.md' - 'docs/**' branches: - '**' tags-ignore: - '**' pull_request: paths-ignore: - '*.md' - 'docs/**' env: DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true DOTNET_CLI_TELEMETRY_OPTOUT: 1 jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] defaults: run: shell: pwsh steps: - name: Check out code uses: actions/checkout@v1 - name: Set up .NET 5 uses: actions/setup-dotnet@v1 with: dotnet-version: 5.0.100 - name: Restore run: .\build.ps1 restore - name: Build run: .\build.ps1 build --skip restore - name: Test run: .\build.ps1 test --skip build - name: Publish if: runner.os == 'Windows' && github.repository_owner == 'Faithlife' && github.ref == 'refs/heads/master' env: BUILD_BOT_PASSWORD: ${{ secrets.BUILD_BOT_PASSWORD }} NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} run: .\build.ps1 publish --skip test ``` Use latest .NET 5 SDK.
```yaml name: Build on: push: paths-ignore: - '*.md' - 'docs/**' branches: - '**' tags-ignore: - '**' pull_request: paths-ignore: - '*.md' - 'docs/**' env: DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true DOTNET_CLI_TELEMETRY_OPTOUT: 1 jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] defaults: run: shell: pwsh steps: - name: Check out code uses: actions/checkout@v1 - name: Set up .NET 5 uses: actions/setup-dotnet@v1 with: dotnet-version: 5.0.x - name: Restore run: .\build.ps1 restore - name: Build run: .\build.ps1 build --skip restore - name: Test run: .\build.ps1 test --skip build - name: Publish if: runner.os == 'Windows' && github.repository_owner == 'Faithlife' && github.ref == 'refs/heads/master' env: BUILD_BOT_PASSWORD: ${{ secrets.BUILD_BOT_PASSWORD }} NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} run: .\build.ps1 publish --skip test ```
43387fbd-06a0-4437-92ab-2b10fd9e2d38
{ "language": "YAML" }
```yaml # This workflow will upload a Python Package using Twine when a release is created # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries # This workflow uses actions that are not certified by GitHub. # They are provided by a third-party and are governed by # separate terms of service, privacy policy, and support # documentation. name: deploy on: release: types: [published] jobs: deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Python uses: actions/setup-python@v2 with: python-version: '3.x' - name: Install dependencies run: | python -m pip install --upgrade pip pip install build - name: Build package run: python -m build --sdist --wheel --outdir dist/ - name: Publish package if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 with: user: __token__ password: ${{ secrets.PYPI_INTEGRATION }} ``` Fix detection of tagged release
```yaml # This workflow will upload a Python Package using Twine when a release is created # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries # This workflow uses actions that are not certified by GitHub. # They are provided by a third-party and are governed by # separate terms of service, privacy policy, and support # documentation. name: deploy on: release: types: [published] jobs: deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Python uses: actions/setup-python@v2 with: python-version: '3.x' - name: Install dependencies run: | python -m pip install --upgrade pip pip install build - name: Build package run: python -m build --sdist --wheel --outdir dist/ - name: Publish package if: startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 with: user: __token__ password: ${{ secrets.PYPI_INTEGRATION }} ```
c09aeedc-e69b-43df-b98f-ac2e8065088f
{ "language": "YAML" }
```yaml on: [push, pull_request] jobs: build: name: Java ${{ matrix.java }} runs-on: ubuntu-latest strategy: matrix: java: [ 1.8, 11 ] steps: - uses: actions/checkout@master - name: Setup java uses: actions/setup-java@v1 with: java-version: ${{ matrix.java }} run: ./gradlew ``` Build Java 1.8 and 11.
```yaml name: Java CI on: [push, pull_request] jobs: build: runs-on: ubuntu-latest strategy: matrix: java: [ 8, 11.0.4 ] name: Java ${{ matrix.java }} steps: - uses: actions/checkout@master - name: Setup java uses: actions/setup-java@v1 with: java-version: ${{ matrix.java }} - run: ./gradlew ```
34b034f1-dd0c-4757-959c-9521af3b5503
{ "language": "YAML" }
```yaml name: CI on: [push] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: node-version: 14.x - run: npm ci --no-optional --no-audit --progress=false - run: npm run dist - run: npm run report:size - run: npm run report:package - run: npm run test:performance - uses: actions/upload-artifact@v2 with: name: reports path: public ``` Tweak GitHub Actions build to use nvm
```yaml name: CI on: push: branches-ignore: - "gh-pages" pull_request: jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - id: nvm run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)" - uses: actions/setup-node@v2-beta with: node-version: "${{ steps.nvm.outputs.NVMRC }}" - run: npm install --no-optional --no-audit --no-fund --progress=false - run: npm run dist - run: npm run report:size - run: npm run report:package - run: npm run test:performance - uses: actions/upload-artifact@v2 with: name: reports path: public retention-days: 1 ```
277c514f-e8ff-4d37-81e0-29d602d09aaf
{ "language": "YAML" }
```yaml name: Node.js CI on: push: branches: [ main ] pull_request: branches: [ main ] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [12.x, 14.x, 16.x, 18.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - run: npm ci - run: npm run test:ci env: CI: true ``` Update actions/setup-node action to v3
```yaml name: Node.js CI on: push: branches: [ main ] pull_request: branches: [ main ] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [12.x, 14.x, 16.x, 18.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - run: npm ci - run: npm run test:ci env: CI: true ```
ef84dbab-f523-42cc-9960-9d6133689874
{ "language": "YAML" }
```yaml # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions name: Node.js CI on: push: branches: [ main ] pull_request: branches: [ main ] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [12.x, 14.x, 15.x, 16.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - run: npm ci - run: npm run test-ci env: CI: true NODE_ENV: test ``` Add node v17; remove node v15
```yaml # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions name: Node.js CI on: push: branches: [ main ] pull_request: branches: [ main ] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [12.x, 14.x, 16.x, 17.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - run: npm ci - run: npm run test-ci env: CI: true NODE_ENV: test ```
e8bb6ca9-3fda-4b53-8499-a9636c1b3c41
{ "language": "YAML" }
```yaml name: Run QL Tests on: push: branches: [main] pull_request: branches: [main] env: CARGO_TERM_COLOR: always jobs: qltest: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Fetch CodeQL run: | gh release download --repo https://github.com/github/codeql-cli-binaries --pattern codeql-linux64.zip unzip -q codeql-linux64.zip env: GITHUB_TOKEN: ${{ github.token }} - uses: actions/cache@v2 with: path: | ~/.cargo/registry ~/.cargo/git target key: ${{ runner.os }}-qltest-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Build Extractor run: env "PATH=$PATH:${{ github.workspace }}/codeql" ./create-extractor-pack.sh - name: Run QL tests run: | codeql/codeql test run --check-databases --check-unused-labels --search-path "${{ github.workspace }}" --consistency-queries ql/consistency-queries ql/test find ql "(" -name "*.ql" -or -name "*.qll" ")" -print0 | xargs -0 codeql/codeql query format --check-only codeql/codeql query compile --check-only --threads=4 --warnings=error --search-path "${{ github.workspace }}" "ql/src" "ql/examples" ``` Break up QL CI tests into separatly named steps
```yaml name: Run QL Tests on: push: branches: [main] pull_request: branches: [main] env: CARGO_TERM_COLOR: always jobs: qltest: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Fetch CodeQL run: | gh release download --repo https://github.com/github/codeql-cli-binaries --pattern codeql-linux64.zip unzip -q codeql-linux64.zip env: GITHUB_TOKEN: ${{ github.token }} - uses: actions/cache@v2 with: path: | ~/.cargo/registry ~/.cargo/git target key: ${{ runner.os }}-qltest-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Build Extractor run: env "PATH=$PATH:${{ github.workspace }}/codeql" ./create-extractor-pack.sh - name: Run QL tests run: codeql/codeql test run --check-databases --check-unused-labels --search-path "${{ github.workspace }}" --consistency-queries ql/consistency-queries ql/test - name: Check QL formatting run: find ql "(" -name "*.ql" -or -name "*.qll" ")" -print0 | xargs -0 codeql/codeql query format --check-only - name: Check QL compilation run: codeql/codeql query compile --check-only --threads=4 --warnings=error --search-path "${{ github.workspace }}" "ql/src" "ql/examples" ```
68942334-85e2-4e98-b68b-88f18725cad7
{ "language": "YAML" }
```yaml name: Build Ubuntu on: [ push ] jobs: build_gcc7: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: cmake run: cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" -DCMAKE_CXX_COMPILER=g++-7 -S ./source - name: build run: cmake --build ./ build_gcc8: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: cmake run: cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" -DCMAKE_CXX_COMPILER=g++-8 -S ./source - name: build run: cmake --build ./ build_gcc9: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: cmake run: cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" -DCMAKE_CXX_COMPILER=g++-9 -S ./source - name: build run: cmake --build ./ ``` Add clang-6.0, clang-8, and clang-9 to Build Ubuntu
```yaml name: Build Ubuntu on: [ push ] jobs: build_gcc7: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: cmake run: cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" -DCMAKE_CXX_COMPILER=g++-7 -S ./source - name: build run: cmake --build ./ build_gcc8: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: cmake run: cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" -DCMAKE_CXX_COMPILER=g++-8 -S ./source - name: build run: cmake --build ./ build_gcc9: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: cmake run: cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" -DCMAKE_CXX_COMPILER=g++-9 -S ./source - name: build run: cmake --build ./ build_clang6: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: cmake run: cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" -DCMAKE_CXX_COMPILER=clang++-6.0 -S ./source - name: build run: cmake --build ./ build_clang8: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: cmake run: cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" -DCMAKE_CXX_COMPILER=clang++-8 -S ./source - name: build run: cmake --build ./ build_clang9: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: cmake run: cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" -DCMAKE_CXX_COMPILER=clang++-9 -S ./source - name: build run: cmake --build ./```
76328623-b258-46f2-9d07-617ba7b12720
{ "language": "YAML" }
```yaml homepage: '' changelog-type: markdown hash: 015c52458b5669aa0055469b2a25382095e6bb28398a9ccf7070ce5db1ebd042 test-bench-deps: {} maintainer: [email protected] synopsis: In-memory TLS session manager changelog: ! '# 0.0.0.0 - A first release. ' basic-deps: base: ! '>=4.8 && <5' clock: ! '>=0.4.2' tls: ! '>=1.0' auto-update: ! '>=0.1.1' psqueues: ! '>=0.2.3' all-versions: - '0.0.0.0' - '0.0.0.1' author: Kazu Yamamoto latest: '0.0.0.1' description-type: haddock description: TLS session manager with limitation, automatic pruning, energy saving and replay resistance license-name: BSD3 ``` Update from Hackage at 2017-12-08T03:01:15Z
```yaml homepage: '' changelog-type: markdown hash: e3d3f8a026196df46746a19d3d7d31211b2fca3aefed9074e951b2dcc1b8833c test-bench-deps: {} maintainer: [email protected] synopsis: In-memory TLS session manager changelog: ! '# 0.0.0.0 - A first release. ' basic-deps: base: ! '>=4.7 && <5' clock: -any tls: -any auto-update: -any psqueues: ! '>=0.2.3' all-versions: - '0.0.0.0' - '0.0.0.1' - '0.0.0.2' author: Kazu Yamamoto latest: '0.0.0.2' description-type: haddock description: TLS session manager with limitation, automatic pruning, energy saving and replay resistance license-name: BSD3 ```
944cf1e6-a2e0-481c-b644-20771a1390d5
{ "language": "YAML" }
```yaml First_Category_Name: - subtitle: first_category_subtitle_here - q: question_1_text_here a: answer_1_text_here - q: question_2_text_here a: answer_2_text_here Second_Category_Name: - q: question_1_text_here a: answer_1_text_here - q: question_2_text_here a: Add more using the same format. Subtitle is completely optional ``` Improve default text in template yml to explain format better
```yaml First_category_name_here: - subtitle: first_category_subtitle_here - q: question_1_text_here a: answer_1_text_here - q: question_2_text_here a: answer_2_text_here Second_category_name_here: - q: question_1_text_here a: answer_1_text_here - q: question_2_text_here a: Add more using the same format. Subtitle is completely optional (delete the line if you are not using one) ```
bb38c28e-3275-46c8-84b5-2a96a3120d79
{ "language": "YAML" }
```yaml homepage: https://github.com/nikita-volkov/hasql-th changelog-type: '' hash: a816b4e340051780f0938de23557b4e12e62110fe150d6c27c6f52e1ffafcb6e test-bench-deps: {} maintainer: Nikita Volkov <[email protected]> synopsis: Template Haskell utilities for Hasql changelog: '' basic-deps: hasql: ! '>=0.15 && <0.16' bytestring: ! '>=0.10 && <0.11' base-prelude: ! '>=0.1.19 && <0.2' text: ! '>=1 && <2' attoparsec: ! '>=0.10 && <0.14' hasql-transaction: ! '>=0.3 && <0.4' template-haskell: ! '>=2.8 && <3' all-versions: - '0.1' author: Nikita Volkov <[email protected]> latest: '0.1' description-type: haddock description: '' license-name: MIT ``` Update from Hackage at 2015-12-07T18:17:44+0000
```yaml homepage: https://github.com/nikita-volkov/hasql-th changelog-type: '' hash: 7edbb94964c377247011dd90a10a59d98a05ab44efe1fa3dca49a224203c7f34 test-bench-deps: {} maintainer: Nikita Volkov <[email protected]> synopsis: Template Haskell utilities for Hasql changelog: '' basic-deps: hasql: ! '>=0.15 && <0.16' bytestring: ! '>=0.10 && <0.11' base-prelude: ! '>=0.1.19 && <0.2' text: ! '>=1 && <2' attoparsec: ! '>=0.10 && <0.14' hasql-transaction: ! '>=0.3 && <0.4' template-haskell: ! '>=2.8 && <3' all-versions: - '0.1' - '0.1.0.1' author: Nikita Volkov <[email protected]> latest: '0.1.0.1' description-type: haddock description: '' license-name: MIT ```
e65ac144-1f65-4f9f-89de-c16b1cdaca10
{ "language": "YAML" }
```yaml homepage: http://github.com/ekmett/monad-st changelog-type: '' hash: 0f717529f5b54911182b227b65d7032051ae951708e20aade98d051536f85ca0 test-bench-deps: {} maintainer: Edward A. Kmett <[email protected]> synopsis: Provides a MonadST class changelog: '' basic-deps: base: ! '>=4 && <5' transformers: ! '>=0.2 && <0.6' all-versions: - '0.1' - '0.2' - 0.2.0.1 - 0.2.0.2 - 0.2.1 - 0.2.1.1 - 0.2.2 - 0.2.3 - 0.2.4 - 0.2.4.1 author: Edward A. Kmett latest: 0.2.4.1 description-type: haddock description: Provides a MonadST class license-name: BSD-3-Clause ``` Update from Hackage at 2021-12-17T10:01:26Z
```yaml homepage: http://github.com/ekmett/monad-st changelog-type: '' hash: cabbabb81b5f28a460937b1d224741060b63782cfc6d0f819d36860291026b05 test-bench-deps: {} maintainer: Edward A. Kmett <[email protected]> synopsis: Provides a MonadST class changelog: '' basic-deps: base: '>=4 && <5' transformers: '>=0.2 && <0.7' all-versions: - '0.1' - '0.2' - 0.2.0.1 - 0.2.0.2 - 0.2.1 - 0.2.1.1 - 0.2.2 - 0.2.3 - 0.2.4 - 0.2.4.1 author: Edward A. Kmett latest: 0.2.4.1 description-type: haddock description: Provides a MonadST class license-name: BSD-3-Clause ```
abcdef77-17ab-4efc-86af-76d6227f4a3a
{ "language": "YAML" }
```yaml name: Merge me test dependencies! on: workflow_run: types: - completed workflows: # List all required workflow names here. - 'Run tests' - 'Test build package' - 'Run linters' jobs: merge-me: name: Merge me! runs-on: ubuntu-latest steps: - # It is often a desired behavior to merge only when a workflow execution # succeeds. This can be changed as needed. if: ${{ github.event.workflow_run.conclusion == 'success' }} name: Merge me! uses: ridedott/[email protected] with: # Depending on branch protection rules, a manually populated # `GITHUB_TOKEN_WORKAROUND` secret with permissions to push to # a protected branch must be used. This secret can have an arbitrary # name, as an example, this repository uses `DOTTBOTT_TOKEN`. # # When using a custom token, it is recommended to leave the following # comment for other developers to be aware of the reasoning behind it: # # This must be used as GitHub Actions token does not support pushing # to protected branches. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} MERGE_METHOD: MERGE PRESET: DEPENDABOT_MINOR ENABLED_FOR_MANUAL_CHANGES: 'true' ``` Bump ridedott/merge-me-action from 2.9.149 to 2.9.152
```yaml name: Merge me test dependencies! on: workflow_run: types: - completed workflows: # List all required workflow names here. - 'Run tests' - 'Test build package' - 'Run linters' jobs: merge-me: name: Merge me! runs-on: ubuntu-latest steps: - # It is often a desired behavior to merge only when a workflow execution # succeeds. This can be changed as needed. if: ${{ github.event.workflow_run.conclusion == 'success' }} name: Merge me! uses: ridedott/[email protected] with: # Depending on branch protection rules, a manually populated # `GITHUB_TOKEN_WORKAROUND` secret with permissions to push to # a protected branch must be used. This secret can have an arbitrary # name, as an example, this repository uses `DOTTBOTT_TOKEN`. # # When using a custom token, it is recommended to leave the following # comment for other developers to be aware of the reasoning behind it: # # This must be used as GitHub Actions token does not support pushing # to protected branches. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} MERGE_METHOD: MERGE PRESET: DEPENDABOT_MINOR ENABLED_FOR_MANUAL_CHANGES: 'true' ```
ca176b0e-eb86-4da3-91eb-c6533419e8d8
{ "language": "YAML" }
```yaml --- # Any step that should happen after the deployment of the overcloud playbook # This could be validation of installation, etc - name: Fetch key for SSH to the overcloud hosts: undercloud gather_facts: no become: yes become_user: "{{ installer.user.name }}" tasks: - name: fetch the private key file from the undercloud fetch: src: "~/.ssh/id_rsa" dest: "{{ inventory_dir }}/id_rsa_overcloud" flat: yes - name: Update the inventory file hosts: localhost gather_facts: no tasks: - name: update file permissions file: path: "{{ inventory_dir }}/id_rsa_overcloud" mode: 0600 - name: update our ansible ssh configuration file template: src: "templates/ssh.config.ansible.j2" dest: "{{ inventory_dir }}/ansible.ssh.config" mode: 0755 ``` Update inventory with overcloud user
```yaml --- # Any step that should happen after the deployment of the overcloud playbook # This could be validation of installation, etc - name: Fetch key for SSH to the overcloud hosts: undercloud gather_facts: no become: yes become_user: "{{ installer.user.name }}" tasks: - name: fetch the private key file from the undercloud fetch: src: "~/.ssh/id_rsa" dest: "{{ inventory_dir }}/id_rsa_overcloud" flat: yes - name: Update the inventory file hosts: localhost gather_facts: no tasks: - name: update file permissions file: path: "{{ inventory_dir }}/id_rsa_overcloud" mode: 0600 - name: update our ansible ssh configuration file template: src: "templates/ssh.config.ansible.j2" dest: "{{ inventory_dir }}/ansible.ssh.config" mode: 0755 - name: Update Inventory add_host: name: "{{ item }}" ansible_ssh_user: "heat-admin" with_items: groups['openstack_nodes'] | difference(["undercloud"]) # todo(yfried): Do we need to flush the inventory somehow? - name: Generate new Inventory file template: dest: "{{ lookup('env', 'PWD') }}/hosts-{{ lookup('env', 'USER') }}" src: ../../provisioner/templates/inventory.j2 - name: Link to new Inventory file file: dest: "{{ lookup('env', 'PWD') }}/hosts" state: link src: "{{ lookup('env', 'PWD') }}/hosts-{{ lookup('env', 'USER') }}" ```
6d3135cc-f160-43b1-99fa-8be88f671567
{ "language": "YAML" }
```yaml apiVersion: extensions/v1beta1 kind: Deployment metadata: labels: k8s-app: kubernetes-dashboard name: kubernetes-dashboard namespace: kube-system spec: replicas: 1 selector: matchLabels: k8s-app: kubernetes-dashboard template: metadata: annotations: scheduler.alpha.kubernetes.io/tolerations: | [ { "key": "dedicated", "operator": "Equal", "value": "master", "effect": "NoSchedule" } ] labels: k8s-app: kubernetes-dashboard spec: containers: - image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.6.2 imagePullPolicy: Always livenessProbe: httpGet: path: / port: 9090 initialDelaySeconds: 30 timeoutSeconds: 30 name: kubernetes-dashboard ports: - containerPort: 9090 protocol: TCP resources: limits: cpu: 100m memory: 50Mi requests: cpu: 100m memory: 50Mi ``` Upgrade 'kubernetes-dashboard' to version 1.6.3.
```yaml apiVersion: extensions/v1beta1 kind: Deployment metadata: labels: k8s-app: kubernetes-dashboard name: kubernetes-dashboard namespace: kube-system spec: replicas: 1 selector: matchLabels: k8s-app: kubernetes-dashboard template: metadata: annotations: scheduler.alpha.kubernetes.io/tolerations: | [ { "key": "dedicated", "operator": "Equal", "value": "master", "effect": "NoSchedule" } ] labels: k8s-app: kubernetes-dashboard spec: containers: - image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.6.3 imagePullPolicy: Always livenessProbe: httpGet: path: / port: 9090 initialDelaySeconds: 30 timeoutSeconds: 30 name: kubernetes-dashboard ports: - containerPort: 9090 protocol: TCP resources: limits: cpu: 100m memory: 50Mi requests: cpu: 100m memory: 50Mi ```
65e51039-9d4d-4f0f-9288-32f742de76ba
{ "language": "YAML" }
```yaml name: Merge me! on: check_suite: types: - completed jobs: merge-me: name: Merge me! runs-on: ubuntu-latest steps: - name: Merge me! uses: ridedott/[email protected] with: # Depending on branch protection rules, a manually populated # `GITHUB_TOKEN_WORKAROUND` environment variable with permissions to # push to a protected branch must be used. This variable can have an # arbitrary name, as an example, this repository uses # `GITHUB_TOKEN_DOTTBOTT`. # # When using a custom token, it is recommended to leave the following # comment for other developers to be aware of the reasoning behind it: # # This must be used as GitHub Actions token does not support # pushing to protected branches. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} MERGE_METHOD: MERGE ``` Bump ridedott/merge-me-action from v2.8.6 to v2.8.7
```yaml name: Merge me! on: check_suite: types: - completed jobs: merge-me: name: Merge me! runs-on: ubuntu-latest steps: - name: Merge me! uses: ridedott/[email protected] with: # Depending on branch protection rules, a manually populated # `GITHUB_TOKEN_WORKAROUND` environment variable with permissions to # push to a protected branch must be used. This variable can have an # arbitrary name, as an example, this repository uses # `GITHUB_TOKEN_DOTTBOTT`. # # When using a custom token, it is recommended to leave the following # comment for other developers to be aware of the reasoning behind it: # # This must be used as GitHub Actions token does not support # pushing to protected branches. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} MERGE_METHOD: MERGE ```
2cf0e182-8b22-41a9-87e1-850f1ab0b8e2
{ "language": "YAML" }
```yaml name: Python application on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Python 3.8 uses: actions/setup-python@v1 with: python-version: 3.8 - name: Install dependencies run: | python -m pip install --upgrade pip pip install pipenv pipenv install - name: Lint with flake8 run: | pip install flake8 # stop the build if there are Python syntax errors or undefined names flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --statistics ``` Rename the Github workflow action
```yaml name: Acolint on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Python 3.8 uses: actions/setup-python@v1 with: python-version: 3.8 - name: Install dependencies run: | python -m pip install --upgrade pip pip install pipenv pipenv install - name: Lint with flake8 run: | pip install flake8 # stop the build if there are Python syntax errors or undefined names flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --statistics ```
d9d377e3-8106-4f61-a46f-961a498e6ef5
{ "language": "YAML" }
```yaml # This workflow uses actions that are not certified by GitHub. # They are provided by a third-party and are governed by # separate terms of service, privacy policy, and support # documentation. # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby name: Run tests with rake on: push: branches: [ rubocop-211208 ] pull_request: branches: [ master ] permissions: contents: read jobs: test: runs-on: ubuntu-latest strategy: matrix: ruby-version: ['2.6', '2.7', '3.0'] steps: - uses: actions/checkout@v3 - name: Set up Ruby # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby, # change this to (see https://github.com/ruby/setup-ruby#versioning): uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Run tests run: bundle exec rake env: SERVER_PRODUCTION: www.nothing.fish HOST_PORT: 80 ``` Set up postgres server and database
```yaml # This workflow uses actions that are not certified by GitHub. # They are provided by a third-party and are governed by # separate terms of service, privacy policy, and support # documentation. # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby name: Run tests with rake on: push: branches: [ rubocop-211208 ] pull_request: branches: [ master ] permissions: contents: read jobs: test: runs-on: ubuntu-latest strategy: matrix: ruby-version: ['2.6', '2.7', '3.0'] services: postgres: image: postgres:13 ports: - "5432:5432" env: POSTGRES_DB: rails_test POSTGRES_USER: rails POSTGRES_PASSWORD: password env: RAILS_ENV: test DATABASE_URL: "postgres://rails:password@localhost:5432/rails_test" steps: - uses: actions/checkout@v3 - name: Set up Ruby # It uses v1 as a code for "The latest version with automatic fixes etc.", referred to as a floating V1 uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Set up database schema run: bin/rails db:schema:load - name: Run tests run: bundle exec rake env: SERVER_PRODUCTION: www.nothing.fish HOST_PORT: 80 #POSTGRES_USER: rails #POSTGRES_PASSWORD: password #DB_SERVICE_HOST: localhost ```
94035019-494e-41d3-b105-1462356408bb
{ "language": "YAML" }
```yaml # This workflow will install Python dependencies, run tests and lint with a variety of Python versions # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions name: Python package on: push: branches: [ master ] pull_request: workflow_dispatch: jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: [3.7, 3.8, 3.9] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip python -m pip install flake8 pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Lint with flake8 run: | make lint-ci - name: Test with pytest run: | make test ``` Convert flake8 linter output into GitHub annotations
```yaml # This workflow will install Python dependencies, run tests and lint with a variety of Python versions # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions name: Python package on: push: branches: [ master ] pull_request: workflow_dispatch: jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: [3.7, 3.8, 3.9] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip python -m pip install flake8 pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Set up flake8 annotations uses: rbialon/flake8-annotations@v1 - name: Lint with flake8 run: | make lint-ci - name: Test with pytest run: | make test ```
596fe030-0bc5-410d-980b-ad34bc29d8a2
{ "language": "YAML" }
```yaml homepage: '' changelog-type: '' hash: 9075959b6929e46867c138fb66b3d23ab16c5db3b07ad4181ea1b41eb246d14e test-bench-deps: base: -any hspec: -any cdeps: -any maintainer: [email protected] synopsis: Extract dependencies from C code. changelog: '' basic-deps: bytestring: -any base: ! '>=4.8 && <5' text: -any filepath: -any array: -any cdeps: -any optparse-applicative: -any directory: -any all-versions: - '0.1.0.0' author: Vanessa McHale latest: '0.1.0.0' description-type: markdown description: ! '# cdeps This package provides the ability to extract C dependencies from source code. It can be used with [shake](https://shakebuild.com) or for other purposes. ' license-name: BSD3 ``` Update from Hackage at 2018-04-22T04:38:42Z
```yaml homepage: '' changelog-type: '' hash: 5d6cb4fa04a97c66c0c3e0362c90d393aeef5e12cb1cc130d9dd485fe68351e4 test-bench-deps: base: -any hspec: -any cdeps: -any maintainer: [email protected] synopsis: Extract dependencies from C code. changelog: '' basic-deps: bytestring: -any base: ! '>=4.11 && <5' text: -any filepath: -any array: -any cdeps: -any optparse-applicative: -any directory: -any all-versions: - '0.1.0.0' author: Vanessa McHale latest: '0.1.0.0' description-type: markdown description: ! '# cdeps This package provides the ability to extract C dependencies from source code. It can be used with [shake](https://shakebuild.com) or for other purposes. ' license-name: BSD3 ```
b666dc0a-9cda-4493-bb19-5f4489e2027d
{ "language": "YAML" }
```yaml homepage: '' changelog-type: '' hash: 58c52d10aaf4ef240f9668ad1698fdcfddae4b0d65be7240b96972392ac7975d test-bench-deps: {} maintainer: [email protected] synopsis: Decompiles Glulx files changelog: '' basic-deps: base: ==4.9.* array: -any containers: -any mtl: -any all-versions: - '4.0' - '4.1' - '4.2' author: '' latest: '4.2' description-type: haddock description: Update of the mrifk decompiler to modern Haskell license-name: GPL ``` Update from Hackage at 2017-01-16T23:40:22Z
```yaml homepage: '' changelog-type: '' hash: e6c6c819476e2e56728a095d46b01c8ec9efd938ad77b88477c59217da4c7552 test-bench-deps: {} maintainer: [email protected] synopsis: Decompiles Glulx files changelog: '' basic-deps: base: ==4.9.* array: -any containers: -any mtl: -any all-versions: - '4.0' - '4.1' - '4.2' - '4.3' author: '' latest: '4.3' description-type: haddock description: Update of the mrifk decompiler to modern Haskell license-name: GPL ```
18f97be6-5d72-4033-ad61-4cd4501cdfea
{ "language": "YAML" }
```yaml {% set name = "dbt-athena-adapter" %} {% set version = "1.0.1" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/dbt-athena-adapter-{{ version }}.tar.gz sha256: e92c0c3c8ef996345728740d370efd141ca67eabf83b637e5939380e99099c0b build: noarch: python script: {{ PYTHON }} -m pip install . -vv number: 0 requirements: host: - pip - python run: - boto3 >=1.18.12 - dbt-core >=1.0.1 - pyathena >=2.2.0 - python - tenacity >=6.3.1 test: imports: - dbt commands: - pip check requires: - pip about: home: https://github.com/Tomme/dbt-athena summary: The athena adapter plugin for dbt (data build tool) license: Apache-2.0 license_file: LICENSE.txt extra: recipe-maintainers: - janjagusch ``` Set minimum python version to 3.6.
```yaml {% set name = "dbt-athena-adapter" %} {% set version = "1.0.1" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/dbt-athena-adapter-{{ version }}.tar.gz sha256: e92c0c3c8ef996345728740d370efd141ca67eabf83b637e5939380e99099c0b build: noarch: python script: {{ PYTHON }} -m pip install . -vv number: 0 requirements: host: - pip - python >=3.6 run: - boto3 >=1.18.12 - dbt-core >=1.0.1 - pyathena >=2.2.0 - python >=3.6 - tenacity >=6.3.1 test: imports: - dbt commands: - pip check requires: - pip about: home: https://github.com/Tomme/dbt-athena summary: The athena adapter plugin for dbt (data build tool) license: Apache-2.0 license_file: LICENSE.txt extra: recipe-maintainers: - janjagusch ```
2c3b9e97-fc38-46a7-a2ed-3cd29ba7e3fa
{ "language": "YAML" }
```yaml {{- if .Values.keppel.anycast_domain_name }} kind: Deployment apiVersion: apps/v1 metadata: name: keppel-anycast-monitor spec: revisionHistoryLimit: 5 replicas: 1 strategy: type: Recreate selector: matchLabels: name: keppel-anycast-monitor template: metadata: labels: name: keppel-anycast-monitor annotations: prometheus.io/scrape: "true" prometheus.io/port: "8080" prometheus.io/targets: "openstack" spec: containers: - name: monitor image: {{include "keppel_image" .}} imagePullPolicy: IfNotPresent args: - server - anycastmonitor - "https://{{ .Values.keppel.anycast_domain_name }}" - {{ quote .Values.keppel.anycast_domain_name }} - {{ quote .Values.keppel.healthcheck_account }} {{- range .Values.keppel.peers }} - {{ quote .healthcheck_account }} {{- end }} env: - name: KEPPEL_DEBUG value: 'false' # initially same as keppel-health-monitor resources: requests: cpu: "10m" memory: "64Mi" limits: cpu: "10m" memory: "64Mi" {{- end }} ``` Revert "keppel: fix anycast-monitor in QA"
```yaml {{- if .Values.keppel.anycast_domain_name }} kind: Deployment apiVersion: apps/v1 metadata: name: keppel-anycast-monitor spec: revisionHistoryLimit: 5 replicas: 1 strategy: type: Recreate selector: matchLabels: name: keppel-anycast-monitor template: metadata: labels: name: keppel-anycast-monitor annotations: prometheus.io/scrape: "true" prometheus.io/port: "8080" prometheus.io/targets: "openstack" spec: containers: - name: monitor image: {{include "keppel_image" .}} imagePullPolicy: IfNotPresent args: - server - anycastmonitor - "https://{{ .Values.keppel.anycast_domain_name }}" - "keppel.{{ .Values.global.region }}.{{ .Values.global.tld }}" - {{ quote .Values.keppel.healthcheck_account }} {{- range .Values.keppel.peers }} - {{ quote .healthcheck_account }} {{- end }} env: - name: KEPPEL_DEBUG value: 'false' # initially same as keppel-health-monitor resources: requests: cpu: "10m" memory: "64Mi" limits: cpu: "10m" memory: "64Mi" {{- end }} ```
e099d438-7641-40e0-b74a-ca42deba2529
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.1 - 2.2 - 2.3.0 ``` Update Travis configuration with sudo/dist
```yaml sudo: required dist: trusty language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1 - 2.2 - 2.3.0 ```
a01b8712-aff6-4bf8-8037-70bc551686eb
{ "language": "YAML" }
```yaml language: "python" matrix: include: - python: 2.7 dist: trusty - python: 3.4 dist: trusty - python: 3.5 dist: trusty - python: 3.6 dist: trusty - python: 3.7 dist: xenial - python: pypy dist: trusty install: - "make reqs" script: - "make test" ``` Build with sudo: true for Python 3.7
```yaml language: "python" matrix: include: - python: 2.7 - python: 3.4 - python: 3.5 - python: 3.6 - python: 3.7 dist: xenial sudo: true - python: pypy install: - "make reqs" script: - "make test" ```
ce573a95-d912-4609-86a2-548df103134d
{ "language": "YAML" }
```yaml language: android sudo: required jdk: oraclejdk8 android: components: - tools - platform-tools - build-tools-23.0.3 - android-23 - extra-google-m2repository - extra-android-m2repository licenses: - android-sdk-preview-license-.+ - android-sdk-license-.+ - google-gdk-license-.+ ``` Update build-tools version 23.0.3 to 25.0.0
```yaml language: android sudo: required jdk: oraclejdk8 android: components: - tools - platform-tools - build-tools-25.0.0 - android-23 - extra-google-m2repository - extra-android-m2repository licenses: - android-sdk-preview-license-.+ - android-sdk-license-.+ - google-gdk-license-.+ ```
58bdffe6-c369-42fe-b461-7f12f6699ce4
{ "language": "YAML" }
```yaml sudo: required dist: trusty services: - docker language: java jdk: - openjdk8 - oraclejdk8 git: submodules: false before_install: - scripts/travis-initialize-submodules - scripts/run-xvfb install: ./gradlew setupDecompWorkspace script: DISPLAY=:99 ./gradlew build runMcTester --stacktrace after_failure: scripts/upload notifications: email: false before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ - $TRAVIS_BUILD_DIR/.gradle/ - $TRAVIS_BUILD_DIR/build/ env: - MCTESTER_UPLOAD_URL="https://openwhisk.ng.bluemix.net/api/v1/web/aa1ronham%40gmail.com_dev/default/image-upload.json" ``` Disable Travis cache for now
```yaml sudo: required dist: trusty services: - docker language: java jdk: - openjdk8 - oraclejdk8 git: submodules: false before_install: - scripts/travis-initialize-submodules - scripts/run-xvfb install: ./gradlew setupDecompWorkspace script: DISPLAY=:99 ./gradlew build runMcTester --stacktrace after_failure: scripts/upload notifications: email: false env: - MCTESTER_UPLOAD_URL="https://openwhisk.ng.bluemix.net/api/v1/web/aa1ronham%40gmail.com_dev/default/image-upload.json" ```
f9aa2d1f-abec-4125-b7d8-414e31169757
{ "language": "YAML" }
```yaml language: python python: - 3.4 - 3.5 - 3.7 script: python setup.py test ``` Change Python versions used by Travis.
```yaml language: python python: - 3.5 - 3.7 - 3.8 script: python setup.py test ```
dbe8d299-b86b-4095-9649-24661094eaf8
{ "language": "YAML" }
```yaml --- - src: ANXS.openssh version: v1.0.1 - src: https://github.com/quarkslab/postgresql.git name: ANXS.postgresql version: master - src: franklinkim.sudo version: 1.0.0 - src: franklinkim.ufw version: 1.3.0 - src: https://github.com/quarkslab/ansible-uwsgi.git version: master name: gdamjan.uwsgi - src: jdauphant.nginx version: v1.5.1 - src: Mayeu.RabbitMQ version: 1.4.0 - src: mivok0.users version: master - src: https://github.com/quarkslab/Stouts.mongodb.git name: Stouts.mongodb version: develop ``` Update Nginx, PostgreSQL and RabbitMQ role location and/or version from the Ansible Requirements file.
```yaml --- - src: https://github.com/ANXS/openssh.git version: v1.1.0 name: ANXS.openssh - src: https://github.com/ANXS/postgresql.git version: v1.3.0 name: ANXS.postgresql - src: https://github.com/weareinteractive/ansible-sudo.git version: 1.5.0 name: franklinkim.sudo - src: https://github.com/weareinteractive/ansible-ufw.git version: 1.4.0 name: franklinkim.ufw - src: https://github.com/quarkslab/ansible-uwsgi.git version: master name: gdamjan.uwsgi - src: https://github.com/jdauphant/ansible-role-nginx.git version: v1.10.0 name: jdauphant.nginx - src: https://github.com/quarkslab/ansible-playbook-rabbitmq.git version: master name: Mayeu.RabbitMQ - src: https://github.com/mivok/ansible-users.git version: master name: mivok0.users - src: https://github.com/quarkslab/Stouts.mongodb.git name: Stouts.mongodb version: develop ```
a7928df7-31d8-47b9-8999-e0f748a36494
{ "language": "YAML" }
```yaml language: node_js node_js: - "4.0.0" - "4.1.0" - "iojs" - "node" notifications: email: false ``` Add more NodeJS versions to Travis Matrix
```yaml language: node_js node_js: - "4.0" - "4.1" - "4.2" - "5.0" - "5.1" - "5.2" - "iojs" - "node" notifications: email: false ```
9e31d808-1226-4ea3-a07b-5b1c1e750659
{ "language": "YAML" }
```yaml language: php php: - 5.6 - 7.0 - 7.1 sudo: false before_install: - composer self-update - composer clear-cache install: - travis_retry composer update --no-interaction --no-ansi --no-progress --no-suggest --optimize-autoloader --prefer-stable script: - ./vendor/bin/phpunit --coverage-clover=coverage.xml after_success: - bash <(curl -s https://codecov.io/bash) notifications: email: false ``` Test against PHP 7.2 and PHP 7.3
```yaml language: php php: - 5.6 - 7.0 - 7.1 - 7.2 - 7.3 sudo: false before_install: - composer self-update - composer clear-cache install: - travis_retry composer update --no-interaction --no-ansi --no-progress --no-suggest --optimize-autoloader --prefer-stable script: - ./vendor/bin/phpunit --coverage-clover=coverage.xml after_success: - bash <(curl -s https://codecov.io/bash) notifications: email: false ```
f0cc92ba-7293-44db-94f8-f3f32ac0eccf
{ "language": "YAML" }
```yaml language: java matrix: include: - jdk: openjdk7 - jdk: oraclejdk8 - jdk: openjdk11 - jdk: oraclejdk11 env: COVERALLS=true after_success: - test -z $COVERALLS || mvn clean test jacoco:report coveralls:report ``` Remove oraclejdk8 and openjdk7 from Travis build
```yaml language: java matrix: include: - jdk: openjdk8 - jdk: openjdk11 - jdk: oraclejdk11 env: COVERALLS=true after_success: - test -z $COVERALLS || mvn clean test jacoco:report coveralls:report ```
42dfe5df-5d9b-4dbf-90af-8a2ddc91dd63
{ "language": "YAML" }
```yaml language: php php: - 5.6 - 7.0 - 7.1 - 7.2 - 7.3 - 7.4snapshot before_install: - composer self-update - composer clear-cache install: - travis_retry composer update --no-interaction --no-ansi --no-progress --no-suggest --optimize-autoloader --prefer-stable script: - ./vendor/bin/phpunit --coverage-clover=coverage.xml after_success: - bash <(curl -s https://codecov.io/bash) notifications: email: false ``` Test on PHP 7.4 stable
```yaml language: php matrix: include: - php: 5.6 dist: xenial - php: 7.0 dist: xenial - php: 7.1 dist: bionic - php: 7.2 dist: bionic - php: 7.3 dist: bionic - php: 7.4 dist: bionic before_install: - composer self-update - composer clear-cache install: - travis_retry composer update --no-interaction --no-ansi --no-progress --no-suggest --optimize-autoloader --prefer-stable script: - ./vendor/bin/phpunit --coverage-clover=coverage.xml after_success: - bash <(curl -s https://codecov.io/bash) notifications: email: false ```
1a22cb1e-85d3-4c16-9bb6-384ce3976345
{ "language": "YAML" }
```yaml sudo: false language: python python: - 3.6.2 script: - nosetests --with-coverage tests/ after_success: - codeclimate-test-reporter - coveralls ``` Update how tests are executed
```yaml sudo: false language: python python: - 3.6.2 script: - nosetests --with-coverage after_success: - codeclimate-test-reporter - coveralls ```
052edce7-87c7-408d-aa54-8c8c4ad897b8
{ "language": "YAML" }
```yaml language: python python: - "2.7" - "3.2" - "3.3" - "3.4" env: - DJANGO=1.7 - DJANGO=1.8 install: - pip install -q Django==$DJANGO --use-mirrors - pip install coverage - pip install -e git://github.com/django-nose/django-nose.git#egg=django-nose - python setup.py install script: - python runtests.py``` Revert "install from setup.py", for some reason it broke the build
```yaml language: python python: - "2.7" - "3.2" - "3.3" - "3.4" env: - DJANGO=1.7 - DJANGO=1.8 install: - pip install -q Django==$DJANGO --use-mirrors - pip install coverage - pip install -e git://github.com/django-nose/django-nose.git#egg=django-nose - pip install -q -e . --use-mirrors script: - python runtests.py```
29f6f2bb-f317-424d-aebd-fa43f43dd998
{ "language": "YAML" }
```yaml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - nightly sudo: required install: - git clone https://github.com/jacekkow/uphpCAS-tests tests - ./tests/install.sh script: - ./tests/script.sh ``` Update PHP versions to ones supported by Travis CI
```yaml language: php php: - 5.6 - 7.0 - 7.1 - 7.2 - 7.3 - 7.4 - nightly sudo: required install: - git clone https://github.com/jacekkow/uphpCAS-tests tests - sudo ./tests/install_root.sh - ./tests/install.sh script: - ./tests/script.sh ```