Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion .dagger/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
# DAGGER-CI

<details><summary><b>DEPLOY FUNCTIONS</b></summary>

```bash
dagger call -m ./.dagger deploy-functions \
--kube-config file:///home/sthings/.kube/xplane \
--progress plain
```

dagger call -m ./.dagger deploy-cilium-crds --kube-config file:///home/sthings/.kube/xplane --progress plain
</details>

<details><summary><b>DEPLOY CONFIGURATIONS</b></summary>

```bash
dagger call -m ./.dagger deploy-configurations \ --kube-config file:///home/sthings/.kube/xplane \
--progress plain
```

</details>
5 changes: 4 additions & 1 deletion .dagger/cilium.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ func (m *Dagger) DeployCilium(
// +default=true
deployCRDs bool,
// +optional
// +default="https://github.com/stuttgart-things/helm/infra/crds/cilium"
crdSource string,
// +optional
// +default="git::https://github.com/stuttgart-things/helm.git@infra/cilium.yaml.gotmpl"
helmfileRef string,
// +optional
Expand All @@ -22,7 +25,7 @@ func (m *Dagger) DeployCilium(
) error {
// Deploy CRDs first if requested
if deployCRDs {
_, err := m.DeployCiliumCRDS(ctx, "", kubeConfig)
_, err := m.DeployCiliumCRDS(ctx, crdSource, kubeConfig)
if err != nil {
return err
}
Expand Down
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ repos:
args:
- "--exclude-files"
- "configurations/apps/ansible-run/README.md"
- "--exclude-files"
- "dagger.json"
7 changes: 7 additions & 0 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ includes:
taskfile: https://raw.githubusercontent.com/stuttgart-things/tasks/refs/heads/main/configuration/k2n.yaml

tasks:
apply-configuration-packages:
desc: Apply crossplane configuration packages
cmds:
- |
set -e


push-configuration-package:
desc: Push crossplane configuration package
cmds:
Expand Down