Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate components updates #36

Closed
stefanprodan opened this issue Jun 10, 2020 · 1 comment
Closed

Automate components updates #36

stefanprodan opened this issue Jun 10, 2020 · 1 comment
Labels
area/ci CI related issues and pull requests

Comments

@stefanprodan
Copy link
Member

stefanprodan commented Jun 10, 2020

Create GitHub actions workflow that opens PRs every time a controller is released. The PR should bump the version in manifests/bases and go.mod.

Workflow:

  • fetch latest release from GitHub API
  • run go mod edit -require=github.com/fluxcd/source-controller@<VERSION>
  • run go mod tidy
  • check for changes with git diff
  • replace the version in bases/source-controller/kustomization.yaml
  • commit changes
  • open PR with peter-evans/create-pull-request@v2
@stefanprodan stefanprodan added the enhancement New feature or request label Jun 10, 2020
@stefanprodan stefanprodan added area/ci CI related issues and pull requests and removed enhancement New feature or request labels Jun 18, 2020
@hiddeco
Copy link
Member

hiddeco commented Sep 15, 2020

This has been implemented in #177 (and some sequential PRs to improve the base that was added there).

@hiddeco hiddeco closed this as completed Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci CI related issues and pull requests
Projects
None yet
Development

No branches or pull requests

2 participants