Skip to content

Commit f003987

Browse files
Updated yml with docker
1 parent caa0a0d commit f003987

File tree

4 files changed

+43
-1
lines changed

4 files changed

+43
-1
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: '3'
2+
services:
3+
chaintest:
4+
image: anshooarora/chaintest:latest
5+
container_name: chaintest
6+
environment:
7+
- "SPRING_PROFILES_ACTIVE=h2"
8+
- SPRING_DATASOURCE_URL=jdbc:h2:file:./data/db
9+
- SPRING_DATASOURCE_DRIVERCLASSNAME=org.h2.Driver
10+
ports:
11+
- 80:80

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,6 @@ jobs:
8989
- name: Deploy to GitHub Pages
9090
uses: peaceiris/actions-gh-pages@v3
9191
with:
92-
github_token: ${{ secrets.GITHUB_TOKEN }}
92+
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
9393
publish_dir: ./public # Deploy the prepared report and data
9494
force_orphan: true # Create a new commit every time

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pom.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,29 @@
3939
<version>${logback.version}</version>
4040
</dependency>
4141
</dependencies>
42+
<build>
43+
<plugins>
44+
<plugin>
45+
<groupId>org.apache.maven.plugins</groupId>
46+
<artifactId>maven-compiler-plugin</artifactId>
47+
<version>3.8.1</version>
48+
<configuration>
49+
<source>1.8</source>
50+
<target>1.8</target>
51+
</configuration>
52+
</plugin>
53+
<plugin>
54+
<groupId>org.apache.maven.plugins</groupId>
55+
<artifactId>maven-surefire-plugin</artifactId>
56+
<version>3.0.0-M5</version>
57+
<configuration>
58+
<suiteXmlFiles>
59+
<suiteXmlFile>testng.xml</suiteXmlFile>
60+
</suiteXmlFiles>
61+
<redirectTestOutputToFile>true</redirectTestOutputToFile>
62+
<disableXmlReport>false</disableXmlReport>
63+
</configuration>
64+
</plugin>
65+
</plugins>
66+
</build>
4267
</project>

0 commit comments

Comments
 (0)