@atomist/sdm-core
Version:
Atomist Software Delivery Machine - Implementation
17 lines • 860 B
TypeScript
import { ArtifactStore, DeployableArtifact, StoredArtifact } from "@atomist/sdm";
import { AppInfo } from "@atomist/sdm/lib/spi/deploy/Deployment";
/**
* Store the artifact on local disk, relying on in memory cache.
* **This is purely for demo and test use. It is NOT a production
* quality implementation. It uses fake artifact links in
* GitHub statuses that may not be honored after the present automation
* client is shut down.
* @deprecated Artifact storage should be done using project listeners.
*/
export declare class EphemeralLocalArtifactStore implements ArtifactStore {
private readonly entries;
storeFile(appInfo: AppInfo, what: string): Promise<string>;
protected retrieve(url: string): Promise<StoredArtifact>;
checkout(url: string): Promise<DeployableArtifact>;
}
//# sourceMappingURL=EphemeralLocalArtifactStore.d.ts.map