InfoGrab Docs

Auto DevOps를 사용하여 EC2에 배포

요약

Auto DevOps를 사용하여 EC2에 배포하려면: AWS 자격 증명을 CI/CD 변수로 정의합니다. .gitlab-ci.yml 파일에서 Auto-Devops.gitlab-ci.yml 템플릿을 참조합니다. build 스테이지에 대한 build_artifact라는 이름의 작업을 정의합니다.

Auto DevOps를 사용하여 EC2에 배포하려면:

  1. AWS 자격 증명을 CI/CD 변수로 정의합니다.

  2. .gitlab-ci.yml 파일에서 Auto-Devops.gitlab-ci.yml 템플릿을 참조합니다.

  3. build 스테이지에 대한 build_artifact라는 이름의 작업을 정의합니다. 예를 들어:

    # .gitlab-ci.yml
    
    include:
      - template: Auto-DevOps.gitlab-ci.yml
    
    variables:
      AUTO_DEVOPS_PLATFORM_TARGET: EC2
    
    build_artifact:
      stage: build
      script:
        - <your build script goes here>
      artifacts:
        paths:
          - <built artifact>
    

이 프로세스의 동영상 안내는 Auto Deploy to EC2를 참조하세요.

Auto DevOps를 사용하여 EC2에 배포

원문 보기
요약

Auto DevOps를 사용하여 EC2에 배포하려면: AWS 자격 증명을 CI/CD 변수로 정의합니다. .gitlab-ci.yml 파일에서 Auto-Devops.gitlab-ci.yml 템플릿을 참조합니다. build 스테이지에 대한 build_artifact라는 이름의 작업을 정의합니다.

Auto DevOps를 사용하여 EC2에 배포하려면:

  1. AWS 자격 증명을 CI/CD 변수로 정의합니다.

  2. .gitlab-ci.yml 파일에서 Auto-Devops.gitlab-ci.yml 템플릿을 참조합니다.

  3. build 스테이지에 대한 build_artifact라는 이름의 작업을 정의합니다. 예를 들어:

    # .gitlab-ci.yml
    
    include:
      - template: Auto-DevOps.gitlab-ci.yml
    
    variables:
      AUTO_DEVOPS_PLATFORM_TARGET: EC2
    
    build_artifact:
      stage: build
      script:
        - <your build script goes here>
      artifacts:
        paths:
          - <built artifact>
    

이 프로세스의 동영상 안내는 Auto Deploy to EC2를 참조하세요.