mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
CI Environment #226
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@lukas2511 commented on GitHub (Jun 8, 2017):
Use
dehydratedand nottest.sh.@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?
@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
CIenvironment is not set totrue:ad21b41e27/test.sh (L7)What environment are you running it in? Maybe your env is trying to run the test.sh.
@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.
@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.@TBGG1 commented on GitHub (Jun 8, 2017):
Thank you very much. I might try that after contacting my webhoster.