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

feat(publish): add ability to select specific layers to publish #418

Merged
merged 1 commit into from Feb 25, 2023

Conversation

rchincha
Copy link
Contributor

Currently, publish cmd will push every layer in a stacker.yaml file by default.

This patch adds support to push only required layers.

What type of PR is this?

Which issue does this PR fix:

What does this PR do / Why do we need it:

If an issue # is not available please add repro steps and logs showing the issue:

Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?

Does this PR introduce any user-facing change?:


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@rchincha rchincha force-pushed the publish branch 2 times, most recently from 0f4e19d to 4501fc3 Compare February 25, 2023 06:20
Currently, publish cmd will push every layer in a stacker.yaml file by
default.

This patch adds support to push only required layers.

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
@codecov
Copy link

codecov bot commented Feb 25, 2023

Codecov Report

Merging #418 (a58fa52) into main (89709e6) will increase coverage by 1.36%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #418      +/-   ##
==========================================
+ Coverage   10.77%   12.13%   +1.36%     
==========================================
  Files          44       44              
  Lines        5421     5429       +8     
==========================================
+ Hits          584      659      +75     
+ Misses       4747     4653      -94     
- Partials       90      117      +27     
Impacted Files Coverage Δ
pkg/stacker/publisher.go 0.00% <0.00%> (ø)
pkg/lib/dir.go 21.87% <0.00%> (+21.87%) ⬆️
pkg/log/log.go 57.77% <0.00%> (+35.55%) ⬆️
pkg/lib/file.go 53.52% <0.00%> (+53.52%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@rchincha rchincha merged commit 7174ee3 into project-stacker:main Feb 25, 2023
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.

None yet

2 participants