Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.1.2-p1 #117

Merged
merged 5 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/build-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,38 @@ jobs:
with:
name: scavenger-api
path: scavenger-api/build/test-results
scavenger-schema:
runs-on: ubuntu-latest
services:
database:
image: mysql:8.0.28
ports:
- 3306:3306
env:
MYSQL_ROOT_PASSWORD: scavenger
MYSQL_DATABASE: scavenger
MYSQL_USER: scavenger
MYSQL_PASSWORD: scavenger
options: >-
--health-cmd "mysqladmin ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v3
- name: Setup Java JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11'
- name: Gradle Caching
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build with Gradle
run: SPRING_PROFILES_ACTIVE=mysql ./gradlew :scavenger-collector:clean scavenger-collector:test --tests ScavengerCollectorApplicationTest
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
distribution: 'zulu'
java-version: '11'
- name: Extract tag version
run: echo "tag=$(echo '${{ github.ref_name }}' | egrep -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}')" >> $GITHUB_OUTPUT
run: echo "tag=$(echo '${{ github.ref_name }}' | egrep -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}(-p[0-9]+)?')" >> $GITHUB_OUTPUT
id: extract_tag_version
- name: Build project
run: ./gradlew clean build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
token: ${{ secrets.RELEASE_ACTIONS_TOKEN }}
- name: Extract version
run: echo "version=$(echo '${{ github.event.pull_request.title }}' | egrep -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}')" >> $GITHUB_OUTPUT
run: echo "version=$(echo '${{ github.event.pull_request.title }}' | egrep -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}(-p[0-9]+)?')" >> $GITHUB_OUTPUT
id: extract_version
- name: Set git config
run: |
Expand Down
2 changes: 2 additions & 0 deletions doc/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ If you've built your own MySQL, follow the steps below.
CREATE DATABASE scavenger;
```
4. Use the `-D` option to set the following four properties.
- `spring.profiles.active=mysql`
- `spring.datasource.url={mysql url}`
- `spring.datasource.username={mysql user name}`
- `spring.datasource.password={mysql password}`
Expand Down Expand Up @@ -111,6 +112,7 @@ If you've built your own MySQL, follow the steps below.
CREATE DATABASE scavenger;
```
4. Use the `-D` option to set the following four properties.
- `spring.profiles.active=mysql`
- `spring.datasource.url={mysql url}`
- `spring.datasource.username={mysql user name}`
- `spring.datasource.password={mysql password}`
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package com.navercorp.scavenger

import org.junit.jupiter.api.Test
import org.springframework.boot.test.context.SpringBootTest

@SpringBootTest
class ScavengerCollectorApplicationTest {
@Test
fun contextLoads() {
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
spring:
datasource:
url: jdbc:mysql://localhost:3306/scavenger
username: scavenger
password: scavenger
driver-class-name: com.mysql.cj.jdbc.Driver
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
--changeset scavenger:3
--liquibase formatted sql

ALTER TABLE snapshot_nodes MODIFY signature TEXT;
--changeset scavenger:5

ALTER TABLE snapshot_nodes MODIFY COLUMN signature TEXT;
Loading