Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/temboinc/gitlabapi
https://github.com/temboinc/gitlabapi
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/temboinc/gitlabapi
- Owner: TemboInc
- License: mit
- Created: 2019-06-12T13:16:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-12T13:32:49.000Z (over 5 years ago)
- Last Synced: 2024-04-18T07:30:29.228Z (9 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gitlabapi
A command line app to create and update Gitlab environment variables. Will read an env_file in the following form.
Variables will only be created or updated, NOT deleted.
# Comments are ignored
foo=bar
spam=ham[See the open Gitlab issue](https://gitlab.com/gitlab-org/gitlab-ce/issues/55460)
## Usage
`python updatevariables.py env_file_path private_token project_name username`
A private token can be created in Gitlab Account Settings > Access Tokens. (The token must have api scope)