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 GitBox <gi...@apache.org> on 2019/10/14 12:33:27 UTC

[GitHub] [hadoop-submarine] liuxunorg opened a new pull request #47: SUBMARINE-239. Submarine cicd docker support Environmental variable

liuxunorg opened a new pull request #47: SUBMARINE-239. Submarine cicd docker support Environmental variable
URL: https://github.com/apache/hadoop-submarine/pull/47
 
 
   ### What is this PR for?
   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
   
   ```
   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'
   ```
   
   cicd docker startup command
   
   ```
   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
   ```
   
   
   ### What type of PR is it?
   [Improvement]
   
   
   ### What is the Jira issue?
   * https://issues.apache.org/jira/browse/SUBMARINE-239
   
   ### How should this be tested?
   * [CI Pass](https://travis-ci.org/liuxunorg/hadoop-submarine/builds/597600824)
   
   ### Screenshots (if appropriate)
   
   ### Questions:
   * Does the licenses files need update?  No
   * Is there breaking changes for older versions?  No
   * Does this needs documentation? Yes
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services