You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- **`bump-edot-images.yml`**: Main updatecli configuration that defines sources and targets
44
+
- **`values.d/scm.yml`**: Contains SCM configuration values for GitHub authentication
45
+
46
+
### GitHub Workflow
47
+
48
+
The automation runs via GitHub workflow `.github/workflows/bump-edot-images.yml` which:
49
+
- Runs Monday to Friday at 3 PM UTC
50
+
- Can be triggered manually via workflow_dispatch
51
+
- Uses the OBS_AUTOMATION_APP credentials for creating PRs
52
+
- Creates pull requests with `dependencies`, `skip-changelog`, and backport labels.
53
+
54
+
### Example Output
55
+
56
+
When new versions are detected, the automation will create a pull request similar to [elastic-agent#7327](https://github.com/elastic/elastic-agent/pull/7327) that was manually created previously.
57
+
58
+
### Version Handling
59
+
60
+
The configuration handles different version formatting:
61
+
- Some repositories use `v` prefix in their tags (like `v1.2.0`)
62
+
- The automation strips the `v` prefix where needed to match the expected docker tag format
63
+
- Go instrumentation keeps the `v` prefix as that's the expected format
64
+
65
+
### Manual Testing
66
+
67
+
To test the configuration locally:
68
+
69
+
```bash
70
+
export GITHUB_TOKEN=$(gh auth token)
71
+
export GITHUB_ACTOR=v1v
72
+
updatecli diff \
73
+
--config .ci/updatecli/bump-edot-images.yml \
74
+
--values .ci/updatecli/values.d/scm.yml
75
+
# Apply changes (requires write access to elastic-agent repo)
0 commit comments