#invoking from a repo with no dagger setup

1 messages · Page 1 of 1 (latest)

vital crystal
#

I have azure pipeline templates that I want to have invoke a remote repo without any current dagger configuration in the project that uses this template.

I can't recall, but just using dagger call with a remote repo should work, without me having to have any dependency in the repo that actions are running against, correct?

dapper basin
#

For example:

dagger call -m github.com/shykes/daggerverse/hello@v0.3.0 hello
dapper basin
#

or
With input from a local code checkout (src) :

dagger call -m github.com/levlaz/daggerverse/docusaurus --dir=/src/docs --src=.

or
With input from a git source:

dagger call -m github.com/levlaz/daggerverse/docusaurus \
--dir=/src/docs \
--src=https://github.com/jedevc/dagger#update-dev-hack-readme \
build

(here where we're testing a branch on jedevc's fork of the dagger/dagger repo that is part of a PR: https://github.com/dagger/dagger/pull/8218

elder hazel
#

cc @pine cobalt @solemn kayak @clever pond concrete example of how "no context directory in toolchain module" will affect some users