https://github.com/temboinc/gitlabapi
https://github.com/temboinc/gitlabapi
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/temboinc/gitlabapi
- Owner: TemboInc
- License: mit
- Created: 2019-06-12T13:16:05.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-12T13:32:49.000Z (almost 6 years ago)
- Last Synced: 2025-02-03T16:58:02.011Z (4 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)