Frodo Library - v4.0.0-10
    Preparing search index...

    Type Alias EnvPromotion

    type EnvPromotion = {
        lockEnvironment(): Promise<LockResponse>;
        promoteConfiguration(
            config: PromotionRequestConfig,
        ): Promise<PromotionResponse>;
        readLastPromotionReport(): Promise<PromotionReport>;
        readLockStatus(): Promise<LockStatus>;
        readPromotionReport(reportId: string): Promise<PromotionReport>;
        readPromotionReports(): Promise<PromotionReportStub[]>;
        readPromotionStatus(): Promise<PromotionStatus>;
        rollbackPromotion(config: RollbackConfig): Promise<RollbackResponse>;
        runProvisionalPromotionReport(): Promise<PromotionReport>;
        runProvisionalRollbackReport(): Promise<PromotionReport>;
        unlockEnvironment(promotionId: string): Promise<LockResponse>;
    }
    Index

    Methods

    • Run a provisional report of changes since the last time the lower environment was promoted to the upper environment. The report generated is for informational purposes only and may not reflect all the changes in a full promotion. A dry-run promotion is always recommended prior to a full promotion between environments.

      Returns Promise<PromotionReport>

      a promise that resolves to a PromotionReport object