[ 
https://issues.apache.org/jira/browse/HADOOP-17778?focusedWorklogId=616541&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-616541
 ]

ASF GitHub Bot logged work on HADOOP-17778:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/Jun/21 15:12
            Start Date: 29/Jun/21 15:12
    Worklog Time Spent: 10m 
      Work Description: GauthamBanasandra commented on a change in pull request 
#3151:
URL: https://github.com/apache/hadoop/pull/3151#discussion_r660716133



##########
File path: dev-support/Jenkinsfile
##########
@@ -56,6 +56,34 @@ pipeline {
             }
         }
 
+        // This is an optional stage which runs only when there's a change in
+        // C++/C++ build/platform.
+        // This stage serves as a means of cross platform validation, which is
+        // really needed to ensure that any C++ related/platform change doesn't
+        // break the Hadoop build on Centos 8.
+        stage ('precommit-run Centos 8') {
+            environment {
+                DOCKERFILE = 
"${SOURCEDIR}/dev-support/docker/Dockerfile_centos_8"
+                IS_OPTIONAL = 1
+            }
+
+            steps {
+                withCredentials(
+                    [usernamePassword(credentialsId: 
'apache-hadoop-at-github.com',

Review comment:
       @goiri I tried the following -
   1. Putting the stages for Centos 8, Debian 10, Ubuntu Focal under a common 
credentials block - 
https://github.com/apache/hadoop/pull/3145/commits/b1cf25ce9d756c8a3c7cb5ec3b96555537c16ec2.
 This results in a syntax error.
   2. Putting all the stages under the same credentials block - 
https://github.com/apache/hadoop/pull/3145/commits/f3b8b72b4c2af3f1584a7228d123049da8290f3c.
 Syntax error.
   3. Creating credential environment variables that are scoped to the stages - 
https://github.com/apache/hadoop/pull/3145/commits/74acdc93c7cb6a5df612a81326f577e87f597c8b.
 This syntax isn't supported as well.
   4. Moved these environment variables to the scope of the whole pipeline - 
https://github.com/apache/hadoop/pull/3145/commits/83d7399b75551a0b9e73a7ba116450a2964eb81e.
 This is not at all recommended since leads to poor management of credentials. 
Moreover, this didn't work.
   
   I think there's no way to work around this one. Could we please proceed with 
the current approach for now?




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 616541)
    Time Spent: 1h 40m  (was: 1.5h)

> CI for Centos 8
> ---------------
>
>                 Key: HADOOP-17778
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17778
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 3.4.0
>         Environment: Centos 8
>            Reporter: Gautham Banasandra
>            Assignee: Gautham Banasandra
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Need to run CI for Centos 8 platform to ensure that further changes are 
> stable on this platform.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to