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

Feature/1409 deploy noupdate flag that limits deploy to create #1427

Conversation

JoernBerkefeld
Copy link
Contributor

@JoernBerkefeld JoernBerkefeld commented Jul 8, 2024

PR details

What changes did you make? (Give an overview)

Further details (optional)

...

Checklist

@JoernBerkefeld JoernBerkefeld added this to the 7.1.0 milestone Jul 8, 2024
@JoernBerkefeld JoernBerkefeld self-assigned this Jul 8, 2024
@github-actions github-actions bot added the enhancement New feature or request; requires increasing the minor version of mcdev. Jira issue-type "Story" label Jul 8, 2024
Copy link

github-actions bot commented Jul 8, 2024

Coverage Report

Commit:5c8d4a9
Base: develop@182011d

Type Base This PR
Total Statements Coverage  69.2%  69.2%  (+0%)
Total Branches Coverage  67.71%  67.85%  (+0.14%)
Total Functions Coverage  80.85%  80.85%  (+0%)
Total Lines Coverage  69.2%  69.2%  (+0%)
Details (changed files):
File Statements Branches Functions Lines
lib/cli.js  0%  0%  0%  0%
lib/index.js  70.3%  60%  72.97%  70.3%
lib/metadataTypes/DataExtension.js  81.02%  69.94%  94.28%  81.02%
lib/metadataTypes/Event.js  85.88%  64.7%  100%  85.88%
lib/metadataTypes/Folder.js  54.89%  64.61%  80%  54.89%
lib/metadataTypes/MetadataType.js  80.45%  76.92%  73.97%  80.45%

@JoernBerkefeld
Copy link
Contributor Author

Documentation

deploy

Command: mcdev deploy [business unit] [metadata type] [metadata key] [--metadata] [--fromRetrieve] [--refresh] [--keySuffix] [--noMidSuffix] [--changeKeyValue=yourNewKey] [--changeKeyField=otherFieldInJson] [--execute] [--schedule] [--fixShared] [--noUpdate]

...

deploy with --noUpdate

If you want to ensure that your deployment does not override existing metadata but instead is limited to creating new elements, then add the --noUpdate option to your call.

mcdev deploy cred/bu --noUpdate

@JoernBerkefeld JoernBerkefeld linked an issue Jul 8, 2024 that may be closed by this pull request
@JoernBerkefeld JoernBerkefeld merged commit 8a85d62 into develop Jul 8, 2024
14 checks passed
@JoernBerkefeld JoernBerkefeld deleted the feature/1409-deploy-noupdate-flag-that-limits-deploy-to-create branch July 8, 2024 17:06
@JoernBerkefeld JoernBerkefeld mentioned this pull request Jul 8, 2024
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/Generic enhancement New feature or request; requires increasing the minor version of mcdev. Jira issue-type "Story"
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] deploy --noUpdate flag that limits deploy to create
1 participant