Skip to content

Commit

Permalink
Merge pull request #17 from cbrgm/refactor-commands
Browse files Browse the repository at this point in the history
feat: add cli commands to validate, diff and render projects, release new configuration spec
  • Loading branch information
cbrgm authored Dec 17, 2023
2 parents c54f10f + 2d21389 commit 561f732
Show file tree
Hide file tree
Showing 19 changed files with 1,931 additions and 1,206 deletions.
93 changes: 93 additions & 0 deletions .anvil.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"generated_at": "2023-12-17T02:18:29.166451+01:00",
"version": "v1.1.4-dirty",
"files": [
{
"path": ".editorconfig"
},
{
"path": ".github/FUNDING.yml"
},
{
"path": ".github/auto_assign.yml"
},
{
"path": ".github/dependabot.yml"
},
{
"path": ".github/issue_template.md"
},
{
"path": ".github/pull_request_template.md"
},
{
"path": ".github/renovate.json"
},
{
"path": ".github/settings.yml"
},
{
"path": ".github/workflows/autoassign.yml"
},
{
"path": ".github/workflows/automerge.yml"
},
{
"path": ".github/workflows/notify.yml"
},
{
"path": ".github/workflows/stale.yml"
},
{
"path": ".github/workflows/tag.yml"
},
{
"path": "CODEOWNERS"
},
{
"path": "CONTRIBUTING.md"
},
{
"path": "LICENSE"
},
{
"path": ".dockerignore"
},
{
"path": ".github/workflows/container.yml"
},
{
"path": ".github/workflows/go-binaries.yml"
},
{
"path": ".github/workflows/go-lint-test.yml"
},
{
"path": ".gitignore"
},
{
"path": ".golangci.yml"
},
{
"path": "Dockerfile.linux.386"
},
{
"path": "Dockerfile.linux.amd64"
},
{
"path": "Dockerfile.linux.arm"
},
{
"path": "Dockerfile.linux.arm64"
},
{
"path": "Makefile"
},
{
"path": "flake.lock"
},
{
"path": "flake.nix"
}
]
}
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# These are supported funding model platforms

ko_fi: chrisbargmann

16 changes: 8 additions & 8 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ updates:
directory: "/"
# Directory path to search for dependencies
schedule:
# Update interval (e.g., weekly)
interval: "weekly"
# Update interval (e.g., daily)
interval: "daily"
groups:
all-dependencies:
patterns:
Expand All @@ -25,8 +25,8 @@ updates:
directory: "/"
# Directory path to search for dependencies
schedule:
# Update interval (e.g., weekly)
interval: "weekly"
# Update interval (e.g., daily)
interval: "daily"
groups:
all-dependencies:
patterns:
Expand All @@ -40,8 +40,8 @@ updates:
directory: "/"
# Directory path to search for dependencies
schedule:
# Update interval (e.g., weekly)
interval: "weekly"
# Update interval (e.g., daily)
interval: "daily"
groups:
all-dependencies:
patterns:
Expand All @@ -55,8 +55,8 @@ updates:
directory: "/"
# Directory path to search for dependencies
schedule:
# Update interval (e.g., weekly)
interval: "weekly"
# Update interval (e.g., daily)
interval: "daily"
groups:
all-dependencies:
patterns:
Expand Down
6 changes: 6 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>cbrgm/cbrgm//renovate/preset"
]
}
9 changes: 6 additions & 3 deletions .github/workflows/example-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ jobs:
uses: actions/checkout@v4

- name: Render All Files
uses: cbrgm/structuresmith@v1.1.4
uses: cbrgm/structuresmith@v1
with:
config-file: ./examples/configuration-simple.yml
# required
project: example/repo1
# optional
config-file: ./anvil.yml
output-path: ./out
max-parallel: 1
templates-dir: ./templates
3 changes: 2 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2022 Christian Bargmann
Copyright 2023 Chris Bargmann

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -199,3 +199,4 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Loading

0 comments on commit 561f732

Please sign in to comment.