Skip to content

WKS-2860 - Support clear-text worker properties in the CLI - #63

Merged
ehl-jf merged 3 commits into
mainfrom
WKS-2860-cli-clear-text-worker-properties
Oct 1, 2026
Merged

ehl-jf merged 3 commits into
mainfrom
WKS-2860-cli-clear-text-worker-properties

Conversation

@ehl-jf

@ehl-jf ehl-jf commented Sep 22, 2026

Copy link
Copy Markdown
Collaborator

Let users declare properties in the manifest and add-property, then send them on deploy and test-run without encryption. Omitting the field leaves remote properties unchanged; an empty object clears them.

  • The pull request is targeting the main branch.
  • The code has been validated to compile successfully by running go vet ./....
  • The code has been formatted properly using go fmt ./....
  • All static analysis checks passed.
  • All tests have passed. If this feature is not already covered by the tests, new tests have been added.
  • All integration tests have passed locally as they cannot be automated yet.
  • All changes are detailed at the description. if not already covered at JFrog Documentation, new documentation have been added.

@github-actions

github-actions Bot commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Unit Tests Results

307 tests  +22   306 ✅ +22   1m 22s ⏱️ +2s
  3 suites ± 0     1 💤 ± 0 
  1 files   ± 0     0 ❌ ± 0 

Results for commit 2c883ba. ± Comparison against base commit aab1e7a.

♻️ This comment has been updated with latest results.

Comment thread cli/cli.go
commands.GetRemoveCommand(),
commands.GetListCommand(),
commands.GetAddSecretCommand(),
commands.GetAddPropertyCommand(),

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

why do we need a new command and not set them directly on the manifest ? like for filter

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Similar behaviour as secret, maybe useful for automation or if you dont want to trifle with the manifest syntax.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

ok

ehl-jf added 3 commits October 1, 2026 10:57
Let users declare properties in the manifest and add-property, then send them on deploy and test-run without encryption. Omitting the field leaves remote properties unchanged; an empty object clears them.
worker-qa must expose the same command as jf worker so QA can run add-property.
Also log the requested worker key in FetchWorkerDetails, since details.Key is not yet populated before unmarshalling.
@ehl-jf
ehl-jf force-pushed the WKS-2860-cli-clear-text-worker-properties branch from 4085f06 to 2c883ba Compare October 1, 2026 09:01
@ehl-jf
ehl-jf merged commit 65bfb63 into main Oct 1, 2026
5 of 6 checks passed

This branch is waiting to be deployed

1 waiting deployment
frogbot — 2c883bad Waiting Oct 1, 2026 by ehl-jf via scan-pull-request #112
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.

3 participants