File tree Expand file tree Collapse file tree
src/sqlancer/postgres/gen Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Publish package to the Maven Central Repository
1+ name : Publish package to the Maven Central Repository and Docker Hub
22on :
33 release :
44 types : [created]
2121 env :
2222 MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
2323 MAVEN_PASSWORD : ${{ secrets.OSSRH_TOKEN }}
24+ push_to_registry :
25+ name : Push Docker image to Docker Hub
26+ runs-on : ubuntu-latest
27+ steps :
28+ - name : Check out the repo
29+ uses : actions/checkout@v2
30+ - name : Set up JDK 1.8
31+ uses : actions/setup-java@v1
32+ with :
33+ java-version : 1.8
34+ - name : Build SQLancer
35+ run : mvn -B package -DskipTests=true
36+ - name : Push to Docker Hub
37+ uses : docker/build-push-action@v1
38+ with :
39+ username : ${{ secrets.DOCKER_USERNAME }}
40+ password : ${{ secrets.DOCKER_PASSWORD }}
41+ repository : mrigger/sqlancer
42+ tag_with_ref : true
Original file line number Diff line number Diff line change 1+ FROM ubuntu:21.04
2+
3+ RUN apt-get update --yes && env DEBIAN_FRONTEND=noninteractive apt-get install openjdk-15-jdk maven --yes --no-install-recommends
4+
5+ # assumes that the project has already been built
6+ COPY target/sqlancer-*.jar sqlancer.jar
7+ COPY target/lib/*.jar /lib/
8+
9+ ENTRYPOINT ["java" , "-jar" , "sqlancer.jar" ]
Original file line number Diff line number Diff line change 44 <modelVersion >4.0.0</modelVersion >
55 <groupId >com.sqlancer</groupId >
66 <artifactId >sqlancer</artifactId >
7- <version >1.0.1 </version >
7+ <version >1.1.0 </version >
88 <name >SQLancer</name >
99 <url >http://www.sqlancer.com/</url >
1010 <description >SQLancer finds logic bugs in Database Management Systems through automatic testing</description >
Original file line number Diff line number Diff line change @@ -198,6 +198,7 @@ private void generateInherits() {
198198 errors .add ("cannot inherit from partitioned table" );
199199 errors .add ("has a collation conflict" );
200200 errors .add ("inherits conflicting default values" );
201+ errors .add ("specifies generation expression" );
201202 }
202203 }
203204
You can’t perform that action at this time.
0 commit comments