Skip to content

Commit

Permalink
Multi-doc is intentional
Browse files Browse the repository at this point in the history
  • Loading branch information
sourishkrout committed Nov 5, 2024
1 parent dcd1baf commit eeb36dd
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-yaml
stages: [pre-commit]
- id: check-json
exclude: "^.vscode/"
stages: [pre-commit]
Expand Down
45 changes: 45 additions & 0 deletions internal/owl/testdata/custom/envSpecDefs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
apiVersion: runme.stateful.com/v1alpha1
kind: EnvSpecDefinitions
metadata:
name: docs.runme.dev
namespace: stateful
annotations:
github.com/repo-url: https://github.com/stateful/docs.runme.dev
spec:
type: owl
envSpecs:
- name: Docs
breaker: DOCS
atomics:
- key: GCP_ARTIFACTS_REPO
atomic: Opaque
rules: printascii
required: true
- key: GCP_CREDENTIALS
atomic: Secret
rules: json
required: true
- key: GCP_PROJECT_ID
atomic: Plain
rules: printascii
required: true
- key: GCP_REGION
atomic: Plain
rules: printascii
required: true
---
apiVersion: runme.stateful.com/v1alpha1
kind: EnvResolution
metadata:
name: docs.runme.dev
namespace: stateful
annotations:
github.com/repo-url: https://github.com/stateful/docs.runme.dev
spec:
type: owl
path:
transform:
expr: key | trimPrefix("DOCS_GCP_") | lower()
gcp:
auth: ADC
project: runme-ci

0 comments on commit eeb36dd

Please sign in to comment.