Skip to content

Commit 8aaed55

Browse files
committed
Initial commit: v0.1.0
0 parents  commit 8aaed55

File tree

180 files changed

+20813
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

180 files changed

+20813
-0
lines changed

.agent/team/feature-completion-mission.md

Lines changed: 435 additions & 0 deletions
Large diffs are not rendered by default.

.config/actionlint.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# actionlint configuration for this project
2+
# References DocOps Lab base configuration
3+
4+
# Project-specific ignores (add as needed):
5+
ignore:
6+
# Example: Ignore specific workflow patterns
7+
# - 'workflow "deploy.yml"'
8+
# - '"ubuntu-20.04" is deprecated'
9+
10+
# Project-specific overrides:
11+
shellcheck:
12+
enable: true
13+
# shell-options: "-e SC2016" # Add project-specific ShellCheck exclusions

.config/docopslab-dev.yml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
source:
2+
repo: DocOps/lab
3+
ref: v1
4+
root: gems/docopslab-dev/config-packs
5+
6+
attributes:
7+
product_version:
8+
aliases: [releasehx_version,this_prod_vrsn]
9+
source: README.adoc
10+
object: this_prod_vrsn
11+
12+
docs:
13+
- source: docs/agent/AGENTS.md
14+
target: AGENTS.md
15+
synced: false
16+
- source: docs/agent/skills/*.md
17+
target: .agent/docs/skills/
18+
synced: true
19+
- source: docs/agent/topics/*.md
20+
target: .agent/docs/topics/
21+
synced: true
22+
- source: docs/agent/roles/*.md
23+
target: .agent/docs/roles/
24+
synced: true
25+
- source: docs/agent/missions/*.md
26+
target: .agent/docs/missions/
27+
synced: true
28+
29+
tools:
30+
- tool: rubocop
31+
files:
32+
- source: rubocop/base.yml
33+
target: .config/.vendor/docopslab/rubocop.yml
34+
synced: true
35+
- source: rubocop/project.yml
36+
target: .config/rubocop.yml
37+
synced: false
38+
39+
- tool: vale
40+
files:
41+
- source: vale/base.ini
42+
target: .config/.vendor/docopslab/vale.ini
43+
synced: true
44+
- source: vale/project.ini
45+
target: .config/vale.local.ini
46+
synced: false
47+
paths:
48+
skip:
49+
- build/*
50+
51+
- tool: htmlproofer
52+
enabled: true # Disabled by default, enable per project
53+
files:
54+
- source: htmlproofer/base.yml
55+
target: .config/.vendor/docopslab/htmlproofer.yml
56+
synced: true
57+
- source: htmlproofer/project.yml
58+
target: .config/htmlproofer.local.yml
59+
synced: false
60+
61+
- tool: shellcheck
62+
files:
63+
- source: shellcheck/base.shellcheckrc
64+
target: .config/shellcheckrc
65+
synced: true
66+
67+
- tool: actionlint
68+
files:
69+
- source: actionlint/base.yml
70+
target: .config/.vendor/docopslab/actionlint.yml
71+
synced: true
72+
- source: actionlint/project.yml
73+
target: .config/actionlint.yml
74+
synced: false

.config/htmlproofer.local.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
# DocOps Lab HTML-Proofer Base Configuration
3+
# This provides sensible defaults for DocOps Lab projects
4+
check_directory: build/docs/_site
5+
6+
# URL checking options
7+
check_external_hash: false # Skip checking external URL fragments (can be slow)
8+
check_img_http: false # Allow HTTP images for now
9+
enforce_https: false # Don't enforce HTTPS for all links
10+
11+
# URLs to ignore (patterns and strings)
12+
ignore_urls:
13+
- /localhost/ # Skip local development URLs
14+
- /127\.0\.0\.1/ # Skip local IPs
15+
- /example\.com/ # Skip example URLs
16+
- /foo\.bar/ # Skip placeholder URLs
17+
- /fonts.googleapis.com/ # Skip Google Fonts
18+
- /fonts.gstatic.com/ # Skip Google Fonts static
19+
# GitHub Pages baseurl patterns (validated on live server at localhost:4100)
20+
- /^\/docs\// # Internal links with /docs/ baseurl prefix
21+
- /github\.com.*\/blob\// # GitHub source links (rate limiting)
22+
- /medium\.com/ # Medium links (403 errors)
23+
24+
# Files to ignore (patterns)
25+
ignore_files:
26+
- slides/ # Skip slides directories
27+
28+
# Other options
29+
# check_favicon: false # Don't require favicon
30+
# check_html: true # Check HTML structure
31+
# check_opengraph: false # Skip OpenGraph validation
32+
# disable_external: false # Check external links (can be disabled for speed)
33+
check_favicon: false # Don't require favicon
34+
check_html: true # Check HTML structure
35+
check_opengraph: false # Skip OpenGraph validation
36+
disable_external: false # Check external links
37+
check_directory: build/docs/_site
38+
assume_extension: true
39+
root_dir: build/docs/_site
40+
url: "http://localhost:4100/docs/"

.config/rubocop.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# DocOps Lab RuboCop Configuration
2+
# This file inherits from the base configuration and can be customized for your project
3+
4+
inherit_from: .vendor/docopslab/rubocop.yml
5+
6+
AllCops:
7+
SuggestExtensions: false
8+
Exclude:
9+
- lib/releasehx/generated.rb
10+
11+
# Metrics cops - Disabled for now as the codebase is complex
12+
# These should be addressed in future refactoring work
13+
Metrics/ClassLength:
14+
Enabled: false
15+
16+
Metrics/ModuleLength:
17+
Enabled: false
18+
19+
Metrics/MethodLength:
20+
Enabled: false
21+
22+
Metrics/ParameterLists:
23+
Enabled: false
24+
25+
# RSpec cops - More lenient for integration tests
26+
RSpec/ExampleLength:
27+
Max: 25
28+
29+
RSpec/MultipleExpectations:
30+
Max: 5
31+
32+
RSpec/MultipleMemoizedHelpers:
33+
Max: 10
34+
35+
RSpec/DescribeClass:
36+
Enabled: false
37+
38+
RSpec/SpecFilePathFormat:
39+
Enabled: false
40+
41+
RSpec/MessageSpies:
42+
Enabled: false
43+
44+
RSpec/MultipleDescribes:
45+
Enabled: false

.config/shellcheckrc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# ShellCheck configuration for DocOps Lab projects
2+
# This file is synced from docopslab-dev gem
3+
4+
# Disable some overly strict rules for our use cases
5+
disable=SC2034 # Variable appears unused (common in sourced scripts)
6+
disable=SC2086 # Double quote to prevent globbing (sometimes we want globbing)
7+
disable=SC2181 # Check exit code directly with e.g. 'if mycmd;', not indirectly with $?
8+
9+
# Set default shell to bash (most of our scripts are bash)
10+
shell=bash
11+
12+
# Enable additional optional checks
13+
enable=quote-safe-variables
14+
enable=require-variable-braces

.config/sourcerer.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
generated:
2+
module: ReleaseHx
3+
path: lib/releasehx/generated.rb
4+
attributes:
5+
- source: README.adoc
6+
name: globals
7+
snippets:
8+
- source: README.adoc
9+
tag: helpscreen
10+
name: helpscreen
11+
out: helpscreen.txt
12+
regions:
13+
- source: README.adoc
14+
tag: ai-prompt
15+
out: releasehx-ai-prompt.adoc
16+
render:
17+
- template: lib/schemagraphy/templates/cfgyml/config-reference.adoc.liquid
18+
data: specs/data/config-def.yml
19+
key: config_def
20+
attrs: README.adoc
21+
out: build/docs/config-reference.adoc
22+
name: config-reference
23+
- template: lib/schemagraphy/templates/cfgyml/sample-config.yaml.liquid
24+
data: specs/data/config-def.yml
25+
key: config_def
26+
attrs: README.adoc
27+
out: build/docs/sample-config.yml
28+
name: sample-config
29+
- converter: SchemaGraphy::CFGYML::DocBuilder
30+
data: specs/data/config-def.yml
31+
attrs: README.adoc
32+
out: build/docs/config-reference.json
33+
name: config-reference-json
34+
pretty: true

.config/vale.local.ini

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# DocOps Lab Vale Configuration
2+
# Combined base and project configuration for consistent Vale linting
3+
4+
MinAlertLevel = warning
5+
StylesPath = .vendor/vale/styles
6+
Packages = RedHat, AsciiDoc
7+
8+
# Base styles that all projects should use (from base config)
9+
[*]
10+
BasedOnStyles = RedHat, DocOpsLab-Authoring, DocOpsLab-AsciiDoc
11+
12+
[README.adoc]
13+
DocOpsLab-Authoring.Spelling = NO
14+
15+
[docs/manpage.adoc]
16+
DocOpsLab-AsciiDoc.UnresolvedAttributes = NO
17+
DocOpsLab-AsciiDoc.ProperDLs = NO

.dockerignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
build/
2+
.git
3+
test/
4+
spec/

.env.testing.tplt

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
#!/bin/bash
2+
# RelaseHx API Testing Environment Variables
3+
# Source this file: source .env.testing
4+
# IMPORTANT: RENAME this file to .env.testing
5+
# AND add it to .gitignore to avoid committing tokens!
6+
7+
# GitHub API Testing
8+
# Uses your DocOps/issuer-test repository for testing
9+
export GITHUB_TOKEN="" # Replace with your actual GitHub token (ghp_xxxx)
10+
export GITHUB_REPO="DocOps/issuer-test" # Replace if using another repo
11+
12+
# Optional GitHub environment variables (using RelaseHx defaults)
13+
# export GITHUB_API_HOST="https://api.github.com" # Default, usually not needed
14+
15+
# GitLab API Testing (to be configured)
16+
export GITLAB_TOKEN="" # Replace with your actual GitLab token (glpat-xxxx)
17+
export GITLAB_PROJECT_ID="" # Replace with numeric project ID
18+
19+
# Optional GitLab environment variables
20+
export GITLAB_API_HOST="https://gitlab.com" # Default for GitLab.com
21+
22+
# Jira API Testing (researching options)
23+
export JIRA_USERNAME="" # Replace with your Jira username (probably your email)
24+
export JIRA_API_TOKEN=""
25+
export JIRA_HOST="https://docopslab.atlassian.net" # Replace with your Jira host URL
26+
export JIRA_PROJECT="RHX" # Replace with your Jira project key
27+
28+
# RelaseHx debugging
29+
export RELEASEHX_LOG_LEVEL=DEBUG
30+
31+
echo '=== RelaseHx API Testing Environment ==='
32+
echo "GitHub repo: $GITHUB_REPO"
33+
echo "GitHub token: ${GITHUB_TOKEN:+Set (${#GITHUB_TOKEN} chars)}${GITHUB_TOKEN:-❌ NOT SET}"
34+
echo "GitLab project: ${GITLAB_PROJECT_ID:-❌ NOT SET}"
35+
echo "GitLab token: ${GITLAB_TOKEN:+Set (${#GITLAB_TOKEN} chars)}${GITLAB_TOKEN:-❌ NOT SET}"
36+
echo "Jira host: ${JIRA_HOST:-❌ NOT SET}"
37+
echo "Jira user: ${JIRA_USERNAME:-❌ NOT SET}"
38+
echo "Jira token: ${JIRA_API_TOKEN:+Set (${#JIRA_API_TOKEN} chars)}${JIRA_API_TOKEN:-❌ NOT SET}"

0 commit comments

Comments
 (0)