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

feat(HACBS-2226): create a task to clone a repo and update files given fileUpdates for repo. #30

Merged
merged 1 commit into from
Jul 28, 2023

Conversation

theflockers
Copy link
Contributor

@theflockers theflockers commented Jun 21, 2023

feat(HACBS-2226): create a task to clone a repo and update files given fileUpdates for repo.

@theflockers theflockers changed the title hacbs_2230 feat(HACBS-2230): create a task to clone a repo and update files given fileUpdates for repo. Jun 22, 2023
@theflockers theflockers changed the title feat(HACBS-2230): create a task to clone a repo and update files given fileUpdates for repo. feat(HACBS-2226): create a task to clone a repo and update files given fileUpdates for repo. Jun 22, 2023
@theflockers theflockers force-pushed the hacbs_2230 branch 2 times, most recently from f6afcbf to 18dd935 Compare June 26, 2023 14:42
@mmalina
Copy link
Contributor

mmalina commented Jul 7, 2023

@theflockers the story only talks about creating a task, not a pipeline. So maybe the pipeline is not needed at this stage? Also, it says that the format should be clearly defined. I know that you basically took what I had in my story (and I took it from the google doc linked from the feature/epic). But it would be good if this gets documented somewhere for future reference. Not sure about the best place though. Maybe it should be here? https://redhat-appstudio.github.io/book/book/release-service.html

Also, where are the bash functions used in the task defined? I'd like to take a look.

@theflockers
Copy link
Contributor Author

@mmalina I agree that the ticket does not say it, although to test it I had to create the Pipeline as the InternalServices controller can create the InternalRequest to run it. That said, I would rather rewrite the ticket adding the Pipeline to it. Maybe @scoheb can tell us what he thinks.

About the doc, agreed as well. Not sure about the best place.

The functions will be in another PR. I will link it here once I push it.

@theflockers
Copy link
Contributor Author

@mmalina https://github.com/redhat-appstudio/release-service-utils/pull/40/files

@scoheb
Copy link
Contributor

scoheb commented Jul 10, 2023

@theflockers theflockers marked this pull request as ready for review July 10, 2023 13:51
theflockers referenced this pull request in konflux-ci/release-service-utils Jul 13, 2023
This PR adds the installation of the glab tool and functions to handle gitlab repos.
Relates to hacbs-release/app-interface-deployments#30
theflockers referenced this pull request in konflux-ci/release-service-utils Jul 13, 2023
This PR adds the installation of the glab tool and functions to handle gitlab repos.
Relates to hacbs-release/app-interface-deployments#30
theflockers referenced this pull request in konflux-ci/release-service-utils Jul 17, 2023
This PR adds the installation of the glab tool and functions to handle gitlab repos.
Relates to hacbs-release/app-interface-deployments#30
theflockers referenced this pull request in konflux-ci/release-service-utils Jul 18, 2023
…epos

This PR adds the installation of the glab tool and functions to handle gitlab repos.
Relates to hacbs-release/app-interface-deployments#30
theflockers referenced this pull request in konflux-ci/release-service-utils Jul 18, 2023
Jira: https://issues.redhat.com/browse/HACBS-2226

- installs the glab tool
- adds functions to manage git and gitlab repos
- adds Red Hat IT Root CA

Relates to hacbs-release/app-interface-deployments#30
@theflockers
Copy link
Contributor Author

PTAL @mmalina

@theflockers theflockers requested a review from mmalina July 28, 2023 09:05
@mmalina mmalina self-requested a review July 28, 2023 12:01
This commit creates a new pipeline and task to process updates
in yaml files for a given repo, ref and paths (json array)

- creates file-updates pipeline
- creates task-process-file-updates task
@theflockers theflockers merged commit 67ca379 into hacbs-release:main Jul 28, 2023
@theflockers theflockers deleted the hacbs_2230 branch July 28, 2023 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants