Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stuttgart-things/dagger

collection of dagger modules
https://github.com/stuttgart-things/dagger

cicd containerization dagger docker golang

Last synced: 3 days ago
JSON representation

collection of dagger modules

Awesome Lists containing this project

README

        

# stuttgart-things/dagger

collection of dagger modules

## MODULE INCLUDES

HELM

RENDER A CHART w/ VALUES

```bash
# EXAMPLE MODULE
VERSION=v0.0.4
dagger call -m github.com/stuttgart-things/dagger/helm@${VERSION} template --chart ./Service --values this-env.yaml
```

## TASKS

```bash
task: Available tasks for this project:
* branch: Create branch from main
* commit: Commit + push code into branch
* pr: Create pull request into main
* test-go: Test go modules
* test-helm: Test helm modules
```

CREATE NEW MODULE

```bash
# EXAMPLE MODULE
MODULE=crossplane task create
```

## DAGGER

LIST FUNCTIONS

```bash
MODULE=golang #example
dagger functions -m ${MODULE}/
```

CREATE NEW FUNCTION

```bash
MODULE=example #example
dagger init --sdk=go --source=./${MODULE} --name=${MODULE}
```

INSTAL EXTERNAL DAGGER MODULE

```bash
dagger install github.com/purpleclay/daggerverse/[email protected]
```

CALL FUNCTION FROM LOCAL

```bash
MODULE=example #example
dagger functions -m ${MODULE}
```

```bash
MODULE=helm #example
dagger call -m ./${MODULE} \
lint --source tests/test-chart/ \
--progress plain
```

CALL FUNCTION FROM LOCAL

```bash
MODULE=golang #example
dagger call -m github.com/stuttgart-things/dagger/${MODULE} build --progress plain --src ./ export --path build
```

## LICENSE

APACHE 2.0

Copyright 2023 patrick hermann.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
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.

Author Information
------------------
Patrick Hermann, stuttgart-things 11/2024