-
Notifications
You must be signed in to change notification settings - Fork 138
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
Documentation: Rename example for env file #1433
Comments
This is frequently confused, and you are not the first to be confused with it... (i highly suspect it's because of the key word This https://github.com/firecow/gitlab-ci-local?tab=readme-ov-file#dotenv-file section of the docs is referring to the following For what you are trying to do, they're actually documented under: Hopefully this is clearer now. Feel free to add comment to https://github.com/firecow/gitlab-ci-local/tree/doc/readme?tab=readme-ov-file#via-a-file if you feel there's anywhere that it can be phrased better |
fixed in #1434 |
Sorry for reopening this issue again, but I am still struggling to assign variable My yml file has something like this:
And I created the
Please help with this challenge. |
I figured it out with this command: I had to explicitly set the path of the file. |
The readme suggests the following:
Add a .gitlab-ci-local-env file to the current working directory or a .env file in $HOME/.gitlab-ci-local
.According to
gcl --help
though, the default name is.gitlab-ci-local-variables.yml
.It took me some time to figure out why my variables were not accessible inside my executor's docker containers.
So I would suggest to make the documentation a bit more self-explanatory like this:
Add a .gitlab-ci-local-variables.yml file to the current working directory or a .env file in $HOME/.gitlab-ci-local.
.Thanks in advance!
The text was updated successfully, but these errors were encountered: