Skip to content

Comments

fix(ci): added pragma to dagger functions to pass a default directory to the source flag#699

Open
rkcoder101 wants to merge 1 commit intogoharbor:mainfrom
rkcoder101:fix/dagger-source-flag
Open

fix(ci): added pragma to dagger functions to pass a default directory to the source flag#699
rkcoder101 wants to merge 1 commit intogoharbor:mainfrom
rkcoder101:fix/dagger-source-flag

Conversation

@rkcoder101
Copy link
Contributor

Solves #696

…he source flag

Signed-off-by: Rayyan Khan <rayyanrehman101@gmail.com>
Copilot AI review requested due to automatic review settings February 11, 2026 14:19
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Dagger pipeline entrypoints so the source *dagger.Directory argument defaults to the repository root (and respects .gitignore), making --source no longer necessary for common dagger call invocations (per #696).

Changes:

  • Added Dagger parameter pragmas // +ignore=[".gitignore"] and // +defaultPath="." to source arguments.
  • Applied the change across the lint, test, vuln-check, docs, and dev-build Dagger functions.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.dagger/vuln.go Adds default source directory + ignore rules to vulnerability check functions.
.dagger/test.go Adds default source directory + ignore rules to test and coverage functions.
.dagger/lint.go Adds default source directory + ignore rules to lint functions.
.dagger/doc.go Adds default source directory + ignore rules to doc generation function.
.dagger/buildDev.go Adds default source directory + ignore rules to the dev build function.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@NucleoFusion NucleoFusion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@rkcoder101
Copy link
Contributor Author

@bupd @NucleoFusion can we merge this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants