Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GitLab CI examples #3507

Merged
merged 1 commit into from Apr 18, 2019
Merged

Fix GitLab CI examples #3507

merged 1 commit into from Apr 18, 2019

Conversation

renestalder
Copy link
Contributor

The GitLab CI examples used $CI_ENVIRONMENT_SLUG for defining the environment names
of the deploy jobs. But this variable is actually the OUTPUT of setting the environment name,
thus, it tries to reference itself, but does not exist in that moment.

The correct way to set this is to use $CI_COMMIT_REF_NAME as based on the documentation
of GitLab's dynamic environments.

The GitLab CI examples used `$CI_ENVIRONMENT_SLUG` for defining the environment names
of the deploy jobs. But this variable is actually the OUTPUT of setting the environment name,
thus, it tries to reference itself, but does not exist in that moment.

The correct way to set this is to use `$CI_COMMIT_REF_NAME` as based on the documentation
of GitLab's dynamic environments.
@josegonzalez josegonzalez changed the title docs: fix GitLab CI examples Fix GitLab CI examples Apr 18, 2019
@josegonzalez josegonzalez merged commit 8e07d70 into dokku:master Apr 18, 2019
josegonzalez added a commit that referenced this pull request Apr 22, 2019
# History

## 0.15.5

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.15.5/bootstrap.sh
sudo DOKKU_TAG=v0.15.5 bash bootstrap.sh
```

### New Features

- #3511: @josegonzalez Add json output to config:export

### Documentation

- #3510: @josegonzalez Remove SPONSORS doc in favor of OpenCollective
- #3509: @Neamar Missing space in markdown formatting
- #3507: @renestalder Fix GitLab CI examples
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants