배포 이력 상세
    • PDF

    배포 이력 상세

    • PDF

    Article Summary

    개요

    SourceDeploy 이력 상세를 조회합니다.

    요청

    API URL

    GET 	{SOURCEDEPLOY_API_URL}/project/{projectId}/history/{historyId}
    

    요청 Parameter

    항목타입설명비고
    projectIdstring프로젝트 IDprojectList 조회
    historyIdstring히스토리 IDhistoryList 조회

    요청 Query

    없음

    요청 Body

    없음

    응답

    응답 Body

    {
        "project":{
            "id":"number",
            "name": "string"
        },
        "stage": {
            "id": "number",
            "name": "string"
        },
        "scenario": {
            "id": "number",
            "name": "string"
        },
        "id": "number",
        "status": "string",
        "executor": "string",
        "startTime": "number",
        "endTime": "number",
        "type": "string",
        "config": "THistoryServer" |"THistoryAutoScaling" | "THisotryKubernetesService" | "THistoryObjectStorage"
    }
    
    항목타입설명비고
    project.idnumberproject id
    project.namestringproject 이름
    stage.idnumberstage id
    stage.namestringstage 이름
    scenario.idnumber시나리오 id
    scenario.namestring시나리오 이름
    idnumberhistory id
    statusstring배포 상태success (성공)
    fail(실패)
    inprogress(배포 중)
    pending(승인 대기 중)
    reject(승인 거절)
    canceling(배포 취소 중)
    canceled(배포 취소)
    waiting(배포 대기 중)
    error(Error)
    canary_pending(canary 배포 대기)
    canary_reject(canary 배포 취소)
    canary_analyzing(canary분석 중)
    canary_waiting_timeout(canary분석 시간 초과)
    canary_rejecting(canary배포 취소 중)
    executorstring배포 실행자
    startTimenumber배포 시작 시각
    endTimenumber배포 종료 시각
    typeStringstage 타입"Server" | "AutoScalingGroup" | "Kuberneteservice" |"ObjectStroage"
    configTHistoryServer | THistoryAutoScaling |THisotryKubernetesService | THistoryObjectStorage배포 설정 정보type="Server" 일때, THistoryServer
    type="AutoScalingGroup"일때 , THistoryAutoScaling
    type="Kuberneteservice" 일때, THisotryKubernetesService
    type="ObjectStorage" 일때, THistoryObjectStorage

    THistoryServer

    [{
        "strategy": "string",
        "file": {
            "selected": "string",
            "type": "string"
        },
        "targets": [
            {
                "server": {
                    "no": "number",
                    "name": "string"
                },
                "status": "pending/standby/pre/deploy/post/success/fail/no progress",
                "time": {
                    "pre": "timestamp",
                    "deploy": "timestamp",
                    "post": "timestamp"
                },
                "step": {
                    "pre": "success/fail/inprogress",
                    "deploy": "success/fail/inprogress",
                    "post": "succss/fail/inprogress"
                }
            }
        ]
    }]
    
    항목타입설명비고
    strategystring배포 전략"normal"
    file.selectedstring배포 파일
    file.typestring배포 파일 타입
    targets.server.nonumberServer No
    targets.server.namestringServer 이름
    targets.statusstring배포 상태pending(에이전트 응답 대기 중)
    standby(에이전트 연결 완료)
    pre|deploy|post(각단계 배포 진행 중)
    success(배포 성공)
    fail(배포 실패)
    no progress(배포 진행 안 함)
    targets.time.prenumber배포 전 시각
    targets.time.deploynumber파일 배포 시각
    targets.time.postnumber배포 후 시각
    targets.step.prestring배포 전 상태"success" | "fail" | "inprogress"
    targets.step.deploystring파일 배포 상태"success" | "fail" | "inprogress"
    targets.step.poststring배포 후 상태"success" | "fail" | "inprogress"

    THistoryAutoScaling

    {
            "strategy": "normal/blueGreen",
            "autoScalingGroup": {
                "no": "number",
                "name": "string"
            },
            "file": {
                "selected": "string",
                "type": "string"
            },
            "targets": [
                {
                    "server": {
                        "no": "number",
                        "name": "string"
                    },
                    "status": "pending/standby/pre/deploy/post/success/fail/no progress",
                    "time": {
                        "pre": "timestamp",
                        "deploy": "timestamp",
                        "post": "timestamp"
                    },
                    "step": {
                        "pre": "success/fail/inprogress",
                        "deploy": "success/fail/inprogress",
                        "post": "succss/fail/inprogress"
                    }
                }
            ]
    }
    
    항목타입설명비고
    strategystring배포 전략"normal" | "blueGreen"
    autoScalingGroup.nonumberAutoScalingGroup No
    autoScalingGroup.namestringAutoScalingGroup 이름
    file.selectedstring배포 파일
    file.typestring배포 파일 타입
    targets.server.nonumberServer No
    targets.server.namestringServer 이름
    targets.statusstring배포 상태pending(에이전트 응답 대기 중)
    standby(에이전트 연결 완료)
    pre|deploy|post(각단계 배포 진행 중)
    success(배포 성공)
    fail(배포 실패)
    no progress(배포 진행 안 함)
    targets.time.prenumber배포 전 시각
    targets.time.deploynumber파일 배포 시각
    targets.time.postnumber배포 후 시각
    targets.step.prestring배포 전 상태"success" | "fail" | "inprogress"
    targets.step.deploystring파일 배포 상태"success" | "fail" | "inprogress"
    targets.step.poststring배포 후 상태"success" | "fail" | "inprogress"

    THisotryKubernetesService

    {
            "strategy": "normal/blueGreen/rolling/canary",
            "targets": {
                "time": {
                    "pre": "timestamp",
                    "deploy": "timestamp"
                },
                "step": {
                    "pre": "success/fail/inprogress",
                    "deploy": "success/fail/inprogress"
                }
            }
    }
    
    항목타입설명비고
    strategystring배포 전략"normal" | "blueGreen" | "rolling" | "canary"
    targets.time.prenumber배포 준비 시각
    targets.time.deploynumber배포 시각
    targets.step.prestring배포 준비 상태"success" | "fail" | "inprogress"
    targets.step.deploystring배포 상태"success" | "fail" | "inprogress"

    THistoryObjectStorage

    {
            "file": {
                "selected": "string",
                "type": "string"
            },
            "targets": {
                "time": {
                    "pre": "timestamp",
                    "deploy": "timestamp"
                },
                "step": {
                    "pre": "success/fail/inprogress",
                    "deploy": "success/fail/inprogress"
                }
            },
            "backupFile": "string"
    }
    
    항목타입설명비고
    file.selectedstring배포 파일
    file.typestring배포 파일 타입
    targets.time.prenumber배포 준비 시각
    targets.time.deploynumber배포 시각
    targets.step.prestring배포 준비 상태"success" | "fail" | "inprogress"
    targets.step.deploystring배포 상태"success" | "fail" | "inprogress"
    backupFilestring백업 파일

    이 문서가 도움이 되었습니까?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.