Skip to content

Commit 2834871

Browse files
Add claude slash cmd to update metal3-dev-env hash (#1833)
1 parent 1ef91bf commit 2834871

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Update metal3-dev-env Hash
2+
3+
Update the pinned metal3-dev-env commit hash in `01_install_requirements.sh` to the latest commit from the main branch.
4+
5+
## Steps
6+
7+
1. Fetch the latest commit hash from the metal3-dev-env main branch:
8+
```bash
9+
git ls-remote https://github.com/metal3-io/metal3-dev-env.git refs/heads/main | cut -f1
10+
```
11+
12+
2. Update the hash in `01_install_requirements.sh` where it says:
13+
```bash
14+
git reset <HASH> --hard
15+
```
16+
17+
3. After updating, inform the user of:
18+
- The old hash that was replaced
19+
- The new hash that was set
20+
- Suggest they may want to check the metal3-dev-env changelog for breaking changes
21+
22+
## Important Notes
23+
24+
- The hash is pinned to ensure CI stability and catch breaking changes before they affect everyone
25+
- When updating, also check if ANSIBLE_VERSION needs to be aligned with the new metal3-dev-env version (see https://github.com/metal3-io/metal3-dev-env/blob/master/lib/common.sh)
26+

0 commit comments

Comments
 (0)