[JIRA] (OVIRT-2359) Set environment variable in jenkins user's env
to inidicate it's a container
by Daniel Belenky (oVirt JIRA)
[ https://ovirt-jira.atlassian.net/browse/OVIRT-2359?page=com.atlassian.jir... ]
Daniel Belenky commented on OVIRT-2359:
---------------------------------------
currently, in order to start an stdci container, you need to write an environment file for systemd. This file needs information such as the agent's name, the secret, etc. We need it because systemd unitfile doesn't have access to the environment where docker set's the variables (root user's environment). So you need one systemd-environment file per container. It's done dynamically when you run not during the build.
Thinking of it now, it serves a completely different purpose and shoudn't be mixed.
> Set environment variable in jenkins user's env to inidicate it's a container
> ----------------------------------------------------------------------------
>
> Key: OVIRT-2359
> URL: https://ovirt-jira.atlassian.net/browse/OVIRT-2359
> Project: oVirt - virtualization made easy
> Issue Type: Task
> Reporter: Daniel Belenky
> Assignee: infra
>
> We need to set a variable under the jenkins user that will indicate we're running inside a container.
--
This message was sent by Atlassian Jira
(v1001.0.0-SNAPSHOT#100090)
6 years, 4 months