2020年5月21日木曜日

CodePipeline for Beanstalk

version: 0.2

environment_variables:
  plaintext:
    REPOS_NAME: "okay-regi"
    KEY_NAME: "test-user"
    PLATFORM_NAME: "PHP 5.4 running on 64bit Amazon Linux/2.9.1"
    APP_NAME: "okay-regi"

phases:
  install:
    commands:
      - pip install awsebcli
  build:
    commands:
      - ebp init -r ${AWS_REGION} ${PLATFORM_NAME}
      - ebp create
  post_build:
    commands:
      - git config --global credential.helper '!aws --region ${AWS_REGION} codecommit credential-helper $@'
      - git config --global credential.UseHttpPath true
      - git clone https://git-codecommit.${AWS_REGION}.amazonaws.com/v1/repos/${REPOS_NAME} ../${REPOS_NAME}
      - cd ../${REPOS_NAME} && eb init -r ${AWS_REGION} -k ${KEY_NAME} --source codecommit/${REPOS_NAME}/master ${APP_NAME}
      - cd ../${REPOS_NAME} && eb upgrade --force

0 件のコメント:

コメントを投稿

Roo Code + LM Studio 最強ローカルAI開発環境

 AIによるコード生成が当たり前になった今、エンジニアが次に求めるのは「自分のコードベースをすべて把握した上での提案」です。VS Code拡張の  Roo Code(旧Cline)  は、プロジェクト全体をスキャンして記憶する「セマンティック検索(RAG)」機能を備えています。 ...