Skip to content

Commit ab78c1c

Browse files
committed
add smoke tests for mise ecosystem
1 parent afc6efb commit ab78c1c

2 files changed

Lines changed: 79 additions & 0 deletions

File tree

mise/mise.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[tools]
2+
helm = "3.17.3"

tests/smoke-mise.yaml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
input:
2+
job:
3+
command: update
4+
package-manager: mise
5+
allowed-updates:
6+
- update-type: all
7+
experiments:
8+
enable_beta_ecosystems: true
9+
ignore-conditions:
10+
- dependency-name: helm
11+
source: tests/smoke-mise.yaml
12+
version-requirement: '>4.1.3'
13+
source:
14+
provider: github
15+
repo: dependabot/smoke-tests
16+
directory: /mise
17+
commit: ee48cf95263f177b636b2e04200981ef35f4f14d
18+
credentials:
19+
- host: github.com
20+
password: $LOCAL_GITHUB_ACCESS_TOKEN
21+
type: git_source
22+
username: x-access-token
23+
output:
24+
- type: update_dependency_list
25+
expect:
26+
data:
27+
dependencies:
28+
- name: helm
29+
requirements:
30+
- file: mise.toml
31+
groups: []
32+
requirement: 3.17.3
33+
source: null
34+
version: 3.17.3
35+
dependency_files:
36+
- /mise/mise.toml
37+
- type: create_pull_request
38+
expect:
39+
data:
40+
base-commit-sha: ee48cf95263f177b636b2e04200981ef35f4f14d
41+
dependencies:
42+
- name: helm
43+
previous-requirements:
44+
- file: mise.toml
45+
groups: []
46+
requirement: 3.17.3
47+
source: null
48+
previous-version: 3.17.3
49+
requirements:
50+
- file: mise.toml
51+
groups: []
52+
requirement: 4.1.3
53+
source: null
54+
version: 4.1.3
55+
directory: /mise
56+
updated-dependency-files:
57+
- content: |
58+
[tools]
59+
helm = "4.1.3"
60+
content_encoding: utf-8
61+
deleted: false
62+
directory: /mise
63+
name: mise.toml
64+
operation: update
65+
support_file: false
66+
type: file
67+
pr-title: Bump helm from 3.17.3 to 4.1.3 in /mise
68+
pr-body: |
69+
Bumps helm from 3.17.3 to 4.1.3.
70+
commit-message: |-
71+
Bump helm from 3.17.3 to 4.1.3 in /mise
72+
73+
Bumps helm from 3.17.3 to 4.1.3.
74+
- type: mark_as_processed
75+
expect:
76+
data:
77+
base-commit-sha: ee48cf95263f177b636b2e04200981ef35f4f14d

0 commit comments

Comments
 (0)