Skip to content

Conversation

@migmartri
Copy link
Member

@migmartri migmartri commented Sep 15, 2024

extends our dagger module to support creating workflows

Create a new workflow

USAGE
  dagger call workflow-create [arguments]

ARGUMENTS
      --name string          Workflow name [required]
      --project string       Workflow project [required]
      --token Secret         Chainloop API token [required] (default )
      --description string
      --public               Set workflow as public so other organizations can see it
      --skip-if-exists       If the workflow already exists, skip the creation and return success
      --team string

closes #1323

"sdk": "go",
"source": "extras/dagger",
"engineVersion": "v0.12.3"
"engineVersion": "v0.13.0"
Copy link
Member Author

@migmartri migmartri Sep 15, 2024

Choose a reason for hiding this comment

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

my local dagger version is 0.13, so I decided to bump it. The changes in the go.mod seems to also be a consequence of running go develop

Copy link
Member

Choose a reason for hiding this comment

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

They released the 0.13 last week, we should all update to latest.

@migmartri migmartri marked this pull request as draft September 16, 2024 21:42
@migmartri
Copy link
Member Author

I need to add support to attach the workflow to an existing contract

Signed-off-by: Miguel Martinez <miguel@chainloop.dev>
Signed-off-by: Miguel Martinez <miguel@chainloop.dev>
Signed-off-by: Miguel Martinez <miguel@chainloop.dev>
@migmartri migmartri force-pushed the 1323-add-extra-command branch from d2c6eed to 29c5281 Compare September 18, 2024 12:44
Signed-off-by: Miguel Martinez <miguel@chainloop.dev>
@migmartri migmartri marked this pull request as ready for review September 18, 2024 13:00
@migmartri migmartri merged commit a0d8833 into chainloop-dev:main Sep 18, 2024
@migmartri migmartri deleted the 1323-add-extra-command branch September 18, 2024 13:01
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.

support creating workflows from dagger module

2 participants