apache / apache/openserverless
Add the variable OPS_DIR and OPS_FILE in ops
- Langage dominant
- Python
- Étoiles
- 576
- Forks
- 29
- Merge moyen
- 50 min
- PR mergées (30 j)
- 13
Description
## Why you need it?
We need a variable OPS_DIR pointing to the directory where the current opsfile resides.
This is because if you change for example to $OPS_PWD you may beed to refer to the original folder of the opsfile, for example to run
`uv --directory $OPS_DIR run python main.py`
## How it could be?
Add the OPS_DIR of the taskfile you found to the environment and document it
Also OPS_FILE to point to the current opsfile.yml is useful
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
L’issue nomme le opsfile.yml actuel et donne main.py comme exemple de cible de commande. Commencez par repérer où le taskfile ops est trouvé et où son environnement est assemblé, puis examinez la documentation associée. Le travail est terminé lorsque OPS_DIR pointe vers le répertoire du taskfile et que OPS_FILE pointe vers le opsfile.yml actuel.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- devops
- Type d'issue
- Fonctionnalité
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100