Gitlab Runner Python

Latest version

Released:

Pytest is used to run unit tests in the Analytics project. The tests are executed from the root directory of the project with the pythonpytest CI pipeline job. The job produces a JUnit report of test results which is then processed by GitLab and displayed on merge requests. Writing New Tests.

Pure python gitlab-runner

  1. GitLab Runner can also run inside a Docker container or be deployed into a Kubernetes cluster. View some best practices for how to use and administer GitLab Runner. GitLab Runner versions. For compatibility reasons, the GitLab Runner major.minor version should stay in sync with the GitLab major and minor version. Older runners may still work.
  2. Python development guidelines SCSS style guide Shell scripting standards and style guidelines Sidekiq debugging Sidekiq style guide. GitLab Runner officially supported binaries are available for the following architectures: x86, AMD64, ARM64, ARM, s390x, ppc64le.

Project description

Project details


Release historyRelease notifications | RSS feed

14.3.0

12.7.2

12.7.1-0

12.7.1

12.6.4-0

12.6.3-0

12.6.2-0

12.6.1-0

12.4.21-0

12.4.20-0

12.4.19-0

12.4.17-0

12.4.16-0

12.4.15-0

12.4.14-0

12.4.13-0

12.4.11-0

12.4.10-0

12.4.9-0

12.4.8-0

12.4.7-0

12.4.5-0

12.4.4-0

12.4.2-0

12.4.1-0

Python

12.4.0-1

12.3.0-1

11.4.2-20

11.4.2-19

11.4.2-17

11.4.2-14

11.4.2-13

11.4.2-12

11.4.2-11

11.4.2-10

11.4.2-8

Python

Gitlab Runner Source Code

11.4.2-7

11.4.2-6

11.4.2-5

11.4.2-4

11.4.2-3

11.4.2-1

11.4.2-0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gitlab-python-runner, version 14.3.0
Filename, sizeFile typePython versionUpload dateHashes
Filename, size gitlab-python-runner-14.3.0.tar.gz (13.2 kB) File type Source Python version None Upload dateHashes
Close

Hashes for gitlab-python-runner-14.3.0.tar.gz

Hashes for gitlab-python-runner-14.3.0.tar.gz
AlgorithmHash digest
SHA256ea693b9ecc15ad2e5906ba17a2ebd195c71ee63df10839aebe78fe4b30a3b2d2
MD5710328e32afce8953adcc62d3cd4e67c
BLAKE2-256ccd679f0efd16ced05bdb3a3834d0a59d409de44dc592dfb99373bfdc104fce3
Latest version

Released:

Gitlab runner python interview

Unofficial implementation of the GitLab runner client for making customised CI runners

Project description

Python Gitlab Module

An unofficial Python implementation of the API for creating customised GitLab CI runners.

This package provides the basic functionality for registering a Runner.This object can then be used to request a Job and communicate the log, status and artifacts back to GitLab.No functionality is provided to execute the payloads defined in the .gitlab-ci.yml.

This package was originally developed to support LHCb’s Analysis Productions by providing a CI runner that could submit jobs to LHCbDIRAC.More details can be found in TODO.

Registering a Runner

Python Gitlab Example

The simplest way to register a new Runner is with the included command line tool:

For example

where arguments can be found by navigating to the “CI/CD” page of the desired repository’s settings.

Getting jobs

After a runner has been registered it can be loaded from the .json file and used to request jobs:

Executing jobs

Gitlab Runner Python Interview

A minimal CI executor might run as follows:

See the reference Job documentation for the full list of available properties.

Program

Persisting jobs

For long running jobs it may be desirable to persist the job object between calls.This can be done using a similar interface to the pickle module in the Python standard library:

Note: The job log is included in the persisted data therefore the Job object cannot be persisted once and loaded multiple times without loosing the log messages.

Release historyRelease notifications | RSS feed

1.0.4

1.0.3

0.9.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gitlab-runner-api, version 1.0.4
Filename, sizeFile typePython versionUpload dateHashes
Filename, size gitlab_runner_api-1.0.4-py2.py3-none-any.whl (25.0 kB) File type Wheel Python version py2.py3 Upload dateHashes
Filename, size gitlab_runner_api-1.0.4.tar.gz (32.7 kB) File type Source Python version None Upload dateHashes
Close

Hashes for gitlab_runner_api-1.0.4-py2.py3-none-any.whl

Hashes for gitlab_runner_api-1.0.4-py2.py3-none-any.whl
AlgorithmHash digest
SHA256ff75afd25259eb7370fe2bd1829aab7102209dd0999397e6cabae98f3d9dd9d9
MD5718326663de61ebd1129a30b1f1bd060
BLAKE2-25653490a7bcfd6dfde629be9e4d64cd6d7d97ec1887ac83a73450b4adf4963a0ac

Gitlab Runner Python Code

Close

Hashes for gitlab_runner_api-1.0.4.tar.gz

Gitlab Runner Python Example

Hashes for gitlab_runner_api-1.0.4.tar.gz
AlgorithmHash digest
SHA256e4f82b4cde11c98908e3c88f89f1e7a2527c283ff49a1ec2b1b833c5fbf4b757
MD57665417a707781ebf7988a508e560264
BLAKE2-25602bb9fb548be96845e434ae6dbfd11787ecc4da9c5c8b9e4d40b8814bb734fd5