Skip to content

docs: added the genie repo - #21

Merged
dverma-cd merged 4 commits into
masterfrom
feat/docsreadme
Apr 21, 2026
Merged

docs: added the genie repo#21
dverma-cd merged 4 commits into
masterfrom
feat/docsreadme

Conversation

@karan-cd

Copy link
Copy Markdown
Contributor

Description

This pull request integrates Genie-based automation into the repository to standardize documentation generation and streamline development workflows.

What’s included:

  • Added README.yaml for dynamic README generation
  • Added Makefile for Genie integration
  • Added readme.yml workflow for automation
  • Updated tag-release.yml to skip dependabot

Why this change:

  • Ensures consistent documentation
  • Reduces manual effort
  • Enables automated pipelines

Type of Change

  • CI/CD
  • Documentation

Checklist

  • Reviewed existing PRs
  • Pipelines passing
  • Docs updated

@karan-cd
karan-cd requested a review from a team as a code owner April 21, 2026 14:20
@karan-cd karan-cd added the enhancement New feature or request label Apr 21, 2026
@karan-cd karan-cd self-assigned this Apr 21, 2026
@karan-cd
karan-cd requested a review from dverma-cd April 21, 2026 14:21

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds a Makefile and a README.yaml for the Terraform Azure Virtual Machine module. The review feedback suggests using $(CURDIR) in the Makefile for efficiency, correcting a repository name discrepancy, standardizing the spelling of "License", and updating the usage example to correctly reflect the module's functionality.

Comment thread Makefile
@@ -0,0 +1,7 @@
GENIE_PATH ?= $(shell pwd)/../../../genie

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

In GNU Make, it is generally preferred to use the built-in variable $(CURDIR) instead of calling the external pwd command via $(shell pwd). $(CURDIR) is more efficient as it does not require spawning a shell process.

GENIE_PATH ?= $(CURDIR)/../../../genie

Comment thread Makefile
GENIE_PATH ?= $(shell pwd)/../../../genie

ifeq ($(wildcard $(GENIE_PATH)),)
GENIE_PATH := $(shell pwd)/genie

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Consistent with the previous suggestion, use $(CURDIR) here as well to avoid unnecessary shell execution.

GENIE_PATH := $(CURDIR)/genie

Comment thread README.yaml

license: "APACHE"

github_repo: terraform-az-modules/terraform-azurerm-virtual-machine

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

There is a discrepancy between the repository name specified here (terraform-azurerm-virtual-machine) and the one defined in variables.tf (line 52: terraform-azure-virtual-machine). Please ensure they are consistent to avoid broken links or issues with automated documentation generation.

github_repo: terraform-az-modules/terraform-azure-virtual-machine

Comment thread README.yaml
image: "https://img.shields.io/badge/Terraform-v1.10.0-green"
url: "https://www.terraform.io"

- name: "Licence"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The spelling 'Licence' (British English) is used here, while 'License' (American English) is used on line 11 and in the badge image URL on line 21. It is recommended to use consistent spelling throughout the document.

  - name: "License"

Comment thread README.yaml
Comment on lines +41 to +47
module "resource_group" {
source = "terraform-az-modules/resource-group/azurerm"
version = "1.0.3"
name = "core"
environment = "dev"
location = "centralus"
label_order = ["name", "environment", "location"]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The usage example appears to be a placeholder from a template for a 'resource-group' module. It should be updated to demonstrate how to use the current 'virtual-machine' module.

  module "virtual_machine" {
    source      = "terraform-az-modules/virtual-machine/azurerm"
    version     = "1.0.0"
    name        = "app"
    environment = "dev"
    location    = "centralus"
    label_order = ["name", "environment", "location"]
  }

@dverma-cd
dverma-cd merged commit 3779701 into master Apr 21, 2026
23 checks passed
@dverma-cd
dverma-cd deleted the feat/docsreadme branch April 21, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants