deploying a private composer project on gitlab with gitlab-ci fails
up vote
0
down vote
favorite
Having a private repository using composer I try to deploy a project with gitlab-ci. Here how does the composer part looks like when I pull the dependency:
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
},
{
"type": "vcs",
"url": "https://gitlab.mydomain.com/wordpress/profiles-block.git"
}
],
"gitlab-token": {
"gitlab.mydomain.com": "mytoken"
}
but when gitlab ci tries to pull then I get fatal: Authentication failed for https://gitlab.mydomain.com/wordpress/profiles-block.git
deployment composer-php repository private gitlab-ci
add a comment |
up vote
0
down vote
favorite
Having a private repository using composer I try to deploy a project with gitlab-ci. Here how does the composer part looks like when I pull the dependency:
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
},
{
"type": "vcs",
"url": "https://gitlab.mydomain.com/wordpress/profiles-block.git"
}
],
"gitlab-token": {
"gitlab.mydomain.com": "mytoken"
}
but when gitlab ci tries to pull then I get fatal: Authentication failed for https://gitlab.mydomain.com/wordpress/profiles-block.git
deployment composer-php repository private gitlab-ci
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Having a private repository using composer I try to deploy a project with gitlab-ci. Here how does the composer part looks like when I pull the dependency:
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
},
{
"type": "vcs",
"url": "https://gitlab.mydomain.com/wordpress/profiles-block.git"
}
],
"gitlab-token": {
"gitlab.mydomain.com": "mytoken"
}
but when gitlab ci tries to pull then I get fatal: Authentication failed for https://gitlab.mydomain.com/wordpress/profiles-block.git
deployment composer-php repository private gitlab-ci
Having a private repository using composer I try to deploy a project with gitlab-ci. Here how does the composer part looks like when I pull the dependency:
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
},
{
"type": "vcs",
"url": "https://gitlab.mydomain.com/wordpress/profiles-block.git"
}
],
"gitlab-token": {
"gitlab.mydomain.com": "mytoken"
}
but when gitlab ci tries to pull then I get fatal: Authentication failed for https://gitlab.mydomain.com/wordpress/profiles-block.git
deployment composer-php repository private gitlab-ci
deployment composer-php repository private gitlab-ci
edited Nov 8 at 9:47
asked Nov 8 at 9:34
deroccha
3802927
3802927
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53204921%2fdeploying-a-private-composer-project-on-gitlab-with-gitlab-ci-fails%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password