CI Environment #226

Closed
opened 2025-12-29 01:19:20 +01:00 by adam · 6 comments
Owner

Originally created by @TBGG1 on GitHub (Jun 8, 2017).

Hello,

When I try to config dehydrated, there comes the error "ERROR: Not running in CI environment!".
What does that mean and what do I have to do now?

Thanks in advance

Originally created by @TBGG1 on GitHub (Jun 8, 2017). Hello, When I try to config dehydrated, there comes the error "ERROR: Not running in CI environment!". What does that mean and what do I have to do now? Thanks in advance
adam closed this issue 2025-12-29 01:19:20 +01:00
Author
Owner

@lukas2511 commented on GitHub (Jun 8, 2017):

Use dehydrated and not test.sh.

@lukas2511 commented on GitHub (Jun 8, 2017): Use `dehydrated` and not `test.sh`.
Author
Owner

@TBGG1 commented on GitHub (Jun 8, 2017):

The command I used was "./dehydrated --config /home/www/letsencrypt.sh/conf/config.sh -c".
How do I do what you said?

@TBGG1 commented on GitHub (Jun 8, 2017): The command I used was "./dehydrated --config /home/www/letsencrypt.sh/conf/config.sh -c". How do I do what you said?
Author
Owner

@gheja commented on GitHub (Jun 8, 2017):

It is strange you see that message as it appears only in test.sh and it is shown if the CI environment is not set to true:

ad21b41e27/test.sh (L7)

What environment are you running it in? Maybe your env is trying to run the test.sh.

@gheja commented on GitHub (Jun 8, 2017): It is strange you see that message as it appears only in test.sh and it is shown if the `CI` environment is not set to `true`: https://github.com/lukas2511/dehydrated/blob/ad21b41e272f2dd54e659ca39fb04e57a10225d7/test.sh#L7 What environment are you running it in? Maybe your env is trying to run the test.sh.
Author
Owner

@TBGG1 commented on GitHub (Jun 8, 2017):

I have no clue what is ment by environment. I am going onto my server over SSH which runs Apache on Debian.

@TBGG1 commented on GitHub (Jun 8, 2017): I have no clue what is ment by environment. I am going onto my server over SSH which runs Apache on Debian.
Author
Owner

@gheja commented on GitHub (Jun 8, 2017):

That's what I meant by environment :) It is still strange, it should not try to run test.sh.

Anyways, if you'd like you can try to run export CI="true" before running the dehydrated but be advised, I have not checked the test.sh script and I think there's a reason it checks for this variable (i.e. it might break the system it runs on which should not be a problem for a CI environment (as that is reset on each run)). So try this at your own risk.

@gheja commented on GitHub (Jun 8, 2017): That's what I meant by environment :) It is still strange, it should not try to run test.sh. Anyways, if you'd like you can try to run `export CI="true"` before running the dehydrated but be advised, I have not checked the test.sh script and I think there's a reason it checks for this variable (i.e. it might break the system it runs on which should not be a problem for a CI environment (as that is reset on each run)). So try this at your own risk.
Author
Owner

@TBGG1 commented on GitHub (Jun 8, 2017):

Thank you very much. I might try that after contacting my webhoster.

@TBGG1 commented on GitHub (Jun 8, 2017): Thank you very much. I might try that after contacting my webhoster.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#226