You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.
I cloned this repository and tried to run it in an Azure Devops project.
When running it the pipeline throws the following error:
##[warning]An image label with the label Ubuntu 16.04 does not exist.
,##[error]The remote provider was unable to process the request.
Pool: [Azure Pipelines](https://opiniongames.visualstudio.com/31c0df6c-eb00-46d6-b29d-f13c4feb61eb/_settings/agentqueues?poolId=&queueId=155)
Image: Ubuntu 16.04
When I set ubuntu-latest as the vmImage I get following warnings in the Use PHP version 7.2 step:
/usr/bin/bash --noprofile --norc /home/vsts/work/_temp/4289af7e-ed5b-45d3-82f8-67d84ab63e1d.sh
update-alternatives: error: alternative /usr/bin/php7.2 for php not registered; not setting
update-alternatives: error: alternative /usr/bin/phar7.2 for phar not registered; not setting
update-alternatives: error: alternative /usr/bin/phpdbg7.2 for phpdbg not registered; not setting
update-alternatives: error: alternative /usr/bin/php-cgi7.2 for php-cgi not registered; not setting
update-alternatives: error: alternative /usr/bin/phar.phar7.2 for phar.phar not registered; not setting
PHP 8.1.11 (cli) (built: Sep 29 2022 22:28:49) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.11, Copyright (c) Zend Technologies
with Zend OPcache v8.1.11, Copyright (c), by Zend Technologies
with Xdebug v3.1.5, Copyright (c) 2002-2022, by Derick Rethans
Finishing: Use PHP version 7.2
It does not use the configured PHP version 7.2 but the default installed one, which is currently PHP 8.1.11.
This seems to be a very recent change, as ubuntu-latest has been working for me up until end of last week (17.11.2022).
Through trial and error I found that Ubuntu 18.04 has php7.2, but then the pipeline fails in the composer install step.
composer install --no-interaction --prefer-dist
========================== Starting Command Output ===========================
/usr/bin/bash --noprofile --norc /home/vsts/work/_temp/a89ccc45-1e79-4747-a1c4-2b4cfebb21c0.sh
In Factory.php line 321:
"./composer.json" does not match the expected JSON schema:
- name : Does not match the regex pattern ^[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z
0-9](([_.]|-{1,2})?[a-z0-9]+)*$
install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [--audit] [--audit-format AUDIT-FORMAT] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...]
##[error]Bash exited with code '1'.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This pipeline as it is here seems to be broken.
I cloned this repository and tried to run it in an Azure Devops project.
When running it the pipeline throws the following error:
When I set
ubuntu-latest
as thevmImage
I get following warnings in theUse PHP version 7.2
step:It does not use the configured PHP version 7.2 but the default installed one, which is currently PHP 8.1.11.
This seems to be a very recent change, as
ubuntu-latest
has been working for me up until end of last week (17.11.2022).Through trial and error I found that
Ubuntu 18.04
has php7.2, but then the pipeline fails in thecomposer install
step.The text was updated successfully, but these errors were encountered: