Skip to content

Commit

Permalink
refactor: update tenzir-devops
Browse files Browse the repository at this point in the history
  • Loading branch information
GTrunSec committed Nov 6, 2023
1 parent 14e6fe3 commit 113bda1
Show file tree
Hide file tree
Showing 28 changed files with 1,116 additions and 602 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nix-oci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:

- name: copy oci-image to the register
run: |
nix run ./#x86_64-linux.dev.containers.default.copyToRegistry
nix run ./#x86_64-linux.dev.containers.default.out.copyToRegistry
30 changes: 17 additions & 13 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,27 @@

* Configuration languages or files

By simply placing the supported configuration formats or files in the corresponding folders, the auto-importing mechanism will be triggered automatically.
By simply placing the supported configuration formats or files in the corresponding folders, the auto-importing mechanism will be triggered.
#+begin_quote
We have a global command-line tool called ~std~ that allows users to query and execute various tasks.
#+end_quote

- [X] ~devshell~ -> path -> ./cells/devshell
- nix,yaml
- [X] ~tasks~ -> path -> ./cells/tasks/tasks
- nix,json,yaml
- [X] ~schemas~ -> path -> ./tenzir/schemas/
- nix,yaml,json
- [ ] ~terraform~ -> path -> ./deploy/tf
- nix(validator::terranix),hcl(validator::internal),json(overrideValues),nickel(validator::tf-ncl)
- [ ] ~kubernets~ -> path -> ./deploy/k8s
- ts(validator::architect-k8s-template),yaml,nickel,nix,json(overrideValues)
- [] ~secrets~ -> path -> ./secrets
- envs(yaml/json), sops(GPG,ssh),age(ssh),vault(cloud),git-crypt
+ units (dirs)
1) cells(std&nix) A DevOps framework for the SDLC with the power of Nix and Flakes. Good for keeping deadlines!
- [X] ~devshell~ -> path -> ./cells/devshell
- nix,yaml
- [X] ~tasks~ -> path -> ./cells/tasks/tasks
- nix,json,yaml
- [X] ~schemas~ -> path -> ./tenzir/schemas/
- nix,yaml,json
- [ ] ~terraform~ -> path -> ./deploy/tf
- nix(validator::terranix),hcl(validator::internal),json(overrideValues),nickel(validator::tf-ncl)
- [ ] ~kubernets~ -> path -> ./deploy/k8s
- ts(validator::architect-k8s-template),yaml,nickel,nix,json(overrideValues)
- [] ~secrets~ -> path -> ./secrets
- envs(yaml/json), sops(GPG,ssh),age(ssh),vault(cloud),git-crypt

2) nickel: Introducing the experimental incorporation of Nickel into security dataflow.


Moreover, users have the flexibility to modify the structure of the related cells' paths by using the ~cellsFrom~ field in the ~./devshell.toml~.
Expand Down
3 changes: 0 additions & 3 deletions dev/configs/treefmt.toml

This file was deleted.

14 changes: 0 additions & 14 deletions dev/tasks/runScriptWithEnv.nix

This file was deleted.

7 changes: 1 addition & 6 deletions devshell.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
[cellBlocks]
shellProfiles = "/shellProfiles" #toml,nix
shell = "/shell" # nix
tasks = "/tasks"
configs = "/configs" #json,toml,yaml
schemas = "/schemas" #json,toml,yaml
cellsFrom = "/units/cells"

[devshell]
# programs.sops.enable = true;
Expand Down
850 changes: 850 additions & 0 deletions diagrams/images/process-compose-tenzir.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions diagrams/process-compose.org
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@



* init Jobs
#+BEGIN_SRC d2 :file images/process-compose-tenzir.png :flags --theme 200 :exports both :tangle (concat (org-entry-get nil "PRJ-DIR" t) "process-compose-tenzir.d2")
* tenzir
#+BEGIN_SRC d2 :file images/process-compose-tenzir.svg :flags --theme 200 :exports both :tangle (concat (org-entry-get nil "PRJ-DIR" t) "process-compose-tenzir.d2")
# !/usr/bin/env d2 --theme 200
#
title: {
Expand Down Expand Up @@ -41,4 +41,4 @@ process-compose: Process Compose {
#+END_SRC

#+RESULTS:
[[file:images/process-compose-tenzir.png]]
[[file:images/process-compose-tenzir.svg]]
Loading

0 comments on commit 113bda1

Please sign in to comment.