librenms / packer-builds

This repo is where virtual images are created and stored
MIT License
73 stars 20 forks source link

CentOS WIP #24

Closed candlerb closed 1 year ago

candlerb commented 3 years ago

These are some fixes to get the CentOS VM build to progress further. However it now stops with a composer error:

==> virtualbox-iso: + sudo sh -c 'cd /opt; composer create-project --no-dev --keep-vcs librenms/librenms=master librenms'
==> virtualbox-iso: Do not run Composer as root/super user! See https://getcomposer.org/root for details
==> virtualbox-iso: Creating a "librenms/librenms=master" project at "./librenms"
==> virtualbox-iso: Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/
==> virtualbox-iso:
==> virtualbox-iso:
==> virtualbox-iso:   [InvalidArgumentException]
==> virtualbox-iso:   Could not find package librenms/librenms with version master.
==> virtualbox-iso:
==> virtualbox-iso:
==> virtualbox-iso: create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]
==> virtualbox-iso:
CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.

candlerb commented 3 years ago

I have added a commit which also bumps the version of packer used in Travis CI (see #29) which should make the checks pass

murrant commented 3 years ago

Yeah, you will need to pull in composer manually because the CentOS version is too old. ./scripts/composer_wrapper.php does this, but it requires an internet connection (which I guess is required for the rest too)

murrant commented 1 year ago

CentOS is dead.