fix: correctly handle injecting environment variables to deployment tasks
Also test that release tasks are invoked the correct environment. Closes #3817
This commit is contained in:
11
tests/apps/dockerfile-release/manage.py
Executable file
11
tests/apps/dockerfile-release/manage.py
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env python
|
||||
"""Django's command-line utility for administrative tasks."""
|
||||
import os
|
||||
|
||||
|
||||
def main():
|
||||
print("SECRET_KEY: {0}".format(os.getenv('SECRET_KEY')))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
Reference in New Issue
Block a user