Sign inSign up

netresearch/composer-resource

By netresearch

•Updated over 7 years ago

Monitoring Composer dependency updates

Image
0

447

netresearch/composer-resource repository overview

⁠================================================= Concourse CI composer dependency monitor resource

Docker image: https://hub.docker.com/r/netresearch/composer-resource⁠

.. image:: https://www.drupal.org/files/styles/grid-3-2x/public/project-images/logo-composer-transparent3.png?itok=3wl5Mi6v⁠ :alt: Composer :height: 100px :align: left


⁠Idea

⁠Steps

  1. Install the project dependencies composer install
  2. Check for outdated composer outdated -D -m -f json --no-interaction --no-ansi

⁠Build

.. code-block:: bash

docker build -t registry.netresearch.de/blugento/support/composer-resource .
docker push registry.netresearch.de/blugento/support/composer-resource

⁠Debug

.. code-block:: bash

docker run -it registry.netresearch.de/blugento/support/composer-resource sh

⁠Testing

  1. composer install -d /tests
  2. composer outdated -D -m -f json --no-interaction --no-ansi -d /tests
  3. composer update --dry-run -d /tests

⁠Setup the pipeline

login to concourse::

fly -t box-blugento-support login -n blugento-support --concourse-url=https://ci.netresearch.de

set pipeline for app build::

fly set-pipeline -t box-blugento-support -p composer-resource:test -c tests/pipeline.yml -n

debug jobs::

fly -t box-blugento-support hijack -j base-community/test

Tag summary

Content type

Image

Digest

Size

128.3 MB

Last updated

over 7 years ago

docker pull netresearch/composer-resource