Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)
```