File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Expand file tree Collapse file tree 2 files changed +48
-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 ]
8
+ pull_request :
9
+ branches : [ main ]
10
+
11
+ jobs :
12
+ build :
13
+ runs-on : ubuntu-22.04
14
+ steps :
15
+ - uses : actions/checkout@v2
16
+ - name : Setup Java 17
17
+ uses : actions/setup-java@v1
18
+ with :
19
+ java-version : 17
20
+ distribution : ' temurin'
21
+ java-package : ' jdk'
22
+ cache : ' maven'
23
+ - name : Run Maven Build and Test
24
+ run : |
25
+ mvn clean \
26
+ -Pspring-cloud-oci-ci-it \
27
+ -DuserId=${{ secrets.userId }} \
28
+ -DtenantId=${{ secrets.tenantId }} \
29
+ -Dfingerprint=${{ secrets.fingerprint }} \
30
+ -Dregion=${{ env.region }} \
31
+ -DprivateKeyContent=${{ secrets.privateKeyContent }} \
32
+ -Dit.notification=${{ env.it_notification }} \
33
+ -DtopicName=${{ env.topicName }} \
34
+ -DcompartmentId=${{ secrets.compartmentId }} \
35
+ -Dit.logging=${{ env.it_logging }} \
36
+ -DlogId=${{ env.logId }} \
37
+ -Dit.storage=${{ env.it_storage }} \
38
+ -DbucketName=${{ env.bucketName }} \
39
+ 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