GithubHelp home page GithubHelp logo

cloudposse / github-action-atmos-component-updater Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 1.12 MB

GitHub Action that can be used as workflow for automatic update via Pull Requests infrastructure repository according to versions to components sources

Home Page: https://cloudposse.com/accelerate

License: Apache License 2.0

Makefile 0.78% HCL 0.21% Python 93.30% Jinja 2.49% Dockerfile 1.64% Shell 1.59%

github-action-atmos-component-updater's People

Contributors

actions-user avatar dudymas avatar goruha avatar milldr avatar osterman avatar zdmytriv avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

github-action-atmos-component-updater's Issues

Clean up State Branches

Have a question? Please checkout our Slack Community or visit our Slack Archive.

Slack Community

Describe the Feature

The component updater creates and orphans a lot of branches. Any PR that is not merged and is closed creates a stale branch.

Add an (optional) step to the component updater workflow to clean up stale branches

Expected Behavior

The component updater should include an option to regularly clean up stale branches in the same workflow

Use Case

Clean up stale branches every night

Describe Ideal Solution

No persistent stale branches created by this action

Alternatives Considered

Use another tool on a schedule to clean up stale branches. Examples

Additional Context

n/a

Embed Release Notes

Embed the release notes in a <details/> block for the current release. Bonos points for aggregating all release notes between versions.

postgresql-user not up to date

Describe the Bug

Submodule modules/postgresql-user is not updated within aurora-postgres-resources.
The line

if not os.path.isfile(updated_file):
skip folders.
This could be the reason for skipping new versions for a "submodule".

Expected Behavior

Changes in a submodule only should be detected by the updater.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Configure component.yaml with version 1.310.0
  2. I expect to get version 1.330.0
  3. Updater say that no changes are detected.

Screenshots

2023-10-26T10:19:11.1443389Z [26-10-2023 10:19:11] INFO    Processing component: aurora-postgres-resources
2023-10-26T10:19:11.6096994Z [26-10-2023 10:19:11] INFO    Looking for PR with branch: component-update/aurora-postgres-resources/1.330.0
2023-10-26T10:19:12.0148588Z [26-10-2023 10:19:12] INFO    Executing 'atmos vendor pull -c aurora-postgres-resources' for component version '1.310.0' ... 
2023-10-26T10:19:15.0423445Z [26-10-2023 10:19:15] INFO    Successfully vendored component: aurora-postgres-resources
2023-10-26T10:19:15.0428870Z [26-10-2023 10:19:15] INFO    Executing 'atmos vendor pull -c aurora-postgres-resources' for component version '1.330.0' ... 
2023-10-26T10:19:18.2087857Z [26-10-2023 10:19:18] INFO    Successfully vendored component: aurora-postgres-resources
2023-10-26T10:19:18.2125023Z [26-10-2023 10:19:18] INFO    Looking good. No changes found

Environment (please complete the following information):

Anything that will help us triage the bug will help. Here are some ideas:

  • github action

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.