From d3cf3ad2ded8e62d15a6e6013345e52e44d9a15e Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Thu, 19 Jun 2025 16:03:22 -0700 Subject: [PATCH 1/3] Add initial `vcpkg` test cases --- vcpkg/builtin-baseline/vcpkg.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 vcpkg/builtin-baseline/vcpkg.json diff --git a/vcpkg/builtin-baseline/vcpkg.json b/vcpkg/builtin-baseline/vcpkg.json new file mode 100644 index 00000000..d0a210b4 --- /dev/null +++ b/vcpkg/builtin-baseline/vcpkg.json @@ -0,0 +1,8 @@ +{ + "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", + "builtin-baseline": "fe1cde61e971d53c9687cf9a46308f8f55da19fa", + "dependencies": [ + "fmt", + "ms-gsl" + ] +} \ No newline at end of file From abf1e01ab0dec5e1376f3d3615a287dc485794ef Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Thu, 19 Jun 2025 16:27:33 -0700 Subject: [PATCH 2/3] Add initial `vcpkg` smoke tests --- tests/smoke-vcpkg-builtin-baseline.yaml | 104 ++++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 tests/smoke-vcpkg-builtin-baseline.yaml diff --git a/tests/smoke-vcpkg-builtin-baseline.yaml b/tests/smoke-vcpkg-builtin-baseline.yaml new file mode 100644 index 00000000..767cf97b --- /dev/null +++ b/tests/smoke-vcpkg-builtin-baseline.yaml @@ -0,0 +1,104 @@ +input: + job: + package-manager: vcpkg + allowed-updates: + - update-type: all + source: + provider: github + repo: dependabot/smoke-tests + directory: /vcpkg/builtin-baseline + commit: 761fd1bcff70338b9105d5cb4e2032417391d39d + credentials: + - host: github.com + password: $LOCAL_GITHUB_ACCESS_TOKEN + type: git_source + username: x-access-token +output: + - type: update_dependency_list + expect: + data: + dependencies: + - name: github.com/microsoft/vcpkg + requirements: + - file: vcpkg.json + groups: [] + requirement: null + source: + ref: master + type: git + url: https://github.com/microsoft/vcpkg.git + version: fe1cde61e971d53c9687cf9a46308f8f55da19fa + dependency_files: + - /vcpkg/builtin-baseline/vcpkg.json + - type: create_pull_request + expect: + data: + base-commit-sha: 761fd1bcff70338b9105d5cb4e2032417391d39d + dependencies: + - name: github.com/microsoft/vcpkg + previous-requirements: + - file: vcpkg.json + groups: [] + requirement: null + source: + ref: master + type: git + url: https://github.com/microsoft/vcpkg.git + previous-version: fe1cde61e971d53c9687cf9a46308f8f55da19fa + requirements: + - file: vcpkg.json + groups: [] + requirement: null + source: + ref: ef7dbf94b9198bc58f45951adcf1f041fcbc5ea0 + type: git + url: https://github.com/microsoft/vcpkg.git + version: ef7dbf94b9198bc58f45951adcf1f041fcbc5ea0 + directory: /vcpkg/builtin-baseline + updated-dependency-files: + - content: |- + { + "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", + "builtin-baseline": "ef7dbf94b9198bc58f45951adcf1f041fcbc5ea0", + "dependencies": [ + "fmt", + "ms-gsl" + ] + } + content_encoding: utf-8 + deleted: false + directory: /vcpkg/builtin-baseline + name: vcpkg.json + operation: update + support_file: false + type: file + pr-title: Bump github.com/microsoft/vcpkg from master to ef7dbf94b9198bc58f45951adcf1f041fcbc5ea0 in /vcpkg/builtin-baseline + pr-body: | + Bumps [github.com/microsoft/vcpkg](https://github.com/microsoft/vcpkg) from master to ef7dbf94b9198bc58f45951adcf1f041fcbc5ea0. +
+ Commits + +
+
+ commit-message: |- + Bump github.com/microsoft/vcpkg in /vcpkg/builtin-baseline + + Bumps [github.com/microsoft/vcpkg](https://github.com/microsoft/vcpkg) from master to ef7dbf94b9198bc58f45951adcf1f041fcbc5ea0. + - [Release notes](https://github.com/microsoft/vcpkg/releases) + - [Commits](https://github.com/microsoft/vcpkg/compare/fe1cde61e971d53c9687cf9a46308f8f55da19fa...ef7dbf94b9198bc58f45951adcf1f041fcbc5ea0) + - type: mark_as_processed + expect: + data: + base-commit-sha: 761fd1bcff70338b9105d5cb4e2032417391d39d From 16bf4e3c4344a9659723a1ae57d608bf166d5815 Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Thu, 3 Jul 2025 10:18:57 -0700 Subject: [PATCH 3/3] Add `ignore-conditions` --- tests/smoke-vcpkg-builtin-baseline.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/smoke-vcpkg-builtin-baseline.yaml b/tests/smoke-vcpkg-builtin-baseline.yaml index 767cf97b..cb21605b 100644 --- a/tests/smoke-vcpkg-builtin-baseline.yaml +++ b/tests/smoke-vcpkg-builtin-baseline.yaml @@ -3,6 +3,10 @@ input: package-manager: vcpkg allowed-updates: - update-type: all + ignore-conditions: + - dependency-name: github.com/microsoft/vcpkg + source: tests/smoke-vcpkg-builtin-baseline.yaml + version-requirement: '>2025.06.13' source: provider: github repo: dependabot/smoke-tests