Skip to content

Commit

Permalink
feat: use testcontainers in dev mode (#1272)
Browse files Browse the repository at this point in the history
* chore(deps) : Upgrade to 8.11.3 version of elasticsearch

* polish sample

* feat: use testcontainers in dev mode

* Revert "chore(deps) : Upgrade to 8.11.3 version of elasticsearch"

This reverts commit 180170b.

* Revert "polish sample"

This reverts commit 8424aee.

* adds : missing wrapper jar

* chore: clean codes

---------

Co-authored-by: hantsy <hantsy@gmail.com>
  • Loading branch information
rajadilipkolli and hantsy authored Dec 20, 2023
1 parent 94f5d5d commit 023945d
Show file tree
Hide file tree
Showing 11 changed files with 448 additions and 444 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/boot-redis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
build:

runs-on: ubuntu-latest
defaults:
run:
working-directory: "boot-redis"

steps:
- uses: actions/checkout@v4
Expand All @@ -27,13 +30,6 @@ jobs:
with:
java-version: '21'
distribution: 'temurin'
cache: 'maven'
- name: Start up databases via Docker Compose
run: |
docker-compose up -d redis
sleep 5
docker ps -a
cache: 'maven'
- name: Build with Maven
run: |
cd boot-redis
mvn -B package --file pom.xml
run: ./mvnw clean verify
117 changes: 0 additions & 117 deletions boot-redis/.mvn/wrapper/MavenWrapperDownloader.java

This file was deleted.

Binary file added boot-redis/.mvn/wrapper/maven-wrapper.jar
Binary file not shown.
20 changes: 18 additions & 2 deletions boot-redis/.mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,18 @@
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.3/apache-maven-3.8.3-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
Loading

0 comments on commit 023945d

Please sign in to comment.