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(helm): Allow downloading of Helm repo index using a Helm account #4773

Merged
merged 2 commits into from
Sep 23, 2020

Conversation

jcavanagh
Copy link
Contributor

@jcavanagh jcavanagh commented Aug 6, 2020

@@ -52,6 +57,10 @@
public InputStream download(Artifact artifact) throws IOException {
InputStream index = downloadIndex();

if (artifact.getType().equals("helm/index")) {
Copy link
Member

@robzienert robzienert Sep 15, 2020

Choose a reason for hiding this comment

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

Should be "helm/index".equals(artifact.getType()), unless you're certain type is nonnull?

Copy link
Contributor

@german-muzquiz german-muzquiz left a comment

Choose a reason for hiding this comment

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

Looks good to me provided that Rob's comment is taken into account.

@jcavanagh
Copy link
Contributor Author

No reason to risk the NPE - I've swapped the order. Thanks!

@robzienert robzienert added the ready to merge Approved and ready for a merge label Sep 23, 2020
@mergify mergify bot added the auto merged Merged automatically by a bot label Sep 23, 2020
@mergify mergify bot merged commit a8e36f5 into spinnaker:master Sep 23, 2020
kevinawoo added a commit to armory-io/clouddriver that referenced this pull request Sep 25, 2020
…ods-collections-limit

* upstream/master: (96 commits)
  feat(extensibility): Use ExceptionSummaryService in DefaultOrchestrationProcessor to provide custom user messages on exceptions (spinnaker#4929)
  feat(sql): Add additional dynamic config for event cleanup agent (spinnaker#4934)
  fix(titus): Update Kato task status to surface better error message (spinnaker#4933)
  fix(saga): Support for multiple atomic operations in a single task (spinnaker#4931)
  fix(sql): Test pollution (spinnaker#4928)
  fix(sql): Add config for limiting amount of aggregate cleanup (spinnaker#4927)
  feat(security/credentials): AccountCredentials as kork/Credentials (spinnaker#4907)
  chore(dependencies): Autobump korkVersion (spinnaker#4926)
  chore(scattergather): Removing unused scattergather module (spinnaker#4925)
  chore(aws): Remove clouddriver-elasticsearch-aws (spinnaker#4923)
  feat(helm): Allow downloading of Helm repo index using a Helm account (spinnaker#4773)
  fix(core): Use a random UUID for saga identifiers rather than task id/requestId (spinnaker#4921)
  fix(titus): `DeleteServerGroupEvent` should use server group name rather than job id (spinnaker#4922)
  fix(titus): Add desiredPercentage support for enable/disable server group operation (spinnaker#4914)
  chore(java11): Target Java 11 (spinnaker#4919)
  fix(titus): `user` shouldn't be flagged as @nonnull (spinnaker#4920)
  feat(titus): Wrap `DestroyTitusJob` and `DestroyTitusServerGroup` operations in simple sagas (spinnaker#4916)
  chore(dependencies): Autobump spinnakerGradleVersion (spinnaker#4918)
  fix(aws): Fixing launch template flag (spinnaker#4917)
  fix(event): Force cleanup agent to compare ints (spinnaker#4915)
  ...
kevinawoo added a commit to armory-io/clouddriver that referenced this pull request Sep 25, 2020
…ods-collections-limit

* upstream/master: (96 commits)
  feat(extensibility): Use ExceptionSummaryService in DefaultOrchestrationProcessor to provide custom user messages on exceptions (spinnaker#4929)
  feat(sql): Add additional dynamic config for event cleanup agent (spinnaker#4934)
  fix(titus): Update Kato task status to surface better error message (spinnaker#4933)
  fix(saga): Support for multiple atomic operations in a single task (spinnaker#4931)
  fix(sql): Test pollution (spinnaker#4928)
  fix(sql): Add config for limiting amount of aggregate cleanup (spinnaker#4927)
  feat(security/credentials): AccountCredentials as kork/Credentials (spinnaker#4907)
  chore(dependencies): Autobump korkVersion (spinnaker#4926)
  chore(scattergather): Removing unused scattergather module (spinnaker#4925)
  chore(aws): Remove clouddriver-elasticsearch-aws (spinnaker#4923)
  feat(helm): Allow downloading of Helm repo index using a Helm account (spinnaker#4773)
  fix(core): Use a random UUID for saga identifiers rather than task id/requestId (spinnaker#4921)
  fix(titus): `DeleteServerGroupEvent` should use server group name rather than job id (spinnaker#4922)
  fix(titus): Add desiredPercentage support for enable/disable server group operation (spinnaker#4914)
  chore(java11): Target Java 11 (spinnaker#4919)
  fix(titus): `user` shouldn't be flagged as @nonnull (spinnaker#4920)
  feat(titus): Wrap `DestroyTitusJob` and `DestroyTitusServerGroup` operations in simple sagas (spinnaker#4916)
  chore(dependencies): Autobump spinnakerGradleVersion (spinnaker#4918)
  fix(aws): Fixing launch template flag (spinnaker#4917)
  fix(event): Force cleanup agent to compare ints (spinnaker#4915)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto merged Merged automatically by a bot ready to merge Approved and ready for a merge target-release/1.23
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants