File tree Expand file tree Collapse file tree 3 files changed +31
-22
lines changed
Expand file tree Collapse file tree 3 files changed +31
-22
lines changed Original file line number Diff line number Diff line change 1111 ANSIBLE_FORCE_COLOR : 1
1212 ANSIBLE_STDOUT_CALLBACK : yaml
1313jobs :
14- sonarcloud :
15- name : SonarCloud
14+ sonarqube :
15+ name : SonarQube
1616 runs-on : ubuntu-latest
1717 steps :
18- - uses : actions/checkout@v2
18+ - uses : actions/checkout@v4
1919 with :
2020 fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
21- - name : SonarCloud Scan
22- uses : SonarSource/sonarcloud-github -action@master
21+ - name : SonarQube Scan
22+ uses : SonarSource/sonarqube-scan -action@v6
2323 env :
24- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
2524 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
25+ ubuntu-22 :
26+ runs-on : ubuntu-22.04
27+ steps :
28+ - name : Checkout
29+ uses : actions/checkout@v4.1.7
30+ with :
31+ fetch-depth : 0
32+ - name : Install ansible
33+ run : |
34+ sudo apt-add-repository --yes --update ppa:ansible/ansible
35+ sudo apt-get update
36+ sudo apt-get install ansible -y
37+ ansible --version
38+ - name : Run playbook
39+ run : |
40+ cd ..
41+ ansible-playbook ansible-role-java/playbook.yml
Original file line number Diff line number Diff line change @@ -75,20 +75,7 @@ Requirements
7575 - Ubuntu bionic: repositories, tarball
7676 - Debian stretch: tarball
7777 - Windows: tarball
78- - 12
79- - EL 6: tarball
80- - EL 7: tarball
81- - EL 8: tarball
82- - Ubuntu bionic: tarball
83- - Debian stretch: tarball
84- - Windows: tarball
85- - 13
86- - EL 6: tarball, fallback
87- - EL 7: tarball, fallback
88- - EL 8: tarball, fallback
89- - Ubuntu bionic: tarball, fallback
90- - Debian stretch: tarball, fallback
91- - Windows: tarball, fallback
78+ - 17
9279 - ** Supported oracle java version** :
9380 - 7
9481 - 8
@@ -279,7 +266,7 @@ Example Playbook
279266 java_major_version : 17
280267` ` `
281268
282- ### Installing OpenJDK 8 from repositories:
269+ ### Installing OpenJDK 17 from repositories:
283270
284271` ` ` yaml
285272- name : Install openjdk java
@@ -288,7 +275,7 @@ Example Playbook
288275 roles :
289276 - role : lean_delivery.java
290277 transport : repositories
291- java_major_version : 8
278+ java_major_version : 17
292279` ` `
293280
294281### Installing OpenJDK 11 from web:
Original file line number Diff line number Diff line change 1+ - name : Install Java
2+ hosts : localhost
3+ roles :
4+ - role : ansible-role-java
5+ transport : repositories
6+ java_major_version : 17
You can’t perform that action at this time.
0 commit comments