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

Implement Zephyr Infrastructure Manager (ZIM) utility #24

Closed
stephanosio opened this issue Apr 29, 2022 · 2 comments
Closed

Implement Zephyr Infrastructure Manager (ZIM) utility #24

stephanosio opened this issue Apr 29, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request priority: medium Medium impact/importance task

Comments

@stephanosio
Copy link
Member

stephanosio commented Apr 29, 2022

Implement Zephyr Infrastructure Manager (ZIM) utility.

The ZIM shall:

  • be a "swiss-army knife" command line utility that:
    • can be invoked in command line as zim
    • provides functionalities to analyse and manage the Zephyr infrastructure services.
    • is conceptually similar aws-cli and gh
  • use Node.js framework.
    • Node.js is a better choice than Python because the Web API integration libraries for GitHub and AWS are readily available and more complete for JavaScript than the Python equivalent.
    • Web API integration is much nicer and more native in JavaScript/TypeScript than in Python.
  • be written in TypeScript.
    • dynamic typing is a sin.
  • provide the following verbs/modules:
    • GitHub configuration query, validation, synchronisation (supersedes Implement GitHub configuration checker script #16)
      • validate/manage users and groups
      • validate/manage repositories (access permissions, branches, configurations)
    • AWS configuration query, validation, synchronisation
      • validate users and groups
      • validate service configurations
    • Discord configuration query, validation, synchronisation
      • validate/manage users and groups
    • GitHub Actions workflow statistics
    • AWS usage statistics
    • Discord statistics

Repo: https://github.com/zephyrproject-rtos/zim

@stephanosio
Copy link
Member Author

stephanosio commented Sep 13, 2022

For GitHub organisation management, evaluate the feasibility of using Terraform and/or Ansible.

Terraform GitHub Provider: https://registry.terraform.io/providers/integrations/github/latest/docs

@stephanosio
Copy link
Member Author

Abandoning this approach since other Infrastructure-as-Code utilities such as Terraform can be used to achieve this.

See #45.

@stephanosio stephanosio closed this as not planned Won't fix, can't repro, duplicate, stale Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority: medium Medium impact/importance task
Projects
None yet
Development

No branches or pull requests

2 participants