Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

DeployArtifact does not support upload by checksum #28

Open
beiriannydd opened this issue Mar 28, 2019 · 0 comments
Open

DeployArtifact does not support upload by checksum #28

beiriannydd opened this issue Mar 28, 2019 · 0 comments

Comments

@beiriannydd
Copy link

New function DeployArtifactByChecksum (or version bump for DeployArtifact adding checksum *ArtifactChecksums parameter)

  • If checksum is not nil (could come from earlier DeployArtifact response or be calculated specifically)
  • Try to deploy by checksum (use header to specify checksum as per documentation), do not send file in body.
  • If 404 is received, or a checksum was not passed do deploy as normal with file in body.
    This will make it quicker to generate "latest" versions of files or to add files unchanged by a build since the last upload
    Alternatively add DeployArtifact method on CreatedStorageItem which functions as above.
    The former has the advantage that existing artifacts would not require an upload even if they were uploaded by a different process.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant