content
stringlengths
1
103k
βŒ€
path
stringlengths
8
216
filename
stringlengths
2
179
language
stringclasses
15 values
size_bytes
int64
2
189k
quality_score
float64
0.5
0.95
complexity
float64
0
1
documentation_ratio
float64
0
1
repository
stringclasses
5 values
stars
int64
0
1k
created_date
stringdate
2023-07-10 19:21:08
2025-07-09 19:11:45
license
stringclasses
4 values
is_test
bool
2 classes
file_hash
stringlengths
32
32
misc:\n - &source_code_files files~=^(?=.*((\.(go|h|cpp)|go.sum|go.mod|CMakeLists.txt|conanfile\.*))).*$\n - &no_source_code_files -files~=^(?=.*((\.(go|h|cpp)|go.sum|go.mod|CMakeLists.txt|conanfile\.*))).*$\n - &only_go_unittest_files -files~=^(?!(client|internal|pkg|tests)\/.*_test\.go).*$\n - &morethan_go_unittest_files files~=^(?!(client|internal|pkg|tests)\/.*_test\.go).*$\n - when_build_and_test_status_successs: &Build_AND_TEST_STATUS_SUCESS_ON_UBUNTU_20_OR_UBUNTU_22\n - 'status-success=Build and test AMD64 Ubuntu 20.04'\n - 'status-success=Build and test AMD64 Ubuntu 22.04'\n - when_build_and_test_status_failed: &Build_AND_TEST_STATUS_FAILED_ON_UBUNTU_20_OR_UBUNTU_22\n - &failed_on_ubuntu_20 'check-failure=Build and test AMD64 Ubuntu 20.04'\n - &failed_on_ubuntu_22 'check-failure=Build and test AMD64 Ubuntu 22.04'\n - when_go_sdk_status_success: &WHEN_GO_SDK_STATUS_SUCCESS\n - 'status-success=go-sdk'\n - 'status-success=milvus-sdk-go'\n - when_cpp_unit_test_success: &WHEN_CPP_UNIT_TEST_SUCCESS\n - 'status-success=cpp-unit-test'\n - 'status-success=UT for Cpp'\n - when_go_unit_test_success: &WHEN_GO_UNIT_TEST_SUCCESS\n - 'status-success=go-unit-test'\n - 'status-success=UT for Go'\n - when_integration_unit_test_success: &WHEN_INTEGRATION_UNIT_TEST_SUCCESS\n - 'status-success=integration-test'\n - 'status-success=Integration Test'\n - branch: &BRANCHES\n # In this pull request, the changes are based on the master branch\n - &MASTER_BRANCH base=master\n - &23_BRANCH base=2.3\n - &24_BRANCH base=2.4\n - &25_BRANCH base=2.5\n # In this pull request, the changes are based on the 2.x(or 2.x.x) branch\n - &2X_BRANCH base~=^2(\.\d+){1,2}$\n\npull_request_rules:\n - name: Add needs-dco label when DCO check failed\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - -status-success=DCO\n actions:\n label:\n remove:\n - dco-passed\n add:\n - needs-dco\n comment:\n message: |\n @{{author}} Thanks for your contribution. Please submit with DCO, see the contributing guide https://github.com/milvus-io/milvus/blob/master/CONTRIBUTING.md#developer-certificate-of-origin-dco.\n\n - name: Add dco-passed label when DCO check passed\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - status-success=DCO\n actions:\n label:\n remove:\n - needs-dco\n add:\n - dco-passed\n\n - name: Test passed for code changed on master \n conditions:\n - *MASTER_BRANCH\n - or: *Build_AND_TEST_STATUS_SUCESS_ON_UBUNTU_20_OR_UBUNTU_22\n - or: *WHEN_GO_SDK_STATUS_SUCCESS\n - or: *WHEN_CPP_UNIT_TEST_SUCCESS\n - or: *WHEN_GO_UNIT_TEST_SUCCESS\n - or: *WHEN_INTEGRATION_UNIT_TEST_SUCCESS\n - 'status-success=Code Checker AMD64 Ubuntu 22.04'\n - 'status-success=Code Checker MacOS 13'\n # - 'status-success=Code Checker Amazonlinux 2023'\n - 'status-success=cpu-e2e'\n # - 'status-success=codecov/patch'\n # - 'status-success=codecov/project'\n actions:\n label:\n add:\n - ci-passed\n - name: Test passed for code changed on 2.* branch\n conditions:\n - *2X_BRANCH\n - 'status-success=Code Checker AMD64 Ubuntu 22.04'\n - or: *Build_AND_TEST_STATUS_SUCESS_ON_UBUNTU_20_OR_UBUNTU_22\n - or: *WHEN_CPP_UNIT_TEST_SUCCESS\n - or: *WHEN_GO_UNIT_TEST_SUCCESS\n - or: *WHEN_INTEGRATION_UNIT_TEST_SUCCESS\n - 'status-success=Code Checker MacOS 13'\n # - 'status-success=Code Checker CentOS 7'\n - 'status-success=cpu-e2e'\n # - 'status-success=codecov/patch'\n # - 'status-success=codecov/project'\n actions:\n label:\n add:\n - ci-passed\n\n - name: Test passed for tests changed\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - -files~=^(?!tests\/python_client).+\n - 'status-success=cpu-e2e'\n actions:\n label:\n add:\n - ci-passed\n\n - name: Test passed for docs changed only\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - -files~=^(?!.*\.(md)).*$\n actions:\n label:\n add:\n - ci-passed\n\n - name: Test passed for non go or c++ code changed\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - 'status-success=cpu-e2e'\n - *no_source_code_files\n actions:\n label:\n add:\n - ci-passed\n\n - name: Test passed for go unittest code changed-master\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - or: *Build_AND_TEST_STATUS_SUCESS_ON_UBUNTU_20_OR_UBUNTU_22\n - 'status-success=Code Checker AMD64 Ubuntu 22.04'\n - 'status-success=Code Checker MacOS 13'\n # - 'status-success=Code Checker Amazonlinux 2023'\n - or: *WHEN_GO_UNIT_TEST_SUCCESS\n - *only_go_unittest_files\n actions:\n label:\n add:\n - ci-passed\n\n - name: Test passed for go unittest code changed -2.2.*\n conditions:\n - *2X_BRANCH\n - or: *Build_AND_TEST_STATUS_SUCESS_ON_UBUNTU_20_OR_UBUNTU_22\n - 'status-success=Code Checker AMD64 Ubuntu 22.04'\n - 'status-success=Code Checker MacOS 13'\n - -files~=^(?!internal\/.*_test\.go).*$\n actions:\n label:\n add:\n - ci-passed\n\n - name: Test passed for mergify changed\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - -files~=^(?!\.github\/mergify\.yml).*$\n actions:\n label:\n add:\n - ci-passed\n\n - name: Test passed for title skip e2e\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - title~=\[skip e2e\]\n - label=kind/enhancement\n - *no_source_code_files\n actions:\n label:\n add:\n - ci-passed\n\n - name: Blocking PR if missing a related issue or doesn't have kind/enhancement label\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - and:\n - -body~=\#[0-9]{1,6}(\s+|$)\n - -body~=https://github.com/milvus-io/milvus/issues/[0-9]{1,6}(\s+|$)\n - or:\n - and:\n - label=kind/enhancement\n - or:\n - label=size/L\n - label=size/XL\n - label=size/XXL\n - label=kind/bug\n - label=kind/feature\n \n - -label=kind/doc\n - -label=kind/test\n - -title~=\[automated\]\n actions:\n label:\n add:\n - do-not-merge/missing-related-issue\n comment:\n message: |\n @{{author}} Please associate the related issue to the body of your Pull Request. (eg. β€œissue: #<xyz>”)\n\n - name: Dismiss block label if related issue be added into PR\n conditions:\n - and:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - or:\n - body~=\#[0-9]{1,6}(\s+|$)\n - body~=https://github.com/milvus-io/milvus/issues/[0-9]{1,6}(\s+|$)\n actions:\n label:\n remove:\n - do-not-merge/missing-related-issue\n\n - name: Blocking PR if missing a related master PR or doesn't have kind/branch-feature label\n conditions:\n - *2X_BRANCH\n - and:\n - -body~=pr\:\ \#[0-9]{1,6}(\s+|$)\n - -body~=https://github.com/milvus-io/milvus/pull/[0-9]{1,6}(\s+|$)\n - -label=kind/branch-feature\n - -title~=\[automated\]\n actions:\n label:\n add:\n - do-not-merge/missing-related-pr\n comment:\n message: |\n @{{author}} Please associate the related pr of master to the body of your Pull Request. (eg. β€œpr: #<xyz>”)\n\n - name: Dismiss block label if related pr be added into PR\n conditions:\n - *2X_BRANCH\n - or:\n - body~=pr\:\ \#[0-9]{1,6}(\s+|$)\n - body~=https://github.com/milvus-io/milvus/pull/[0-9]{1,6}(\s+|$)\n - label=kind/branch-feature\n actions:\n label:\n remove:\n - do-not-merge/missing-related-pr\n\n - name: Dismiss block label if automated create PR\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - title~=\[automated\]\n actions:\n label:\n remove:\n - do-not-merge/missing-related-issue\n - do-not-merge/missing-related-pr\n\n - name: Test passed for skip e2e-master\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - or: *Build_AND_TEST_STATUS_SUCESS_ON_UBUNTU_20_OR_UBUNTU_22\n - title~=\[skip e2e\]\n - or: *WHEN_CPP_UNIT_TEST_SUCCESS\n - or: *WHEN_GO_UNIT_TEST_SUCCESS\n - or: *WHEN_INTEGRATION_UNIT_TEST_SUCCESS\n - 'status-success=Code Checker AMD64 Ubuntu 22.04'\n - 'status-success=Code Checker MacOS 13'\n # - 'status-success=Code Checker Amazonlinux 2023'\n - *source_code_files\n actions:\n label:\n add:\n - ci-passed\n\n - name: Test passed for skip e2e - 2.2.*\n conditions:\n - *2X_BRANCH\n - or: *Build_AND_TEST_STATUS_SUCESS_ON_UBUNTU_20_OR_UBUNTU_22\n - title~=\[skip e2e\]\n - or: *WHEN_CPP_UNIT_TEST_SUCCESS\n - or: *WHEN_GO_UNIT_TEST_SUCCESS\n - or: *WHEN_INTEGRATION_UNIT_TEST_SUCCESS\n - 'status-success=Code Checker MacOS 13'\n - *source_code_files\n actions:\n label:\n add:\n - ci-passed\n\n - name: Assign the 'lgtm' and 'approved' labels following the successful testing of the 'Update Knowhere Commit'\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - 'title~=Update Knowhere Commit'\n - label=ci-passed\n actions:\n label:\n add:\n - lgtm\n - approved\n\n - name: master or 2.5 - Remove ci-passed label when status for code checker or ut is not success\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or:\n - *MASTER_BRANCH\n - *25_BRANCH\n - label!=manual-pass\n - *source_code_files\n - or:\n - *failed_on_ubuntu_20\n - *failed_on_ubuntu_22\n - 'status-success!=Code Checker AMD64 Ubuntu 22.04'\n - and:\n - 'status-success!=cpp-unit-test'\n - *morethan_go_unittest_files\n - 'status-success!=UT for Go'\n - 'status-success!=Integration Test'\n - 'status-success!=Code Checker MacOS 13'\n # - 'status-success!=Code Checker Amazonlinux 2023'\n actions:\n label:\n remove:\n - ci-passed\n\n - name: 2.3 or 2.4 - Remove ci-passed label when status for code checker or ut is not success\n conditions:\n - or:\n - *23_BRANCH\n - *24_BRANCH\n - label!=manual-pass\n - *source_code_files\n - or:\n - *failed_on_ubuntu_20\n - *failed_on_ubuntu_22\n # - 'status-success!=Code Checker AMD64 Ubuntu 20.04'\n - 'status-success!=UT for Cpp'\n - 'status-success!=UT for Go'\n - 'status-success!=Integration Test'\n - 'status-success!=Code Checker MacOS 13'\n # - 'status-success!=Code Checker CentOS 7'\n actions:\n label:\n remove:\n - ci-passed\n\n - name: Remove ci-passed label when status for jenkins job is not success\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - label!=manual-pass\n - -title~=\[skip e2e\]\n - files~=^(?!(.*_test\.go|.*\.md)).*$\n - 'status-success!=cpu-e2e'\n actions:\n label:\n remove:\n - ci-passed\n\n - name: Add comment when jenkins job failed\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - 'check-failure=cpu-e2e'\n actions:\n comment:\n message: |\n @{{author}} E2e jenkins job failed, comment `/run-cpu-e2e` can trigger the job again.\n\n# when go-sdk check failed, prompt user to rerun go-sdk job\n - name: Add comment when go-sdk check failed\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - 'check-failure=go-sdk'\n actions:\n comment:\n message: |\n @{{author}} go-sdk check failed, comment `rerun go-sdk` can trigger the job again.\n\n# when cpp-unit-test check failed, prompt user to rerun cpp-unit-test job\n - name: Add comment when cpp-unit-test check failed\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - 'check-failure=cpp-unit-test'\n actions:\n comment:\n message: |\n @{{author}} cpp-unit-test check failed, comment `rerun cpp-unit-test` can trigger the job again.\n\n# when go-unit-test check failed, prompt user to rerun go-unit-test job\n - name: Add comment when go-unit-test check failed\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - 'check-failure=go-unit-test'\n actions:\n comment:\n message: |\n @{{author}} go-unit-test check failed, comment `rerun go-unit-test` can trigger the job again.\n\n# when integration-test check failed, prompt user to rerun integration-test job\n - name: Add comment when integration-test check failed\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - 'check-failure=integration-test'\n actions:\n comment:\n message: |\n @{{author}} integration-test check failed, comment `rerun integration-test` can trigger the job again.\n\n - name: Add comment when code checker or ut failed -master\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - or:\n # - 'check-failure=Code Checker AMD64 Ubuntu 20.04'\n - 'check-failure=Build and test AMD64 Ubuntu 20.04'\n actions:\n comment:\n message: |\n @{{author}} ut workflow job failed, comment `rerun ut` can trigger the job again.\n\n - name: Add comment when code checker or ut failed -2.2.*\n conditions:\n - *2X_BRANCH\n - or:\n # - 'check-failure=Code Checker AMD64 Ubuntu 20.04'\n - 'check-failure=Build and test AMD64 Ubuntu 20.04'\n actions:\n comment:\n message: |\n @{{author}} ut workflow job failed, comment `rerun ut` can trigger the job again.\n\n - name: Add 'do-not-merge/invalid-pr-format' label for invalid PR titles\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - or:\n - '-title~=^(feat:|enhance:|fix:|test:|doc:|auto:|\[automated\])'\n - body=^$\n actions:\n label:\n add:\n - do-not-merge/invalid-pr-format\n comment:\n message: |\n @{{author}} \n\n **Invalid PR Title Format Detected**\n\n Your PR submission does not adhere to our required standards. To ensure clarity and consistency, please meet the following criteria:\n\n 1. **Title Format:** The PR title must begin with one of these prefixes:\n - `feat:` for introducing a new feature.\n - `fix:` for bug fixes.\n - `enhance:` for improvements to existing functionality.\n - `test`: for add tests to existing functionality.\n - `doc`: for modifying documentation.\n - `auto`: for the pull request from bot.\n\n 2. **Description Requirement:** The PR must include a non-empty description, detailing the changes and their impact.\n\n **Required Title Structure:**\n\n ```\n [Type]: [Description of the PR]\n ```\n\n Where `Type` is one of `feat`, `fix`, `enhance`, `test` or `doc`. \n\n **Example:**\n ```\n enhance: improve search performance significantly \n ```\n\n Please review and update your PR to comply with these guidelines.\n\n - name: Remove 'do-not-merge/invalid-pr-format' label for valid PRs\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - 'title~=^(feat:|enhance:|fix:|test:|doc:|auto:|\[automated\])'\n - '-body=^$'\n - 'label=do-not-merge/invalid-pr-format'\n actions:\n label:\n remove:\n - do-not-merge/invalid-pr-format\n\n - name: Label bug fix PRs\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - 'title~=^fix:'\n actions:\n label:\n add:\n - kind/bug\n\n - name: Label feature PRs\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - 'title~=^feat:'\n actions:\n label:\n add:\n - kind/feature\n\n - name: Label enhancement PRs\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - 'title~=^enhance:'\n actions:\n label:\n add:\n - kind/enhancement\n\n - name: Label test PRs\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - 'title~=^test:'\n actions:\n label:\n add:\n - kind/test\n\n - name: Label doc PRs\n conditions:\n # branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES\n - or: *BRANCHES\n - 'title~=^doc:'\n actions:\n label:\n add:\n - kind/doc\n\n \n
dataset_sample\yaml\milvus-io_milvus\.github\mergify.yml
mergify.yml
YAML
18,892
0.95
0.060662
0.100604
python-kit
348
2025-05-08T06:47:11.288612
BSD-3-Clause
false
0a1280f645d39f92335ae72c1b86a060
# Configuration for probot-stale - https://github.com/probot/stale\n\n# Number of days of inactivity before an issue becomes stale\ndaysUntilStale: 30\n# Number of days of inactivity before a stale issue is closed\ndaysUntilClose: 7\n# Issues with these labels will never be considered stale\nexemptLabels:\n - priority/critical-urgent\n - priority/important-longterm\n - kind/feature\n# Label to use when marking an issue as stale\nstaleLabel: stale\n# Comment to post when marking an issue as stale. Set to `false` to disable\nmarkComment: >\n This issue has been automatically marked as stale because it has not had\n recent activity. It will be closed if no further activity occurs. Thank you\n for your contributions.\n\n Rotten issues close after 30d of inactivity.\n Reopen the issue with `/reopen`.\n# Comment to post when closing a stale issue. Set to `false` to disable\ncloseComment: false
dataset_sample\yaml\milvus-io_milvus\.github\stale.yml
stale.yml
YAML
886
0.95
0.136364
0.333333
vue-tools
240
2025-07-06T19:31:40.655790
MIT
false
8687921f605dc9b5780a832258ff7cc1
blank_issues_enabled: false\ncontact_links:\n - name: Ask a question\n url: https://github.com/milvus-io/milvus/discussions\n about: Ask questions and discuss with other community members\n
dataset_sample\yaml\milvus-io_milvus\.github\ISSUE_TEMPLATE\config.yml
config.yml
YAML
191
0.8
0
0
vue-tools
429
2025-03-04T10:27:53.100383
GPL-3.0
false
69012874b4b6774aa77de678f26fbc1e
name: Daily Release\non:\n schedule:\n # * is a special character in YAML so you have to quote this string\n # β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ minute (0 - 59)\n # β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ hour (0 - 23)\n # β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ day of the month (1 - 31)\n # β”‚ β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ month (1 - 12 or JAN-DEC)\n # β”‚ β”‚ β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ day of the week (0 - 6 or SUN-SAT)\n # β”‚ β”‚ β”‚ β”‚ β”‚\n # β”‚ β”‚ β”‚ β”‚ β”‚\n # β”‚ β”‚ β”‚ β”‚ β”‚\n - cron: '0 18 * * *'\n\njobs:\n nightly:\n name: Run Daily Release\n if: github.repository == 'milvus-io/milvus'\n runs-on: ubuntu-latest\n env:\n IMAGE_REPO: "milvusdb"\n DEV: "milvus"\n DAILY: "daily-build"\n TAG_PREFIX: "master-"\n steps:\n - name: Checkout code\n uses: actions/checkout@v2\n with:\n fetch-depth: '0'\n\n - name: Get the latest of Milvus dev image tag\n shell: bash\n working-directory: scripts\n run: echo "tag=$(./docker_image_find_tag.sh -n ${IMAGE_REPO}/${DEV} -t ${TAG_PREFIX}latest -f ${TAG_PREFIX} -F -L -q)" >> $GITHUB_ENV\n\n\n - name: Pull latest milvus image with tag prefix master-\n run: |\n docker pull "${IMAGE_REPO}/${DEV}:${{ env.tag }}"\n docker tag "${IMAGE_REPO}/${DEV}:${{ env.tag }}" "${IMAGE_REPO}/${DAILY}:${{ env.tag }}"\n\n - name: Log in to Docker Hub\n uses: docker/login-action@v1\n with:\n username: ${{ secrets.DOCKERHUB_USER }}\n password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n - name: Push Docker image\n run: |\n docker push "${IMAGE_REPO}/${DAILY}:${{ env.tag }}"\n\n - name: Set release build\n shell: bash\n run: |\n tag=${{ env.tag }}\n IFS=- read branch date sha <<< "$tag"\n echo "build=$date" >> $GITHUB_ENV\n echo "sha=$(git rev-parse $sha)" >> $GITHUB_ENV\n\n - name: Create a daily release\n uses: actions/create-release@v1\n env:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n with:\n body: "Image: ${{ env.IMAGE_REPO}}/${{ env.DAILY }}:${{ env.tag }}"\n prerelease: true\n tag_name: "v2.0.0-testing-${{ env.build }}"\n release_name: "milvus-2.0.0-testing-${{ env.build }}"\n commitish: "${{ env.sha }}"\n\n\n
dataset_sample\yaml\milvus-io_milvus\.github\workflows\daily-release.yml
daily-release.yml
YAML
2,413
0.8
0.014085
0.147541
node-utils
361
2024-03-15T11:24:54.166190
MIT
false
76a7d82056d50b7255c8712537d0a0de
name: Weekly Release\non:\n schedule:\n # * is a special character in YAML so you have to quote this string\n # β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ minute (0 - 59)\n # β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ hour (0 - 23)\n # β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ day of the month (1 - 31)\n # β”‚ β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ month (1 - 12 or JAN-DEC)\n # β”‚ β”‚ β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ day of the week (0 - 6 or SUN-SAT)\n # β”‚ β”‚ β”‚ β”‚ β”‚\n # β”‚ β”‚ β”‚ β”‚ β”‚\n # β”‚ β”‚ β”‚ β”‚ β”‚\n - cron: '0 0 * * 2,5'\n\njobs:\n nightly:\n name: Run Weekly Release\n if: github.repository == 'milvus-io/milvus'\n runs-on: ubuntu-latest\n env:\n IMAGE_REPO: "milvusdb"\n DEV: "milvus"\n WEEKLY: "weekly-build"\n TAG_PREFIX: "master-"\n steps:\n - name: Checkout code\n uses: actions/checkout@v2\n with:\n fetch-depth: '0'\n\n - name: Get the latest of Milvus dev image tag\n shell: bash\n working-directory: scripts\n run: echo "tag=$(./docker_image_find_tag.sh -n ${IMAGE_REPO}/${DEV} -t ${TAG_PREFIX}latest -f ${TAG_PREFIX} -F -L -q)" >> $GITHUB_ENV\n\n\n - name: Pull latest milvus image with tag prefix master-\n run: |\n docker pull "${IMAGE_REPO}/${DEV}:${{ env.tag }}"\n docker tag "${IMAGE_REPO}/${DEV}:${{ env.tag }}" "${IMAGE_REPO}/${WEEKLY}:${{ env.tag }}"\n\n - name: Log in to Docker Hub\n uses: docker/login-action@v1\n with:\n username: ${{ secrets.DOCKERHUB_USER }}\n password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n - name: Push Docker image\n run: |\n docker push "${IMAGE_REPO}/${WEEKLY}:${{ env.tag }}"\n\n - name: Set release build\n shell: bash\n run: |\n tag=${{ env.tag }}\n IFS=- read branch date sha <<< "$tag"\n echo "build=$date" >> $GITHUB_ENV\n echo "sha=$(git rev-parse $sha)" >> $GITHUB_ENV\n\n - name: Create a weekly release\n uses: actions/create-release@v1\n env:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n with:\n body: "Image: ${{ env.IMAGE_REPO}}/${{ env.WEEKLY }}:${{ env.tag }}"\n prerelease: true\n tag_name: "v2.2-testing-${{ env.build }}"\n release_name: "milvus-2.2-testing-${{ env.build }}"\n commitish: "${{ env.sha }}"\n\n\n
dataset_sample\yaml\milvus-io_milvus\.github\workflows\weekly-release.yml
weekly-release.yml
YAML
2,419
0.8
0.014085
0.147541
node-utils
55
2024-02-06T00:59:15.415648
BSD-3-Clause
false
02e7e1660a272d892e725ee22d6431a5
run:\n go: "1.22"\n\nlinters:\n disable-all: true\n enable:\n - gosimple\n - govet\n - ineffassign\n - staticcheck\n - decorder\n - depguard\n - gofmt\n - goimports\n - gosec\n - revive\n - unconvert\n - misspell\n - typecheck\n - durationcheck\n - forbidigo\n - gci\n - whitespace\n - gofumpt\n - gocritic\n\nlinters-settings:\n gci:\n sections:\n - standard\n - default\n - prefix(github.com/milvus-io)\n custom-order: true\n gofumpt:\n module-path: github.com/milvus-io\n goimports:\n local-prefixes: github.com/milvus-io\n revive:\n rules:\n - name: unused-parameter\n disabled: true\n - name: var-naming\n severity: warning\n disabled: false\n arguments:\n - ["ID"] # Allow list\n - name: context-as-argument\n severity: warning\n disabled: false\n arguments:\n - allowTypesBefore: "*testing.T"\n - name: datarace\n severity: warning\n disabled: false\n - name: duplicated-imports\n severity: warning\n disabled: false\n - name: waitgroup-by-value\n severity: warning\n disabled: false\n - name: indent-error-flow\n severity: warning\n disabled: false\n arguments:\n - "preserveScope"\n - name: range-val-in-closure\n severity: warning\n disabled: false\n - name: range-val-address\n severity: warning\n disabled: false\n - name: string-of-int\n severity: warning\n disabled: false\n misspell:\n locale: US\n gocritic:\n enabled-checks:\n - ruleguard\n settings:\n ruleguard:\n failOnError: true\n rules: "ruleguard/rules.go"\n depguard:\n rules:\n main:\n deny:\n - pkg: "errors"\n desc: not allowed, use github.com/cockroachdb/errors\n - pkg: "github.com/pkg/errors"\n desc: not allowed, use github.com/cockroachdb/errors\n - pkg: "github.com/pingcap/errors"\n desc: not allowed, use github.com/cockroachdb/errors\n - pkg: "golang.org/x/xerrors"\n desc: not allowed, use github.com/cockroachdb/errors\n - pkg: "github.com/go-errors/errors"\n desc: not allowed, use github.com/cockroachdb/errors\n - pkg: "io/ioutil"\n desc: ioutil is deprecated after 1.16, 1.17, use os and io package instead\n - pkg: "github.com/tikv/client-go/rawkv"\n desc: not allowed, use github.com/tikv/client-go/v2/txnkv\n - pkg: "github.com/tikv/client-go/v2/rawkv"\n desc: not allowed, use github.com/tikv/client-go/v2/txnkv\n forbidigo:\n forbid:\n - '^time\.Tick$'\n - 'return merr\.Err[a-zA-Z]+'\n - 'merr\.Wrap\w+\(\)\.Error\(\)'\n - '\.(ErrorCode|Reason) = '\n - 'Reason:\s+\w+\.Error\(\)'\n - 'errors.New\((.+)\.GetReason\(\)\)'\n - 'commonpb\.Status\{[\s\n]*ErrorCode:[\s\n]*.+[\s\S\n]*?\}'\n - 'os\.Open\(.+\)'\n - 'os\.ReadFile\(.+\)'\n - 'os\.WriteFile\(.+\)'\n - "runtime.NumCPU"\n - "runtime.GOMAXPROCS(0)"\n #- 'fmt\.Print.*' WIP\n\nissues:\n exclude-dirs:\n - build\n - configs\n - deployments\n - docs\n - scripts\n - internal/core\n - cmake_build\n exclude-files:\n - partial_search_test.go\n exclude-use-default: false\n exclude-rules:\n - path: .+_test\.go\n linters:\n - forbidigo\n exclude:\n - should have a package comment\n - should have comment\n - should be of the form\n - should not use dot imports\n - which can be annoying to use\n # Binds to all network interfaces\n - G102\n # Use of unsafe calls should be audited\n - G103\n # Errors unhandled\n - G104\n # file/folder Permission\n - G301\n - G302\n # Potential file inclusion via variable\n - G304\n # Deferring unsafe method like *os.File Close\n - G307\n # TLS MinVersion too low\n - G402\n # Use of weak random number generator math/rand\n - G404\n # Unused parameters\n - SA1019\n # defer return errors\n - SA5001\n # TODO: cleanup following exclusions, added on golangci-lint upgrade\n - sloppyLen\n - dupSubExpr\n - assignOp\n - ifElseChain\n - elseif\n - commentFormatting\n - exitAfterDefer\n - captLocal\n - singleCaseSwitch\n - typeSwitchVar\n - indent-error-flow\n - appendAssign\n - deprecatedComment\n - SA9009\n - SA1006\n - S1009\n - offBy1\n - unslice \n # Integer overflow conversion\n - G115\n\n # Maximum issues count per one linter. Set to 0 to disable. Default is 50.\n max-issues-per-linter: 0\n # Maximum count of issues with the same text. Set to 0 to disable. Default is 3.\n max-same-issues: 0\n\nservice:\n # use the fixed version to not introduce new linters unexpectedly\n golangci-lint-version: 1.55.2\n
dataset_sample\yaml\milvus-io_milvus\client\.golangci.yml
.golangci.yml
YAML
4,807
0.95
0
0.085561
python-kit
497
2025-05-17T01:14:44.692196
MIT
false
8a7f777ba867f0a8a368b8cc68b2a8cc
---\n- name: setup pre-requisites & Docker #Install prerequisite\n hosts: dockernodes\n become: yes\n become_user: root\n roles:\n - install-modules\n - docker-installation\n\n
dataset_sample\yaml\milvus-io_milvus\deployments\docker\cluster-distributed-deployment\deploy-docker.yml
deploy-docker.yml
YAML
181
0.8
0
0
awesome-app
84
2023-11-08T13:02:15.255599
MIT
false
b28fbec63e1ae51a3449edf273193d2c
---\n# Milvus dependent, before running this playbook, modify the Inventory to make sure\n# correct IP address and Host name are in place.\n- name: Create milvus-etcd, minio, pulsar \n hosts: dependencies\n become: yes\n become_user: root\n tags: docker\n roles:\n - deploy-etcd\n - deploy-minio\n - deploy-pulsar\n\n# Deploy all 3 nodes on the same host can be benefitial from I/O optimized disk, and it's easier\n# to have additional host running a set of milvus nodes.\n- name: Create milvus nodes \n hosts: nodes\n become: yes\n become_user: root\n tags: docker\n roles:\n - deploy-datanode\n - deploy-indexnode\n - deploy-querynode\n\n#Deploy all Coordinators and Proxy on the same host will reduce time to traffic on network.\n- name: Create milvus coords \n hosts: coords\n become: yes\n become_user: root\n tags: docker\n roles:\n - deploy-rootcoord\n - deploy-indexcoord\n - deploy-datacoord\n - deploy-querycoord\n - deploy-proxy\n
dataset_sample\yaml\milvus-io_milvus\deployments\docker\cluster-distributed-deployment\deploy-milvus.yml
deploy-milvus.yml
YAML
952
0.8
0
0.142857
python-kit
704
2023-08-05T05:53:38.741344
GPL-3.0
false
c2d4a8d13e703bca5ccfb5e53a6655ad
- name: datacoord\n docker_container: \n name: datacoord\n image: "{{image}}"\n command: ["milvus", "run", "datacoord"]\n env:\n ETCD_ENDPOINTS: "{{ETCD_ENDPOINTS}}"\n MINIO_ADDRESS: "{{MINIO_ADDRESS}}"\n PULSAR_ADDRESS: "{{PULSAR_ADDRESS}}"\n DATA_COORD_ADDRESS: "{{DATA_COORD_ADDRESS}}"\n METRICS_PORT: "9095"\n network_mode: "{{nodes_network}}" #Use the network which defined as variable in Inventory.
dataset_sample\yaml\milvus-io_milvus\deployments\docker\cluster-distributed-deployment\roles\deploy-datacoord\tasks\main.yml
main.yml
YAML
434
0.8
0
0
node-utils
483
2024-08-02T14:03:16.174477
GPL-3.0
false
a51d569e73fdac205ce5768f5b092479
- name: datanode\n docker_container: \n name: datanode\n image: "{{image}}"\n command: "milvus run datanode"\n env:\n ETCD_ENDPOINTS: "{{ETCD_ENDPOINTS}}"\n MINIO_ADDRESS: "{{MINIO_ADDRESS}}"\n PULSAR_ADDRESS: "{{PULSAR_ADDRESS}}"\n METRICS_PORT: "9092"\n network_mode: "{{nodes_network}}" #Use the network which defined as variable in Inventory.
dataset_sample\yaml\milvus-io_milvus\deployments\docker\cluster-distributed-deployment\roles\deploy-datanode\tasks\main.yml
main.yml
YAML
372
0.8
0
0
vue-tools
193
2023-07-22T00:34:27.375198
GPL-3.0
false
5cbb4b6d48bb28122f716578cef15cac
- name: etcd volume\n docker_volume:\n name: etcd_volume\n\n- name: etcd\n docker_container: \n name: etcd\n image: quay.io/coreos/etcd:v3.5.18\n volumes:\n - etcd_volume:/etcd\n command: etcd -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd\n env:\n ETCD_AUTO_COMPACTION_MODE: revision\n ETCD_AUTO_COMPACTION_RETENTION: "1000"\n ETCD_QUOTA_BACKEND_BYTES: "4294967296"\n network_mode: "{{dependencies_network}}" #Use the network which defined as variable in Inventory.
dataset_sample\yaml\milvus-io_milvus\deployments\docker\cluster-distributed-deployment\roles\deploy-etcd\tasks\main.yml
main.yml
YAML
549
0.8
0
0
node-utils
662
2024-07-08T04:23:12.169155
BSD-3-Clause
false
8deb98226c74001c6b239862a4b0e165
- name: indexcoord\n docker_container: \n name: indexcoord\n image: "{{image}}"\n command: ["milvus", "run", "indexcoord"]\n env:\n ETCD_ENDPOINTS: "{{ETCD_ENDPOINTS}}"\n MINIO_ADDRESS: "{{MINIO_ADDRESS}}"\n PULSAR_ADDRESS: "{{PULSAR_ADDRESS}}"\n INDEX_COORD_ADDRESS: "{{INDEX_COORD_ADDRESS}}"\n METRICS_PORT: "9097"\n network_mode: "{{nodes_network}}" #Use the network which defined as variable in Inventory.
dataset_sample\yaml\milvus-io_milvus\deployments\docker\cluster-distributed-deployment\roles\deploy-indexcoord\tasks\main.yml
main.yml
YAML
439
0.8
0
0
node-utils
502
2023-12-16T04:52:53.013532
GPL-3.0
false
390a20c4d01d872fde813485cfeaf7fe
- name: indexnode\n docker_container: \n name: indexnode\n image: "{{image}}"\n command: "milvus run indexnode"\n env:\n ETCD_ENDPOINTS: "{{ETCD_ENDPOINTS}}"\n MINIO_ADDRESS: "{{MINIO_ADDRESS}}"\n PULSAR_ADDRESS: "{{PULSAR_ADDRESS}}"\n INDEX_COORD_ADDRESS: "{{INDEX_COORD_ADDRESS}}"\n METRICS_PORT: "9093"\n network_mode: "{{nodes_network}}" #Use the network which defined as variable in Inventory.
dataset_sample\yaml\milvus-io_milvus\deployments\docker\cluster-distributed-deployment\roles\deploy-indexnode\tasks\main.yml
main.yml
YAML
428
0.8
0
0
vue-tools
904
2024-02-11T06:31:57.311401
GPL-3.0
false
1614ecc8da5cb1109b7a8d200d1fde5d
- name: minio volume\n docker_volume:\n name: minio_volume\n\n- name: "minio"\n docker_container:\n name: minio\n image: minio/minio:RELEASE.2023-03-20T20-16-18Z\n env:\n MINIO_ACCESS_KEY: minioadmin\n MINIO_SECRET_KEY: minioadmin\n volumes:\n - minio_volume:/data\n command: minio server /data --console-address ":9001"\n healthcheck:\n test: ["CMD", "curl", "-f", "http://127.0.0.1:9000/minio/health/live"]\n interval: 30s\n timeout: 20s\n retries: 3\n network_mode: "{{dependencies_network}}" #Use the network which defined as variable in Inventory.
dataset_sample\yaml\milvus-io_milvus\deployments\docker\cluster-distributed-deployment\roles\deploy-minio\tasks\main.yml
main.yml
YAML
594
0.8
0
0
vue-tools
967
2024-11-06T07:33:13.938174
BSD-3-Clause
false
e7785c3ec9badb3acf52f84f217b29b7
- name: "proxy"\n docker_container: \n name: proxy\n image: "{{image}}"\n command: "milvus run proxy"\n env:\n ETCD_ENDPOINTS: "{{ETCD_ENDPOINTS}}"\n MINIO_ADDRESS: "{{MINIO_ADDRESS}}"\n PULSAR_ADDRESS: "{{PULSAR_ADDRESS}}"\n METRICS_PORT: "9098"\n network_mode: "{{nodes_network}}" #Use the network which defined as variable in Inventory.\n
dataset_sample\yaml\milvus-io_milvus\deployments\docker\cluster-distributed-deployment\roles\deploy-proxy\tasks\main.yml
main.yml
YAML
366
0.8
0
0
node-utils
153
2025-04-11T04:59:27.977888
Apache-2.0
false
24ba9827d3e3678b1e0e5795b688e8a6
- name: pulsar volume\n docker_volume:\n name: pulsar_conf\n\n- name: pulsar volume\n docker_volume:\n name: pulsar_data\n\n- name: "pulsar"\n docker_container:\n name: pulsar\n image: apachepulsar/pulsar:2.8.2\n env:\n # bin/apply-config-from-env.py script will modify the configuration file based on the environment variables\n # nettyMaxFrameSizeBytes must be calculated from maxMessageSize + 10240 (padding)\n nettyMaxFrameSizeBytes: "104867840" # this is 104857600 + 10240 (padding)\n defaultRetentionTimeInMinutes: "10080"\n defaultRetentionSizeInMB: "8192"\n # maxMessageSize is missing from standalone.conf, must use PULSAR_PREFIX_ to get it configured\n PULSAR_PREFIX_maxMessageSize: "104857600"\n PULSAR_GC: -XX:+UseG1GC\n volumes:\n - pulsar_conf:/pulsar/conf\n - pulsar_data:/pulsar/data\n command: bash -c '/pulsar/bin/apply-config-from-env.py /pulsar/conf/standalone.conf; exec bin/pulsar standalone --no-functions-worker'\n network_mode: "{{dependencies_network}}" #Use the network which defined as variable in Inventory.\n
dataset_sample\yaml\milvus-io_milvus\deployments\docker\cluster-distributed-deployment\roles\deploy-pulsar\tasks\main.yml
main.yml
YAML
1,089
0.95
0
0.125
node-utils
625
2025-06-01T05:03:42.926099
BSD-3-Clause
false
f6a577611716c950d5b018672bdb6d2f
- name: querycoord\n docker_container:\n name: querycoord\n image: "{{image}}"\n command: "milvus run querycoord"\n env:\n ETCD_ENDPOINTS: "{{ETCD_ENDPOINTS}}"\n MINIO_ADDRESS: "{{MINIO_ADDRESS}}"\n PULSAR_ADDRESS: "{{PULSAR_ADDRESS}}"\n QUERY_COORD_ADDRESS: "{{QUERY_COORD_ADDRESS}}"\n METRICS_PORT: "9096"\n network_mode: "{{nodes_network}}" #Use the network which defined as variable in Inventory.
dataset_sample\yaml\milvus-io_milvus\deployments\docker\cluster-distributed-deployment\roles\deploy-querycoord\tasks\main.yml
main.yml
YAML
430
0.8
0
0
vue-tools
24
2024-09-16T22:43:43.676166
MIT
false
679627ecc4bea5a9b2e26b4691cc4599
- name: querynode\n docker_container:\n name: querynode\n image: "{{image}}"\n command: "milvus run querynode"\n env:\n ETCD_ENDPOINTS: "{{ETCD_ENDPOINTS}}"\n MINIO_ADDRESS: "{{MINIO_ADDRESS}}"\n PULSAR_ADDRESS: "{{PULSAR_ADDRESS}}"\n METRICS_PORT: "9091"\n network_mode: "{{nodes_network}}" #Use the network which defined as variable in Inventory.
dataset_sample\yaml\milvus-io_milvus\deployments\docker\cluster-distributed-deployment\roles\deploy-querynode\tasks\main.yml
main.yml
YAML
374
0.8
0
0
awesome-app
291
2024-03-05T10:35:40.792983
Apache-2.0
false
2466f3313ab377c2e48e71960feaddce
- name: rootcoord\n docker_container: \n name: rootcoord\n image: "{{image}}"\n command: ["milvus", "run", "rootcoord"]\n env:\n ETCD_ENDPOINTS: "{{ETCD_ENDPOINTS}}"\n MINIO_ADDRESS: "{{MINIO_ADDRESS}}"\n PULSAR_ADDRESS: "{{PULSAR_ADDRESS}}"\n QUERY_COORD_ADDRESS: "{{QUERY_COORD_ADDRESS}}"\n METRICS_PORT: "9094"\n network_mode: "{{nodes_network}}" #Use the network which defined as variable in Inventory.\n
dataset_sample\yaml\milvus-io_milvus\deployments\docker\cluster-distributed-deployment\roles\deploy-rootcoord\tasks\main.yml
main.yml
YAML
437
0.8
0
0
node-utils
6
2024-05-25T14:44:47.707598
MIT
false
84908581684434a094e64d28d14b7ffd
---\n- name: Install Docker Dependencies \n yum: name={{ item }} state=latest update_cache=yes\n with_items:\n - yum-utils\n - device-mapper-persistent-data\n - lvm2\n when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'\n\n- name: Add Docker Yum Repo\n get_url:\n url: https://download.docker.com/linux/centos/docker-ce.repo\n dest: /etc/yum.repos.d/docker-ce.repo\n when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'\n\n- name: Install Docker\n yum:\n name:\n - docker-ce\n - docker-ce-cli\n - containerd.io\n state: latest\n when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'\n\n- name: Start Docker Service\n service:\n name: docker\n state: started\n enabled: yes\n when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'\n\n- name: Install Docker Dependencies \n apt: name={{ item }} state=latest update_cache=yes\n with_items:\n - apt-transport-https\n - ca-certificates\n - software-properties-common\n when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'\n\n- name: Add Docker GPG key\n apt_key:\n url: https://download.docker.com/linux/ubuntu/gpg\n state: present\n when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'\n\n- name: Add Docker Apt Repo\n apt_repository:\n repo: deb https://download.docker.com/linux/ubuntu bionic stable\n state: present\n when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'\n\n- name: Install Docker\n apt:\n update_cache: yes\n state: latest\n name:\n - docker-ce\n - docker-ce-cli\n - containerd.io\n when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'\n\n- name: Install 'Docker SDK for Python'\n pip:\n name: docker\n
dataset_sample\yaml\milvus-io_milvus\deployments\docker\cluster-distributed-deployment\roles\docker-installation\tasks\main.yml
main.yml
YAML
1,856
0.8
0.015625
0
vue-tools
95
2023-09-20T17:06:55.903216
Apache-2.0
false
7f56634fa99dec95e906adc45aadf3f3
---\n- name: Install Packages\n yum: name={{ item }} state=latest update_cache=yes\n with_items:\n - ntp\n - tcpdump\n - python3\n - wget\n - openssl\n - curl\n - python3-pip\n when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'\n\n- name: Install Packages \n apt: name={{ item }} state=latest update_cache=yes\n with_items:\n - ntp\n - python3\n - tcpdump\n - wget\n - openssl\n - curl\n - python3-pip\n when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
dataset_sample\yaml\milvus-io_milvus\deployments\docker\cluster-distributed-deployment\roles\install-modules\tasks\main.yml
main.yml
YAML
545
0.7
0
0
react-lib
787
2024-05-28T11:24:22.236556
GPL-3.0
false
a93894653c9649e987b8ef1dd115c428
version: '3.5'\n\nservices:\n etcd:\n image: quay.io/coreos/etcd:v3.5.18\n environment:\n - ETCD_AUTO_COMPACTION_MODE=revision\n - ETCD_AUTO_COMPACTION_RETENTION=1000\n - ETCD_QUOTA_BACKEND_BYTES=4294967296\n - ETCD_SNAPSHOT_COUNT=50000\n volumes:\n - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/etcd:/etcd\n command: etcd -listen-peer-urls=http://127.0.0.1:2380 -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379,http://0.0.0.0:4001 -initial-advertise-peer-urls=http://127.0.0.1:2380 --initial-cluster default=http://127.0.0.1:2380\n ports:\n - "2379:2379"\n - "2380:2380"\n - "4001:4001"\n\n pulsar:\n image: milvusdb/pulsar:v2.8.2-m1\n volumes:\n - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/pulsar:/pulsar/data\n environment:\n # bin/apply-config-from-env.py script will modify the configuration file based on the environment variables\n # nettyMaxFrameSizeBytes must be calculated from maxMessageSize + 10240 (padding)\n - nettyMaxFrameSizeBytes=104867840 # this is 104857600 + 10240 (padding)\n - defaultRetentionTimeInMinutes=10080\n - defaultRetentionSizeInMB=8192\n # maxMessageSize is missing from standalone.conf, must use PULSAR_PREFIX_ to get it configured\n - PULSAR_PREFIX_maxMessageSize=104857600\n - PULSAR_GC=-XX:+UseG1GC\n ports:\n - "6650:6650"\n - "18080:8080"\n\n minio:\n image: minio/minio:RELEASE.2023-03-20T20-16-18Z\n ports:\n - "9000:9000"\n - "9001:9001"\n environment:\n MINIO_ACCESS_KEY: minioadmin\n MINIO_SECRET_KEY: minioadmin\n volumes:\n - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/minio:/minio_data\n command: minio server /minio_data --console-address ":9001"\n healthcheck:\n test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]\n interval: 30s\n timeout: 20s\n retries: 3\n\n azurite:\n image: mcr.microsoft.com/azure-storage/azurite\n volumes:\n - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/azurite:/data\n command: azurite-blob --blobHost 0.0.0.0\n ports:\n - "10000:10000"\n\n jaeger:\n image: jaegertracing/all-in-one:latest\n ports:\n - "6831:6831/udp"\n - "4317:4317" # OLTP over gRPC\n - "4318:4318" # OLTP over HTTP\n - "16686:16686" # frontent\n - "14268:14268" # jaeger.thirft\n\n gcpnative:\n image: fsouza/fake-gcs-server\n command: -scheme http -public-host storage.gcs.127.0.0.1.nip.io:4443\n ports:\n - "4443:4443"\n\nnetworks:\n default:\n name: milvus_dev\n
dataset_sample\yaml\milvus-io_milvus\deployments\docker\dev\docker-compose-apple-silicon.yml
docker-compose-apple-silicon.yml
YAML
2,530
0.8
0
0.042254
react-lib
366
2025-06-27T12:24:13.837849
BSD-3-Clause
false
0fb8e9aa55f01179b74e1309b9ad130e
version: '3.5'\n\nservices:\n etcd:\n image: quay.io/coreos/etcd:v3.5.18\n environment:\n - ETCD_AUTO_COMPACTION_MODE=revision\n - ETCD_AUTO_COMPACTION_RETENTION=1000\n - ETCD_QUOTA_BACKEND_BYTES=4294967296\n - ETCD_SNAPSHOT_COUNT=50000\n volumes:\n - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/etcd:/etcd\n command: etcd -listen-peer-urls=http://127.0.0.1:2380 -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379,http://0.0.0.0:4001 -initial-advertise-peer-urls=http://127.0.0.1:2380 --initial-cluster default=http://127.0.0.1:2380 --data-dir /etcd\n ports:\n - "2379:2379"\n - "2380:2380"\n - "4001:4001"\n\n pulsar:\n image: apachepulsar/pulsar:2.8.2\n volumes:\n - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/pulsar:/pulsar/data\n environment:\n # bin/apply-config-from-env.py script will modify the configuration file based on the environment variables\n # nettyMaxFrameSizeBytes must be calculated from maxMessageSize + 10240 (padding)\n - nettyMaxFrameSizeBytes=104867840 # this is 104857600 + 10240 (padding)\n - defaultRetentionTimeInMinutes=10080\n - defaultRetentionSizeInMB=8192\n # maxMessageSize is missing from standalone.conf, must use PULSAR_PREFIX_ to get it configured\n - PULSAR_PREFIX_maxMessageSize=104857600\n - PULSAR_GC=-XX:+UseG1GC\n command: |\n /bin/bash -c \\n "bin/apply-config-from-env.py conf/standalone.conf && \\n exec bin/pulsar standalone --no-functions-worker --no-stream-storage"\n ports:\n - "6650:6650"\n - "18080:8080"\n\n minio:\n image: minio/minio:RELEASE.2023-03-20T20-16-18Z\n ports:\n - "9000:9000"\n - "9001:9001"\n environment:\n MINIO_ACCESS_KEY: minioadmin\n MINIO_SECRET_KEY: minioadmin\n volumes:\n - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/minio:/minio_data\n command: minio server /minio_data --console-address ":9001"\n healthcheck:\n test:\n [\n "CMD",\n "curl",\n "-f",\n "http://localhost:9000/minio/health/live"\n ]\n interval: 30s\n timeout: 20s\n retries: 3\n\n azurite:\n image: mcr.microsoft.com/azure-storage/azurite\n volumes:\n - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/azurite:/data\n command: azurite-blob --blobHost 0.0.0.0\n ports:\n - "10000:10000"\n\n jaeger:\n image: jaegertracing/all-in-one:latest\n ports:\n - "6831:6831/udp"\n - "4317:4317" # OLTP over gRPC\n - "4318:4318" # OLTP over HTTP\n - "16686:16686" # frontent\n - "14268:14268" # jaeger.thirft\n\n zookeeper:\n image: wurstmeister/zookeeper:latest\n ports:\n - "2181:2181"\n\n kafka:\n image: 'bitnami/kafka:3.1.0'\n ports:\n - '9092:9092'\n environment:\n - KAFKA_BROKER_ID=0\n - KAFKA_CFG_LISTENERS=PLAINTEXT://:9092\n - KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://127.0.0.1:9092\n - KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper:2181\n - ALLOW_PLAINTEXT_LISTENER=yes\n # set kafka server config\n - KAFKA_CFG_MAX_PARTITION_FETCH_BYTES=5242880\n - KAFKA_CFG_MAX_REQUEST_SIZE=5242880\n - KAFKA_CFG_MESSAGE_MAX_BYTES=5242880\n - KAFKA_CFG_REPLICA_FETCH_MAX_BYTES=5242880\n - KAFKA_CFG_FETCH_MESSAGE_MAX_BYTES=5242880\n - KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE=true\n depends_on:\n - zookeeper\n\n gcpnative:\n image: fsouza/fake-gcs-server\n command: -scheme http -public-host storage.gcs.127.0.0.1.nip.io:4443\n ports:\n - "4443:4443"\n\nnetworks:\n default:\n name: milvus_dev\n
dataset_sample\yaml\milvus-io_milvus\deployments\docker\dev\docker-compose.yml
docker-compose.yml
YAML
3,536
0.95
0
0.038462
react-lib
663
2023-07-15T10:22:30.403452
BSD-3-Clause
false
90530c5e6d6b6e70790cfae78001e16f
version: '3.5'\n\nservices:\n etcd:\n container_name: milvus-etcd\n image: quay.io/coreos/etcd:v3.5.18\n environment:\n - ETCD_AUTO_COMPACTION_MODE=revision\n - ETCD_AUTO_COMPACTION_RETENTION=1000\n - ETCD_QUOTA_BACKEND_BYTES=4294967296\n - ETCD_SNAPSHOT_COUNT=50000\n volumes:\n - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/etcd:/etcd\n command: etcd -advertise-client-urls=http://etcd:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd\n healthcheck:\n test: ["CMD", "etcdctl", "endpoint", "health"]\n interval: 30s\n timeout: 20s\n retries: 3\n\n minio:\n container_name: milvus-minio\n image: minio/minio:RELEASE.2023-03-20T20-16-18Z\n environment:\n MINIO_ACCESS_KEY: minioadmin\n MINIO_SECRET_KEY: minioadmin\n ports:\n - "9001:9001"\n - "9000:9000"\n volumes:\n - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/minio:/minio_data\n command: minio server /minio_data --console-address ":9001"\n healthcheck:\n test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]\n interval: 30s\n timeout: 20s\n retries: 3\n\n standalone:\n container_name: milvus-standalone\n image: milvusdb/milvus:v2.5.10-gpu\n command: ["milvus", "run", "standalone"]\n security_opt:\n - seccomp:unconfined\n environment:\n ETCD_ENDPOINTS: etcd:2379\n MINIO_ADDRESS: minio:9000\n volumes:\n - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/milvus:/var/lib/milvus\n ports:\n - "19530:19530"\n - "9091:9091"\n deploy:\n resources:\n reservations:\n devices:\n - driver: nvidia\n capabilities: ["gpu"]\n device_ids: ["0"]\n depends_on:\n - "etcd"\n - "minio"\n\nnetworks:\n default:\n name: milvus\n
dataset_sample\yaml\milvus-io_milvus\deployments\docker\gpu\standalone\docker-compose.yml
docker-compose.yml
YAML
1,773
0.8
0
0
node-utils
393
2024-03-07T05:22:23.164726
BSD-3-Clause
false
3e2f0fc484887b83bdaa2dfd499c9a6c
version: '3.5'\n\nservices:\n etcd:\n container_name: milvus-etcd\n image: quay.io/coreos/etcd:v3.5.18\n environment:\n - ETCD_AUTO_COMPACTION_MODE=revision\n - ETCD_AUTO_COMPACTION_RETENTION=1000\n - ETCD_QUOTA_BACKEND_BYTES=4294967296\n - ETCD_SNAPSHOT_COUNT=50000\n volumes:\n - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/etcd:/etcd\n command: etcd -advertise-client-urls=http://etcd:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd\n healthcheck:\n test: ["CMD", "etcdctl", "endpoint", "health"]\n interval: 30s\n timeout: 20s\n retries: 3\n\n minio:\n container_name: milvus-minio\n image: minio/minio:RELEASE.2023-03-20T20-16-18Z\n environment:\n MINIO_ACCESS_KEY: minioadmin\n MINIO_SECRET_KEY: minioadmin\n ports:\n - "9001:9001"\n - "9000:9000"\n volumes:\n - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/minio:/minio_data\n command: minio server /minio_data --console-address ":9001"\n healthcheck:\n test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]\n interval: 30s\n timeout: 20s\n retries: 3\n\n standalone:\n container_name: milvus-standalone\n image: milvusdb/milvus:v2.5.10\n command: ["milvus", "run", "standalone"]\n security_opt:\n - seccomp:unconfined\n environment:\n MINIO_REGION: us-east-1\n ETCD_ENDPOINTS: etcd:2379\n MINIO_ADDRESS: minio:9000\n volumes:\n - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/milvus:/var/lib/milvus\n healthcheck:\n test: ["CMD", "curl", "-f", "http://localhost:9091/healthz"]\n interval: 30s\n start_period: 90s\n timeout: 20s\n retries: 3\n ports:\n - "19530:19530"\n - "9091:9091"\n depends_on:\n - "etcd"\n - "minio"\n\nnetworks:\n default:\n name: milvus\n
dataset_sample\yaml\milvus-io_milvus\deployments\docker\standalone\docker-compose.yml
docker-compose.yml
YAML
1,794
0.8
0
0
awesome-app
740
2023-09-28T19:51:32.240798
MIT
false
5d9345e891d36cec587476b06dd731c7
language: generic\n\ndist: bionic\n\nmatrix:\n include:\n - env: CXX=g++-10 CC=gcc-10\n addons:\n apt:\n packages:\n - g++-10\n sources:\n - sourceline: 'ppa:ubuntu-toolchain-r/test'\n - env: CXX=g++-9 CC=gcc-9\n addons:\n apt:\n packages:\n - g++-9\n sources:\n - sourceline: 'ppa:ubuntu-toolchain-r/test'\n - env: CXX=g++-8 CC=gcc-8\n addons:\n apt:\n packages:\n - g++-8\n - env: CXX=g++-7 CC=gcc-7\n addons:\n apt:\n packages:\n - g++-7\n - env: CXX=g++-6 CC=gcc-6\n addons:\n apt:\n packages:\n - g++-6\n - env: CXX=g++-5 CC=gcc-5\n addons:\n apt:\n packages:\n - g++-5\n - env: CXX=clang++-11 CC=clang-11\n addons:\n apt:\n packages:\n - clang-11\n - libc++-11-dev\n - libc++abi-11-dev\n sources:\n - sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main'\n key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'\n - env: CXX=clang++-10 CC=clang-10\n addons:\n apt:\n packages:\n - clang-10\n - libc++-10-dev\n - libc++abi-10-dev\n sources:\n - sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main'\n key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'\n - env: CXX=clang++-9 CC=clang-9\n addons:\n apt:\n packages:\n - clang-9\n - libc++-9-dev\n - libc++abi-9-dev\n sources:\n - sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main'\n key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'\n - env: CXX=clang++-8 CC=clang-8\n addons:\n apt:\n packages:\n - clang-8\n - libc++-8-dev\n - libc++abi-8-dev\n - env: CXX=clang++-7 CC=clang-7\n addons:\n apt:\n packages:\n - clang-7\n - libc++-7-dev\n - libc++abi-7-dev\n\n\nscript:\n - if [[ "$CXX" == clang* ]]; then export CXXFLAGS="-stdlib=libc++"; fi\n - mkdir build && cd build\n - cmake -DENABLE_TEST=ON ..\n - make\n - test/NamedTypeTest\n
dataset_sample\yaml\milvus-io_milvus\internal\core\thirdparty\NamedType\.travis.yml
.travis.yml
YAML
2,322
0.8
0.01087
0
node-utils
493
2024-09-01T16:11:16.637218
MIT
false
624bbb2a1d183ab601feec8a69513a1e
version: '3.5'\n\nservices:\n pytest:\n image: ${IMAGE_REPO}/pytest:${IMAGE_TAG}\n build:\n context: ../..\n dockerfile: tests/docker/Dockerfile\n cache_from:\n - ${IMAGE_REPO}/pytest:${LATEST_IMAGE_TAG}\n shm_size: 2G\n environment:\n MILVUS_SERVICE_IP: ${MILVUS_SERVICE_IP}\n MILVUS_SERVICE_PORT: ${MILVUS_SERVICE_PORT}\n CI_LOG_PATH: ${MILVUS_PYTEST_LOG_PATH}\n volumes:\n - ../../:/milvus:delegated\n working_dir: ${MILVUS_PYTEST_WORKSPACE}\n\nnetworks:\n default:\n external: ${PRE_EXIST_NETWORK:-false}\n name: ${PYTEST_NETWORK:-milvus_dev}\n
dataset_sample\yaml\milvus-io_milvus\tests\docker\docker-compose.yml
docker-compose.yml
YAML
593
0.7
0
0
awesome-app
26
2024-04-22T23:55:14.859596
Apache-2.0
true
4631243fe64971281ac4422a0d237308
run:\n go: "1.22"\n\nlinters:\n disable-all: true\n enable:\n - gosimple\n - govet\n - ineffassign\n - staticcheck\n - decorder\n - depguard\n - gofmt\n - goimports\n - gosec\n - revive\n - unconvert\n - misspell\n - typecheck\n - durationcheck\n - forbidigo\n - gci\n - whitespace\n - gofumpt\n - gocritic\n\nlinters-settings:\n gci:\n sections:\n - standard\n - default\n - prefix(github.com/milvus-io)\n custom-order: true\n gofumpt:\n module-path: github.com/milvus-io\n goimports:\n local-prefixes: github.com/milvus-io\n revive:\n rules:\n - name: unused-parameter\n disabled: true\n - name: var-naming\n severity: warning\n disabled: false\n arguments:\n - ["ID"] # Allow list\n - name: context-as-argument\n severity: warning\n disabled: false\n arguments:\n - allowTypesBefore: "*testing.T"\n - name: datarace\n severity: warning\n disabled: false\n - name: duplicated-imports\n severity: warning\n disabled: false\n - name: waitgroup-by-value\n severity: warning\n disabled: false\n - name: indent-error-flow\n severity: warning\n disabled: false\n arguments:\n - "preserveScope"\n - name: range-val-in-closure\n severity: warning\n disabled: false\n - name: range-val-address\n severity: warning\n disabled: false\n - name: string-of-int\n severity: warning\n disabled: false\n misspell:\n locale: US\n gocritic:\n enabled-checks:\n - ruleguard\n settings:\n ruleguard:\n failOnError: true\n rules: "ruleguard/rules.go"\n depguard:\n rules:\n main:\n deny:\n - pkg: "errors"\n desc: not allowed, use github.com/cockroachdb/errors\n - pkg: "github.com/pkg/errors"\n desc: not allowed, use github.com/cockroachdb/errors\n - pkg: "github.com/pingcap/errors"\n desc: not allowed, use github.com/cockroachdb/errors\n - pkg: "golang.org/x/xerrors"\n desc: not allowed, use github.com/cockroachdb/errors\n - pkg: "github.com/go-errors/errors"\n desc: not allowed, use github.com/cockroachdb/errors\n - pkg: "io/ioutil"\n desc: ioutil is deprecated after 1.16, 1.17, use os and io package instead\n - pkg: "github.com/tikv/client-go/rawkv"\n desc: not allowed, use github.com/tikv/client-go/v2/txnkv\n - pkg: "github.com/tikv/client-go/v2/rawkv"\n desc: not allowed, use github.com/tikv/client-go/v2/txnkv\n forbidigo:\n forbid:\n - '^time\.Tick$'\n - 'return merr\.Err[a-zA-Z]+'\n - 'merr\.Wrap\w+\(\)\.Error\(\)'\n - '\.(ErrorCode|Reason) = '\n - 'Reason:\s+\w+\.Error\(\)'\n - 'errors.New\((.+)\.GetReason\(\)\)'\n - 'commonpb\.Status\{[\s\n]*ErrorCode:[\s\n]*.+[\s\S\n]*?\}'\n - 'os\.Open\(.+\)'\n - 'os\.ReadFile\(.+\)'\n - 'os\.WriteFile\(.+\)'\n - "runtime.NumCPU"\n - "runtime.GOMAXPROCS(0)"\n #- 'fmt\.Print.*' WIP\n\nissues:\n exclude-dirs:\n - build\n - configs\n - deployments\n - docs\n - scripts\n - internal/core\n - cmake_build\n exclude-files:\n - partial_search_test.go\n exclude-use-default: false\n exclude-rules:\n - path: .+_test\.go\n linters:\n - forbidigo\n exclude:\n - should have a package comment\n - should have comment\n - should be of the form\n - should not use dot imports\n - which can be annoying to use\n # Binds to all network interfaces\n - G102\n # Use of unsafe calls should be audited\n - G103\n # Errors unhandled\n - G104\n # file/folder Permission\n - G301\n - G302\n # Potential file inclusion via variable\n - G304\n # Deferring unsafe method like *os.File Close\n - G307\n # TLS MinVersion too low\n - G402\n # Use of weak random number generator math/rand\n - G404\n # Unused parameters\n - SA1019\n # defer return errors\n - SA5001\n # TODO: cleanup following exclusions, added on golangci-lint upgrade\n - sloppyLen\n - dupSubExpr\n - assignOp\n - ifElseChain\n - elseif\n - commentFormatting\n - exitAfterDefer\n - captLocal\n - singleCaseSwitch\n - typeSwitchVar\n - indent-error-flow\n - appendAssign\n - deprecatedComment\n - SA9009\n - SA1006\n - S1009\n - offBy1\n - unslice \n # Integer overflow conversion\n - G115\n\n # Maximum issues count per one linter. Set to 0 to disable. Default is 50.\n max-issues-per-linter: 0\n # Maximum count of issues with the same text. Set to 0 to disable. Default is 3.\n max-same-issues: 0\n\nservice:\n # use the fixed version to not introduce new linters unexpectedly\n golangci-lint-version: 1.55.2\n
dataset_sample\yaml\milvus-io_milvus\tests\go_client\.golangci.yml
.golangci.yml
YAML
4,807
0.95
0
0.085561
react-lib
813
2023-09-04T12:34:22.413693
GPL-3.0
true
8a7f777ba867f0a8a368b8cc68b2a8cc
version: '3.5'\n\nservices:\n etcd:\n container_name: milvus-etcd\n image: quay.io/coreos/etcd:v3.5.18\n volumes:\n - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/etcd:/etcd\n command: etcd -advertise-client-urls=http://etcd:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd\n\n pulsar:\n container_name: milvus-pulsar\n image: apachepulsar/pulsar:2.7.3\n volumes:\n - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/pulsar:/pulsar/data\n environment:\n # bin/apply-config-from-env.py script will modify the configuration file based on the environment variables\n # nettyMaxFrameSizeBytes must be calculated from maxMessageSize + 10240 (padding)\n - nettyMaxFrameSizeBytes=104867840 # this is 104857600 + 10240 (padding)\n - defaultRetentionTimeInMinutes=10080\n - defaultRetentionSizeInMB=-1\n # maxMessageSize is missing from standalone.conf, must use PULSAR_PREFIX_ to get it configured\n - PULSAR_PREFIX_maxMessageSize=104857600\n - PULSAR_GC=-XX:+UseG1GC\n command: |\n /bin/bash -c \\n "bin/apply-config-from-env.py conf/standalone.conf && \\n exec bin/pulsar standalone --no-functions-worker --no-stream-storage"\n\n minio:\n container_name: milvus-minio\n image: minio/minio:RELEASE.2023-03-20T20-16-18Z\n environment:\n MINIO_ACCESS_KEY: minioadmin\n MINIO_SECRET_KEY: minioadmin\n volumes:\n - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/minio:/minio_data\n command: minio server /minio_data\n healthcheck:\n test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]\n interval: 30s\n timeout: 20s\n retries: 3\n\n rootcoord:\n container_name: milvus-rootcoord\n image: ${MILVUS_IMAGE:-milvusdb/milvus-dev:master-latest}\n command: ["milvus", "run", "rootcoord"]\n environment:\n ETCD_ENDPOINTS: etcd:2379\n MINIO_ADDRESS: minio:9000\n PULSAR_ADDRESS: pulsar://pulsar:6650\n ROOT_COORD_ADDRESS: rootcoord:53100\n depends_on:\n - "etcd"\n - "pulsar"\n - "minio"\n\n proxy:\n container_name: milvus-proxy\n image: ${MILVUS_IMAGE:-milvusdb/milvus-dev:master-latest}\n command: ["milvus", "run", "proxy"]\n environment:\n ETCD_ENDPOINTS: etcd:2379\n MINIO_ADDRESS: minio:9000\n PULSAR_ADDRESS: pulsar://pulsar:6650\n ports:\n - "19530:19530"\n\n querycoord:\n container_name: milvus-querycoord\n image: ${MILVUS_IMAGE:-milvusdb/milvus-dev:master-latest}\n command: ["milvus", "run", "querycoord"]\n environment:\n ETCD_ENDPOINTS: etcd:2379\n MINIO_ADDRESS: minio:9000\n PULSAR_ADDRESS: pulsar://pulsar:6650\n QUERY_COORD_ADDRESS: querycoord:19531\n depends_on:\n - "etcd"\n - "pulsar"\n - "minio"\n\n querynode:\n container_name: milvus-querynode\n image: ${MILVUS_IMAGE:-milvusdb/milvus-dev:master-latest}\n command: ["milvus", "run", "querynode"]\n environment:\n ETCD_ENDPOINTS: etcd:2379\n MINIO_ADDRESS: minio:9000\n PULSAR_ADDRESS: pulsar://pulsar:6650\n depends_on:\n - "querycoord"\n\n indexcoord:\n container_name: milvus-indexcoord\n image: ${MILVUS_IMAGE:-milvusdb/milvus-dev:master-latest}\n command: ["milvus", "run", "indexcoord"]\n environment:\n ETCD_ENDPOINTS: etcd:2379\n MINIO_ADDRESS: minio:9000\n PULSAR_ADDRESS: pulsar://pulsar:6650\n INDEX_COORD_ADDRESS: indexcoord:31000\n depends_on:\n - "etcd"\n - "pulsar"\n - "minio"\n\n indexnode:\n container_name: milvus-indexnode\n image: ${MILVUS_IMAGE:-milvusdb/milvus-dev:master-latest}\n command: ["milvus", "run", "indexnode"]\n environment:\n ETCD_ENDPOINTS: etcd:2379\n MINIO_ADDRESS: minio:9000\n PULSAR_ADDRESS: pulsar://pulsar:6650\n INDEX_COORD_ADDRESS: indexcoord:31000\n depends_on:\n - "indexcoord"\n\n datacoord:\n container_name: milvus-datacoord\n image: ${MILVUS_IMAGE:-milvusdb/milvus-dev:master-latest}\n command: ["milvus", "run", "datacoord"]\n environment:\n ETCD_ENDPOINTS: etcd:2379\n MINIO_ADDRESS: minio:9000\n PULSAR_ADDRESS: pulsar://pulsar:6650\n DATA_COORD_ADDRESS: datacoord:13333\n depends_on:\n - "etcd"\n - "pulsar"\n - "minio"\n\n datanode:\n container_name: milvus-datanode\n image: ${MILVUS_IMAGE:-milvusdb/milvus-dev:master-latest}\n command: ["milvus", "run", "datanode"]\n environment:\n ETCD_ENDPOINTS: etcd:2379\n MINIO_ADDRESS: minio:9000\n PULSAR_ADDRESS: pulsar://pulsar:6650\n depends_on:\n - "datacoord"\n\nnetworks:\n default:\n name: milvus\n
dataset_sample\yaml\milvus-io_milvus\tests\python_client\deploy\cluster\docker-compose.yml
docker-compose.yml
YAML
4,522
0.95
0
0.022059
awesome-app
524
2025-03-13T02:33:39.330016
BSD-3-Clause
true
7cad464f64cb670b3fac4569fba554e2
version: '3.5'\n\nservices:\n etcd:\n container_name: milvus-etcd\n image: quay.io/coreos/etcd:v3.5.18\n environment:\n - ETCD_AUTO_COMPACTION_MODE=revision\n - ETCD_AUTO_COMPACTION_RETENTION=1000\n - ETCD_QUOTA_BACKEND_BYTES=4294967296\n volumes:\n - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/etcd:/etcd\n command: etcd -advertise-client-urls=http://etcd:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd\n\n minio:\n container_name: milvus-minio\n image: minio/minio:RELEASE.2023-03-20T20-16-18Z\n environment:\n MINIO_ACCESS_KEY: minioadmin\n MINIO_SECRET_KEY: minioadmin\n volumes:\n - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/minio:/minio_data\n command: minio server /minio_data\n healthcheck:\n test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]\n interval: 30s\n timeout: 20s\n retries: 3\n\n standalone:\n container_name: milvus-standalone\n image: ${MILVUS_IMAGE:-milvusdb/milvus-dev:master-latest}\n command: ["milvus", "run", "standalone"]\n environment:\n ETCD_ENDPOINTS: etcd:2379\n MINIO_ADDRESS: minio:9000\n volumes:\n - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/milvus:/var/lib/milvus\n ports:\n - "19530:19530"\n depends_on:\n - "etcd"\n - "minio"\n\nnetworks:\n default:\n name: milvus\n
dataset_sample\yaml\milvus-io_milvus\tests\python_client\deploy\standalone\docker-compose.yml
docker-compose.yml
YAML
1,327
0.8
0
0
vue-tools
591
2023-09-05T10:07:50.035620
GPL-3.0
true
a8eb7149baa26805ddbbadb61207efb7
version: "2"\nlinters:\n default: none\n enable:\n - durationcheck\n - forcetypeassert\n - gocritic\n - gomodguard\n - govet\n - ineffassign\n - misspell\n - revive\n - staticcheck\n - unconvert\n - unused\n - usetesting\n - whitespace\n settings:\n misspell:\n locale: US\n staticcheck:\n checks:\n - all\n - -SA1008\n - -SA1019\n - -SA4000\n - -SA9004\n - -ST1000\n - -ST1005\n - -ST1016\n - -U1000\n exclusions:\n generated: lax\n rules:\n - linters:\n - forcetypeassert\n path: _test\.go\n - path: (.+)\.go$\n text: 'empty-block:'\n - path: (.+)\.go$\n text: 'unused-parameter:'\n - path: (.+)\.go$\n text: 'dot-imports:'\n - path: (.+)\.go$\n text: should have a package comment\n - path: (.+)\.go$\n text: error strings should not be capitalized or end with punctuation or a newline\n paths:\n - third_party$\n - builtin$\n - examples$\nissues:\n max-issues-per-linter: 100\n max-same-issues: 100\nformatters:\n enable:\n - gofumpt\n - goimports\n exclusions:\n generated: lax\n paths:\n - third_party$\n - builtin$\n - examples$\n
dataset_sample\yaml\minio_minio\.golangci.yml
.golangci.yml
YAML
1,231
0.85
0
0
react-lib
61
2024-07-12T23:20:34.696112
MIT
false
45adfb4acd50a4848fe7b60aa89f2c9c
# Configuration for probot-stale - https://github.com/probot/stale\n\n# Number of days of inactivity before an Issue or Pull Request becomes stale\ndaysUntilStale: 30\n\n# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.\n# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.\ndaysUntilClose: 15\n\n# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)\nonlyLabels: []\n\n# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable\nexemptLabels:\n - "security"\n - "pending discussion"\n - "do-not-close"\n\n# Set to true to ignore issues in a project (defaults to false)\nexemptProjects: false\n\n# Set to true to ignore issues in a milestone (defaults to false)\nexemptMilestones: false\n\n# Set to true to ignore issues with an assignee (defaults to false)\nexemptAssignees: false\n\n# Label to use when marking as stale\nstaleLabel: stale\n\n# Comment to post when marking as stale. Set to `false` to disable\nmarkComment: >-\n This issue has been automatically marked as stale because it has not had\n recent activity. It will be closed after 15 days if no further activity\n occurs. Thank you for your contributions.\n# Comment to post when removing the stale label.\n# unmarkComment: >\n# Your comment here.\n\n# Comment to post when closing a stale Issue or Pull Request.\n# closeComment: >\n# Your comment here.\n\n# Limit the number of actions per hour, from 1-30. Default is 30\nlimitPerRun: 1\n\n# Limit to only `issues` or `pulls`\n# only: issues\n\n# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':\n# pulls:\n# daysUntilStale: 30\n# markComment: >\n# This pull request has been automatically marked as stale because it has not had\n# recent activity. It will be closed if no further activity occurs. Thank you\n# for your contributions.\n\n# issues:\n# exemptLabels:\n# - confirmed\n
dataset_sample\yaml\minio_minio\.github\stale.yml
stale.yml
YAML
2,006
0.8
0.1
0.652174
awesome-app
244
2025-03-13T10:02:54.351937
BSD-3-Clause
false
13ad68ca7eaf4553fed44ea1f52eba44
blank_issues_enabled: false\ncontact_links:\n - name: MinIO Community Support\n url: https://slack.min.io\n about: Join here for Community Support\n - name: MinIO SUBNET Support\n url: https://min.io/pricing\n about: Join here for Enterprise Support\n
dataset_sample\yaml\minio_minio\.github\ISSUE_TEMPLATE\config.yml
config.yml
YAML
257
0.8
0.25
0
vue-tools
498
2024-05-15T23:01:39.586912
GPL-3.0
false
d1a5beac54b4424a85fa99c5109d33c0
name: Crosscompile\n\non:\n pull_request:\n branches:\n - master\n\n# This ensures that previous jobs for the PR are canceled when the PR is\n# updated.\nconcurrency:\n group: ${{ github.workflow }}-${{ github.head_ref }}\n cancel-in-progress: true\n\npermissions:\n contents: read\n\njobs:\n build:\n name: Build Tests with Go ${{ matrix.go-version }} on ${{ matrix.os }}\n runs-on: ${{ matrix.os }}\n strategy:\n matrix:\n go-version: [1.24.x]\n os: [ubuntu-latest]\n steps:\n - uses: actions/checkout@v4\n - uses: actions/setup-go@v5\n with:\n go-version: ${{ matrix.go-version }}\n check-latest: true\n - name: Build on ${{ matrix.os }}\n if: matrix.os == 'ubuntu-latest'\n env:\n CGO_ENABLED: 0\n GO111MODULE: on\n run: |\n sudo sysctl net.ipv6.conf.all.disable_ipv6=0\n sudo sysctl net.ipv6.conf.default.disable_ipv6=0\n make crosscompile\n
dataset_sample\yaml\minio_minio\.github\workflows\go-cross.yml
go-cross.yml
YAML
957
0.8
0.051282
0.057143
node-utils
528
2024-10-15T08:57:08.639369
BSD-3-Clause
false
ddfd55a25f87a6ef66c92c62b3a13a9d
name: FIPS Build Test\n\non:\n pull_request:\n branches:\n - master\n\n# This ensures that previous jobs for the PR are canceled when the PR is\n# updated.\nconcurrency:\n group: ${{ github.workflow }}-${{ github.head_ref }}\n cancel-in-progress: true\n\npermissions:\n contents: read\n\njobs:\n build:\n name: Go BoringCrypto ${{ matrix.go-version }} on ${{ matrix.os }}\n runs-on: ${{ matrix.os }}\n strategy:\n matrix:\n go-version: [1.24.x]\n os: [ubuntu-latest]\n steps:\n - uses: actions/checkout@v4\n - uses: actions/setup-go@v5\n with:\n go-version: ${{ matrix.go-version }}\n\n - name: Set up Docker Buildx\n uses: docker/setup-buildx-action@v2\n\n - name: Setup dockerfile for build test\n run: |\n GO_VERSION=$(go version | cut -d ' ' -f 3 | sed 's/go//')\n echo Detected go version $GO_VERSION\n cat > Dockerfile.fips.test <<EOF\n FROM golang:${GO_VERSION}\n COPY . /minio\n WORKDIR /minio\n ENV GOEXPERIMENT=boringcrypto\n RUN make\n EOF\n\n - name: Build\n uses: docker/build-push-action@v3\n with:\n context: .\n file: Dockerfile.fips.test\n push: false\n load: true\n tags: minio/fips-test:latest\n\n # This should fail if grep returns non-zero exit\n - name: Test binary\n run: |\n docker run --rm minio/fips-test:latest ./minio --version\n docker run --rm -i minio/fips-test:latest /bin/bash -c 'go tool nm ./minio | grep FIPS | grep -q FIPS'\n
dataset_sample\yaml\minio_minio\.github\workflows\go-fips.yml
go-fips.yml
YAML
1,577
0.8
0.050847
0.058824
react-lib
855
2025-03-29T15:00:44.113183
MIT
false
9292f05b76e59d1ee395ac7f73dcc536
name: Healing Functional Tests\n\non:\n pull_request:\n branches:\n - master\n\n# This ensures that previous jobs for the PR are canceled when the PR is\n# updated.\nconcurrency:\n group: ${{ github.workflow }}-${{ github.head_ref }}\n cancel-in-progress: true\n\npermissions:\n contents: read\n\njobs:\n build:\n name: Go ${{ matrix.go-version }} on ${{ matrix.os }}\n runs-on: ${{ matrix.os }}\n strategy:\n matrix:\n go-version: [1.24.x]\n os: [ubuntu-latest]\n steps:\n - uses: actions/checkout@v4\n - uses: actions/setup-go@v5\n with:\n go-version: ${{ matrix.go-version }}\n check-latest: true\n - name: Build on ${{ matrix.os }}\n if: matrix.os == 'ubuntu-latest'\n env:\n CGO_ENABLED: 0\n GO111MODULE: on\n MINIO_KMS_SECRET_KEY: "my-minio-key:oyArl7zlPECEduNbB1KXgdzDn2Bdpvvw0l8VO51HQnY="\n MINIO_KMS_AUTO_ENCRYPTION: on\n run: |\n sudo sysctl net.ipv6.conf.all.disable_ipv6=0\n sudo sysctl net.ipv6.conf.default.disable_ipv6=0\n make verify-healing\n make verify-healing-inconsistent-versions\n make verify-healing-with-root-disks\n make verify-healing-with-rewrite\n
dataset_sample\yaml\minio_minio\.github\workflows\go-healing.yml
go-healing.yml
YAML
1,227
0.8
0.045455
0.05
python-kit
306
2025-04-15T21:30:25.507504
BSD-3-Clause
false
28ee2484bb5ec7dfacef43dcc1db00d4
name: Linters and Tests\n\non:\n pull_request:\n branches:\n - master\n\n# This ensures that previous jobs for the PR are canceled when the PR is\n# updated.\nconcurrency:\n group: ${{ github.workflow }}-${{ github.head_ref }}\n cancel-in-progress: true\n\npermissions:\n contents: read\n\njobs:\n build:\n name: Go ${{ matrix.go-version }} on ${{ matrix.os }}\n runs-on: ${{ matrix.os }}\n strategy:\n matrix:\n go-version: [1.24.x]\n os: [ubuntu-latest]\n steps:\n - uses: actions/checkout@v4\n - uses: actions/setup-go@v5\n with:\n go-version: ${{ matrix.go-version }}\n check-latest: true\n - name: Build on ${{ matrix.os }}\n if: matrix.os == 'ubuntu-latest'\n env:\n CGO_ENABLED: 0\n GO111MODULE: on\n run: |\n sudo apt install jq -y\n sudo sysctl net.ipv6.conf.all.disable_ipv6=0\n sudo sysctl net.ipv6.conf.default.disable_ipv6=0\n make\n make test\n make test-race\n
dataset_sample\yaml\minio_minio\.github\workflows\go-lint.yml
go-lint.yml
YAML
1,010
0.8
0.047619
0.052632
react-lib
321
2023-12-30T22:02:06.401720
GPL-3.0
false
fdb10f431e4881e8565ef52f32b15aee
name: Resiliency Functional Tests\n\non:\n pull_request:\n branches:\n - master\n\n# This ensures that previous jobs for the PR are canceled when the PR is\n# updated.\nconcurrency:\n group: ${{ github.workflow }}-${{ github.head_ref }}\n cancel-in-progress: true\n\npermissions:\n contents: read\n\njobs:\n build:\n name: Go ${{ matrix.go-version }} on ${{ matrix.os }}\n runs-on: ${{ matrix.os }}\n strategy:\n matrix:\n go-version: [1.24.x]\n os: [ubuntu-latest]\n steps:\n - uses: actions/checkout@v4\n - uses: actions/setup-go@v5\n with:\n go-version: ${{ matrix.go-version }}\n check-latest: true\n - name: Build on ${{ matrix.os }}\n if: matrix.os == 'ubuntu-latest'\n env:\n CGO_ENABLED: 0\n GO111MODULE: on\n run: |\n sudo sysctl net.ipv6.conf.all.disable_ipv6=0\n sudo sysctl net.ipv6.conf.default.disable_ipv6=0\n make test-resiliency\n
dataset_sample\yaml\minio_minio\.github\workflows\go-resiliency.yml
go-resiliency.yml
YAML
958
0.8
0.051282
0.057143
python-kit
412
2024-07-06T01:01:42.216579
Apache-2.0
false
127ff89eadc548ad53922fd41437a7cc
name: Functional Tests\n\non:\n pull_request:\n branches:\n - master\n\n# This ensures that previous jobs for the PR are canceled when the PR is\n# updated.\nconcurrency:\n group: ${{ github.workflow }}-${{ github.head_ref }}\n cancel-in-progress: true\n\npermissions:\n contents: read\n\njobs:\n build:\n name: Go ${{ matrix.go-version }} on ${{ matrix.os }} - healing\n runs-on: ${{ matrix.os }}\n strategy:\n matrix:\n go-version: [1.24.x]\n os: [ubuntu-latest]\n steps:\n - uses: actions/checkout@v4\n - uses: actions/setup-go@v5\n with:\n go-version: ${{ matrix.go-version }}\n check-latest: true\n - name: Build on ${{ matrix.os }}\n if: matrix.os == 'ubuntu-latest'\n env:\n CGO_ENABLED: 0\n GO111MODULE: on\n MINIO_KMS_SECRET_KEY: "my-minio-key:OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw="\n MINIO_KMS_AUTO_ENCRYPTION: on\n run: |\n sudo sysctl net.ipv6.conf.all.disable_ipv6=0\n sudo sysctl net.ipv6.conf.default.disable_ipv6=0\n make verify\n make test-timeout\n
dataset_sample\yaml\minio_minio\.github\workflows\go.yml
go.yml
YAML
1,108
0.8
0.047619
0.052632
awesome-app
149
2024-03-02T22:55:40.955682
MIT
false
605ba79b35207e6f363be48df796b1f1
name: Helm Chart linting\n\non:\n pull_request:\n branches:\n - master\n\n# This ensures that previous jobs for the PR are canceled when the PR is\n# updated.\nconcurrency:\n group: ${{ github.workflow }}-${{ github.head_ref }}\n cancel-in-progress: true\n\npermissions:\n contents: read\n\njobs:\n release:\n runs-on: ubuntu-latest\n steps:\n - name: Checkout\n uses: actions/checkout@v4\n\n - name: Install Helm\n uses: azure/setup-helm@v4\n\n - name: Run helm lint\n run: |\n cd helm/minio\n helm lint .\n
dataset_sample\yaml\minio_minio\.github\workflows\helm-lint.yml
helm-lint.yml
YAML
551
0.8
0.033333
0.083333
python-kit
631
2023-10-26T05:49:29.990953
BSD-3-Clause
false
4a1b1762ab5f95e77f00f64c55097aa4
name: 'Lock Threads'\n\non:\n schedule:\n - cron: '0 0 * * *'\n workflow_dispatch:\n\npermissions:\n issues: write\n\nconcurrency:\n group: lock\n\njobs:\n action:\n runs-on: ubuntu-latest\n steps:\n - uses: dessant/lock-threads@v3\n with:\n github-token: ${{ github.token }}\n issue-inactive-days: '365'\n exclude-any-issue-labels: 'do-not-close'\n issue-lock-reason: 'resolved'\n log-output: true\n
dataset_sample\yaml\minio_minio\.github\workflows\lock.yml
lock.yml
YAML
447
0.7
0
0
python-kit
639
2025-04-30T17:27:02.795027
GPL-3.0
false
f0766dcd5554acff07ab3b442b33b8c1
name: Mint Tests\n\non:\n pull_request:\n branches:\n - master\n\n# This ensures that previous jobs for the PR are canceled when the PR is\n# updated.\nconcurrency:\n group: ${{ github.workflow }}-${{ github.head_ref }}\n cancel-in-progress: true\n\npermissions:\n contents: read\n\njobs:\n mint-test:\n runs-on: mint\n timeout-minutes: 120\n steps:\n - name: cleanup #https://github.com/actions/checkout/issues/273\n run: |\n sudo -S rm -rf ${GITHUB_WORKSPACE}\n mkdir ${GITHUB_WORKSPACE}\n - name: checkout-step\n uses: actions/checkout@v4\n\n - name: setup-go-step\n uses: actions/setup-go@v5\n with:\n go-version: 1.24.x\n\n - name: github sha short\n id: vars\n run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT\n\n - name: build-minio\n run: |\n TAG="quay.io/minio/minio:${{ steps.vars.outputs.sha_short }}" make docker\n\n - name: multipart uploads test\n run: |\n ${GITHUB_WORKSPACE}/.github/workflows/multipart/migrate.sh "${{ steps.vars.outputs.sha_short }}"\n\n - name: compress and encrypt\n run: |\n ${GITHUB_WORKSPACE}/.github/workflows/run-mint.sh "compress-encrypt" "minio" "minio123" "${{ steps.vars.outputs.sha_short }}"\n\n - name: multiple pools\n run: |\n ${GITHUB_WORKSPACE}/.github/workflows/run-mint.sh "pools" "minio" "minio123" "${{ steps.vars.outputs.sha_short }}"\n\n - name: standalone erasure\n run: |\n ${GITHUB_WORKSPACE}/.github/workflows/run-mint.sh "erasure" "minio" "minio123" "${{ steps.vars.outputs.sha_short }}"\n\n # FIXME: renable this back when we have a valid way to add deadlines for PUT()s (internode CreateFile)\n # - name: resiliency\n # run: |\n # ${GITHUB_WORKSPACE}/.github/workflows/run-mint.sh "resiliency" "minio" "minio123" "${{ steps.vars.outputs.sha_short }}"\n\n - name: The job must cleanup\n if: ${{ always() }}\n run: |\n export JOB_NAME=${{ steps.vars.outputs.sha_short }}\n for mode in $(echo compress-encrypt pools erasure); do\n docker-compose -f ${GITHUB_WORKSPACE}/.github/workflows/mint/minio-${mode}.yaml down || true\n docker-compose -f ${GITHUB_WORKSPACE}/.github/workflows/mint/minio-${mode}.yaml rm || true\n done\n\n docker-compose -f ${GITHUB_WORKSPACE}/.github/workflows/multipart/docker-compose-site1.yaml rm -s -f || true\n docker-compose -f ${GITHUB_WORKSPACE}/.github/workflows/multipart/docker-compose-site2.yaml rm -s -f || true\n for volume in $(docker volume ls -q | grep minio); do\n docker volume rm ${volume} || true\n done\n\n docker rmi -f quay.io/minio/minio:${{ steps.vars.outputs.sha_short }}\n docker system prune -f || true\n docker volume prune -f || true\n docker volume rm $(docker volume ls -q -f dangling=true) || true\n
dataset_sample\yaml\minio_minio\.github\workflows\mint.yml
mint.yml
YAML
2,952
0.8
0.061728
0.090909
python-kit
455
2024-03-12T04:46:27.549222
MIT
false
a9273e7fdf4c1919a7ef0ae0c220c760
name: Root lockdown tests\n\non:\n pull_request:\n branches:\n - master\n\n# This ensures that previous jobs for the PR are canceled when the PR is\n# updated.\nconcurrency:\n group: ${{ github.workflow }}-${{ github.head_ref }}\n cancel-in-progress: true\n\npermissions:\n contents: read\n\njobs:\n build:\n name: Go ${{ matrix.go-version }} on ${{ matrix.os }}\n runs-on: ${{ matrix.os }}\n strategy:\n matrix:\n go-version: [1.24.x]\n os: [ubuntu-latest]\n\n steps:\n - uses: actions/checkout@v4\n - uses: actions/setup-go@v5\n with:\n go-version: ${{ matrix.go-version }}\n check-latest: true\n - name: Start root lockdown tests\n run: |\n make test-root-disable\n
dataset_sample\yaml\minio_minio\.github\workflows\root-disable.yml
root-disable.yml
YAML
734
0.8
0.029412
0.068966
react-lib
497
2024-01-20T00:27:27.138470
MIT
false
e120056e966c260a1d616e6612666de3
name: Shell formatting checks\n\non:\n pull_request:\n branches:\n - master\n\npermissions:\n contents: read\n \njobs:\n build:\n name: runner / shfmt\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v4\n - uses: luizm/action-sh-checker@master\n env:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n SHFMT_OPTS: "-s"\n with:\n sh_checker_shellcheck_disable: true # disable for now\n
dataset_sample\yaml\minio_minio\.github\workflows\shfmt.yml
shfmt.yml
YAML
443
0.8
0.045455
0
python-kit
82
2024-12-09T16:27:24.503190
MIT
false
e97d73b025a8e847d8a73dde059bdccc
---\nname: Spelling\non: [pull_request]\n\njobs:\n run:\n name: Spell Check with Typos\n runs-on: ubuntu-latest\n steps:\n - name: Checkout Actions Repository\n uses: actions/checkout@v4\n\n - name: Check spelling of repo\n uses: crate-ci/typos@master\n\n
dataset_sample\yaml\minio_minio\.github\workflows\typos.yml
typos.yml
YAML
266
0.7
0
0
node-utils
382
2025-01-15T12:37:11.116710
MIT
false
38f494b731c21b1c66e4d1bf3d871500
name: VulnCheck\non:\n pull_request:\n branches:\n - master\n\n push:\n branches:\n - master\n\npermissions:\n contents: read # to fetch code (actions/checkout)\n\njobs:\n vulncheck:\n name: Analysis\n runs-on: ubuntu-latest\n steps:\n - name: Check out code into the Go module directory\n uses: actions/checkout@v4\n - name: Set up Go\n uses: actions/setup-go@v5\n with:\n go-version: 1.24.0\n cached: false\n - name: Get official govulncheck\n run: go install golang.org/x/vuln/cmd/govulncheck@latest\n shell: bash\n - name: Run govulncheck\n run: govulncheck -show verbose ./...\n shell: bash\n
dataset_sample\yaml\minio_minio\.github\workflows\vulncheck.yml
vulncheck.yml
YAML
682
0.8
0
0
vue-tools
707
2023-07-12T10:41:42.129253
Apache-2.0
false
09abecf35e0248cee8a8e7a1da2a4bcd
# Settings and configurations that are common for all containers\nx-minio-common: &minio-common\n image: minio/minio:${MINIO_VERSION}\n command: server http://minio{1...4}/data{1...3}\n env_file:\n - ./minio.env\n expose:\n - "9000"\n - "9001"\n\n# starts 4 docker containers running minio server instances.\n# using nginx reverse proxy, load balancing, you can access\n# it through port 9000.\nservices:\n minio1:\n <<: *minio-common\n hostname: minio1\n volumes:\n - data1-1:/data1\n - data1-2:/data2\n - data1-3:/data3\n\n minio2:\n <<: *minio-common\n hostname: minio2\n volumes:\n - data2-1:/data1\n - data2-2:/data2\n - data2-3:/data3\n\n minio3:\n <<: *minio-common\n hostname: minio3\n volumes:\n - data3-1:/data1\n - data3-2:/data2\n - data3-3:/data3\n\n minio4:\n <<: *minio-common\n hostname: minio4\n volumes:\n - data4-1:/data1\n - data4-2:/data2\n - data4-3:/data3\n\n nginx:\n image: nginx:1.19.2-alpine\n volumes:\n - ./nginx.conf:/etc/nginx/nginx.conf:ro\n ports:\n - "9000:9000"\n - "9001:9001"\n depends_on:\n - minio1\n - minio2\n - minio3\n - minio4\n\n## By default this config uses default local driver,\n## For custom volumes replace with volume driver configuration.\nvolumes:\n data1-1:\n data1-2:\n data1-3:\n data2-1:\n data2-2:\n data2-3:\n data3-1:\n data3-2:\n data3-3:\n data4-1:\n data4-2:\n data4-3:\n
dataset_sample\yaml\minio_minio\buildscripts\upgrade-tests\compose.yml
compose.yml
YAML
1,430
0.8
0.013514
0.088235
python-kit
494
2024-06-29T22:13:35.852436
BSD-3-Clause
true
e1e9dacbbbf37091cc186138d26a5663
branches:\n - name: master\n \nverifyConditions:\n - "@semantic-release/github"\n\nplugins:\n # Determines the type of release to create, if any.\n # See https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#type\n # More types can be added here and in release-notes-generator below.\n - - '@semantic-release/commit-analyzer'\n - preset: "angular"\n releaseRules:\n - type: "release"\n release: "major"\n - type: "breaking"\n release: "minor"\n - type: "feature"\n release: "minor"\n - type: "fix"\n release: "patch"\n\n # Extends the behavior of semantic-release to generate release notes.\n # 'fix' and 'feat' are built in and don't need to be defined here.\n # More types can be added to correspond with commit-analyzer above.\n - - '@semantic-release/release-notes-generator'\n - preset: "conventionalcommits"\n presetConfig:\n types:\n - type: "breaking"\n section: "Breaking Changes"\n hidden: false\n - type: "release"\n section: "Release"\n hidden: false\n - type: "fix"\n section: "Bug Fixes"\n hidden: false\n - type: "feat"\n section: "Features"\n hidden: false\n - type: "feature"\n section: "Features"\n hidden: false\n - type: "perf"\n section: "Performance Improvements"\n hidden: false\n\n # Write the new version in version.txt\n - - '@semantic-release/exec'\n - prepareCmd: "echo ${nextRelease.version} > Assets/Mirror/version.txt"\n\n # Remove Test folder so it's excluded from Unity package\n # -f: force, -r: recursive\n - - '@semantic-release/exec'\n - prepareCmd: "rm -f -r Assets/Mirror/Tests && rm -f Assets/Mirror/Tests.meta"\n \n # Remove EdgeGap Hosting folder so it's excluded from Unity package\n # -f: force, -r: recursive\n # - - '@semantic-release/exec'\n # - prepareCmd: "rm -f -r Assets/Mirror/Hosting && rm -f Assets/Mirror/Hosting.meta"\n \n # Move ScriptTemplates to Mirror folder so they're included in Unity package\n # There's an editor script that moves them back to Assets when imported to Unity\n - - '@semantic-release/exec'\n - prepareCmd: "mv Assets/ScriptTemplates Assets/Mirror/ && mv Assets/ScriptTemplates.meta Assets/Mirror/"\n\n # Create Unity package with Mirror, ScriptTemplates, and LICENSE\n - - '@semantic-release/exec'\n - prepareCmd: "dotnet script .github/UnityPack.csx ${nextRelease.version}"\n\n # Create a new release on GitHub\n - - '@semantic-release/github'\n - assets:\n - path: "Mirror.unitypackage"\n label: "Mirror Unity Package"\n name: "Mirror-${nextRelease.version}.unitypackage"\n successCommentCondition: "false"\n failCommentCondition: "false"\n
dataset_sample\yaml\MirrorNetworking_Mirror\.releaserc.yml
.releaserc.yml
YAML
2,749
0.95
0.012658
0.242857
react-lib
852
2024-05-03T11:28:11.137581
Apache-2.0
false
96f2cfa77a088b65cc72bec28ae1ea3b
version: '{branch}-{build}'\n\nenvironment:\n nodejs_version: "16"\n LFTP_PASSWORD:\n secure: sH23IC4a98S5uTtgYNHNvg==\n\n#init:\n# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))\n\n#on_finish:\n# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))\n\ninstall:\n - choco install unitypackager\n - choco install docfx\n - choco install lftp\n - ps: Install-Product node $env:nodejs_version\n - npm install -g semantic-release @semantic-release/exec\n\n#build:\n# project: Mirror/Networking.sln\n# verbosity: minimal\n \n# Do not build on tags (GitHub only)\nskip_tags: true\n\nbuild_script:\n - docfx metadata --logLevel Warning --warningsAsErrors doc\docfx.json\n - docfx build --logLevel Warning --warningsAsErrors doc\docfx.json\n\nimage: Visual Studio 2017\n\ndeploy_script:\n - IF "%APPVEYOR_REPO_BRANCH%"=="master" ( lftp -e 'set ftp:ssl-allow no ; mirror -R -c -e -p doc/_site public_html/docs; chmod -R a+X public_html/docs ; ls -l public_html/docs/ ; ls -l public_html/docs/styles/ ; bye' -u mirreofx --env-password ftp://mirror-networking.com 2>&1 )\n\n
dataset_sample\yaml\MirrorNetworking_Mirror\appveyor.yml
appveyor.yml
YAML
1,238
0.8
0
0.307692
vue-tools
27
2025-02-23T17:44:10.863135
GPL-3.0
false
cf5efc03dd484fa2880c3e64efbf2e44
name: Main\n\non:\n workflow_dispatch:\n pull_request:\n branches:\n - master\n paths-ignore:\n - 'Packages/**'\n - 'ProjectSettings/**'\n - '.github/**'\n - '.gitattributes'\n - '.gitignore'\n - '.editorconfig'\n - 'LICENSE'\n - '**.md'\n - '**.yml'\n - '**.txt'\n - '**.ps1'\n push:\n branches:\n - master\n paths-ignore:\n - 'Packages/**'\n - 'ProjectSettings/**'\n - '.github/**'\n - '.gitattributes'\n - '.gitignore'\n - '.editorconfig'\n - 'LICENSE'\n - '**.md'\n - '**.yml'\n - '**.txt'\n - '**.ps1'\n \njobs:\n RunUnityTests:\n name: Run Unity Tests\n uses: ./.github/workflows/RunUnityTests.yml\n secrets: inherit\n\n #SonarQube:\n # name: SonarQube Analysis\n # needs: RunUnityTests\n # uses: ./.github/workflows/SonarQube.yml\n # secrets: inherit\n\n Release:\n name: Semantic Release\n if: github.event_name == 'push'\n needs: RunUnityTests\n uses: ./.github/workflows/Semantic.yml\n secrets: inherit\n\n DeleteOldWorkflowRuns:\n name: Delete Old Workflow Runs\n runs-on: ubuntu-latest\n steps:\n - name: Delete workflow runs\n uses: Mattraks/delete-workflow-runs@v2\n with:\n retain_days: 15 # Delete runs older than 15 days\n keep_minimum_runs: 5 # Keep the last 5 runs
dataset_sample\yaml\MirrorNetworking_Mirror\.github\workflows\main.yml
main.yml
YAML
1,342
0.8
0.016129
0.086207
react-lib
996
2023-09-02T13:53:56.946389
Apache-2.0
false
33de197d16f8b3b7aa021a70a833dc7b
name: Semantic Release\n\non:\n workflow_dispatch:\n workflow_call:\n\njobs:\n SemanticRelease:\n name: Semantic Release\n runs-on: windows-latest\n permissions:\n contents: write # to be able to publish a GitHub release\n\n steps:\n - name: Checkout repository\n uses: actions/checkout@v4\n with:\n fetch-depth: 0\n\n - name: Setup .NET\n uses: actions/setup-dotnet@v4\n with:\n dotnet-version: '8.0.x'\n \n - name: Install dotnet-script\n run: |\n dotnet tool install -g dotnet-script\n dotnet script --version\n\n - name: Setup Node.js\n uses: actions/setup-node@v4\n with:\n node-version: '*'\n \n - name: Install conventional-changelog-conventionalcommits\n run: npm i -D conventional-changelog-conventionalcommits\n\n - name: Install Plugins\n run: npm i -D @semantic-release/exec\n \n - name: Release\n run: npx semantic-release\n --debug\n env:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n UNITYPACK_OUTPUT: "Mirror.unitypackage"\n # source and destination separated by space\n # add more assets as separate env vars using the naming pattern\n UNITYPACK_ASSET1: "Assets/Mirror Assets/Mirror"\n UNITYPACK_ASSET2: "LICENSE Assets/Mirror/LICENSE"\n # name and version separated by space\n # add more dependencies as separate env vars using the naming pattern\n UNITYPACK_DEPENDENCY1: "com.unity.ugui 2.0.0"\n UNITYPACK_DEPENDENCY2: "com.unity.nuget.newtonsoft-json 3.0.0"\n # UNITYPACK_DEPENDENCY3: "com.unity.dedicated-server 1.0.0"\n # package names separated by space (only one for now)\n UNITYPACK_TESTABLES: "com.unity.test-framework.performance"\n
dataset_sample\yaml\MirrorNetworking_Mirror\.github\workflows\Semantic.yml
Semantic.yml
YAML
1,808
0.8
0.017544
0.125
react-lib
788
2024-12-02T15:00:24.460987
Apache-2.0
false
f87181a9552c595340a356d497daff77
name: SonarQube Analysis\n\non:\n workflow_dispatch:\n workflow_call:\n\njobs:\n SonarQube:\n name: SonarQube\n runs-on: ubuntu-latest\n\n # available list of containers here:\n # https://hub.docker.com/r/unityci/editor/tags?page=1&ordering=last_updated&name=ubuntu-2020.1.17f1-base\n container: unityci/editor:ubuntu-2021.3.16f1-base-1.0.1\n\n steps:\n - name: SonarQube analysis\n uses: MirrorNetworking/unity-runner@2.0.0\n with:\n entrypoint: /sonar-scanner.sh\n projectKey: vis2k_Mirror\n projectName: Mirror\n sonarOrganisation: vis2k\n beginArguments: >-\n /d:sonar.verbose="true" \n /d:sonar.cs.nunit.reportsPaths=Tests/editmode-results.xml,Tests/playimode-results.xml \n /d:sonar.cs.opencover.reportsPaths=Tests/workspace-opencov/EditMode/TestCoverageResults_0000.xml,Tests/workspace-opencov/PlayMode/TestCoverageResults_0000.xml\n /d:sonar.coverage.exclusions=Assets/Mirror/Transports/**,Assets/Mirror/Examples/**,Assets/Mirror/Tests/**\n /d:sonar.exclusions=Assets/Mirror/Runtime/Transport/SimpleWebTransport/**\n # files ignored in code coverage:\n # Assets/Mirror/Transports/** - Transports have their own tests and Sonar coverage\n # Assets/Mirror/Examples/** - Examples don't need test coverage\n # Assets/Mirror/Tests/** - Tests don't need test coverage\n env:\n FrameworkPathOverride: /opt/Unity/Editor/Data/MonoBleedingEdge/\n SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n
dataset_sample\yaml\MirrorNetworking_Mirror\.github\workflows\SonarQube.yml
SonarQube.yml
YAML
1,623
0.8
0
0.181818
awesome-app
177
2023-11-19T23:44:14.951710
BSD-3-Clause
false
d4f389f7ff469f9c80adb7e6ee4a453a
# Requirements: mkdocs >1.x && mkdocs-material && markdown_include\n\n# Project information\nsite_name: MISP Install Documentation\nsite_description: MISP Project - Install Guides\nsite_author: MISP Project\nsite_url: https://www.misp-project.org/\n\n# Repository\nrepo_name: MISP/MISP\nrepo_url: https://github.com/MISP/MISP\nedit_uri: ""\n\n#dev_addr: "192.168.10.34:8000"\n\n# Copyright\ncopyright: "Copyright &copy; 2022 MISP Project"\n\n# Options\nextra:\n search:\n languages: "en"\n social:\n - type: globe\n link: https://www.misp-project.org/\n - type: github-alt\n link: https://github.com/MISP\n - type: twitter\n link: https://twitter.com/MISPProject\n\ntheme:\n name: material\n language: en\n favicon: img/favicon.ico\n logo: img/misp.png\n\n# Extensions\nmarkdown_extensions:\n - markdown_include.include:\n base_path: docs\n - mkdcomments\n - markdown.extensions.admonition\n - markdown.extensions.codehilite:\n guess_lang: false\n - markdown.extensions.def_list\n - markdown.extensions.footnotes\n - markdown.extensions.meta\n - markdown.extensions.toc:\n permalink: true\n - pymdownx.arithmatex\n - pymdownx.betterem:\n smart_enable: all\n - pymdownx.caret\n - pymdownx.critic\n - pymdownx.details\n - pymdownx.emoji:\n emoji_generator: !!python/name:pymdownx.emoji.to_svg\n - pymdownx.inlinehilite\n - pymdownx.magiclink\n - pymdownx.mark\n - pymdownx.smartsymbols\n - pymdownx.superfences\n - pymdownx.tasklist:\n custom_checkbox: true\n - pymdownx.tilde\n\nnav:\n - Home: 'index.md'\n - Install Guides:\n - 'Ubuntu 18.04': 'INSTALL.ubuntu1804.md'\n - 'Ubuntu 20.04': 'INSTALL.ubuntu2004.md'\n - 'Kali Linux': 'INSTALL.kali.md'\n - 'RHEL8/CentOS8': 'INSTALL.rhel8.md'\n - 'RHEL7/CentOS7': 'INSTALL.rhel7.md'\n - xInstall Guides: \n - 'Warning': 'xINSTALL.md'\n - 'Debian 10': 'xINSTALL.debian10.md'\n - 'Tsurugi Linux': 'xINSTALL.tsurugi.md'\n - 'OpenBSD 7.0': 'xINSTALL.OpenBSD.md'\n - 'Ubuntu 22.04': 'xINSTALL.ubuntu2204.md'\n - Config Guides:\n - 'Elastic Search Logging': 'CONFIG.elasticsearch-logging.md'\n - 'Amazon S3 attachments': 'CONFIG.s3-attachments.md'\n - 'S/MIME': 'CONFIG.SMIME.md'\n - Update MISP: 'UPDATE.md'\n - Upgrading MISP: 'UPGRADE.md'\n - Migrating BG Jobs: 'background-jobs-migration-guide.md'\n - Old guides:\n - 'Ubuntu 18.04 \w webmin': 'archive/xINSTALL.ubuntu1804.with.webmin.md'\n - 'Debian 9': 'archive/xINSTALL.debian9.md'\n - 'FreeBSD': 'archive/xINSTALL.FreeBSD.md'\n - About:\n - 'MISP Release Notes': 'Changelog.md'\n - 'License': 'license.md'\n
dataset_sample\yaml\MISP_MISP\mkdocs.yml
mkdocs.yml
YAML
2,611
0.8
0
0.081395
vue-tools
564
2025-03-19T07:34:36.996215
MIT
false
d1743605b67ede7c3fcd0a5138772adb
linters:\n enable:\n - asasalint # Detects "[]any" used as argument for variadic "func(...any)".\n - copyloopvar # Detects places where loop variables are copied.\n - depguard\n - dogsled # Detects assignments with too many blank identifiers.\n - dupword # Detects duplicate words.\n - durationcheck # Detect cases where two time.Duration values are being multiplied in possibly erroneous ways.\n - errchkjson # Detects unsupported types passed to json encoding functions and reports if checks for the returned error can be omitted.\n - exhaustive # Detects missing options in enum switch statements.\n - exptostd # Detects functions from golang.org/x/exp/ that can be replaced by std functions.\n - fatcontext # Detects nested contexts in loops and function literals.\n - gocheckcompilerdirectives # Detects invalid go compiler directive comments (//go:).\n - goimports\n - gosec # Detects security problems.\n - gosimple\n - govet\n - forbidigo\n - iface # Detects incorrect use of interfaces. Currently only used for "identical" interfaces in the same package.\n - importas\n - ineffassign\n - makezero # Finds slice declarations with non-zero initial length.\n - mirror # Detects wrong mirror patterns of bytes/strings usage.\n - misspell # Detects commonly misspelled English words in comments.\n - nakedret # Detects uses of naked returns.\n - nilnesserr # Detects returning nil errors. It combines the features of nilness and nilerr,\n - nosprintfhostport # Detects misuse of Sprintf to construct a host with port in a URL.\n - reassign # Detects reassigning a top-level variable in another package.\n - revive # Metalinter; drop-in replacement for golint.\n - spancheck # Detects mistakes with OpenTelemetry/Census spans.\n - staticcheck\n - typecheck\n - unconvert # Detects unnecessary type conversions.\n - unused\n - wastedassign # Detects wasted assignment statements.\n\n disable:\n - errcheck\n\nrun:\n # prevent golangci-lint from deducting the go version to lint for through go.mod,\n # which causes it to fallback to go1.17 semantics.\n go: "1.23.8"\n concurrency: 2\n # Only supported with go modules enabled (build flag -mod=vendor only valid when using modules)\n # modules-download-mode: vendor\n\nlinters-settings:\n depguard:\n rules:\n main:\n deny:\n - pkg: io/ioutil\n desc: The io/ioutil package has been deprecated, see https://go.dev/doc/go1.16#ioutil\n - pkg: "github.com/stretchr/testify/assert"\n desc: Use "gotest.tools/v3/assert" instead\n - pkg: "github.com/stretchr/testify/require"\n desc: Use "gotest.tools/v3/assert" instead\n - pkg: "github.com/stretchr/testify/suite"\n desc: Do not use\n - pkg: "github.com/containerd/containerd/errdefs"\n desc: The errdefs package has moved to a separate module, https://github.com/containerd/errdefs\n - pkg: "github.com/containerd/containerd/log"\n desc: The logs package has moved to a separate module, https://github.com/containerd/log\n - pkg: "github.com/containerd/containerd/pkg/userns"\n desc: Use github.com/moby/sys/userns instead.\n - pkg: "github.com/tonistiigi/fsutil"\n desc: The fsutil module does not have a stable API, so we should not have a direct dependency unless necessary.\n\n dupword:\n ignore:\n - "true" # some tests use this as expected output\n - "false" # some tests use this as expected output\n - "root" # for tests using "ls" output with files owned by "root:root"\n\n exhaustive:\n # Program elements to check for exhaustiveness.\n # Default: [ switch ]\n check:\n - switch\n # - map # TODO(thaJeztah): also enable for maps\n # Presence of "default" case in switch statements satisfies exhaustiveness,\n # even if all enum members are not listed.\n # Default: false\n #\n # TODO(thaJeztah): consider not allowing this to catch new values being added (and falling through to "default")\n default-signifies-exhaustive: true\n\n forbidigo:\n forbid:\n - pkg: ^sync/atomic$\n p: ^atomic\.(Add|CompareAndSwap|Load|Store|Swap).\n msg: Go 1.19 atomic types should be used instead.\n - pkg: ^regexp$\n p: ^regexp\.MustCompile\n msg: Use internal/lazyregexp.New instead.\n - pkg: github.com/vishvananda/netlink$\n p: ^netlink\.(Handle\.)?(AddrList|BridgeVlanList|ChainList|ClassList|ConntrackTableList|ConntrackDeleteFilter$|ConntrackDeleteFilters|DevLinkGetDeviceList|DevLinkGetAllPortList|DevlinkGetDeviceParams|FilterList|FouList|GenlFamilyList|GTPPDPList|LinkByName|LinkByAlias|LinkList|LinkSubscribeWithOptions|NeighList$|NeighProxyList|NeighListExecute|NeighSubscribeWithOptions|LinkGetProtinfo|QdiscList|RdmaLinkList|RdmaLinkByName|RdmaLinkDel|RouteList|RouteListFilteredIter|RuleListFiltered$|RouteSubscribeWithOptions|RuleList$|RuleListFiltered|SocketGet|SocketDiagTCPInfo|SocketDiagTCP|SocketDiagUDPInfo|SocketDiagUDP|UnixSocketDiagInfo|UnixSocketDiag|VDPAGetDevConfigList|VDPAGetDevList|VDPAGetMGMTDevList|XfrmPolicyList|XfrmStateList)\n msg: Use internal nlwrap package for EINTR handling.\n - pkg: github.com/docker/docker/internal/nlwrap$\n p: ^nlwrap.Handle.(BridgeVlanList|ChainList|ClassList|ConntrackDeleteFilter$|DevLinkGetDeviceList|DevLinkGetAllPortList|DevlinkGetDeviceParams|FilterList|FouList|GenlFamilyList|GTPPDPList|LinkByAlias|LinkSubscribeWithOptions|NeighList$|NeighProxyList|NeighListExecute|NeighSubscribeWithOptions|LinkGetProtinfo|QdiscList|RdmaLinkList|RdmaLinkByName|RdmaLinkDel|RouteListFilteredIter|RuleListFiltered$|RouteSubscribeWithOptions|RuleList$|RuleListFiltered|SocketGet|SocketDiagTCPInfo|SocketDiagTCP|SocketDiagUDPInfo|SocketDiagUDP|UnixSocketDiagInfo|UnixSocketDiag|VDPAGetDevConfigList|VDPAGetDevList|VDPAGetMGMTDevList)\n msg: Add a wrapper to nlwrap.Handle for EINTR handling and update the list in .golangci.yml.\n analyze-types: true\n\n gosec:\n excludes:\n - G104 # G104: Errors unhandled; (TODO: reduce unhandled errors, or explicitly ignore)\n - G113 # G113: Potential uncontrolled memory consumption in Rat.SetString (CVE-2022-23772); (only affects go < 1.16.14. and go < 1.17.7)\n - G115 # G115: integer overflow conversion; (TODO: verify these: https://github.com/moby/moby/issues/48358)\n - G204 # G204: Subprocess launched with variable; too many false positives.\n - G301 # G301: Expect directory permissions to be 0750 or less (also EXC0009); too restrictive\n - G302 # G302: Expect file permissions to be 0600 or less (also EXC0009); too restrictive\n - G304 # G304: Potential file inclusion via variable.\n - G306 # G306: Expect WriteFile permissions to be 0600 or less (too restrictive; also flags "0o644" permissions)\n - G307 # G307: Deferring unsafe method "*os.File" on type "Close" (also EXC0008); (TODO: evaluate these and fix where needed: G307: Deferring unsafe method "*os.File" on type "Close")\n - G504 # G504: Blocklisted import net/http/cgi: Go versions < 1.6.3 are vulnerable to Httpoxy attack: (CVE-2016-5386); (only affects go < 1.6.3)\n\n govet:\n enable-all: true\n disable:\n - fieldalignment # TODO: evaluate which ones should be updated.\n\n importas:\n # Do not allow unaliased imports of aliased packages.\n no-unaliased: true\n\n alias:\n # Enforce alias to prevent it accidentally being used instead of our\n # own errdefs package (or vice-versa).\n - pkg: github.com/containerd/errdefs\n alias: cerrdefs\n - pkg: github.com/containerd/containerd/images\n alias: c8dimages\n - pkg: github.com/opencontainers/image-spec/specs-go/v1\n alias: ocispec\n - pkg: go.etcd.io/bbolt\n alias: bolt\n # Enforce that gotest.tools/v3/assert/cmp is always aliased as "is"\n - pkg: gotest.tools/v3/assert/cmp\n alias: is\n\n nakedret:\n # Disallow naked returns if func has more lines of code than this setting.\n # Default: 30\n max-func-lines: 0\n\n revive:\n rules:\n # FIXME make sure all packages have a description. Currently, there's many packages without.\n - name: package-comments\n disabled: true\n\n spancheck:\n # Default: ["end"]\n checks:\n - end # check that `span.End()` is called\n - record-error # check that `span.RecordError(err)` is called when an error is returned\n - set-status # check that `span.SetStatus(codes.Error, msg)` is called when an error is returned\n\nissues:\n # The default exclusion rules are a bit too permissive, so copying the relevant ones below\n exclude-use-default: false\n\n exclude-dirs:\n - docs\n\n exclude-rules:\n # We prefer to use an "exclude-list" so that new "default" exclusions are not\n # automatically inherited. We can decide whether or not to follow upstream\n # defaults when updating golang-ci-lint versions.\n # Unfortunately, this means we have to copy the whole exclusion pattern, as\n # (unlike the "include" option), the "exclude" option does not take exclusion\n # ID's.\n #\n # These exclusion patterns are copied from the default excludes at:\n # https://github.com/golangci/golangci-lint/blob/v1.61.0/pkg/config/issues.go#L11-L104\n #\n # The default list of exclusions can be found at:\n # https://golangci-lint.run/usage/false-positives/#default-exclusions\n\n # EXC0001\n - text: "Error return value of .((os\\.)?std(out|err)\\..*|.*Close|.*Flush|os\\.Remove(All)?|.*print(f|ln)?|os\\.(Un)?Setenv). is not checked"\n linters:\n - errcheck\n\n # Exclude some linters from running on tests files.\n - path: _test\.go\n linters:\n - errcheck\n\n - text: "G404: Use of weak random number generator"\n path: _test\.go\n linters:\n - gosec\n\n # Suppress golint complaining about generated types in api/types/\n - text: "type name will be used as (container|volume)\\.(Container|Volume).* by other packages, and that stutters; consider calling this"\n path: "api/types/(volume|container)/"\n linters:\n - revive\n\n # FIXME: ignoring unused assigns to ctx for now; too many hits in libnetwork/xxx functions that setup traces\n - text: "assigned to ctx, but never used afterwards"\n linters:\n - wastedassign\n\n - text: "ineffectual assignment to ctx"\n source: "ctx[, ].*=.*\\(ctx[,)]"\n linters:\n - ineffassign\n\n - text: "SA4006: this value of `ctx` is never used"\n source: "ctx[, ].*=.*\\(ctx[,)]"\n linters:\n - staticcheck\n\n # FIXME(thaJeztah): ignoring these transitional utilities until BuildKit is vendored with https://github.com/moby/moby/pull/49743\n - text: "SA1019: idtools\\.(ToUserIdentityMapping|FromUserIdentityMapping) is deprecated"\n linters:\n - staticcheck\n\n # Ignore "nested context in function literal (fatcontext)" as we intentionally set up tracing on a base-context for tests.\n # FIXME(thaJeztah): see if there's a more iodiomatic way to do this.\n - text: 'nested context in function literal'\n path: '((main|check)_(linux_|)test\.go)|testutil/helpers\.go'\n linters:\n - fatcontext\n\n - text: '^shadow: declaration of "(ctx|err|ok)" shadows declaration'\n linters:\n - govet\n - text: '^shadow: declaration of "(out)" shadows declaration'\n path: _test\.go\n linters:\n - govet\n - text: 'use of `regexp.MustCompile` forbidden'\n path: _test\.go\n linters:\n - forbidigo\n - text: 'use of `regexp.MustCompile` forbidden'\n path: "internal/lazyregexp"\n linters:\n - forbidigo\n - text: 'use of `regexp.MustCompile` forbidden'\n path: "libnetwork/cmd/networkdb-test/dbclient"\n linters:\n - forbidigo\n\n # Maximum issues count per one linter. Set to 0 to disable. Default is 50.\n max-issues-per-linter: 0\n\n # Maximum count of issues with the same text. Set to 0 to disable. Default is 3.\n max-same-issues: 0\n
dataset_sample\yaml\moby_moby\.golangci.yml
.golangci.yml
YAML
12,129
0.95
0.094862
0.186667
awesome-app
991
2024-05-25T06:37:33.068012
GPL-3.0
false
845f99f7263baa4c8646ab0d8bf62da9
comment: false\n\ngithub_checks:\n annotations: false\n\ncoverage:\n status:\n patch: false\n # project will give us the diff in the total code coverage between a commit\n # and its parent\n project:\n default:\n target: auto\n threshold: "15%"\n changes: false\n\nignore:\n - "vendor/**/*"\n
dataset_sample\yaml\moby_moby\codecov.yml
codecov.yml
YAML
311
0.8
0
0.133333
node-utils
792
2023-12-22T07:29:35.307208
Apache-2.0
false
226f8b32d945d3540c7e4f41b758fbec
# Read the Docs configuration file for Sphinx projects\n# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details\n\n# Required\nversion: 2\n\n# Set the OS, Python version and other tools we might need\nbuild:\n os: ubuntu-22.04\n tools:\n python: "3.12"\n\n# Build documentation in the "docs/" directory with Sphinx\nsphinx:\n configuration: docs/conf.py\n\n# Build documentation in additional formats such as PDF and ePub\nformats: all\n\n# Build requirements for our documentation\n# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html\npython:\n install:\n - requirements: docs/requirements.txt\n
dataset_sample\yaml\mockery_mockery\.readthedocs.yml
.readthedocs.yml
YAML
626
0.95
0.125
0.421053
react-lib
661
2024-06-09T20:12:05.984645
BSD-3-Clause
false
dde35a474189bc44ee229752f37ccb57
# Docs https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms\nname: Bug report\ndescription: File a bug report to help us improve Mockery\nlabels:\n - bug\n - triage\nbody:\n - type: markdown\n attributes:\n value: |\n Thanks for taking the time to fill out this bug report!\n - type: input\n attributes:\n label: Mockery Version\n description: What version of Mockery do you have installed?\n validations:\n required: true\n - type: dropdown\n attributes:\n label: PHP Version\n description: What version of PHP do you have installed?\n multiple: true\n options:\n - PHP 7.3\n - PHP 7.4\n - PHP 8.0\n - PHP 8.1\n - PHP 8.2\n - PHP 8.3\n validations:\n required: true\n - type: textarea\n attributes:\n label: Issue Description\n description: Please describe the issue you are experiencing.\n validations:\n required: true\n - type: textarea\n attributes:\n label: Steps to Reproduce\n description: Please provide clear steps to reproduce the issue, if applicable.\n - type: textarea\n attributes:\n label: Expected Behavior\n description: Please describe what you expected to happen.\n - type: textarea\n attributes:\n label: Actual Behavior\n description: Please describe what actually happened.\n - type: textarea\n attributes:\n label: Exception or Error\n description: Please provide error logs, if applicable.\n - type: textarea\n attributes:\n label: Additional Information\n description: Please provide any additional information that may be helpful in resolving this issue.\n
dataset_sample\yaml\mockery_mockery\.github\ISSUE_TEMPLATE\BUG_REPORT.yml
BUG_REPORT.yml
YAML
1,748
0.95
0.070175
0.017544
react-lib
27
2024-12-19T19:21:30.296249
Apache-2.0
false
d0589197788b8253c1b4b2efa5ae3676
name: Codecov\non:\n pull_request:\n push:\n branches:\n - "[0-9]+.[0-9]+.x"\n # Allow manually triggering the workflow.\n workflow_dispatch:\n\njobs:\n run:\n runs-on: ubuntu-latest\n strategy:\n matrix:\n php: ['8.3']\n steps:\n - name: Checkout\n uses: actions/checkout@v4\n\n - name: Set up PHP ${{ matrix.php }}\n uses: shivammathur/setup-php@v2\n with:\n php-version: ${{ matrix.php }}\n ini-values: assert.exception=1, zend.assertions=1, error_reporting=-1, log_errors_max_len=0, display_errors=On\n tools: composer:v2\n extensions: mongodb, redis-phpredis/phpredis@develop\n\n - name: Get composer cache directory\n id: composer-cache\n run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT\n\n - name: Cache dependencies\n uses: actions/cache@v4\n with:\n path: ${{ steps.composer-cache.outputs.dir }}\n key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}\n restore-keys: ${{ runner.os }}-composer-\n\n - name: Install dependencies\n working-directory: ${{ github.workspace }}\n run: |\n composerCommand="install"\n composerOptions=("--no-interaction" "--no-progress" "--ansi")\n # Use `update` if there is no composer.lock file\n if [ ! -f "composer.lock" ]; then\n composerCommand="update"\n fi\n fullCommand="composer ${composerCommand} ${composerOptions[*]}"\n echo "Running: ${fullCommand}"\n ${fullCommand}\n\n - name: Run PHPUnit to collect coverage\n run: composer phpunit\n\n - name: Upload coverage to Codecov\n uses: codecov/codecov-action@v4\n with:\n directory: ${{ github.workspace }}/.cache/phpunit/\n token: ${{ secrets.CODECOV_TOKEN }}\n verbose: true\n\n - name: Upload test results to Codecov\n uses: codecov/test-results-action@v1\n with:\n directory: ${{ github.workspace }}/.cache/phpunit/\n token: ${{ secrets.CODECOV_TOKEN }}\n verbose: true\n
dataset_sample\yaml\mockery_mockery\.github\workflows\codecov.yml
codecov.yml
YAML
2,112
0.8
0.029851
0.033898
python-kit
850
2024-11-13T13:08:36.489825
Apache-2.0
false
92a651c9e2d339a956e401af4ea2d141
name: Psalm Static analysis\n\non:\n pull_request:\n push:\n branches:\n - "[0-9]+.[0-9]+.x"\n # Allow manually triggering the workflow.\n workflow_dispatch:\n\nconcurrency:\n group: psalm-${{ github.head_ref || github.run_id }}\n cancel-in-progress: true\n\njobs:\n psalm:\n name: Psalm\n runs-on: ubuntu-latest\n steps:\n - name: Checkout\n uses: actions/checkout@v4\n\n - name: Set up php\n uses: shivammathur/setup-php@v2\n with:\n coverage: none\n php-version: 8.4\n ini-values: assert.exception=1, zend.assertions=1, error_reporting=-1, log_errors_max_len=0, display_errors=On\n tools: psalm:6.7.1\n\n - name: Get composer cache directory\n id: composer-cache\n run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT\n\n - name: Cache dependencies\n uses: actions/cache@v4\n with:\n path: ${{ steps.composer-cache.outputs.dir }}\n key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}\n restore-keys: ${{ runner.os }}-composer-\n\n - name: Install dependencies\n working-directory: ${{ github.workspace }}\n run: |\n composerCommand="install"\n composerOptions=("--no-interaction" "--no-progress" "--ansi")\n # Use `update` if there is no composer.lock file\n if [ ! -f "composer.lock" ]; then\n composerCommand="update"\n fi\n fullCommand="composer ${composerCommand} ${composerOptions[*]}"\n echo "Running: ${fullCommand}"\n ${fullCommand}\n\n - name: Run Psalm\n run: psalm --no-cache --no-diff --output-format=github --shepherd --stats\n
dataset_sample\yaml\mockery_mockery\.github\workflows\psalm.yml
psalm.yml
YAML
1,689
0.8
0.035714
0.041667
awesome-app
801
2024-10-10T15:14:14.715506
Apache-2.0
false
a20417ed95ccf8cc0634b01ff745585d
services:\n laravel.test: &app\n build:\n context: ./vendor/laravel/sail/runtimes/8.4\n dockerfile: Dockerfile\n args:\n WWWGROUP: '${WWWGROUP}'\n image: sail-8.4/app\n extra_hosts:\n - 'host.docker.internal:host-gateway'\n ports:\n - '${APP_PORT:-80}:80'\n - '${VITE_PORT:-5173}:${VITE_PORT:-5173}'\n environment:\n WWWUSER: '${WWWUSER}'\n LARAVEL_SAIL: 1\n XDEBUG_MODE: '${SAIL_XDEBUG_MODE:-off}'\n XDEBUG_CONFIG: '${SAIL_XDEBUG_CONFIG:-client_host=host.docker.internal}'\n IGNITION_LOCAL_SITES_PATH: '${PWD}'\n volumes:\n - '.:/var/www/html'\n networks:\n - sail\n depends_on:\n - mariadb\n - redis\n - memcached\n - meilisearch\n - mailpit\n laravel.queue:\n <<: *app\n command: 'php artisan queue:work --sleep=10 --timeout=0 --tries=3 --queue=high,default,low'\n laravel.cron:\n <<: *app\n command: 'php artisan schedule:run'\n mariadb:\n image: 'mariadb:10'\n ports:\n - '${FORWARD_DB_PORT:-3306}:3306'\n environment:\n MYSQL_ROOT_PASSWORD: '${DB_PASSWORD}'\n MYSQL_ROOT_HOST: '%'\n MYSQL_DATABASE: '${DB_DATABASE}'\n MYSQL_USER: '${DB_USERNAME}'\n MYSQL_PASSWORD: '${DB_PASSWORD}'\n MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'\n volumes:\n - 'sail-mariadb:/var/lib/mysql'\n - './vendor/laravel/sail/database/mysql/create-testing-database.sh:/docker-entrypoint-initdb.d/10-create-testing-database.sh'\n networks:\n - sail\n healthcheck:\n test:\n - CMD\n - mysqladmin\n - ping\n - '-p${DB_PASSWORD}'\n retries: 3\n timeout: 5s\n redis:\n image: 'redis:alpine'\n ports:\n - '${FORWARD_REDIS_PORT:-6379}:6379'\n volumes:\n - 'sail-redis:/data'\n networks:\n - sail\n healthcheck:\n test:\n - CMD\n - redis-cli\n - ping\n retries: 3\n timeout: 5s\n memcached:\n image: 'memcached:alpine'\n ports:\n - '${FORWARD_MEMCACHED_PORT:-11211}:11211'\n networks:\n - sail\n meilisearch:\n image: 'getmeili/meilisearch:latest'\n ports:\n - '${FORWARD_MEILISEARCH_PORT:-7700}:7700'\n environment:\n MEILI_NO_ANALYTICS: '${MEILISEARCH_NO_ANALYTICS:-false}'\n volumes:\n - 'sail-meilisearch:/meili_data'\n networks:\n - sail\n healthcheck:\n test:\n - CMD\n - wget\n - '--no-verbose'\n - '--spider'\n - 'http://localhost:7700/health'\n retries: 3\n timeout: 5s\n mailpit:\n image: 'axllent/mailpit:latest'\n ports:\n - '${FORWARD_MAILPIT_PORT:-1025}:1025'\n - '${FORWARD_MAILPIT_DASHBOARD_PORT:-8025}:8025'\n networks:\n - sail\nnetworks:\n sail:\n driver: bridge\nvolumes:\n sail-mariadb:\n driver: local\n sail-redis:\n driver: local\n sail-meilisearch:\n driver: local\n
dataset_sample\yaml\monicahq_monica\docker-compose.yml
docker-compose.yml
YAML
2,802
0.8
0
0
python-kit
312
2024-02-03T07:00:35.190676
GPL-3.0
false
cc40d5fbbd48661334bb75e40f67092d
# differentiate from the deployment files\nversion: 2\n\n# optional Composer settings\ncomposer:\n # Resolves to the --no-dev parameter\n no-dev: true\n\n# called after Composer runs\npost: artisan monica:setup --force --verbose\n\n# list of sustained folders in ~/htdocs. If not given, then it defaults to the "vendor" folder\nsustained:\n - storage\n - vendor\n
dataset_sample\yaml\monicahq_monica\fortrabbit.yml
fortrabbit.yml
YAML
352
0.8
0
0.416667
node-utils
761
2024-03-26T09:42:28.471983
MIT
false
073e7c9d45ecb5845bb4291e209a7bbc
version: 2\n\nupdates:\n # Maintain dependencies for GitHub Actions\n - package-ecosystem: github-actions\n directory: '/'\n schedule:\n interval: weekly\n\n # Maintain dependencies for npm\n - package-ecosystem: npm\n directory: '/'\n schedule:\n interval: weekly\n versioning-strategy: lockfile-only\n\n # Maintain dependencies for Composer\n - package-ecosystem: composer\n directory: '/'\n schedule:\n interval: weekly\n versioning-strategy: lockfile-only\n
dataset_sample\yaml\monicahq_monica\.github\dependabot.yml
dependabot.yml
YAML
484
0.8
0.136364
0.157895
react-lib
503
2024-07-09T10:27:43.536613
MIT
false
31137915a3b8bde77ce07e24c6648750
name: Bug report\ndescription: Create a report to help us improve\nlabels: ['bug']\nbody:\n - type: markdown\n attributes:\n value: |\n ### πŸ‘ Thank you for your bug report β€” we love squashing them!\n Please note this is a **free and open-source** project. We take our own time to help you, so please, be patient.\n - type: checkboxes\n id: check\n attributes:\n label: '⚠️ This issue respects the following points: ⚠️'\n description: All conditions are **required**. Your issue can be closed if these are checked incorrectly.\n options:\n - label: This is a **bug**, not a question or a configuration/webserver/proxy issue.\n required: true\n - label: This issue is **not** already reported on [Github](https://github.com/monicahq/monica/issues?q=is%3Aopen+is%3Aissue+label%3Abug) _(I've searched it)_.\n required: true\n - label: I agree to follow Monica's [Code of Conduct](https://github.com/monicahq/monica/blob/main/CODE_OF_CONDUCT.md).\n required: true\n - type: input\n id: description\n attributes:\n label: Bug description\n description: |\n Please describe the bug you are experiencing.\n validations:\n required: true\n - type: textarea\n id: reproduce\n attributes:\n label: Steps to reproduce\n description: |\n How do you trigger this bug? Please walk us through it step by step.\n value: |\n 1.\n 2.\n 3.\n ...\n validations:\n required: true\n - type: textarea\n id: expected\n attributes:\n label: Expected behavior\n description: Describe what you expected to happen instead.\n validations:\n required: true\n - type: dropdown\n id: environment\n attributes:\n label: Environment\n description: Environment or version where the bug happens.\n options:\n - app.monicahq.com (monica v4)\n - beta.monicahq.com (v5 a.k.a chandler version or main branch)\n - Your own self-hosted instance (monica v4)\n - Your own self-hosted instance (v5 a.k.a chandler version or main branch)\n validations:\n required: true\n - type: input\n id: version\n attributes:\n label: Version of Monica\n description: |\n Monica's semver version or commit number.\n - type: dropdown\n id: install-method\n attributes:\n label: Installation method\n description: |\n Select installation method you've used.\n _Describe the method in the "Additional info" section if you chose "Other"._\n options:\n - Manual installation with Archive\n - Docker image\n - Other\n - type: dropdown\n id: webserver\n attributes:\n label: Web server\n description: |\n Select Webserver serving Monica Server.\n _Describe in the "Additional info" section if you chose "Other"._\n options:\n - Apache\n - Nginx\n - Other\n - type: dropdown\n id: database\n attributes:\n label: Database engine version\n description: |\n Select Database engine serving Monica Server.\n _Describe in the "Additional info" section if you chose "Other"._\n options:\n - MySQL\n - MariaDB\n - PostgreSQL\n - SQlite\n - Other\n - type: textarea\n id: additional-info\n attributes:\n label: Additional info\n description: |\n Please add any other information related to the bug: screenshots, links, any context that can speed-up resolution.\n
dataset_sample\yaml\monicahq_monica\.github\ISSUE_TEMPLATE\bug_report.yml
bug_report.yml
YAML
3,498
0.95
0.046296
0.009259
python-kit
46
2024-06-01T13:29:47.344071
GPL-3.0
false
230807444ac2f636db9a9db4aed1c361
name: Deploy\n\non:\n push:\n branches:\n - main\n workflow_dispatch:\n\njobs:\n deploy:\n runs-on: ubuntu-latest\n\n environment: deploy\n\n steps:\n - name: Repository Dispatch\n uses: peter-evans/repository-dispatch@v3\n with:\n token: ${{ secrets.GH_TOKEN }}\n event-type: ${{ secrets.EVENT_TYPE }}\n repository: ${{ secrets.REPO_URL }}\n client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "repository": "${{ github.repository }}"}'\n
dataset_sample\yaml\monicahq_monica\.github\workflows\deploy.yml
deploy.yml
YAML
514
0.7
0
0
awesome-app
393
2024-06-27T01:20:16.127840
GPL-3.0
false
47da1e20137d8cb5e555e4a0c50b1d68
name: Docker\n\non:\n push:\n branches:\n - main\n pull_request:\n types: [opened, synchronize, reopened]\n release:\n types: [published]\n\n workflow_dispatch:\n\nconcurrency:\n group: Docker ${{ github.ref }}\n cancel-in-progress: true\n\nenv:\n package-name: monica-next\n registry: ghcr.io\n\njobs:\n docker-run:\n runs-on: ubuntu-latest\n name: Docker build developpment\n\n strategy:\n fail-fast: false\n matrix:\n flavor:\n - name: apache\n file: scripts/docker/Dockerfile\n tag: main\n suffix:\n - name: fpm\n file: scripts/docker/Dockerfile-fpm\n tag: main-fpm\n suffix: -fpm\n\n permissions:\n contents: read\n packages: write\n\n steps:\n - name: Checkout sources\n uses: actions/checkout@v4\n with:\n fetch-depth: 0\n\n - name: Docker meta\n id: docker_meta\n uses: docker/metadata-action@v5\n with:\n images: ${{ env.registry }}/${{ github.repository_owner }}/${{ env.package-name }}\n tags: |\n type=schedule\n type=ref,event=branch\n type=ref,event=tag\n type=ref,event=pr\n type=semver,pattern={{version}}\n type=semver,pattern={{major}}.{{minor}}\n type=semver,pattern={{major}}\n labels: |\n org.opencontainers.image.description="This is MonicaHQ, your personal memory! MonicaHQ is like a CRM but for the friends, family, and acquaintances around you."\n org.opencontainers.image.title="MonicaHQ, the Personal Relationship Manager"\n org.opencontainers.image.vendor="Monica"\n flavor: |\n latest=${{ matrix.flavor.tag == 'main' && 'auto' || 'false' }}\n suffix=${{ matrix.flavor.suffix }}\n\n - name: Set up Docker Buildx\n uses: docker/setup-buildx-action@v3\n\n - name: Login to GitHub container registry\n uses: docker/login-action@v3\n with:\n registry: ${{ env.registry }}\n username: ${{ github.actor }}\n password: ${{ secrets.GITHUB_TOKEN }}\n\n # Configure\n - name: Configure variables\n run: scripts/docker/build.sh --skip-build $GITHUB_SHA\n\n # Build docker\n - name: Docker build\n id: docker_build\n uses: docker/build-push-action@v6\n with:\n push: ${{ github.event_name != 'pull_request' }}\n tags: ${{ steps.docker_meta.outputs.tags }}\n cache-from: type=registry,ref=${{ env.registry }}/${{ github.repository_owner }}/${{ env.package-name }}:${{ matrix.flavor.tag }}\n labels: ${{ steps.docker_meta.outputs.labels }}\n file: ${{ matrix.flavor.file }}\n context: .\n platforms: ${{ (github.event_name != 'pull_request') && 'linux/amd64,linux/arm64' || 'linux/amd64' }}\n outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=This is MonicaHQ your personal memory! MonicaHQ is like a CRM but for the friends family and acquaintances around you.\n\n - name: Image digest\n run: echo ${{ steps.docker_build.outputs.digest }}\n\n - name: Prune images\n uses: vlaurin/action-ghcr-prune@v0.6.0\n if: github.event_name != 'pull_request'\n with:\n token: ${{ secrets.GITHUB_TOKEN }}\n organization: ${{ github.repository_owner }}\n container: ${{ env.package-name }}\n keep-younger-than: 15\n prune-untagged: true\n
dataset_sample\yaml\monicahq_monica\.github\workflows\docker.yml
docker.yml
YAML
3,497
0.8
0.027273
0.021053
react-lib
456
2023-12-25T02:15:32.606351
BSD-3-Clause
false
d7473e01cc20f525cdbbe90221374524
name: Lint files\n\non:\n pull_request:\n types: [opened, synchronize, reopened]\n\nconcurrency:\n group: Lint files ${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n php:\n name: Lint PHP files\n uses: monicahq/workflows/.github/workflows/lint_php.yml@v2\n\n vue:\n name: Lint Vue files\n uses: monicahq/workflows/.github/workflows/lint_vue.yml@v2\n with:\n node-version: 22\n
dataset_sample\yaml\monicahq_monica\.github\workflows\lint.yml
lint.yml
YAML
391
0.7
0
0
node-utils
105
2023-12-01T02:16:56.519965
Apache-2.0
false
f63010a48100d9e590fe2abec03feafe
name: Lock Threads\n# See https://github.com/dessant/lock-threads\n\non:\n schedule:\n - cron: '0 0 * * *'\n\njobs:\n lock:\n runs-on: ubuntu-latest\n steps:\n - uses: dessant/lock-threads@v5\n with:\n github-token: ${{ github.token }}\n exclude-any-issue-labels: retained\n issue-comment: |\n This issue has been automatically locked since there\n has not been any recent activity after it was closed.\n Please open a new issue for related bugs.\n exclude-any-pr-labels: wip\n pr-comment: |\n This pull request has been automatically locked since there\n has not been any recent activity after it was closed.\n Please open a new issue for related bugs.\n
dataset_sample\yaml\monicahq_monica\.github\workflows\lock.yml
lock.yml
YAML
765
0.8
0.083333
0.045455
react-lib
417
2024-10-16T23:42:25.694948
Apache-2.0
false
655b9afebebd33905409c4cb5aba40d1
name: Release\n\non:\n pull_request:\n branches-ignore: ['*']\n push:\n branches:\n - next\n - next-major\n - beta\n - alpha\n\n workflow_dispatch:\n\nenv:\n php-version: '8.3'\n build-node-version: 22\n\njobs:\n ####################\n # Semantic release\n ####################\n semantic:\n if: github.event_name != 'pull_request'\n uses: monicahq/workflows/.github/workflows/release.yml@v2\n with:\n semantic_version: 23\n secrets:\n GH_TOKEN_RELEASE: ${{ secrets.GH_TOKEN_RELEASE }}\n\n package:\n needs: semantic\n runs-on: ubuntu-latest\n name: Package release\n if: needs.semantic.outputs.new_release_published == 'true'\n\n steps:\n - name: Checkout repository\n uses: actions/checkout@v4\n with:\n ref: v${{ needs.semantic.outputs.new_release_version }}\n - name: Download changelog file\n uses: actions/download-artifact@v4\n with:\n name: changelog\n\n - name: Setup PHP ${{ env.php-version }}\n uses: shivammathur/setup-php@v2\n with:\n php-version: ${{ env.php-version }}\n coverage: none\n\n # Composer\n - name: Get Composer Cache Directory\n id: composer-cache\n run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT\n - name: Cache composer files\n uses: actions/cache@v4\n with:\n path: ${{ steps.composer-cache.outputs.dir }}\n key: ${{ runner.os }}-composer-${{ env.php-version }}-${{ hashFiles('**/composer.lock') }}\n restore-keys: |\n ${{ runner.os }}-composer-${{ env.php-version }}-${{ hashFiles('**/composer.lock') }}\n ${{ runner.os }}-composer-${{ env.php-version }}\n ${{ runner.os }}-composer-\n\n # Yarn\n - name: Setup Node.js\n uses: actions/setup-node@v4\n with:\n node-version: ${{ env.build-node-version }}\n cache: yarn\n\n - name: Import key\n run: echo -e "$GPG_KEY" | gpg --batch --yes --import -\n env:\n GPG_KEY: ${{ secrets.GPG_KEY }}\n\n - name: Create package\n id: package\n run: scripts/ci/package.sh 'v${{ needs.semantic.outputs.new_release_version }}' $GITHUB_SHA\n env:\n GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}\n GPG_FINGERPRINT: ${{ secrets.GPG_FINGERPRINT }}\n\n - name: Publish package\n run: |\n for f in {${{ steps.package.outputs.package }},${{ steps.package.outputs.assets }}}{,.asc,.sha512,.sha512.asc}; do\n echo "Uploading release file '$f'…"\n gh release upload 'v${{ needs.semantic.outputs.new_release_version }}' "$f" --clobber\n done\n env:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n - name: Store package\n uses: actions/upload-artifact@v4\n with:\n name: package\n path: ${{ steps.package.outputs.package }}\n\n - name: Store assets\n uses: actions/upload-artifact@v4\n with:\n name: assets\n path: ${{ steps.package.outputs.assets }}\n\n docker-workflow:\n needs: [semantic, package]\n runs-on: ubuntu-latest\n name: Docker release create\n if: needs.semantic.outputs.new_release_published == 'true'\n\n steps:\n - name: Dispatch docker release\n uses: benc-uk/workflow-dispatch@v1\n with:\n workflow: Release update\n repo: monicahq/docker\n ref: refs/heads/main\n token: ${{ secrets.DOCKER_GITHUB_TOKEN }}\n
dataset_sample\yaml\monicahq_monica\.github\workflows\release.yml
release.yml
YAML
3,480
0.95
0.033333
0.048077
awesome-app
644
2024-05-22T21:59:34.839892
GPL-3.0
false
fe423d04222d671aecc805edf616ab3f
name: Lint PR\n\non:\n pull_request:\n types: [opened, edited, synchronize]\n\njobs:\n main:\n name: Validate PR title\n runs-on: ubuntu-latest\n steps:\n - uses: amannn/action-semantic-pull-request@v5\n env:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n
dataset_sample\yaml\monicahq_monica\.github\workflows\semantic.yml
semantic.yml
YAML
275
0.7
0
0
react-lib
381
2023-08-07T13:53:22.913571
GPL-3.0
false
22eaf2d4536ad315a43578c77206b1c9
name: Static analysis\n\non:\n pull_request:\n types: [opened, synchronize, reopened]\n\nconcurrency:\n group: Static ${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n statics:\n name: Static analysis\n uses: monicahq/workflows/.github/workflows/static.yml@v2\n with:\n php-version: 8.3\n with: phpstan\n
dataset_sample\yaml\monicahq_monica\.github\workflows\static_analysis.yml
static_analysis.yml
YAML
319
0.7
0
0
awesome-app
956
2024-08-24T17:35:43.691288
Apache-2.0
false
1ea4be48de0bc741d2cb4628b08b82cd
ο»Ώ# These are supported funding model platforms\n\n# github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]\n# patreon: # Replace with a single Patreon username\n# open_collective: # Replace with a single Open Collective username\n# ko_fi: # Replace with a single Ko-fi username\n# tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel\n# community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry\n# liberapay: # Replace with a single Liberapay username\n# issuehunt: # Replace with a single IssueHunt username\n# otechie: # Replace with a single Otechie username\npatreon: MonoGame\ngithub: MonoGame\n[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K3K9QACYMZMUE)\n
dataset_sample\yaml\MonoGame_MonoGame\.github\FUNDING.yml
FUNDING.yml
YAML
846
0.8
0
0.692308
python-kit
277
2023-12-20T08:55:36.709924
MIT
false
eac2996f2f65f42d8e3f5f41d2fc9ed3
name: Bug Report\ndescription: Create a bug report to help us improve MonoGame.\nbody:\n- type: markdown\n attributes:\n value: |\n If this is a general question about MonoGame, please ask on the [community site](https://monogame.net/community) or [join the discord](https://discord.gg/monogame).\n- type: checkboxes\n id: prerequisites\n attributes:\n label: Prerequisites\n options:\n - label: I have verified this issue is present in the `develop` branch\n required: true\n - label: I have searched [open](https://github.com/MonoGame/MonoGame/issues) and [closed](https://github.com/MonoGame/MonoGame/issues?q=is%3Aissue+is%3Aclosed) issues to ensure it has not already been reported.\n required: true\n- type: input\n id: monogame-version\n validations:\n required: true\n attributes:\n label: MonoGame Version\n placeholder: MonoGame 3.8.1.303\n description: Which version of MonoGame does this bug occur in.\n- type: dropdown\n id: monogame-platform\n validations:\n required: true\n attributes:\n label: Which MonoGame platform are you using?\n options:\n - MonoGame Android Application (mgandroid)\n - MonoGame Cross-Platform Desktop Application (mgdesktopgl)\n - MonoGame Windows Desktop Application (mgwindowsdx)\n - MonoGame iOS Application (mgios)\n - N/A\n- type: input\n id: operating-system\n validations:\n required: true\n attributes:\n label: Operating System\n placeholder: Windows, Mac, or Linux\n description: Which operating system are you using?\n- type: textarea\n id: description\n validations:\n required: true\n attributes:\n label: Description\n placeholder: Description\n description: Please describe the bug you encountered.\n- type: textarea\n id: reproduction\n validations:\n required: true\n attributes:\n label: Steps to Reproduce\n placeholder: |\n Reproduction steps\n Include code inside markdown code blocks like the following:\n\n ```cs\n public void Foo()\n {\n return bar;\n }\n ```\n description: |\n Please include the steps we can take to reproduce the problem.\n Where possible, include text as text rather than screenshots so it can be searchable.\n Please put code inside [markdown code blocks](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#quoting-code)\n- type: input\n id: minimal-repo\n validations:\n required: false\n attributes:\n label: Minimal Example Repo\n placeholder: https://github.com/MyGithub/ExampleRepo\n description: |\n If possible, please include a link to a repo where you have uploaded a minimal example that demonstrates the issue.\n- type: textarea\n id: expected-behavior\n validations:\n required: true\n attributes:\n label: Expected Behavior\n placeholder: When I perform this action, I expect this result to occur.\n description: Provide a description of the expected behavior.\n- type: textarea\n id: resulting-behavior\n validations:\n required: true\n attributes:\n label: Resulting Behavior\n placeholder: This is the resulting behavior observed.\n description: |\n Provide a description of the resulting behavior observed.\n Please include any error messages and/or stack traces if possible.\n- type: textarea\n id: other-info\n validations:\n required: false\n attributes:\n label: Files\n description: |\n Please upload any files or images here that can be useful in describing or reproducing this issue. If the file type cannot be supported, it can be zipped and then uploaded instead.\n
dataset_sample\yaml\MonoGame_MonoGame\.github\ISSUE_TEMPLATE\01_bug_report.yml
01_bug_report.yml
YAML
3,644
0.95
0.009346
0
react-lib
534
2024-09-09T01:01:47.169781
BSD-3-Clause
false
a3c1a3ebc98a6c1a01f936c1e7408882
name: Feature Request\ndescription: Propose a feature to be added or removed from MonoGame.\nlabels: ["Feature Request"]\nbody:\n- type: markdown\n attributes:\n value: |\n Thank you for taking the time to submit this feature request.\n Please note that feature requests will be reviewed and discussed, which takes time, before approval or denial.\n Please use the following template to help us gather the information we need to start this process.\n- type: textarea\n id: intent\n validations:\n required: true\n attributes:\n label: Intent\n description: Please describe the intent of this new feature.\n placeholder: Intent\n- type: textarea\n id: motivation\n validations:\n required: true\n attributes:\n label: Motivation\n description: Please describe the motivation for wanting this feature to be implemented. How does it benefit the users of MonoGame?\n placeholder: Motivation\n
dataset_sample\yaml\MonoGame_MonoGame\.github\ISSUE_TEMPLATE\02_feature_request.yml
02_feature_request.yml
YAML
912
0.85
0.076923
0
react-lib
827
2024-10-31T20:47:24.339417
MIT
false
b6c24d61a98e4ba8d47bca03df81c4fa
blank_issues_enabled: true\ncontact_links:\n - name: Community Forums\n url: https://monogame.net/community\n about: Ask the community for help on the community forums.\n - name: Community Discord\n url: https://discord.gg/monogame\n about: Ask the community for help on the community discord.\n
dataset_sample\yaml\MonoGame_MonoGame\.github\ISSUE_TEMPLATE\config.yml
config.yml
YAML
313
0.8
0.25
0
python-kit
814
2023-11-01T21:09:17.448908
GPL-3.0
false
da524d8eac0eca4af487914b5ad6e90b
name: Build\n\non: [push, pull_request]\n\njobs:\n build:\n name: build-${{ matrix.os }}\n runs-on: ${{ matrix.os }}\n strategy:\n matrix:\n os: [windows-latest, macos-latest, ubuntu-latest]\n fail-fast: false\n steps:\n - name: Clone repository\n uses: actions/checkout@v4\n with:\n submodules: recursive\n\n - name: Setup .NET Core SDK ${{ matrix.dotnet-version }}\n uses: actions/setup-dotnet@v4\n with:\n dotnet-version: '8.0.x'\n\n - name: Add msbuild to PATH\n if: runner.os == 'Windows'\n uses: microsoft/setup-msbuild@v1.0.2\n\n - name: Setup Premake5\n uses: abel0b/setup-premake@v2.4\n with:\n version: "5.0.0-beta2"\n\n - name: Setup Java\n uses: actions/setup-java@v4\n with:\n distribution: 'microsoft'\n java-version: '17'\n\n - name: Install Vulkan SDK\n uses: humbletim/setup-vulkan-sdk@523828e49cd4afabce369c39c7ee6543a2b7a735\n with:\n vulkan-query-version: 1.3.283.0\n vulkan-use-cache: true\n\n - name: Disable Annotations\n run: echo "::remove-matcher owner=csc::"\n\n - name: Install Dependencies\n run: |\n if [ "$RUNNER_OS" == "Linux" ]; then\n dotnet workload install android\n sudo apt install p7zip-full curl\n sudo dpkg --add-architecture i386 \n sudo mkdir -pm755 /etc/apt/keyrings\n sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key\n sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources\n sudo apt update && sudo apt install --install-recommends winehq-stable\n echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | sudo debconf-set-selections\n sudo apt install -y ttf-mscorefonts-installer\n sudo fc-cache\n fc-match Arial\n wine64 --version\n wget -qO- https://monogame.net/downloads/net9_mgfxc_wine_setup.sh | bash\n elif [ "$RUNNER_OS" == "Windows" ]; then\n dotnet.exe workload install android\n else\n dotnet workload install android macos ios\n brew install wine-stable p7zip\n sudo mkdir -p /usr/local/lib\n ls -n /Applications/ | grep Xcode*\n sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer\n wget -qO- https://monogame.net/downloads/net9_mgfxc_wine_setup.sh | bash\n fi\n shell: bash\n\n - name: Build\n run: dotnet run --project build/Build.csproj -- --target=Default\n\n - name: Run Tests\n run: |\n if [ "$RUNNER_OS" == "Windows" ]; then\n dotnet test Tools/MonoGame.Tools.Tests/MonoGame.Tools.Tests.csproj --blame-hang-timeout 5m -c Release\n elif [ "$RUNNER_OS" == "Linux" ]; then\n MGFXC_WINE_PATH=/home/runner/.winemonogame dotnet test Tools/MonoGame.Tools.Tests/MonoGame.Tools.Tests.csproj --blame-hang-timeout 5m -c Release --filter="TestCategory!=Audio"\n else\n MGFXC_WINE_PATH=/Users/runner/.winemonogame dotnet test Tools/MonoGame.Tools.Tests/MonoGame.Tools.Tests.csproj --blame-hang-timeout 5m -c Release --filter="TestCategory!=Audio"\n fi\n env:\n CI: true\n shell: bash\n\n - name: Expose GitHub Runtime\n uses: crazy-max/ghaction-github-runtime@v3\n\n - name: Upload Artifacts\n run: dotnet run --project build/Build.csproj -- --target=UploadArtifacts\n env:\n ACTIONS_RUNTIME_TOKEN: ${{ env.ACTIONS_RUNTIME_TOKEN }}\n ACTIONS_RUNTIME_URL: "${{ env.ACTIONS_RUNTIME_URL }}"\n deploy:\n name: Deploy\n needs: [ build ]\n runs-on: ubuntu-latest\n if: ${{ github.event_name == 'push' }}\n permissions:\n packages: write\n contents: write\n steps:\n - name: Clone Repository\n uses: actions/checkout@v4\n\n - name: Setup .NET ${{ matrix.dotnet-version }}\n uses: actions/setup-dotnet@v4\n with:\n dotnet-version: '8.0.x'\n\n - name: Expose GitHub Runtime\n uses: crazy-max/ghaction-github-runtime@v3\n\n - name: Push Nugets\n run: dotnet run --project build/Build.csproj -- --target=Deploy\n env:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}\n MARKETPLACE_PAT: ${{ secrets.MARKETPLACE_PAT }}\n\n - name: Make a Release\n if: github.ref_type == 'tag'\n uses: ncipollo/release-action@v1\n with:\n name: 'MonoGame ${{ github.ref_name }}'\n tag: ${{ github.ref_name }}\n allowUpdates: true\n removeArtifacts: true\n artifacts: "nugets/*.nupkg;vsix/MonoGame.Templates.VSExtension.vsix"\n token: ${{ secrets.GITHUB_TOKEN }}\n\n tests:\n name: tests-${{ matrix.os }}\n needs: [ build ]\n runs-on: ${{ matrix.os }}\n strategy:\n matrix:\n include:\n - os: windows\n platform: windows\n shell: cmd\n - os: macos\n platform: macos\n shell: bash\n - os: ubuntu-latest\n platform: linux\n shell: bash\n filter: --where="Category != Audio"\n # - os: linux\n # platform: linux\n fail-fast: false\n defaults:\n run:\n shell: ${{ matrix.shell }}\n steps:\n - name: Clone repository\n uses: actions/checkout@v4\n with:\n submodules: recursive\n\n - name: Setup .NET Core SDK ${{ matrix.dotnet-version }}\n uses: actions/setup-dotnet@v4\n with:\n dotnet-version: '8.0.x'\n if: runner.environment == 'github-hosted'\n\n - name: install wine64 on linux\n run: |\n sudo apt install p7zip-full curl\n sudo dpkg --add-architecture i386 \n sudo mkdir -pm755 /etc/apt/keyrings\n sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key\n sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources\n sudo apt update && sudo apt install --install-recommends winehq-stable\n if: runner.os == 'Linux' && runner.environment == 'github-hosted'\n\n - name: Install Arial Font\n run: |\n echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | sudo debconf-set-selections\n sudo apt install -y ttf-mscorefonts-installer\n sudo fc-cache\n fc-match Arial\n if: runner.os == 'Linux' && runner.environment == 'github-hosted'\n\n - name: Setup Wine \n run: wget -qO- https://monogame.net/downloads/net9_mgfxc_wine_setup.sh | bash\n if: runner.os != 'Windows' && runner.environment == 'github-hosted'\n\n - name: Download Nuget\n uses: actions/download-artifact@v4\n with:\n name: nuget-${{ matrix.platform }}\n path: Artifacts/NuGet\n\n - name: Download tests-tools-${{ matrix.platform }}\n uses: actions/download-artifact@v4\n with:\n name: tests-tools-${{ matrix.platform }}\n path: tests tools\n\n - name: Download tests-desktopgl-${{ matrix.platform }}\n uses: actions/download-artifact@v4\n with:\n name: tests-desktopgl-${{ matrix.platform }}\n path: tests-desktopgl\n \n - name: Download tests-windowsdx-${{ matrix.platform }}\n uses: actions/download-artifact@v4\n with:\n name: tests-windowsdx-${{ matrix.platform }}\n path: tests-windowsdx\n if: runner.os == 'Windows'\n\n - name: Run Tools Tests\n run: dotnet test "tests tools/MonoGame.Tools.Tests.dll" --blame-hang-timeout 1m --filter="TestCategory!=Effects"\n env:\n CI: true\n\n # Run the DirectX tests in two steps: first the audio, then the rest.\n #Β This is because the audio tests has some incompatibilities within the runner with ContentManagerTests.\n - name: Run DirectX Audio Tests\n run: dotnet test --filter Category=Audio MonoGame.Tests.dll \n env:\n CI: true\n working-directory: tests-windowsdx\n if: runner.os == 'Windows'\n \n - name: Run DirectX All Tests Except Audio\n run: dotnet test --filter Category!=Audio MonoGame.Tests.dll \n env:\n CI: true\n working-directory: tests-windowsdx\n if: runner.os == 'Windows'\n\n # Run the DesktopGL tests on all platforms using NUnitLite runner not dotnet test\n # We have to run this is bits because the tests crash if too many are run in one go?\n - name: Run Framework Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Framework ${{matrix.filter}}\n env:\n CI: true\n working-directory: tests-desktopgl\n\n - name: Run Audio Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Audio\n env:\n CI: true\n working-directory: tests-desktopgl\n if: runner.environment != 'github-hosted'\n\n - name: Run Input Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Input\n env:\n CI: true\n working-directory: tests-desktopgl\n\n - name: Run Visual Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Visual\n env:\n CI: true\n working-directory: tests-desktopgl\n\n - name: Run Game Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --where="Category = GameTest"\n env:\n CI: true\n working-directory: tests-desktopgl\n\n - name: Run Graphics.BlendStateTest Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.BlendStateTest\n env:\n CI: true\n working-directory: tests-desktopgl\n if: runner.environment != 'github-hosted'\n\n - name: Run Graphics.DepthStencilStateTest Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.DepthStencilStateTest\n env:\n CI: true\n working-directory: tests-desktopgl\n if: runner.environment != 'github-hosted'\n\n - name: Run Graphics.EffectTest Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.EffectTest\n env:\n CI: true\n working-directory: tests-desktopgl\n if: runner.environment != 'github-hosted'\n\n - name: Run Graphics.GraphicsAdapterTest Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.GraphicsAdapterTest\n env:\n CI: true\n working-directory: tests-desktopgl\n if: runner.environment != 'github-hosted'\n\n # This test hangs on MacOS?\n # - name: Run Graphics.GraphicsDeviceTest Tests\n # run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.GraphicsDeviceTest\n # env:\n # CI: true\n # working-directory: tests-desktopgl\n # if: runner.environment != 'github-hosted'\n\n - name: Run Graphics.IndexBufferTest Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.IndexBufferTest\n env:\n CI: true\n working-directory: tests-desktopgl\n if: runner.environment != 'github-hosted'\n\n - name: Run Graphics.MiscellaneousTests Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.MiscellaneousTests\n env:\n CI: true\n working-directory: tests-desktopgl\n if: runner.environment != 'github-hosted'\n\n - name: Run Graphics.ModelTest Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.ModelTest\n env:\n CI: true\n working-directory: tests-desktopgl\n if: runner.environment != 'github-hosted'\n\n - name: Run Graphics.OcclusionQueryTest Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.OcclusionQueryTest\n env:\n CI: true\n working-directory: tests-desktopgl\n if: runner.environment != 'github-hosted'\n\n - name: Run Graphics.RasterizerStateTest Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.RasterizerStateTest\n env:\n CI: true\n working-directory: tests-desktopgl\n if: runner.environment != 'github-hosted'\n\n - name: Run Graphics.RenderTarget2DTest Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.RenderTarget2DTest\n env:\n CI: true\n working-directory: tests-desktopgl\n if: runner.environment != 'github-hosted'\n\n - name: Run Graphics.RenderTargetCubeTest Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.RenderTargetCubeTest\n env:\n CI: true\n working-directory: tests-desktopgl\n if: runner.environment != 'github-hosted'\n\n - name: Run Graphics.SamplerStateTest Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.SamplerStateTest\n env:\n CI: true\n working-directory: tests-desktopgl\n if: runner.environment != 'github-hosted'\n\n - name: Run Graphics.ScissorRectangleTest Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.ScissorRectangleTest\n env:\n CI: true\n working-directory: tests-desktopgl\n if: runner.environment != 'github-hosted'\n\n - name: Run Graphics.ShaderTest Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.ShaderTest\n env:\n CI: true\n working-directory: tests-desktopgl\n if: runner.environment != 'github-hosted'\n\n - name: Run Graphics.SpriteBatchTest Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.SpriteBatchTest\n env:\n CI: true\n working-directory: tests-desktopgl\n if: runner.environment != 'github-hosted'\n\n - name: Run Graphics.SpriteFontTest Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.SpriteFontTest\n env:\n CI: true\n working-directory: tests-desktopgl\n if: runner.environment != 'github-hosted'\n\n - name: Run Graphics.Texture2DNonVisualTest Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.Texture2DNonVisualTest\n env:\n CI: true\n working-directory: tests-desktopgl\n if: runner.environment != 'github-hosted'\n\n - name: Run Graphics.Texture2DTest Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.Texture2DTest\n env:\n CI: true\n working-directory: tests-desktopgl\n if: runner.environment != 'github-hosted'\n\n - name: Run Graphics.Texture3DNonVisualTest Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.Texture3DNonVisualTest\n env:\n CI: true\n working-directory: tests-desktopgl\n if: runner.environment != 'github-hosted'\n\n - name: Run Graphics.Texture3DTest Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.Texture3DTest\n env:\n CI: true\n working-directory: tests-desktopgl\n if: runner.environment != 'github-hosted'\n\n - name: Run Graphics.TextureCubeTest Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.TextureCubeTest\n env:\n CI: true\n working-directory: tests-desktopgl\n if: runner.environment != 'github-hosted'\n\n - name: Run Graphics.VertexBufferTest Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.VertexBufferTest\n env:\n CI: true\n working-directory: tests-desktopgl\n if: runner.environment != 'github-hosted'\n\n - name: Run Graphics.ViewportTest Tests\n run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Graphics.ViewportTest\n env:\n CI: true\n working-directory: tests-desktopgl\n if: runner.environment != 'github-hosted'\n
dataset_sample\yaml\MonoGame_MonoGame\.github\workflows\main.yml
main.yml
YAML
16,864
0.8
0.086168
0.033943
node-utils
482
2024-02-26T17:18:57.325934
MIT
false
3436d601aa6a8275a118eb6897471648
blank_issues_enabled: false\ncontact_links:\n - name: Mono runtime or class libraries in .NET 5 or later\n url: https://github.com/dotnet/runtime/issues/new/choose\n about: Beginning in .NET 5, Mono is now a part of the dotnet/runtime repository. Please report issues with runtime crashes, AOT compilation, etc in .NET 5 or later in the runtime repo.\n - name: Blazor WebAssembly issue in .NET 5 or later\n url: https://github.com/dotnet/aspnetcore/issues/new/choose\n about: Starting point for issues with Blazor WebAssembly in .NET 5 or later.\n - name: MAUI in .NET 6 or later\n url: https://github.com/dotnet/maui/issues/new/choose\n about: For issues with .NET MAUI on mobile and desktop platforms\n - name: Xamarin.Forms\n url: https://github.com/xamarin/Xamarin.Forms/issues/new/choose\n about: For issues with Xamarin.Forms\n - name: Xamarin.Android or .NET Android (.NET 6 or later)\n url: https://github.com/xamarin/xamarin-android/issues/new/choose\n about: For Android-specific issues \n - name: Xamarin.Mac or Xamarin.iOS, or .NET iOS (.NET 6 or later)\n url: https://github.com/xamarin/xamarin-macios/issues/new/choose\n about: For issues on Apple platforms\n \n
dataset_sample\yaml\mono_mono\.github\ISSUE_TEMPLATE\config.yml
config.yml
YAML
1,201
0.95
0.095238
0
react-lib
863
2024-09-29T00:09:35.664551
BSD-3-Clause
false
f23766e60f08733cfb2e3465a3b99ff1
trigger:\n batch: true\n branches:\n include:\n - main\n - 20*-*\n paths:\n include:\n - '*'\n - docs/manpages/*\n exclude:\n - .github/*\n - docs/*\n - CODE-OF-CONDUCT.md\n - CONTRIBUTING.md\n - LICENSE.TXT\n - PATENTS.TXT\n - README.md\n - SECURITY.md\n - THIRD-PARTY-NOTICES.TXT\n\npr:\n branches:\n include:\n - main\n - 20*-*\n paths:\n include:\n - '*'\n - docs/manpages/*\n exclude:\n - .github/*\n - docs/*\n - CODE-OF-CONDUCT.md\n - CONTRIBUTING.md\n - LICENSE.TXT\n - PATENTS.TXT\n - README.md\n - SECURITY.md\n - THIRD-PARTY-NOTICES.TXT\n\nvariables:\n - name: pullRequestCITags\n ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:\n value: 'retry-flaky-tests,pull-request'\n ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:\n value: ''\n\n\njobs:\n\n#\n# Linux armv7\n#\n- template: /scripts/ci/mono-ci-job-template.yml\n parameters:\n displayName: Linux ARM Hard Float\n os: linux\n arch: armhf\n\n#\n# Linux aarch64\n#\n- template: /scripts/ci/mono-ci-job-template.yml\n parameters:\n displayName: Linux ARM64\n os: linux\n arch: aarch64\n\n- template: /scripts/ci/mono-ci-job-template.yml\n parameters:\n displayName: Linux ARM64 Coop Suspend\n os: linux\n arch: aarch64\n additionalCITags: coop-suspend,checked-coop\n\n- template: /scripts/ci/mono-ci-job-template.yml\n parameters:\n displayName: Linux ARM64 FullAOT\n os: linux\n arch: aarch64\n additionalCITags: fullaot\n\n- template: /scripts/ci/mono-ci-job-template.yml\n parameters:\n displayName: Linux ARM64 FullAOT+Interpreter\n os: linux\n arch: aarch64\n additionalCITags: fullaotinterp\n\n- template: /scripts/ci/mono-ci-job-template.yml\n parameters:\n displayName: Linux ARM64 FullAOT+Interpreter+LLVM\n os: linux\n arch: aarch64\n additionalCITags: fullaotinterp_llvm\n\n#- template: /scripts/ci/mono-ci-job-template.yml\n# parameters:\n# displayName: Linux ARM64 FullAOT+LLVM\n# os: linux\n# arch: aarch64\n# additionalCITags: fullaot_llvm\n\n- template: /scripts/ci/mono-ci-job-template.yml\n parameters:\n displayName: Linux ARM64 Interpreter\n os: linux\n arch: aarch64\n additionalCITags: interpreter\n timeoutInMinutes: 180\n\n\n#\n# Linux x64\n#\n- template: /scripts/ci/mono-ci-job-template.yml\n parameters:\n displayName: Linux x64\n os: linux\n arch: amd64\n\n- template: /scripts/ci/mono-ci-job-template.yml\n parameters:\n displayName: Linux x64 - prefix sanity checks\n os: linux\n arch: amd64\n additionalCITags: make-install\n publishTestResults: false\n\n- template: /scripts/ci/mono-ci-job-template.yml\n parameters:\n displayName: Linux x64 Acceptance Tests\n os: linux\n arch: amd64\n additionalCITags: acceptance-tests\n publishTestResults: false\n timeoutInMinutes: 180\n\n- template: /scripts/ci/mono-ci-job-template.yml\n parameters:\n displayName: Linux x64 All Profiles Build\n os: linux\n arch: amd64\n additionalCITags: all-profiles,apidiff,csprojdiff,no-tests\n additionalSteps:\n - publish: mcs/apidiff\n artifact: ApiDiff\n displayName: Public API Diff\n condition: failed()\n\n#- template: /scripts/ci/mono-ci-job-template.yml\n# parameters:\n# displayName: Linux x64 Bitcode\n# os: linux\n# arch: amd64\n# additionalCITags: bitcode\n#\n#- template: /scripts/ci/mono-ci-job-template.yml\n# parameters:\n# displayName: Linux x64 Bitcode+Interpreter\n# os: linux\n# arch: amd64\n# additionalCITags: bitcodeinterp\n\n# disabled as we won't switch to C++ in mono/mono\n#- template: /scripts/ci/mono-ci-job-template.yml\n# parameters:\n# displayName: Linux x64 C++\n# os: linux\n# arch: amd64\n# additionalCITags: cxx\n\n- template: /scripts/ci/mono-ci-job-template.yml\n parameters:\n displayName: Linux x64 Checked Private Types Build\n os: linux\n arch: amd64\n additionalCITags: checked-all,no-tests\n\n- template: /scripts/ci/mono-ci-job-template.yml\n parameters:\n displayName: Linux x64 Coop Suspend\n os: linux\n arch: amd64\n additionalCITags: coop-suspend,checked-coop\n\n- template: /scripts/ci/mono-ci-job-template.yml\n parameters:\n displayName: Linux x64 FullAOT\n os: linux\n arch: amd64\n additionalCITags: fullaot\n\n- template: /scripts/ci/mono-ci-job-template.yml\n parameters:\n displayName: Linux x64 FullAOT+Interpreter\n os: linux\n arch: amd64\n additionalCITags: fullaotinterp\n\n- template: /scripts/ci/mono-ci-job-template.yml\n parameters:\n displayName: Linux x64 FullAOT+Interpreter+LLVM\n os: linux\n arch: amd64\n additionalCITags: fullaotinterp_llvm\n\n#- template: /scripts/ci/mono-ci-job-template.yml\n# parameters:\n# displayName: Linux x64 FullAOT+LLVM\n# os: linux\n# arch: amd64\n# additionalCITags: fullaot_llvm\n\n- template: /scripts/ci/mono-ci-job-template.yml\n parameters:\n displayName: Linux x64 Interpreter\n os: linux\n arch: amd64\n additionalCITags: interpreter\n\n- template: /scripts/ci/mono-ci-job-template.yml\n parameters:\n displayName: Linux x64 mcs\n os: linux\n arch: amd64\n additionalCITags: mcs-compiler,no-tests\n\n\n#\n# Linux i386\n#\n#- template: /scripts/ci/mono-ci-job-template.yml\n# parameters:\n# displayName: Linux i386\n# os: linux\n# arch: i386\n#\n#- template: /scripts/ci/mono-ci-job-template.yml\n# parameters:\n# displayName: Linux i386 Interpreter\n# os: linux\n# arch: i386\n# additionalCITags: interpreter\n\n#\n# OSX x64\n#\n- template: /scripts/ci/mono-ci-job-template.yml\n parameters:\n displayName: OS X x64\n os: osx\n arch: amd64\n\n# disabled as we won't switch to C++ in mono/mono\n#- template: /scripts/ci/mono-ci-job-template.yml\n# parameters:\n# displayName: OS X x64 C++\n# os: osx\n# arch: amd64\n# additionalCITags: cxx\n\n#\n# Windows x64\n#\n- template: /scripts/ci/mono-ci-job-template.yml\n parameters:\n displayName: Windows x64\n os: win\n arch: amd64\n timeoutInMinutes: 240\n
dataset_sample\yaml\mono_mono\scripts\ci\mono-ci.yml
mono-ci.yml
YAML
5,939
0.8
0.014706
0.2875
node-utils
612
2025-02-02T21:49:06.501855
BSD-3-Clause
false
5cad08cadf7553aed6ebd35b2102004f
parameters:\n- name: mono_branch\n displayName: Branch of build to sign\n type: string\n default: main\n values:\n - main\n - 2020-02\n- name: mono_commit\n displayName: Full commit hash\n type: string\n- name: mac_build_number\n displayName: Mac Jenkins build number\n type: number\n default: 0\n- name: windows_build_number\n displayName: Windows Jenkins build number\n type: number\n default: 0\n\ntrigger: none\n\npr: none\n\nresources:\n repositories:\n - repository: 1ESPipelineTemplates\n type: git\n name: 1ESPipelineTemplates/1ESPipelineTemplates\n ref: refs/tags/release\n\nextends:\n template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates\n parameters:\n settings:\n skipSDLSourcesWhenCheckoutIsNoneForAllJobs: true\n sdl:\n sourceAnalysisPool:\n name: NetCore1ESPool-Internal\n image: 1es-windows-2022\n os: windows\n stages:\n - stage: Signing\n jobs:\n\n ## macOS .pkg signing\n\n - job: MonoPkgSigning\n displayName: Mono .PKG Signing\n condition: ne(${{ parameters.mac_build_number }}, 0)\n pool:\n name: Azure Pipelines\n vmImage: macOS-12\n os: macOS\n timeoutInMinutes: 180\n workspace:\n clean: all\n\n steps:\n\n - checkout: none\n\n - script: |\n set -e\n gh api repos/mono/mono/statuses/${{ parameters.mono_commit }} --raw-field "state=pending" --raw-field "context=PKG-mono" --raw-field "target_url=$(System.TeamFoundationCollectionUri)$(System.TeamProject)/_build/results?buildId=$(Build.BuildId)"\n displayName: Set pending GitHub status\n env:\n GITHUB_TOKEN: $(GITHUB_TOKEN)\n\n - script: |\n set -e\n cd $(Build.SourcesDirectory)\n MONO_SIGNED_PKG_DIR="${{ parameters.mono_branch }}/${{ parameters.mac_build_number }}/${{ parameters.mono_commit }}"\n az storage blob download-batch -s build-package-osx-mono -d . --pattern "$MONO_SIGNED_PKG_DIR/unsigned/*"\n cp $MONO_SIGNED_PKG_DIR/unsigned/mac-entitlements.plist .\n MONO_PKG_NAME=$(cd "$MONO_SIGNED_PKG_DIR/unsigned/" && ls *.pkg)\n echo "##vso[task.setvariable variable=MONO_PKG_NAME;]$MONO_PKG_NAME"\n echo "##vso[task.setvariable variable=MONO_SIGNED_PKG_DIR;]$MONO_SIGNED_PKG_DIR"\n pkgutil --expand "$MONO_SIGNED_PKG_DIR/unsigned/$MONO_PKG_NAME" expanded\n mkdir payload\n cd payload\n tar -xvf ../expanded/mono.pkg/Payload\n displayName: Download files and extract\n env:\n AZURE_STORAGE_ACCOUNT: $(AZURE_STORAGE_ACCOUNT)\n AZURE_STORAGE_KEY: $(AZURE_STORAGE_KEY)\n\n - script: |\n set -e\n cd $(Build.SourcesDirectory)/payload\n mkdir -p $(Build.ArtifactStagingDirectory)/mac_entitled\n for i in $(find Library -type f); do\n if file $i | grep Mach-O > /dev/null; then\n if [ "$(basename $i)" == "Microsoft.CodeAnalysis.CSharp.dll.dylib" ]; then\n echo "Remove i386 slice from $i"\n lipo -remove i386 $i -o $i\n fi\n echo "Codesigning $i"\n codesign -s - -f --options runtime --entitlements $(Build.SourcesDirectory)/mac-entitlements.plist $i\n ditto -V $i $(Build.ArtifactStagingDirectory)/mac_entitled/$i\n fi\n done\n displayName: Codesign Mach-O files\n\n - script: |\n set -e\n cd $(Build.ArtifactStagingDirectory)\n hdiutil create mac_entitled_to_sign.dmg -ov -volname "MacEntitledToSign" -fs HFS+ -srcfolder "mac_entitled"\n displayName: Archive binaries into .dmg for signing\n\n - task: UseDotNet@2\n displayName: 'Use .NET Core SDK 2.1.808'\n inputs:\n packageType: sdk\n version: 2.1.808\n\n - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1\n displayName: 'ESRP CodeSigning binaries'\n timeoutInMinutes: 180\n inputs:\n ConnectedServiceName: 'ESRP CodeSigning'\n FolderPath: '$(Build.ArtifactStagingDirectory)/'\n Pattern: 'mac_entitled_to_sign.dmg'\n UseMinimatch: true\n signConfigType: inlineSignParams\n inlineOperation: |\n [\n {\n "keyCode": "CP-401337-Apple",\n "operationCode": "MacAppDeveloperSign",\n "parameters": {\n "hardening": "Enable"\n },\n "toolName": "sign",\n "toolVersion": "1.0"\n }\n ]\n\n - script: |\n set -e\n cd $(Build.ArtifactStagingDirectory)\n mkdir -p mac_entitled_signed\n hdiutil attach mac_entitled_to_sign.dmg\n cp -R /Volumes/MacEntitledToSign/Library mac_entitled_signed\n displayName: 'Extract binaries after signing'\n\n - script: |\n set -e\n cd $(Build.ArtifactStagingDirectory)/mac_entitled_signed\n for i in $(find Library -type f); do\n chmod +x $i\n ditto -V $i $(Build.SourcesDirectory)/payload/$i\n done\n displayName: Replace files with signed ones\n\n - script: |\n set -e\n cd $(Build.SourcesDirectory)\n pkgbuild --analyze --root $PWD/expanded $PWD/expanded/Info.plist\n mono_version=$(grep packageIdentifier $PWD/expanded/Distribution | sed -E 's/.*version="([0-9\.]+)".*/\1/g')\n pkgbuild --root $PWD/payload --component-plist $PWD/expanded/Info.plist --scripts $PWD/expanded/mono.pkg/Scripts --identifier com.xamarin.mono-MDK.pkg --version $mono_version --install-location / $PWD/mono.pkg\n productbuild --distribution $PWD/expanded/Distribution --resources $PWD/expanded/Resources --package-path $PWD/mono.pkg $PWD/mono-dist.pkg\n mkdir -p $(Build.ArtifactStagingDirectory)/mono-to-sign\n mv $PWD/mono-dist.pkg $(Build.ArtifactStagingDirectory)/mono-to-sign/$MONO_PKG_NAME\n displayName: pkgbuild and productbuild\n\n - script: |\n set -e\n cd $(Build.ArtifactStagingDirectory)\n hdiutil create mono-to-sign.dmg -ov -volname "MonoToSign" -fs HFS+ -srcfolder "mono-to-sign"\n displayName: Archive .pkg into .dmg for signing\n\n - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1\n displayName: 'ESRP CodeSigning .pkg'\n timeoutInMinutes: 180\n inputs:\n ConnectedServiceName: 'ESRP CodeSigning'\n FolderPath: '$(Build.ArtifactStagingDirectory)/'\n Pattern: 'mono-to-sign.dmg'\n UseMinimatch: true\n signConfigType: inlineSignParams\n inlineOperation: |\n [\n {\n "keyCode": "CP-401337-Apple",\n "operationCode": "MacAppDeveloperSign",\n "parameters": {},\n "toolName": "sign",\n "toolVersion": "1.0"\n }\n ]\n\n - script: |\n set -e\n cd $(Build.ArtifactStagingDirectory)\n mkdir -p mono-signed\n hdiutil attach mono-to-sign.dmg\n cp -R /Volumes/MonoToSign/$MONO_PKG_NAME mono-signed\n displayName: 'Extract .pkg after signing'\n\n - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1\n displayName: 'ESRP Notarizing .pkg'\n timeoutInMinutes: 180\n inputs:\n ConnectedServiceName: 'ESRP CodeSigning'\n FolderPath: '$(Build.ArtifactStagingDirectory)/mono-signed/'\n Pattern: '*.pkg'\n UseMinimatch: true\n signConfigType: inlineSignParams\n inlineOperation: |\n [\n {\n "keyCode": "CP-401337-Apple",\n "operationCode": "MacAppNotarize",\n "parameters": {\n "bundleId": "com.xamarin.mono-MDK.pkg"\n },\n "toolName": "sign",\n "toolVersion": "1.0"\n }\n ]\n\n - script: |\n set -e\n cd $(Build.ArtifactStagingDirectory)\n MONO_SIGNED_PKG="$(Build.ArtifactStagingDirectory)/mono-signed/$MONO_PKG_NAME"\n echo "##vso[task.setvariable variable=MONO_SIGNED_PKG;]$MONO_SIGNED_PKG"\n\n /usr/sbin/spctl -vvv --assess --type install --ignore-cache --no-cache $MONO_SIGNED_PKG\n xcrun stapler validate -v $MONO_SIGNED_PKG\n displayName: Validate .pkg\n\n - script: |\n set -e\n mono_sha=$(shasum --binary --algorithm 256 $MONO_SIGNED_PKG | cut -d ' ' -f 1)\n mono_mdfive=$(md5 -q $MONO_SIGNED_PKG)\n mono_size=$(stat -f "%z" $MONO_SIGNED_PKG)\n\n pkgutil --expand $MONO_SIGNED_PKG temp-mdk-extract\n mono_updateinfo=$(tar -xf temp-mdk-extract/mono.pkg/Payload --include '*/updateinfo' -O)\n mono_version=$(tar -xf temp-mdk-extract/mono.pkg/Payload --include '*/VERSION' --exclude '*/share' -O)\n\n mono_productid=$(echo $mono_updateinfo | cut -d ' ' -f1)\n mono_releaseid=$(echo $mono_updateinfo | cut -d ' ' -f2)\n\n jq -n --arg url "https://xamjenkinsartifact.blob.core.windows.net/build-package-osx-mono/$MONO_SIGNED_PKG_DIR/$MONO_PKG_NAME" \\n --arg sha256 "$mono_sha" \\n --arg md5 "$mono_mdfive" \\n --arg size "$mono_size" \\n --arg productId "$mono_productid" \\n --arg releaseId "$mono_releaseid" \\n --arg version "$mono_version" \\n '[{"url": $url, "sha256": $sha256, "md5": $md5, "size": $size, "productId": $productId, "releaseId": $releaseId, "version": $version }]' > $(Build.ArtifactStagingDirectory)/mono-signed/artifacts.json\n displayName: Create artifacts.json\n\n - task: 1ES.PublishPipelineArtifact@1\n inputs:\n path: $(Build.ArtifactStagingDirectory)/mono-signed\n artifact: NotarizedPKG\n\n - script: |\n set -e\n cd $(Build.ArtifactStagingDirectory)\n az storage blob upload-batch -s mono-signed --destination-path "$MONO_SIGNED_PKG_DIR" --pattern "*" -d build-package-osx-mono --account-name xamjenkinsartifact\n displayName: Upload artifacts to blob storage\n env:\n AZURE_STORAGE_ACCOUNT: $(AZURE_STORAGE_ACCOUNT)\n AZURE_STORAGE_KEY: $(AZURE_STORAGE_KEY)\n\n - script: |\n set -e\n gh api repos/mono/mono/statuses/${{ parameters.mono_commit }} --raw-field "state=success" --raw-field "context=PKG-mono" --raw-field "target_url=https://xamjenkinsartifact.blob.core.windows.net/build-package-osx-mono/$MONO_SIGNED_PKG_DIR/$MONO_PKG_NAME"\n gh api repos/mono/mono/statuses/${{ parameters.mono_commit }} --raw-field "state=success" --raw-field "context=artifacts.json" --raw-field "target_url=https://xamjenkinsartifact.blob.core.windows.net/build-package-osx-mono/$MONO_SIGNED_PKG_DIR/artifacts.json"\n displayName: Set success GitHub status\n env:\n GITHUB_TOKEN: $(GITHUB_TOKEN)\n\n ## Windows .msi signing\n\n - job: MonoMsiSigning\n displayName: Mono .MSI Signing\n condition: ne(${{ parameters.windows_build_number }}, 0)\n pool:\n name: Azure Pipelines\n vmImage: macOS-12\n os: macOS\n timeoutInMinutes: 180\n workspace:\n clean: all\n\n steps:\n\n - checkout: none\n\n - script: |\n gh api repos/mono/mono/statuses/${{ parameters.mono_commit }} --raw-field "state=pending" --raw-field "context=MSI-mono_x86" --raw-field "target_url=$(System.TeamFoundationCollectionUri)$(System.TeamProject)/_build/results?buildId=$(Build.BuildId)"\n gh api repos/mono/mono/statuses/${{ parameters.mono_commit }} --raw-field "state=pending" --raw-field "context=MSI-mono_x64" --raw-field "target_url=$(System.TeamFoundationCollectionUri)$(System.TeamProject)/_build/results?buildId=$(Build.BuildId)"\n displayName: Set pending GitHub status\n env:\n GITHUB_TOKEN: $(GITHUB_TOKEN)\n\n - script: |\n cd $(Build.SourcesDirectory)\n MONO_SIGNED_MSI_DIR="${{ parameters.mono_branch }}/${{ parameters.windows_build_number }}/${{ parameters.mono_commit }}"\n az storage blob download-batch -s build-package-win-mono -d . --pattern "$MONO_SIGNED_MSI_DIR/unsigned/*.msi"\n cp $MONO_SIGNED_MSI_DIR/unsigned/*.msi $(Build.ArtifactStagingDirectory)\n MONO_MSI_NAME_X86=$(cd "$MONO_SIGNED_MSI_DIR/unsigned/" && ls *win32*.msi)\n MONO_MSI_NAME_X64=$(cd "$MONO_SIGNED_MSI_DIR/unsigned/" && ls *x64*.msi)\n echo "##vso[task.setvariable variable=MONO_MSI_NAME_X86;]$MONO_MSI_NAME_X86"\n echo "##vso[task.setvariable variable=MONO_MSI_NAME_X64;]$MONO_MSI_NAME_X64"\n echo "##vso[task.setvariable variable=MONO_SIGNED_MSI_DIR;]$MONO_SIGNED_MSI_DIR"\n displayName: Download files\n env:\n AZURE_STORAGE_ACCOUNT: $(AZURE_STORAGE_ACCOUNT)\n AZURE_STORAGE_KEY: $(AZURE_STORAGE_KEY)\n\n - task: UseDotNet@2\n displayName: 'Use .NET Core SDK 2.1.808'\n inputs:\n packageType: sdk\n version: 2.1.808\n\n - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1\n displayName: 'ESRP CodeSigning .msi'\n timeoutInMinutes: 180\n inputs:\n ConnectedServiceName: 'ESRP CodeSigning'\n FolderPath: '$(Build.ArtifactStagingDirectory)/'\n Pattern: '*.msi'\n UseMinimatch: true\n signConfigType: inlineSignParams\n inlineOperation: |\n [\n {\n "keyCode": "CP-230012",\n "operationCode": "SigntoolSign",\n "parameters": {\n "OpusName": "Mono",\n "OpusInfo": "https://www.mono-project.com",\n "PageHash": "/NPH",\n "FileDigest": "/fd sha256",\n "TimeStamp": "/tr \"http://rfc3161.gtm.corp.microsoft.com/TSS/HttpTspServer\" /td sha256"\n },\n "toolName": "sign",\n "toolVersion": "1.0"\n },\n {\n "keyCode": "CP-230012",\n "operationCode": "SigntoolVerify",\n "parameters": {\n "VerifyAll": "/all"\n },\n "toolName": "sign",\n "toolVersion": "1.0"\n }\n ]\n\n - task: 1ES.PublishPipelineArtifact@1\n inputs:\n path: $(Build.ArtifactStagingDirectory)\n artifact: SignedMSI\n\n - script: |\n cd $(Build.ArtifactStagingDirectory)\n az storage blob upload-batch -s . --destination-path "$MONO_SIGNED_MSI_DIR" --pattern "*.msi" -d build-package-win-mono --account-name xamjenkinsartifact\n displayName: Upload artifacts to blob storage\n env:\n AZURE_STORAGE_ACCOUNT: $(AZURE_STORAGE_ACCOUNT)\n AZURE_STORAGE_KEY: $(AZURE_STORAGE_KEY)\n\n - script: |\n gh api repos/mono/mono/statuses/${{ parameters.mono_commit }} --raw-field "state=success" --raw-field "context=MSI-mono_x86" --raw-field "target_url=https://xamjenkinsartifact.blob.core.windows.net/build-package-win-mono/$MONO_SIGNED_MSI_DIR/$MONO_MSI_NAME_X86"\n gh api repos/mono/mono/statuses/${{ parameters.mono_commit }} --raw-field "state=success" --raw-field "context=MSI-mono_x64" --raw-field "target_url=https://xamjenkinsartifact.blob.core.windows.net/build-package-win-mono/$MONO_SIGNED_MSI_DIR/$MONO_MSI_NAME_X64"\n displayName: Set success GitHub status\n env:\n GITHUB_TOKEN: $(GITHUB_TOKEN)\n
dataset_sample\yaml\mono_mono\scripts\ci\mono-mono-signing.yml
mono-mono-signing.yml
YAML
16,084
0.8
0.015957
0.00597
node-utils
401
2024-05-27T19:39:57.702865
BSD-3-Clause
false
54271e870ddb0112d108ad8f811fc2fd
name: 'PR Backporter'\ndescription: 'Backports a pull request to a branch using the "/backport to <branch>" comment'\ninputs:\n target_branch:\n description: 'Backport target branch.'\n auth_token:\n description: 'The token used to authenticate to GitHub.'\n pr_title_template:\n description: 'The template used for the PR title. Special placeholder tokens that will be replaced with a value: %target_branch%, %source_pr_title%, %source_pr_number%, %cc_users%.'\n default: '[%target_branch%] %source_pr_title%'\n pr_description_template:\n description: 'The template used for the PR description. Special placeholder tokens that will be replaced with a value: %target_branch%, %source_pr_title%, %source_pr_number%, %cc_users%.'\n default: |\n Backport of #%source_pr_number% to %target_branch%\n\n /cc %cc_users%\n\nruns:\n using: 'node12'\n main: 'index.js'\n
dataset_sample\yaml\mono_mono\scripts\ci\actions\backport\action.yml
action.yml
YAML
878
0.8
0.1
0
react-lib
577
2023-12-11T05:29:07.285464
MIT
false
02a88679c235514042eee2ef53cce268
name: 'Close Pull Requests'\n\non:\n pull_request_target:\n types: opened\n workflow_dispatch:\n\njobs:\n close:\n # Avoid forks to run this job\n if: github.repository_owner == 'moodle'\n name: Close Pull Requests\n runs-on: ubuntu-latest\n steps:\n - uses: dessant/repo-lockdown@v4\n with:\n process-only: prs\n close-pr: true\n skip-closed-pr-comment: true\n pr-comment: >\n **Please, don't open pull requests via GitHub.**\n\n\n This repository (moodle.git) at GitHub is just a mirror of the official Moodle repository.\n\n\n For how to contribute patches for Moodle see\n [CONTRIBUTING.md](https://github.com/moodle/moodle/blob/main/CONTRIBUTING.md).\n\n\n Closing this pull request.\n
dataset_sample\yaml\moodle_moodle\.github\workflows\close-pull-requests.yml
close-pull-requests.yml
YAML
788
0.8
0.064516
0.086957
python-kit
130
2024-02-09T12:31:21.191223
Apache-2.0
false
74b11e7ffa8c9536e9f305e7b689c5e7
name: One by One Testing\n# Run all the individual unit tests one by one, with\n# fully independent PHPUnit executions. Useful to\n# detect issues with some tests that are using stuff\n# that has been made available by others, but is not\n# available when running individually.\n#\n# Note that we aren't using PHPUnit's own isolation\n# here but completely separated runs, one for each\n# test.\n#\n# The workflow will fail reporting all the tests\n# that have failed (and will pass if no failure is\n# detected, of course).\n#\n# It's only executed via workflow dispatch (automated\n# or manual), not by push/tag. And acceptd configuration\n# of phpunit, specially useful to run it with PHPUnit's\n# own isolation or any other option.\n\non:\n workflow_dispatch:\n inputs:\n phpunit_extra_options:\n description: Additional options to apply to PHPUnit\n required: false\n default: ''\n\nenv:\n chunks: 7\n\njobs:\n collect:\n name: Collect individual unit tests\n runs-on: ubuntu-latest\n outputs:\n matrix: ${{steps.individual-tests.outputs.matrix }}\n\n steps:\n - name: Checking out code\n uses: actions/checkout@v4\n\n - name: Looking for all individual tests\n id: individual-tests\n run: |\n count=0 # Number of individual tests found.\n while read -r testfile; do # For each test file.\n while read -r testname; do # For each unit test in a file.\n count=$((count + 1))\n # Sent it to the correct chunk file.\n chunk=$(((($count % $chunks)) + 1))\n echo "$testname $testfile" >> ./chunk_$chunk.txt\n done < <(grep "function test_" "${testfile}" | sed -r "s/^.*function (test_[a-zA-Z0-9_]+).*/\1/")\n done < <(find . -name "*_test.php")\n # Generate the matrix to run tests.\n echo "matrix=$(ls -1 chunk_*.txt | jq -R -s -c 'split("\n")[:-1]')" >> $GITHUB_OUTPUT\n echo "$count individual tests collected in $chunks files"\n\n - name: Upload individual tests files\n uses: actions/upload-artifact@v4\n with:\n name: individual_tests\n path: chunk_*.txt\n retention-days: 1\n\n test:\n name: Run tests\n needs: collect\n runs-on: ubuntu-latest\n services:\n exttests:\n image: moodlehq/moodle-exttests\n ports:\n - 8080:80\n redis:\n image: redis\n ports:\n - 6379:6379\n strategy:\n fail-fast: false\n matrix:\n file: ${{ fromJson(needs.collect.outputs.matrix) }}\n\n steps:\n - name: Setting up DB pgsql\n uses: m4nu56/postgresql-action@v1\n with:\n postgresql version: 14\n postgresql db: test\n postgresql user: test\n postgresql password: test\n\n - name: Setting up PHP\n uses: shivammathur/setup-php@v2\n with:\n php-version: 8.4\n ini-values: max_input_vars=5000\n coverage: none\n\n - name: Checking out code\n uses: actions/checkout@v4\n\n - name: Download individual test files\n uses: actions/download-artifact@v4\n with:\n name: individual_tests # Make all the chunk files available for the next steps.\n\n - name: Setting up PHPUnit\n env:\n dbtype: pgsql\n run: |\n echo "pathtophp=$(which php)" >> $GITHUB_ENV\n cp .github/workflows/config-template.php config.php\n mkdir ../moodledata\n sudo locale-gen en_AU.UTF-8\n php admin/tool/phpunit/cli/init.php --no-composer-self-update\n\n - name: Run PHPUnit test (one by one)\n env:\n dbtype: pgsql\n run: |\n status=0\n count=0\n while read -r line; do # For each line in the chunk file\n count=$((count + 1))\n filter="${line% *}"\n file="${line#* }"\n # Run the individual unit test and report problems if needed to.\n if ! php vendor/bin/phpunit \\n --fail-on-empty-test-suite \\n --fail-on-warning \\n --fail-on-risky \\n --filter "$filter" ${{ inputs.phpunit_extra_options }} \\n "$file" >/dev/null 2>&1; then\n if [ $status -eq 0 ]; then\n echo "Problems found, list of PHPUnit commands failing:"\n fi\n echo "vendor/bin/phpunit --filter '${filter}' ${{ inputs.phpunit_extra_options }} $file"\n status=$((status + 1))\n fi\n done < ${{ matrix.file }}\n echo "Finished: $count individual tests executed, $status tests failed"\n exit $status\n
dataset_sample\yaml\moodle_moodle\.github\workflows\onebyone.yml
onebyone.yml
YAML
4,708
0.95
0.083916
0.161538
react-lib
31
2025-04-15T17:48:50.498066
BSD-3-Clause
false
2ba842390472b6bf5a89a672594312f3
name: Core\n\non:\n push:\n branches-ignore:\n - main\n - MOODLE_[0-9]+_STABLE\n tags-ignore:\n - v[0-9]+.[0-9]+.[0-9]+*\n workflow_dispatch:\n inputs:\n phpunit_extra_options:\n description: Additional options to apply to PHPUnit\n required: false\n default: ''\n\nenv:\n php: 8.4\n\njobs:\n Grunt:\n runs-on: ubuntu-22.04\n\n steps:\n - name: Checking out code\n uses: actions/checkout@v4\n\n - name: Configuring node & npm\n uses: actions/setup-node@v4\n with:\n node-version-file: '.nvmrc'\n\n - name: Installing node stuff\n run: npm install\n\n - name: Running grunt\n run: npx grunt\n\n - name: Looking for uncommitted changes\n # Add all files to the git index and then run diff --cached to see all changes.\n # This ensures that we get the status of all files, including new files.\n # We ignore npm-shrinkwrap.json to make the tasks immune to npm changes.\n run: |\n git add .\n git reset -- npm-shrinkwrap.json\n git diff --cached --exit-code\n\n PHPUnit:\n runs-on: ${{ matrix.os }}\n services:\n exttests:\n image: moodlehq/moodle-exttests\n ports:\n - 8080:80\n redis:\n image: redis\n ports:\n - 6379:6379\n strategy:\n fail-fast: false\n matrix:\n include:\n # MySQL builds always run with the lowest PHP supported version.\n - os: ubuntu-22.04\n php: 8.2\n extensions:\n db: mysqli\n # PostgreSQL builds always run with the highest PHP supported version.\n - os: ubuntu-22.04\n php: 8.4\n db: pgsql\n\n steps:\n - name: Setting up DB mysql\n if: ${{ matrix.db == 'mysqli' }}\n uses: moodlehq/mysql-action@v1\n with:\n collation server: utf8mb4_bin\n mysql version: 8.4\n mysql database: test\n mysql user: test\n mysql password: test\n use tmpfs: true\n tmpfs size: '1024M'\n extra conf: --skip-log-bin\n\n - name: Setting up DB pgsql\n if: ${{ matrix.db == 'pgsql' }}\n uses: m4nu56/postgresql-action@v1\n with:\n postgresql version: 14\n postgresql db: test\n postgresql user: test\n postgresql password: test\n\n - name: Configuring git vars\n uses: rlespinasse/github-slug-action@v4\n\n - name: Setting up PHP ${{ matrix.php }}\n uses: shivammathur/setup-php@v2\n with:\n php-version: ${{ matrix.php }}\n extensions: ${{ matrix.extensions }}\n ini-values: max_input_vars=5000\n coverage: none\n\n - name: Checking out code from ${{ env.GITHUB_REF_SLUG }}\n uses: actions/checkout@v4\n\n - name: Setting up PHPUnit\n env:\n dbtype: ${{ matrix.db }}\n run: |\n echo "pathtophp=$(which php)" >> $GITHUB_ENV # Inject installed pathtophp to env. The template config needs it.\n cp .github/workflows/config-template.php config.php\n mkdir ../moodledata\n sudo locale-gen en_AU.UTF-8\n php admin/tool/phpunit/cli/init.php --no-composer-self-update\n\n - name: Running PHPUnit tests\n env:\n dbtype: ${{ matrix.db }}\n phpunit_options: ${{ secrets.phpunit_options }}\n run: vendor/bin/phpunit $phpunit_options ${{ inputs.phpunit_extra_options }}\n\n - name: Git status\n run: git status\n
dataset_sample\yaml\moodle_moodle\.github\workflows\push.yml
push.yml
YAML
3,496
0.95
0.023622
0.045455
vue-tools
635
2025-01-04T17:25:03.293248
Apache-2.0
false
f103c77461efc0a8de8e1e36c34dad76
name: Windows Testing\n\non:\n workflow_dispatch:\n inputs:\n phpunit_extra_options:\n description: Additional options to apply to PHPUnit\n required: false\n default: ''\nenv:\n php: 8.4\n\njobs:\n Grunt:\n runs-on: windows-latest\n\n steps:\n - name: Set git to use LF\n run: |\n git config --global core.autocrlf false\n git config --global core.eol lf\n\n - name: Checking out code\n uses: actions/checkout@v4\n\n - name: Configuring node & npm\n uses: actions/setup-node@v4\n with:\n node-version-file: '.nvmrc'\n\n - name: Installing node stuff\n run: npm ci\n\n - name: Running grunt\n run: npx grunt\n\n - name: Looking for uncommitted changes\n # Add all files to the git index and then run diff --cached to see all changes.\n # This ensures that we get the status of all files, including new files.\n # We ignore npm-shrinkwrap.json to make the tasks immune to npm changes.\n run: |\n git add .\n git reset -- npm-shrinkwrap.json\n git diff --cached --exit-code\n\n PHPUnit:\n runs-on: ${{ matrix.os }}\n\n strategy:\n fail-fast: false\n matrix:\n include:\n - os: windows-latest\n php: 8.4\n # Ideally we should use mysql/mariadb, but they are 4x slower without tweaks and configuration\n # so let's run only postgres (1.5h vs 6h) only, If some day we want to improve the mysql runs,\n # this is the place to enable them.\n # db: mysqli\n db: pgsql\n extensions: exif, fileinfo, gd, intl, pgsql, mysql, redis, soap, sodium, zip\n - os: windows-latest\n php: 8.2\n db: pgsql\n extensions: exif, fileinfo, gd, intl, pgsql, mysql, redis, soap, sodium, zip\n\n steps:\n - name: Setting up DB mysql\n if: ${{ matrix.db == 'mysqli' }}\n uses: shogo82148/actions-setup-mysql@v1\n with:\n mysql-version: 8.4\n user: test\n password: test\n\n - name: Creating DB mysql\n if: ${{ matrix.db == 'mysqli' }}\n run: mysql --host 127.0.0.1 -utest -ptest -e 'CREATE DATABASE IF NOT EXISTS test COLLATE = utf8mb4_bin;';\n\n - name: Setting up DB pgsql\n if: ${{ matrix.db == 'pgsql' }}\n run: |\n # TODO: Remove these conf. modifications when php74 or php80 are lowest.\n # Change to old md5 auth, because php73 does not support it.\n # #password_encryption = scram-sha-256\n (Get-Content "$env:PGDATA\postgresql.conf"). `\n replace('#password_encryption = scram-sha-256', 'password_encryption = md5') | `\n Set-Content "$env:PGDATA\postgresql.conf"\n (Get-Content "$env:PGDATA\pg_hba.conf"). `\n replace('scram-sha-256', 'md5') | `\n Set-Content "$env:PGDATA\pg_hba.conf"\n $pgService = Get-Service -Name postgresql*\n Set-Service -InputObject $pgService -Status running -StartupType automatic\n Start-Process -FilePath "$env:PGBIN\pg_isready" -Wait -PassThru\n & $env:PGBIN\psql --command="CREATE USER test PASSWORD 'test'" --command="\du"\n\n - name: Creating DB pgsql\n if: ${{ matrix.db == 'pgsql' }}\n run: |\n & $env:PGBIN\createdb --owner=test test\n $env:PGPASSWORD = 'test'\n & $env:PGBIN\psql --username=test --host=localhost --list test\n\n - name: Configuring git vars\n uses: rlespinasse/github-slug-action@v4\n\n - name: Setting up PHP ${{ matrix.php }}\n uses: shivammathur/setup-php@v2\n with:\n php-version: ${{ matrix.php }}\n extensions: ${{ matrix.extensions }}\n ini-values: max_input_vars=5000\n coverage: none\n\n - name: Set git to use LF\n run: |\n git config --global core.autocrlf false\n git config --global core.eol lf\n\n - name: Checking out code from ${{ env.GITHUB_REF_SLUG }}\n uses: actions/checkout@v4\n\n # Needs to be done after php is available, git configured and Moodle checkout has happened.\n - name: Setting up moodle-exttests service\n run: |\n git clone https://github.com/moodlehq/moodle-exttests.git\n nssm install php-built-in C:\tools\php\php.exe -S localhost:8080 -t D:\a\moodle\moodle\moodle-exttests\n nssm start php-built-in\n\n - name: Setting up redis service\n run: |\n choco install redis --version 5.0.7 --no-progress\n nssm install redis redis-server\n nssm start redis\n\n - name: Setting up PHPUnit\n env:\n dbtype: ${{ matrix.db }}\n shell: bash\n run: |\n echo "pathtophp=$(which php)" >> $GITHUB_ENV # Inject installed pathtophp to env. The template config needs it.\n cp .github/workflows/config-template.php config.php\n mkdir ../moodledata\n php admin/tool/phpunit/cli/init.php --no-composer-self-update\n\n - name: Running PHPUnit tests\n env:\n dbtype: ${{ matrix.db }}\n phpunit_options: ${{ secrets.phpunit_options }}\n run: vendor/bin/phpunit $phpunit_options ${{ inputs.phpunit_extra_options }}\n
dataset_sample\yaml\moodle_moodle\.github\workflows\windows.yml
windows.yml
YAML
5,233
0.95
0.033557
0.086614
node-utils
196
2023-11-10T06:23:13.475843
GPL-3.0
false
4f96ae73e04df60345504ed4060b9999
issueNumber: MDL-82132\nnotes:\n core_user:\n - message: >-\n New method `\core_user::get_dummy_fullname(...)` for returning dummy\n user fullname comprised of configured name fields only\n type: improved\n
dataset_sample\yaml\moodle_moodle\.upgradenotes\MDL-82132-2025041514493372.yml
MDL-82132-2025041514493372.yml
YAML
222
0.7
0.142857
0
vue-tools
861
2023-09-25T22:54:35.732224
Apache-2.0
false
286b4191fe06b4c89028923bab1ff24a
languageCode: "en"\ntitle: "Moodle Component Library"\nbaseURL: "http://MOODLEROOT/"\nenableInlineShortcodes: true\npygmentsUseClasses: true\n\nmarkup:\n goldmark:\n renderer:\n unsafe: true\n\nmarkup:\n goldmark:\n extensions:\n definitionList: true\n footnote: true\n linkify: true\n strikethrough: true\n table: true\n taskList: true\n typographer: true\n parser:\n attribute: true\n autoHeadingID: true\n autoHeadingIDType: github\n renderer:\n hardWraps: false\n unsafe: true\n xHTML: false\n highlight:\n codeFences: true\n guessSyntax: true\n hl_Lines: ""\n lineNoStart: 1\n lineNos: false\n lineNumbersInTable: true\n noClasses: true\n style: monokailight\n tabWidth: 4\n\nbuildDrafts: false\nbuildFuture: true\n\nenableRobotsTXT: true\nmetaDataFormat: "yaml"\n\ndisableKinds: ["404", "taxonomy", "taxonomyTerm", "RSS"]\n\nblackfriday:\n fractions: false\n\nrelativeURLs: true\n\npublishDir: "./admin/tool/componentlibrary/docs"\narchetypeDir: "./admin/tool/componentlibrary/hugo/archetypes"\nassetDir: "./admin/tool/componentlibrary/hugo/assets"\ncontentDir: "./admin/tool/componentlibrary/content"\ndataDir: "./admin/tool/componentlibrary/hugo/site/data"\nlayoutDir: "./admin/tool/componentlibrary/hugo/site/layouts"\nstaticDir: "./admin/tool/componentlibrary/content/static"\n\nparams:\n moodleroot: "MOODLEROOT"\n\n current_version: "4.6.2"\n current_ruby_version: "4.6.2"\n docs_version: "4.6"\n boostrap_docs: "https://getbootstrap.com/docs/4.6"\n repo: "https://github.com/twbs/bootstrap"\n\n cdn:\n # See https://www.srihash.org for info on how to generate the hashes\n popper: "https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"\n
dataset_sample\yaml\moodle_moodle\admin\tool\componentlibrary\config.yml
config.yml
YAML
1,975
0.8
0.013699
0.016129
vue-tools
892
2024-04-06T18:55:35.457333
GPL-3.0
false
fb3ca83db8d972354ce4d6881468e8d3
- breakpoint: xs\n abbr: ""\n name: Extra small\n min-width: 0px\n container: ""\n\n- breakpoint: sm\n abbr: -sm\n name: Small\n min-width: 576px\n container: 540px\n\n- breakpoint: md\n abbr: -md\n name: Medium\n min-width: 768px\n container: 720px\n\n- breakpoint: lg\n abbr: -lg\n name: Large\n min-width: 992px\n container: 960px\n\n- breakpoint: xl\n abbr: -xl\n name: Extra large\n min-width: 1200px\n container: 1140px\n
dataset_sample\yaml\moodle_moodle\admin\tool\componentlibrary\hugo\site\data\breakpoints.yml
breakpoints.yml
YAML
418
0.7
0
0
node-utils
209
2025-07-05T13:56:35.539471
BSD-3-Clause
false
ae68d9f5e4394c9f5340ec00f4effd8f
- name: blue\n hex: "#007bff"\n- name: indigo\n hex: "#6610f2"\n- name: purple\n hex: "#6f42c1"\n- name: pink\n hex: "#e83e8c"\n- name: red\n hex: "#dc3545"\n- name: orange\n hex: "#fd7e14"\n- name: yellow\n hex: "#ffc107"\n- name: green\n hex: "#28a745"\n- name: teal\n hex: "#20c997"\n- name: cyan\n hex: "#17a2b8"\n- name: white\n hex: "#fff"\n- name: gray\n hex: "#6c757d"\n- name: gray-dark\n hex: "#343a40"\n
dataset_sample\yaml\moodle_moodle\admin\tool\componentlibrary\hugo\site\data\colors.yml
colors.yml
YAML
401
0.8
0
0
vue-tools
333
2025-04-21T00:04:58.564176
BSD-3-Clause
false
441a809d9478f5c334c617bc4687eac4
- name: 100\n hex: "#f8f9fa"\n- name: 200\n hex: "#e9ecef"\n- name: 300\n hex: "#dee2e6"\n- name: 400\n hex: "#ced4da"\n- name: 500\n hex: "#adb5bd"\n- name: 600\n hex: "#6c757d"\n- name: 700\n hex: "#495057"\n- name: 800\n hex: "#343a40"\n- name: 900\n hex: "#212529"\n
dataset_sample\yaml\moodle_moodle\admin\tool\componentlibrary\hugo\site\data\grays.yml
grays.yml
YAML
261
0.8
0
0
react-lib
587
2023-07-26T19:11:36.845547
Apache-2.0
false
8db769b3648992c7d4278fa03db7124e
preferred:\n - name: Font Awesome\n website: https://fontawesome.com/\n - name: Feather\n website: https://feathericons.com/\n - name: Octicons\n website: https://octicons.github.com/\n\nmore:\n - name: Bytesize\n website: https://github.com/danklammer/bytesize-icons\n - name: Google Material icons\n website: https://material.io/resources/icons/\n - name: Ionicons\n website: https://ionicons.com/\n - name: Dripicons\n website: http://demo.amitjakhu.com/dripicons/\n - name: Ikons\n website: http://ikons.piotrkwiatkowski.co.uk/\n - name: Icons8\n website: https://icons8.com/\n - name: icofont\n website: https://icofont.com/\n
dataset_sample\yaml\moodle_moodle\admin\tool\componentlibrary\hugo\site\data\icons.yml
icons.yml
YAML
648
0.8
0
0
awesome-app
230
2024-03-15T13:32:37.379867
BSD-3-Clause
false
cc9035af5356479b37614c4b78c6d5ed
- name: primary\n hex: "#007bff"\n- name: secondary\n hex: "#6c757d"\n- name: success\n hex: "#28a745"\n- name: danger\n hex: "#dc3545"\n- name: warning\n hex: "#ffc107"\n- name: info\n hex: "#17a2b8"\n- name: light\n hex: "#f8f9fa"\n- name: dark\n hex: "#343a40"\n
dataset_sample\yaml\moodle_moodle\admin\tool\componentlibrary\hugo\site\data\theme-colors.yml
theme-colors.yml
YAML
257
0.8
0
0
awesome-app
767
2023-11-08T16:23:45.192185
GPL-3.0
false
5d954bbd7a7f0e935b29cf691254fc1e
name: Bug report πŸ›\ndescription: The library does not work as expected\nbody:\n\n - type: checkboxes\n attributes:\n label: Guidelines\n description: Please confirm this is a bug report and not general troubleshooting.\n options:\n - label: I understand that [if I fail to adhere to contribution guidelines and/or fail to provide all required details, this issue may be closed without review](https://github.com/mpdf/mpdf/blob/development/.github/CONTRIBUTING.md).\n required: true\n\n - type: textarea\n attributes:\n label: Description of the bug\n validations:\n required: true\n\n - type: input\n attributes:\n label: mPDF version\n validations:\n required: true\n\n - type: input\n attributes:\n label: PHP Version and environment (server type, cli provider etc., enclosing libraries and their respective versions)\n validations:\n required: true\n\n - type: textarea\n attributes:\n label: Reproducible PHP+CSS+HTML snippet suffering by the error\n validations:\n required: true\n
dataset_sample\yaml\mpdf_mpdf\.github\ISSUE_TEMPLATE\01_bug_report.yml
01_bug_report.yml
YAML
1,057
0.95
0.028571
0
node-utils
468
2024-10-30T10:20:15.947624
BSD-3-Clause
false
66cf87e7d2432a37af439ba469aed95e
name: Feature request πŸš€\ndescription: I would like to have a new functionality added\nbody:\n - type: textarea\n attributes:\n label: Please describe the new functionality as best as you can.\n validations:\n required: true
dataset_sample\yaml\mpdf_mpdf\.github\ISSUE_TEMPLATE\02_feature_request.yml
02_feature_request.yml
YAML
236
0.85
0
0
awesome-app
606
2023-09-27T09:20:12.630295
BSD-3-Clause
false
e8b0e2f8d9ed49889079abeb2669ea48
blank_issues_enabled: false\ncontact_links:\n - name: General questions and troubleshooting ❓\n url: https://github.com/mpdf/mpdf/discussions\n about: You can use Github Discussions for general questions and troubleshooting. Please note that asking at Stack Overflow will probably be more successful.\n - name: QA at Stack Overflow ❓\n url: https://stackoverflow.com/questions/tagged/mpdf\n about: Ask at Stack Overflow for a greater chance of a quick and correct answer to your questions. Make sure to comply to SO rules, terms and conditions.\n
dataset_sample\yaml\mpdf_mpdf\.github\ISSUE_TEMPLATE\config.yml
config.yml
YAML
568
0.8
0.25
0
node-utils
954
2023-12-13T11:33:03.204585
BSD-3-Clause
false
32f5b2eb6e47b81679dee105a8fb0590
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions\n\nname: "Code coverage"\n\non:\n push:\n branches:\n - "development"\n - "coverage"\n\njobs:\n\n coverage:\n\n name: "Code coverage"\n\n runs-on: ${{ matrix.operating-system }}\n\n strategy:\n matrix:\n php-version:\n - "7.4"\n\n operating-system: [ubuntu-latest]\n\n steps:\n - name: "Checkout"\n uses: "actions/checkout@v4"\n\n - name: "Install PHP"\n uses: "shivammathur/setup-php@v2"\n with:\n coverage: "xdebug"\n php-version: "${{ matrix.php-version }}"\n extensions: "mbstring, gd, bcmath, bz2"\n tools: composer:v2\n\n - name: "Install dependencies"\n run: "composer install --no-interaction --no-progress"\n\n - name: "Code coverage"\n run: composer coverage\n
dataset_sample\yaml\mpdf_mpdf\.github\workflows\coverage.yml
coverage.yml
YAML
859
0.8
0
0.033333
node-utils
907
2025-05-16T23:42:22.539937
Apache-2.0
false
3d7df1cf951ed124fe0fc908501e13d0
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions\n\nname: "Coding standard check"\n\non:\n pull_request:\n push:\n branches:\n - "development"\n - "test"\n\njobs:\n\n cs:\n\n name: "Coding standard"\n\n runs-on: ${{ matrix.operating-system }}\n\n strategy:\n matrix:\n php-version:\n - "7.4"\n\n operating-system: [ubuntu-latest]\n\n steps:\n - name: "Checkout"\n uses: "actions/checkout@v4"\n\n - name: "Install PHP"\n uses: "shivammathur/setup-php@v2"\n with:\n coverage: "none"\n php-version: "${{ matrix.php-version }}"\n extensions: "mbstring"\n tools: composer:v2\n\n - name: "Install dependencies"\n run: "composer install --no-interaction --no-progress"\n\n - name: "CS"\n run: composer cs\n
dataset_sample\yaml\mpdf_mpdf\.github\workflows\cs.yml
cs.yml
YAML
839
0.8
0
0.032258
python-kit
95
2024-05-13T13:58:19.216230
MIT
false
010d4ac4f0387edbdbb832a8e031c9ae
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions\n\nname: "Static Analysis check"\n\non:\n pull_request:\n push:\n branches:\n - "master"\n - "development"\n - "test"\n\njobs:\n\n stan:\n\n name: "Static Analysis check"\n\n runs-on: ${{ matrix.operating-system }}\n\n strategy:\n matrix:\n php-version:\n - "8.2"\n\n operating-system: [ubuntu-latest]\n\n steps:\n - name: "Checkout"\n uses: "actions/checkout@v4"\n\n - name: "Install PHP"\n uses: "shivammathur/setup-php@v2"\n with:\n coverage: "none"\n php-version: "${{ matrix.php-version }}"\n extensions: "mbstring"\n tools: composer:v2\n\n - name: "Install dependencies"\n run: "composer install --no-interaction --no-progress && composer require \"phpstan/phpstan:^2.0\""\n\n - name: "Static Analysis check"\n run: vendor/bin/phpstan --no-progress\n
dataset_sample\yaml\mpdf_mpdf\.github\workflows\static-analysis.yml
static-analysis.yml
YAML
949
0.95
0
0.03125
awesome-app
459
2024-10-31T14:16:50.258840
MIT
false
b487d08d02f7f036244f2df207c1db2c
name: Build x86_64\n\non:\n push:\n branches:\n - v1.77.3-dev\n\njobs:\n Build-Debug-MSI:\n runs-on: windows-2022\n steps:\n - name: 01. Copy repository\n uses: actions/checkout@v4\n\n - name: 02. Setup MSBuild.exe\n uses: microsoft/setup-msbuild@v1.3.1 # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild\n with:\n vs-version: '17.12.4'\n\n - name: 03. Restore nuget packages for solution\n shell: pwsh\n run: |\n dotnet restore\n\n - name: 04. Compile mRemoteNG\n shell: pwsh\n run: |\n msbuild "$Env:GITHUB_WORKSPACE\mRemoteNG.sln" -p:Configuration="Debug Installer" -p:Platform=x64 /verbosity:normal\n\n - name: 05. Publish MSI as Artifact\n uses: actions/upload-artifact@v4\n with:\n name: debug-msi-x86_64\n path: ${{ github.workspace }}\mRemoteNGInstaller\Installer\bin\x64\Debug\en-US\\n if-no-files-found: error\n\n Build-Debug-Portable:\n runs-on: windows-2022\n steps:\n - name: 01. Copy repository\n uses: actions/checkout@v4\n\n - name: 02. Setup MSBuild.exe\n uses: microsoft/setup-msbuild@v1.3.1 # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild\n with:\n vs-version: '17.8.3'\n\n - name: 03. Restore nuget packages for solution\n shell: pwsh\n run: |\n dotnet restore\n\n - name: 04. Compile mRemoteNG\n shell: pwsh\n run: |\n msbuild "$Env:GITHUB_WORKSPACE\mRemoteNG.sln" -p:Configuration="Debug Portable" -p:Platform=x64 /verbosity:normal\n\n - name: 05. Publish Portable Binary as Artifact\n uses: actions/upload-artifact@v4\n with:\n name: debug-portable-x86_64\n path: ${{ github.workspace }}\mRemoteNG\bin\x64\Debug Portable\\n if-no-files-found: error\n\n Build-Release:\n runs-on: windows-2022\n steps:\n - name: 01. Copy repository\n uses: actions/checkout@v4\n\n - name: 02. Setup MSBuild.exe\n uses: microsoft/setup-msbuild@v1.3.1 # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild\n with:\n vs-version: '17.12.4'\n\n - name: 03. Restore nuget packages for solution\n shell: pwsh\n run: |\n dotnet restore\n\n - name: 04. Compile mRemoteNG\n shell: pwsh\n run: |\n msbuild "$Env:GITHUB_WORKSPACE\mRemoteNG.sln" -p:Configuration="Release Installer and Portable" -p:Platform=x64 /verbosity:normal\n\n - name: 05. Publish MSI Binary as Artifact\n uses: actions/upload-artifact@v4\n with:\n name: release-msi-x86_64\n path: ${{ github.workspace }}\mRemoteNGInstaller\Installer\bin\x64\Release\en-US\\n if-no-files-found: error\n\n - name: 06. Publish Portable Binary as Artifact\n uses: actions/upload-artifact@v4\n with:\n name: release-portable-x86_64\n path: ${{ github.workspace }}\mRemoteNG\bin\x64\Release\n if-no-files-found: error\n\n Create-Release:\n needs: [Build-Debug-MSI, Build-Debug-Portable, Build-Release]\n runs-on: ubuntu-22.04\n steps:\n - name: 01. Copy repository\n uses: actions/checkout@v4\n\n - name: 02. Download Artifacts\n uses: actions/download-artifact@v4\n\n - name: 03. Create compressed archives # Needs to be done because "actions/download-artifact@v4" is extracting the zipped Artifacts\n shell: bash\n run: |\n zip -r debug-msi-x86_64.zip debug-msi-x86_64/\n zip -r debug-portable-x86_64.zip debug-portable-x86_64/\n zip -r release-msi-x86_64.zip release-msi-x86_64/\n zip -r release-portable-x86_64.zip release-portable-x86_64/\n\n - name: 04. Create Release\n shell: bash\n env:\n GH_TOKEN: ${{ github.token }}\n run: |\n gh release create "v1.77.3-dev-${GITHUB_RUN_NUMBER}" \\n --title "v1.77.3-dev-${GITHUB_RUN_NUMBER}" \\n --prerelease \\n --generate-notes \\n $GITHUB_WORKSPACE/debug-msi-x86_64.zip \\n $GITHUB_WORKSPACE/debug-portable-x86_64.zip \\n $GITHUB_WORKSPACE/release-msi-x86_64.zip \\n $GITHUB_WORKSPACE/release-portable-x86_64.zip\n
dataset_sample\yaml\mRemoteNG_mRemoteNG\.github\workflows\build-x86_64.yml
build-x86_64.yml
YAML
4,359
0.8
0.053846
0
react-lib
230
2025-04-23T00:50:11.469536
Apache-2.0
false
aa3bf2aad84c8f50738714d9ee747aa8
ci:\n platform:\n npm:\n # Don't run unmainted test on nomnom, it's only used by build tools, not in MUI.\n nomnom:\n tests:\n unmaintained: skip\n # Don't run vulnerabity test on os-locale, it's only used by yargs in build tools, not in MUI.\n os-locale:\n tests:\n vulnerable: skip\n
dataset_sample\yaml\mui-org_material-ui\.tidelift.yml
.tidelift.yml
YAML
330
0.8
0
0.181818
react-lib
316
2024-02-28T06:41:20.469251
Apache-2.0
false
f46f275966103a231fa204bddd4c3903
coverage:\n status:\n project:\n default:\n target: auto\n threshold: 1%\n patch: off\ncomment: false\n
dataset_sample\yaml\mui-org_material-ui\codecov.yml
codecov.yml
YAML
121
0.7
0
0
awesome-app
509
2024-01-18T17:17:41.436041
Apache-2.0
false
8f15d7e0c99e1ceb09e18dd5aa391ec9
commit_message: '[skip ci]'\npull_request_title: '[docs] Sync translations with Crowdin'\npull_request_labels: [l10n]\nfiles:\n - source: /docs/src/**/*.md\n ignore:\n - /**/%file_name%-%two_letters_code%.md\n - /docs/src/pages/getting-started/templates/*/**/*\n - /docs/src/pages/premium-themes/*/**/*\n - /docs/src/pages/discover-more/backers/*\n - /docs/src/pages/discover-more/roadmap/*\n - /docs/src/pages/company/**/*\n - /docs/pages/careers/**/*\n translation: /%original_path%/%file_name%-%two_letters_code%.%file_extension%\n - source: /docs/data/**/*.md\n ignore:\n - /**/%file_name%-%two_letters_code%.md\n - /docs/data/material/getting-started/templates/*/**/*\n - /docs/data/material/discover-more/backers/*\n - /docs/data/material/discover-more/roadmap/*\n - /docs/data/material/premium-themes/*/**/*\n translation: /%original_path%/%file_name%-%two_letters_code%.%file_extension%\n - source: /docs/translations/**/*.json\n ignore:\n - /**/%file_name%-%two_letters_code%.json\n translation: /%original_path%/%file_name%-%two_letters_code%.%file_extension%\n
dataset_sample\yaml\mui-org_material-ui\crowdin.yml
crowdin.yml
YAML
1,131
0.8
0
0
vue-tools
900
2024-05-20T22:27:27.640252
BSD-3-Clause
false
54479dc254b8bc212cf10a48df38e2fe