Project

General

Profile

Actions

action #90989

open

containers: Configurable workdir location in docker-compose

Added by ilausuch over 3 years ago. Updated over 3 years ago.

Status:
Workable
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2021-04-12
Due date:
% Done:

0%

Estimated time:

Description

Motivation

Currently, the workdir is created in the containers/webui directory with two problems:

  • This clutters the git directory. (The path is already in .gitignore, though.)
  • The directory is owned by root causing the tidy script to fail on permission errors.

Acceptance criteria

  • AC1: Use a different default directory or at least prevent the interference with the tidy script.
  • AC2: Allow to configure the workdir path, e.g. via an environment variable.
  • AC3: Document where files are stored by default and AC2.

Related issues 1 (0 open1 closed)

Related to openQA Project (public) - action #89755: container: Fix missing shared directories and its permissionsResolved2021-03-09

Actions
Actions #1

Updated by okurz over 3 years ago

thank you for recording the idea in a ticket. But please find proper acceptance criteria. What you stated are good suggestions

Actions #2

Updated by okurz over 3 years ago

  • Target version set to future
Actions #3

Updated by mkittler over 3 years ago

  • Description updated (diff)
Actions #4

Updated by ilausuch over 3 years ago

  • Related to action #89755: container: Fix missing shared directories and its permissions added
Actions #5

Updated by livdywan over 3 years ago

  • Subject changed from containers: Fix workdir location in docker-compose to containers: Configurable workdir location in docker-compose
  • Description updated (diff)
  • Status changed from New to Workable

I was asking @ilausuch in chat, but repeating my point here for the record. AC2: Allow to configure the workdir path sounds like a feature request to me. And I'm not clear that the workdir as it is used now breaks anything. Hence I think the title of the ticket should reflect this better.

Actions #6

Updated by ilausuch over 3 years ago

Yes, it's a feature

Actions

Also available in: Atom PDF