Skip to content

stuttgart-things/dagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stuttgart-things/dagger

collection of dagger modules

MODULE INCLUDES

HELM

RENDER A CHART w/ VALUES

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

TASKS

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
# EXAMPLE MODULE
MODULE=crossplane task create

DAGGER

LIST FUNCTIONS
MODULE=golang #example
dagger functions -m ${MODULE}/
CREATE NEW FUNCTION
MODULE=example #example
dagger init --sdk=go --source=./${MODULE} --name=${MODULE}
INSTAL EXTERNAL DAGGER MODULE
dagger install github.com/purpleclay/daggerverse/[email protected]
CALL FUNCTION FROM LOCAL
MODULE=example #example
dagger functions -m ${MODULE}
MODULE=helm #example
dagger call -m ./${MODULE} \
lint --source tests/test-chart/ \
--progress plain
CALL FUNCTION FROM LOCAL
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