DIRACGrid / DIRACGrid/diracx

Create a `.env` file for every release

Open
#664 10 comments 0 reactions 1 assignee Claimed by @anpicci View on GitHub
Dominant language
Python
Stars
19
Forks
45
Avg merge
4d 23h
Merged PRs (30d)
12

Description

Whenever we make a release, we should upload a `.env` file as github artifact that contains a dump of all the environment variables.

- when we run `run_demo.sh` in the integration tests, we take the opportunity to extract the environment variables from `diracx` pod, and we store that in an `.env` file
- this `.env` file is attached only when we make a new release as an artifact
- ⚠️ need to make sure there is no sensitive data uploaded
- this should not be part of `run_demo.sh` because we don't want an end user getting this `.env` file by default
- probably we should add the `.env` file in `.gitignore`

## DoD

- [ ] `.env` file is produced and attached to the release on gh and does not contain any sensitive information

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.