Download the PHP package svilborg/laravel-gitlab-ci-cmd without Composer

On this page you can find all versions of the php package svilborg/laravel-gitlab-ci-cmd. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-gitlab-ci-cmd

Laravel GitlabCI Command

A command to list Gitlab CI Pipelines, Jobs, Traces, Artifacts.

Configuration

Available in config/gitlab_ci.php

url         - Gitlab Url
token       - Gitlab User's Token
project_id  - Project id

Usage

Description:
  Gitlab CI Intregration.

Usage:
  gitlab-ci [options]

Options:
  -b, --branch[=BRANCH]      Show pipelines for specific Branch/Ref [default: false]
  -c, --current-branch       Show pipelines for the current git branch
  -p, --pipeline[=PIPELINE]  Show pipeline's jobs. Pipeline id. [default: false]
  -j, --job[=JOB]            Show job. [default: false]
  -l, --limit[=LIMIT]        Per page limit for pipelines. [default: 15]
  -t, --trace                Show job trace.
  -a, --artifacts            Show job's artifacts.
  -r, --retry                Retry a job.
  -s, --stop                 Stop/Cancel a pipeline.
  -x, --stats                Statistics
  -h, --help                 Display this help message

Examples

Listing Pipelines

$ php artisan gitlab-ci -c

Pipelines

⏵ 690 running [master]
✔ 661 success [master]
✔ 640 success [master]
✖ 639 failed [master]
✔ 635 success [master]
✔ 631 success [master]

Pipeline's Jobs

$ artisan gitlab-ci -p 701

Pipeline #865 Jobs

✔ 799 success [build] Build
✔ 800 success [unit_tests] UnitTests
✖ 801 failed [acceptance_tests] AcceptanceTests
⏹ 803 canceled [functional_tests] FunctionalTests
⚙ 804 manual [code_coverage] CodeCoverage

Statistics

$ artisan gitlab-ci -x

+-----------+------+---------+------------+------------+
| Status    | Jobs | Jobs %  | Duration   | Duration % |
+-----------+------+---------+------------+------------+
| ✔ success | 517  | 76.59 % | 14 hours   | 95.84 %    |
| ⏵ running | 12   | 1.78 %  | 23 minutes | 2.53 %     |
| ⏸ created | 28   | 4.15 %  | 1 second   | 0 %        |
| ⚙ manual  | 77   | 11.41 % | 1 second   | 0 %        |
| ✖ failed  | 6    | 0.89 %  | 15 minutes | 1.63 %     |
| ⏸ skipped | 35   | 5.19 %  | 1 second   | 0 %        |
+-----------+------+---------+------------+------------+
|  ∑        | 675  |         | 15 hours   |            |
+-----------+------+---------+------------+------------+

+---------------+------+---------+------------+------------+
| Runner        | Jobs | Jobs %  | Duration   | Duration % |
+---------------+------+---------+------------+------------+
| s01.ci.server | 12   | 20.74 % | 1 second   | 0 %        |
| s02.ci.server | 37   | 5.48 %  | 40 minutes | 4.35 %     |
| s03.ci.server | 43   | 6.37 %  | 1 hour     | 7.9 %      |
| s04.ci.server | 27   | 4 %     | 25 minutes | 2.77 %     |
| s08.ci.server | 16   | 2.37 %  | 52 minutes | 5.66 %     |
| s09.ci.server | 35   | 5.19 %  | 1 hour     | 6.75 %     |
| s10.ci.server | 32   | 4.74 %  | 1 hour     | 6.58 %     |
+---------------+------+---------+------------+------------+
|  ∑            | 675  |         | 15 hours   |            |
+---------------+------+---------+------------+------------+

+------------------+------+---------+-----------+------------+
| Stage            | Jobs | Jobs %  | Duration  | Duration % |
+------------------+------+---------+-----------+------------+
| build            | 15   | 2.22 %  | 1 hour    | 8.44 %     |
| inspection       | 15   | 2.22 %  | 8 minutes | 0.95 %     |
| unit_tests       | 330  | 48.89 % | 6 hours   | 42.82 %    |
| acceptance_tests | 93   | 13.78 % | 5 hours   | 36.57 %    |
| api_tests        | 117  | 17.33 % | 1 hour    | 11.22 %    |
| code_coverage    | 15   | 2.22 %  | 1 second  | 0 %        |
| deploy           | 90   | 13.33 % | 1 second  | 0 %        |
+------------------+------+---------+-----------+------------+
|  ∑               | 675  |         | 15 hours  |            |
+------------------+------+---------+-----------+------------+

All versions of laravel-gitlab-ci-cmd with dependencies

PHP Build Version
Package Version
Requires laravel/framework Version 5.*
m4tthumphrey/php-gitlab-api Version ^9.12
php-http/guzzle6-adapter Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package svilborg/laravel-gitlab-ci-cmd contains the following files

Loading the files please wait ....