Skip to content

Commit

Permalink
Prepare for 0.5
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Henneberger <git@danielhenneberger.com>
  • Loading branch information
henneberger committed May 22, 2024
1 parent 4240a87 commit bdef5bb
Show file tree
Hide file tree
Showing 18 changed files with 101 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build and test SQRL with Maven
on:
pull_request:
branches: [ "main", "v0.5", "v0.5-RC5" ]
branches: [ "main", "v0.5"]

jobs:
build:
Expand Down
13 changes: 1 addition & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
distribution: 'adopt'
cache: maven
- name: Build SQRL
run: mvn -B -U -T 6 -e clean install -DskipTests=true
run: mvn -B -U -T 6 -e clean deploy -DskipTests=true

# Set up Docker
- name: Set up QEMU
Expand All @@ -32,14 +32,6 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Determine tag suffix
id: tag_suffix
run: |
if [[ "${{ github.ref_name }}" =~ -RC[0-9]+$ ]]; then
echo "TAG_SUFFIX=${{ github.ref_name }}" >> $GITHUB_ENV
else
echo "TAG_SUFFIX=latest" >> $GITHUB_ENV
fi
- name: Build and Push sqrl-cli Latest
uses: docker/build-push-action@v3
with:
Expand All @@ -48,7 +40,6 @@ jobs:
push: true
tags: |
datasqrl/cmd:${{ github.ref_name }}
datasqrl/cmd:${{ env.TAG_SUFFIX }}
platforms: linux/amd64,linux/arm64
- name: Build and Push sqrl-vertx Docker
uses: docker/build-push-action@v3
Expand All @@ -58,7 +49,6 @@ jobs:
push: true
tags: |
datasqrl/sqrl-server:${{ github.ref_name }}
datasqrl/sqrl-server:${{ env.TAG_SUFFIX }}
platforms: linux/amd64,linux/arm64
- name: Build and Push sqrl-dependencies Docker
uses: docker/build-push-action@v3
Expand All @@ -68,5 +58,4 @@ jobs:
push: true
tags: |
datasqrl/sqrl-dependencies:${{ github.ref_name }}
datasqrl/sqrl-dependencies:${{ env.TAG_SUFFIX }}
platforms: linux/amd64,linux/arm64
6 changes: 1 addition & 5 deletions playbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,8 @@ docker build -t datasqrl/datasqrl-cmd .
```

# To run int test:
First, build the docker files:
```
docker build . -t datasqrl/sqrl-dependencies:0.5-RC4
```

Second, build the docker server image:
Build the docker server image:
```
mvn package
cd sqrl-server/sqrl-server-vertx
Expand Down
2 changes: 1 addition & 1 deletion profiles/default/flink/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ext {
flinkVersion = "1.18.1"
jdbcVersion = "3.1.2-1.18"
kafkaVersion = "3.1.0-1.18"
sqrlVersion = "0.5.0-RC4"
sqrlVersion = "0.5.0"
}

repositories {
Expand Down
2 changes: 1 addition & 1 deletion profiles/default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"package": {
"name": "datasqrl.profile.default",
"version": "v0.5.0-RC5",
"version": "v0.5.0",
"variant": "dev",
"description": "A docker compose datasqrl profile",
"homepage": "",
Expand Down
2 changes: 1 addition & 1 deletion profiles/default/vertx/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM datasqrl/sqrl-server:v0.5.0-RC5-SNAPSHOT
FROM datasqrl/sqrl-server:v0.5.0

COPY server-model.json /opt/sqrl/server-model.json
COPY server-config.json /opt/sqrl/server-config.json
93 changes: 93 additions & 0 deletions sqrl-flink-lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,99 @@
<tag>v0.5.0-RC3</tag>
</scm>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-lib-common</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-errors</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-flexible-csv</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-flexible-json</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-h2-1.16</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-jdbc-1.16</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-jdbc-1.17</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-jdbc-1.18</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-json</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-name</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-secure</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-text</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-time</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-vector</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
Expand Down
4 changes: 0 additions & 4 deletions sqrl-flink-lib/sqrl-flexible-json/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,14 @@
<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-errors</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-name</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-json</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
Expand All @@ -76,7 +73,6 @@
<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-lib-common</artifactId>
<version>${version}</version>
</dependency>
</dependencies>
<build>
Expand Down
2 changes: 0 additions & 2 deletions sqrl-flink-lib/sqrl-jdbc-1.16/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,10 @@
<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-lib-common</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-flexible-json</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
Expand Down
2 changes: 0 additions & 2 deletions sqrl-flink-lib/sqrl-jdbc-1.17/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,10 @@
<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-lib-common</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-flexible-json</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
Expand Down
2 changes: 0 additions & 2 deletions sqrl-flink-lib/sqrl-jdbc-1.18/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,10 @@
<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-lib-common</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-flexible-json</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
Expand Down
1 change: 0 additions & 1 deletion sqrl-flink-lib/sqrl-json/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-lib-common</artifactId>
<version>0.5.0-RC5-SNAPSHOT</version>
</dependency>

</dependencies>
Expand Down
1 change: 0 additions & 1 deletion sqrl-flink-lib/sqrl-secure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-lib-common</artifactId>
<version>${version}</version>
</dependency>
</dependencies>
<build>
Expand Down
1 change: 0 additions & 1 deletion sqrl-flink-lib/sqrl-text/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-lib-common</artifactId>
<version>${version}</version>
</dependency>
</dependencies>
<build>
Expand Down
1 change: 0 additions & 1 deletion sqrl-flink-lib/sqrl-time/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-lib-common</artifactId>
<version>${version}</version>
</dependency>
</dependencies>
<build>
Expand Down
2 changes: 0 additions & 2 deletions sqrl-flink-lib/sqrl-vector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,10 @@
<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-lib-common</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>com.datasqrl</groupId>
<artifactId>sqrl-jdbc-1.16</artifactId>
<version>0.5.0-RC5-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public PackageJson createDefaultConfig(ErrorCollector errors) {
packageJson.setProfiles(new String[]{"datasqrl.profile.default"});
packageJson.getDependencies()
.addDependency("datasqrl.profile.default",
new DependencyImpl("datasqrl.profile.default", "v0.5.0-RC5", "dev"));
new DependencyImpl("datasqrl.profile.default", "v0.5.0", "dev"));

return packageJson;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import picocli.CommandLine;
import picocli.CommandLine.ScopeType;

@CommandLine.Command(name = "datasqrl", mixinStandardHelpOptions = true, version = "v0.5.0-RC4",
@CommandLine.Command(name = "datasqrl", mixinStandardHelpOptions = true, version = "v0.5.0",
subcommands = {CompilerCommand.class,
PublishCommand.class, TestCommand.class, LoginCommand.class})
@Getter
Expand Down

0 comments on commit bdef5bb

Please sign in to comment.