kernelci / kernelci/kcidb

Break down the cloud script

Open
#313 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
26
Forks
40
PR merge metrics
No merged PRs in 30d

Description

At the moment `cloud` - our cloud deployment management script is 2099 lines long. That's too much, especially for bash code. Split the file into modules, e.g. `psql.sh`, `bigquery.sh`, `password.sh`, `secret.sh`, and so on. Use the double-include guard and module include logic from [thud](https://github.com/spbnick/thud/), but still expect to be executed from the source directory.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the 2099-line `cloud` script and the double-include guard and module include logic in thud. Identify the cloud-provider and credential-related sections for modules such as `psql.sh`, `bigquery.sh`, `password.sh`, and `secret.sh`; done means the script is split into modules while still executing from the source directory.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash
Domain
cloud, devops
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.