You are viewing a plain text version of this content. The canonical link for it is here.
Posted to submarine-dev@hadoop.apache.org by "Liu Xun (Jira)" <ji...@apache.org> on 2019/10/15 08:53:00 UTC
[jira] [Resolved] (SUBMARINE-239) Submarine cicd docker support
Environmental variable
[ https://issues.apache.org/jira/browse/SUBMARINE-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Liu Xun resolved SUBMARINE-239.
-------------------------------
Resolution: Fixed
Issue resolved by pull request 47
[https://github.com/apache/hadoop-submarine/pull/47]
> 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
> Labels: pull-request-available
> Fix For: 0.3.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)