[ 
https://issues.apache.org/jira/browse/SUBMARINE-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Liu Xun updated SUBMARINE-239:
------------------------------
    Description: 
1. Set the apache account and password in the local environment variable.
2. Pass the local environment variable to the container for execution via the 
docker startup command.
3. Avoid using plain text to pass passwords in the docker startup command


{code:java}
vi ~/.bash_profile
export JIRA_USERNAME='Your jira username'
export JIRA_PASSWORD='Your jira password'
export APACHE_ID='Your apache id' # Your apache email prefix
export APACHE_NAME='Your apache name'
{code}

cicd docker startup command



{code:java}
docker run -it -e JIRA_USERNAME="${JIRA_USERNAME}" -e 
JIRA_PASSWORD="${JIRA_PASSWORD}" -e APACHE_ID="${APACHE_ID}" -e 
APACHE_NAME="${APACHE_NAME}" --rm submarine-cicd
{code}





  was:
1. Set the apache account and password in the local environment variable.
2. Pass the local environment variable to the container for execution via the 
docker startup command.
3. Avoid using plain text to pass passwords in the docker startup command


{code:java}
vi ~/.bash_profile
export JIRA_USERNAME='Your jira username'
export JIRA_PASSWORD='Your jira password'
export APACHE_ID='Your apache id' # Your apache email prefix
export APACHE_NAME='Your apache name'
{code}

cicd docker startup command



{code:java}
docker run -it -e JIRA_USERNAME="${SUBMARINE_JIRA_USERNAME}" -e 
JIRA_PASSWORD="${SUBMARINE_JIRA_PASSWORD}" -e 
APACHE_ID="${SUBMARINE_APACHE_ID}" -e APACHE_NAME="${SUBMARINE_APACHE_NAME}" 
--rm submarine-cicd
{code}






> Submarine cicd docker support Environmental variable
> ----------------------------------------------------
>
>                 Key: SUBMARINE-239
>                 URL: https://issues.apache.org/jira/browse/SUBMARINE-239
>             Project: Hadoop Submarine
>          Issue Type: Improvement
>            Reporter: Liu Xun
>            Assignee: Liu Xun
>            Priority: Major
>             Fix For: 0.3.0
>
>
> 1. Set the apache account and password in the local environment variable.
> 2. Pass the local environment variable to the container for execution via the 
> docker startup command.
> 3. Avoid using plain text to pass passwords in the docker startup command
> {code:java}
> vi ~/.bash_profile
> export JIRA_USERNAME='Your jira username'
> export JIRA_PASSWORD='Your jira password'
> export APACHE_ID='Your apache id' # Your apache email prefix
> export APACHE_NAME='Your apache name'
> {code}
> cicd docker startup command
> {code:java}
> docker run -it -e JIRA_USERNAME="${JIRA_USERNAME}" -e 
> JIRA_PASSWORD="${JIRA_PASSWORD}" -e APACHE_ID="${APACHE_ID}" -e 
> APACHE_NAME="${APACHE_NAME}" --rm submarine-cicd
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to