https://github.com/netresearch/composer-resource
Resource for Concourse CI to monitor updates in composer
https://github.com/netresearch/composer-resource
composer concourse-ci concourse-resource monitoring
Last synced: 2 months ago
JSON representation
Resource for Concourse CI to monitor updates in composer
- Host: GitHub
- URL: https://github.com/netresearch/composer-resource
- Owner: netresearch
- Created: 2019-03-26T21:56:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-11-27T12:05:51.000Z (8 months ago)
- Last Synced: 2025-11-30T04:56:55.568Z (8 months ago)
- Topics: composer, concourse-ci, concourse-resource, monitoring
- Language: PHP
- Homepage: https://hub.docker.com/r/netresearch/composer-resource
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
=================================================
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
----
- https://content.pivotal.io/blog/developing-a-custom-concourse-resource
- https://concoursetutorial.com/miscellaneous/docker-images/
- https://concourse-ci.org/implementing-resources.html
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``
2. ``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