File tree Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will build a Java project with Maven
2
+
3
+ name : Run the Integration Tests for Spring Cloud OCI
4
+
5
+ on :
6
+ push :
7
+ branches : [ main, topic_jjyoti_* ]
8
+ pull_request :
9
+ branches : [ $default-branch ]
10
+ workflow_dispatch :
11
+ inputs :
12
+ releaseVersion :
13
+ description : " Define the release version"
14
+ required : true
15
+ default : " "
16
+ developmentVersion :
17
+ description : " Define the snapshot version"
18
+ required : true
19
+ default : " "
20
+
21
+ jobs :
22
+ build :
23
+ runs-on : ubuntu-22.04
24
+ steps :
25
+ - uses : actions/checkout@v2
26
+ - name : Setup Java 17
27
+ uses : actions/setup-java@v1
28
+ with :
29
+ java-version : 17
30
+ distribution : ' temurin'
31
+ java-package : ' jdk'
32
+ cache : ' maven'
33
+ - name : Run Maven Build and Test
34
+ run : |
35
+ mvn clean \
36
+ -Pspring-cloud-oci-ci-it \
37
+ -DuserId=${{ secrets.userId }} \
38
+ -DtenantId=${{ secrets.tenantId }} \
39
+ -Dfingerprint=${{ secrets.fingerprint }} \
40
+ -Dregion=${{ env.region }} \
41
+ -DprivateKeyContent=${{ secrets.privateKeyContent }} \
42
+ -Dit.notification=${{ env.it_notification }} \
43
+ -DtopicName=${{ env.topicName }} \
44
+ -DcompartmentId=${{ secrets.compartmentId }} \
45
+ -Dit.logging=${{ env.it_logging }} \
46
+ -DlogId=${{ env.logId }} \
47
+ -Dit.storage=${{ env.it_storage }} \
48
+ -DbucketName=${{ env.bucketName }} \
49
+ install
Original file line number Diff line number Diff line change @@ -46,6 +46,15 @@ Licensed under the Universal Permissive License v 1.0 as shown at https://oss.or
46
46
<profiles >
47
47
<profile >
48
48
<id >spring-cloud-oci-ci-it</id >
49
+ <build >
50
+ <plugins >
51
+ <plugin >
52
+ <groupId >org.apache.maven.plugins</groupId >
53
+ <artifactId >maven-surefire-plugin</artifactId >
54
+ <version >3.1.2</version >
55
+ </plugin >
56
+ </plugins >
57
+ </build >
49
58
</profile >
50
59
</profiles >
51
60
</project >
You can’t perform that action at this time.
0 commit comments