-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chg: Bump kvrocks config, support docker.
- Loading branch information
Showing
4 changed files
with
89 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ['3.10', '3.11', '3.12'] | ||
python-version: ['3.10', '3.11', '3.12', '3.13'] | ||
name: Python ${{ matrix.python-version }} sample | ||
|
||
steps: | ||
|
@@ -32,38 +32,12 @@ jobs: | |
python-version: ${{matrix.python-version}} | ||
cache: 'poetry' | ||
|
||
- name: Cache kvrocks | ||
id: kvrocks | ||
uses: actions/cache@v4 | ||
with: | ||
path: ../kvrocks | ||
key: ${{ runner.os }}-kvrocks | ||
|
||
- name: Clone Kvrocks | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: apache/kvrocks | ||
path: kvrocks-tmp | ||
ref: 2.7 | ||
submodules: true | ||
|
||
- name: Install kvrocks | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install gcc g++ make libsnappy-dev autoconf automake libtool libgtest-dev | ||
mv kvrocks-tmp ../kvrocks | ||
pushd .. | ||
pushd kvrocks | ||
./x.py build | ||
popd | ||
popd | ||
- name: Clone Redis | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: redis/redis | ||
path: redis-tmp | ||
ref: 7.2 | ||
ref: '8.0' | ||
|
||
- name: Install and setup redis | ||
run: | | ||
|
@@ -97,6 +71,8 @@ jobs: | |
run: | | ||
poetry run pip install -e PyVulnerabilityLookup/ | ||
cp config/website.py.sample config/website.py | ||
cp config/generic.json.sample config/generic.json | ||
cp config/logging.json.sample config/logging.json | ||
poetry run flask --app website.app db_init | ||
poetry run flask --app website.app db stamp head | ||
poetry run flask --app website.app create_admin --login admin --password admin --email [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters