CI - composer clone package from same repository group

I’m using the gitlab community 8.15.2 docker install on aws Ubuntu 16.04

The package I’m trying to install is actually in the same gitlab repository, how do I configure composer to clone it?

In my composer.json of the PHP application on amazonaws.com:10022/groupname/ I have this

“repositories”: [
{ “type”: “vcs”, “url”: “git@amazonaws.com:10022/groupname/package.git” }
],

Currently, Gitlab CI fails during composer install with

Host key verification failed.
fatal: Could not read from remote repository.

Do I need to set up gitlab-runner to connect to gitlab? Or is it possible to use the composer path type?

Nobody use composer here? PHP? Wrong forum maybe

@mtaylor Did you solve your problem with CI and Composer? I have the same now.