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 件のコメント:

コメントを投稿

istio ingress gateway(指定したEnvoyプロキシが接続しているクラスターの情報表示)

指定した Envoy プロキシが接続しているクラスターの情報を表示しています。 出力からは、Envoy プロキシがどのサービスに対して接続設定を持っているか またはどのサービスとの通信が行われているかを確認できます。 [出力の説明] SERVICE FQDN :  接続先サービス...