Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic conduit init and conduit pipelines init commands #1927

Merged
merged 47 commits into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
fea1e3b
v1
hariso Oct 23, 2024
56536a2
linter
hariso Oct 23, 2024
def5f51
refactor, error messages
hariso Oct 24, 2024
5e6e664
linter
hariso Oct 24, 2024
4c20953
changes
hariso Oct 24, 2024
eda2e12
Merge branch 'main' into haris/conduit-init-simpler
hariso Oct 24, 2024
b1476a3
using cobra
hariso Oct 25, 2024
dd2af35
specify pipeline name
hariso Oct 25, 2024
0750b12
explanations
hariso Oct 25, 2024
2b3269f
Merge branch 'haris/conduit-init-simpler' of github.com:ConduitIO/con…
hariso Oct 25, 2024
ebe434e
explanations
hariso Oct 25, 2024
4f9ae9a
revert
hariso Oct 25, 2024
9dff8f4
check unknown commands and flags
hariso Oct 25, 2024
191e78b
linter
hariso Oct 25, 2024
5cbafe0
Merge branch 'main' into haris/conduit-init-simpler
hariso Oct 25, 2024
feec841
fix command check
hariso Oct 25, 2024
84f22c1
print help
hariso Oct 25, 2024
63123ce
refactor
hariso Oct 25, 2024
d4701d0
refactor
hariso Oct 25, 2024
d6dc686
refactoring part 1
hariso Oct 28, 2024
936ec75
Revert "refactoring part 1"
hariso Oct 28, 2024
4e864b3
refactor
hariso Oct 28, 2024
74f5bea
cleanup
hariso Oct 28, 2024
37421c9
linter
hariso Oct 28, 2024
3c4f1a4
linter
hariso Oct 28, 2024
cd26061
refactor, linter
hariso Oct 28, 2024
f87d2c9
single quotes for values
hariso Oct 29, 2024
8f93a5c
path flag
hariso Oct 29, 2024
856c283
revert change
hariso Oct 29, 2024
68533b2
fixes
hariso Oct 29, 2024
275a1f8
pipelines group
hariso Oct 29, 2024
b855862
minor refactoringt
hariso Oct 29, 2024
49a9491
handle defaults better
hariso Oct 29, 2024
caa5db8
flag name
hariso Oct 29, 2024
50195de
Merge branch 'main' into haris/conduit-init-simpler
hariso Oct 29, 2024
c846de3
comments, revert change
hariso Oct 29, 2024
7604c54
config base path
hariso Oct 30, 2024
974d1b9
change default path for conduit pipelines init
hariso Oct 30, 2024
de20e60
change log to file
hariso Nov 4, 2024
c37f42c
fix validation
hariso Nov 5, 2024
d4dd6d0
change demo pipeline
hariso Nov 5, 2024
e13c389
Merge branch 'main' into haris/conduit-init-simpler
hariso Nov 5, 2024
5edbca7
post pipeline init hints
hariso Nov 6, 2024
b18e90b
Merge branch 'haris/conduit-init-simpler' of github.com:ConduitIO/con…
hariso Nov 6, 2024
7472b60
Merge branch 'main' into haris/conduit-init-simpler
hariso Nov 6, 2024
e2e247a
ignore golangci report
hariso Nov 6, 2024
b7acd0c
Update cmd/cli/pipelines_init.go
hariso Nov 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,5 @@ pkg/plugin/processor/standalone/test/wasm_processors/*/processor.wasm

# this one is needed for integration tests
!pkg/provisioning/test/source-file.txt

golangci-report.xml
8 changes: 8 additions & 0 deletions cmd/cli/pipelines_init.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,14 @@ func (pi *PipelinesInit) Run() error {
if err != nil {
return cerrors.Errorf("could not write pipeline: %w", err)
}

fmt.Printf(`Your pipeline has been initialized and written to %s.
hariso marked this conversation as resolved.
Show resolved Hide resolved

To run the pipeline, execute:

conduit --pipelines.path %s`,
pi.configFilePath(), pi.configFilePath())

return nil
}

Expand Down