Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/axklim/envci
Set user-defined GitLab CI/CD Variables as environment current console session
https://github.com/axklim/envci
cicd env environment gitlab-ci
Last synced: about 1 month ago
JSON representation
Set user-defined GitLab CI/CD Variables as environment current console session
- Host: GitHub
- URL: https://github.com/axklim/envci
- Owner: axklim
- Created: 2019-01-04T21:14:37.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-04T22:12:01.000Z (almost 6 years ago)
- Last Synced: 2023-12-11T21:38:21.340Z (about 1 year ago)
- Topics: cicd, env, environment, gitlab-ci
- Language: Go
- Homepage:
- Size: 42 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Install
```bash
git clone [email protected]:axklim/envci.git .
go build -o /usr/local/bin/envci ./src
envci
the required flags `-p, --project', `-t, --token' and `-u, --url' were not specified
```# Use
List user-defined GitLab CI/CD Variables
```bash
envci -p gudik/envci-demo -u https://gitlab.com/api/v4 -t
TEST_GITLAB_VARIABLE='some values'
MODE='debug'
```Set variables as environment current console session
```bash
. <(envci -p gudik/envci-demo -u https://gitlab.com/api/v4 -t )
```Clear environments
```bash
. <(envci -p gudik/envci-demo -u https://gitlab.com/api/v4 -t --clear)
```