Yang Wang created FLINK-27012:
---------------------------------

             Summary: Caching maven dependencies to speed up workflows for 
flink-kubernetes-operator
                 Key: FLINK-27012
                 URL: https://issues.apache.org/jira/browse/FLINK-27012
             Project: Flink
          Issue Type: Improvement
          Components: Kubernetes Operator
            Reporter: Yang Wang


The current CI downloads the maven dependencies every time. This could be saved 
by using github actions cache.

 
{code:java}
[INFO] Scanning for projects...
15Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/apache/23/apache-23.pom
16Progress (1): 2.7/18 kB
17Progress (1): 5.5/18 kB
18Progress (1): 8.2/18 kB
19Progress (1): 11/18 kB 
20Progress (1): 14/18 kB
21Progress (1): 16/18 kB
22Progress (1): 18 kB   
23                   
24Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/apache/23/apache-23.pom (18 kB 
at 55 kB/s)
25[INFO] 
------------------------------------------------------------------------
26[INFO] Reactor Build Order:
27[INFO] 
28[INFO] Flink Kubernetes:                                                  
[pom]
29[INFO] Flink Kubernetes Shaded                                            
[jar]
30[INFO] Flink Kubernetes Operator                                          
[jar]
31[INFO] Flink Kubernetes Webhook                                           
[jar]
32[INFO] 
33[INFO] ---------< org.apache.flink:flink-kubernetes-operator-parent 
>----------
34[INFO] Building Flink Kubernetes: 1.0-SNAPSHOT                            
[1/4]
35[INFO] --------------------------------[ pom 
]---------------------------------
36Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-remote-resources-plugin/1.7.0/maven-remote-resources-plugin-1.7.0.pom
37Progress (1): 2.7/13 kB
38Progress (1): 5.5/13 kB
39Progress (1): 8.2/13 kB
40Progress (1): 11/13 kB 
41Progress (1): 13 kB   
42                   
43Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-remote-resources-plugin/1.7.0/maven-remote-resources-plugin-1.7.0.pom
 (13 kB at 990 kB/s)
44Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/33/maven-plugins-33.pom
45Progress (1): 2.7/11 kB
46Progress (1): 5.5/11 kB
47Progress (1): 8.2/11 kB
48Progress (1): 11 kB    
49                   
50Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/33/maven-plugins-33.pom
 (11 kB at 763 kB/s)
51Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/33/maven-parent-33.pom
 {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to