chore: combine server PRs (#166)
* build(deps): bump com.puppycrawl.tools:checkstyle in /server Bumps [com.puppycrawl.tools:checkstyle](https://github.com/checkstyle/checkstyle) from 10.20.0 to 10.20.1. - [Release notes](https://github.com/checkstyle/checkstyle/releases) - [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-10.20.0...checkstyle-10.20.1) --- updated-dependencies: - dependency-name: com.puppycrawl.tools:checkstyle dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.hibernate.orm.tooling:hibernate-enhance-maven-plugin Bumps [org.hibernate.orm.tooling:hibernate-enhance-maven-plugin](https://github.com/hibernate/hibernate-orm) from 6.5.3.Final to 6.6.2.Final. - [Release notes](https://github.com/hibernate/hibernate-orm/releases) - [Changelog](https://github.com/hibernate/hibernate-orm/blob/6.6.2/changelog.txt) - [Commits](https://github.com/hibernate/hibernate-orm/compare/6.5.3...6.6.2) --- updated-dependencies: - dependency-name: org.hibernate.orm.tooling:hibernate-enhance-maven-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * ci: add script to run with native pr --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
co-authored by
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
parent
6bdd0d7c3c
commit
eb7b184de1
+2
-2
@@ -42,7 +42,7 @@
|
||||
<jacoco.output.data>${project.build.directory}/coverage-reports</jacoco.output.data>
|
||||
<timestamp>${maven.build.timestamp}</timestamp>
|
||||
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>
|
||||
<hibernate.version>6.5.3.Final</hibernate.version>
|
||||
<hibernate.version>6.6.2.Final</hibernate.version>
|
||||
</properties>
|
||||
|
||||
<!-- Profiles -->
|
||||
@@ -415,7 +415,7 @@
|
||||
<dependency>
|
||||
<groupId>com.puppycrawl.tools</groupId>
|
||||
<artifactId>checkstyle</artifactId>
|
||||
<version>10.20.0</version>
|
||||
<version>10.20.1</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<configuration>
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
#!/bin/bash
|
||||
|
||||
VERSION="$1"
|
||||
|
||||
echo "Received version $VERSION"
|
||||
|
||||
if [ ! -f "server/.env" ]; then
|
||||
echo "No env file found for back-end. Creating one for you.."
|
||||
bash tools/run-create-env.sh "back"
|
||||
else
|
||||
echo "Env file in place. Moving on.."
|
||||
fi
|
||||
|
||||
echo "Getting env vars and making them visible"
|
||||
cd server/
|
||||
export $(cat .env | xargs)
|
||||
echo "Done!"
|
||||
|
||||
cd ..
|
||||
|
||||
DB_HOST=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' db)
|
||||
|
||||
docker run -d --rm \
|
||||
--name server \
|
||||
-p 8585:8585 \
|
||||
-p 5005:5005 \
|
||||
-e POSTGRES_DB=$POSTGRES_DB \
|
||||
-e POSTGRES_USER=$POSTGRES_USER \
|
||||
-e POSTGRES_PASSWORD=$POSTGRES_PASSWORD \
|
||||
-e POSTGRES_PORT=$POSTGRES_PORT \
|
||||
-e POSTGRES_HOST=$DB_HOST \
|
||||
-e CORS_ALLOWED_ORIGINS=$CORS_ALLOWED_ORIGINS \
|
||||
-e SERVER_SERVLET_CONTEXT_PATH=$SERVER_SERVLET_CONTEXT_PATH \
|
||||
$VERSION
|
||||
Reference in New Issue
Block a user