Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/stuttgart-things/dagger
- Owner: stuttgart-things
- License: apache-2.0
- Created: 2024-11-04T20:08:12.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-16T06:59:50.000Z (11 days ago)
- Last Synced: 2024-12-16T07:39:10.937Z (11 days ago)
- Topics: cicd, containerization, dagger, docker, golang
- Language: Go
- Homepage:
- Size: 60.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 athttp://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