Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

eb command not found #4

@kuriel-trivu

Description

@kuriel-trivu

With Gitlab Runner CI/CD throws eb command not found

.gitlab-ci.yml

... // other stages and configs, then:
deploy:
  stage: deploy
  image: coxauto/aws-ebcli
  dependencies:
    - build
  script:
    - mkdir -p ~/.aws
    - touch ~/.aws/config
    - chmod 600 ~/.aws/config
    - echo "[profile eb-cli]" >> ~/.aws/config
    - echo "aws_access_key_id=${AWS_ACCESS_KEY_ID}" >> ~/.aws/config
    - echo "aws_secret_access_key=${AWS_SECRET_ACCESS_KEY}" >> ~/.aws/config
    - git checkout $CI_COMMIT_REF_NAME
    - git fetch --all
    - git pull
    - eb labs cleanup-versions --force
    - eb deploy
    - echo "DEPLOYMENT OF $CI_COMMIT_REF_NAME IS COMPLETE"
  environment:
    name: $CI_COMMIT_REF_NAME
  only:
    - master

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions