-
Notifications
You must be signed in to change notification settings - Fork 6
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: 1.1.0 #539
Release: 1.1.0 #539
Changes from all commits
641c923
142f9e5
4838494
4ae086f
7949122
de66bbf
455e6e7
96492cc
5b803db
b761657
64c50d7
67e077c
a7b8df8
1892003
3bc7787
00283de
743dbc0
a7c9354
da7dbb9
cd42e21
38e9c51
4919bf0
0ec41c2
974344f
2801c8c
df70567
b284ee2
0c60e47
df80f9e
8fb9cd9
710c289
4f9255d
34000ae
64c88c0
8409fd0
b6a6379
b63166a
51b1e46
1ac8135
159a859
adb2189
7abb4ab
2d9ccd3
8b0fd6f
5f02ee4
a64fc9f
747f162
b2eb0bf
10e333b
3054edd
355c669
d070349
7fc7d17
d37bade
d092e1d
0e9d8b9
a0e4798
8447999
fa0a7c8
d6e2071
d1ad89e
b2b9c79
c647faa
ffe4ce6
8fd893c
c4c1ceb
bfb8962
628cccc
bdb22e2
f34b0d5
2dc9e61
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
url: 'http://cherrypick.local' | ||
|
||
# ローカルでテストするときにポートを被らないようにするためデフォルトのものとは変える(以下同じ) | ||
port: 61812 | ||
|
||
db: | ||
host: 127.0.0.1 | ||
port: 54312 | ||
db: test-cherrypick | ||
user: postgres | ||
pass: '' | ||
redis: | ||
host: 127.0.0.1 | ||
port: 56312 | ||
id: aidx | ||
|
||
opensearch: | ||
host: 127.0.0.1 | ||
port: 59200 | ||
user: 'admin' | ||
pass: 'eF53xwF4NYjrcXXwZ2CHgpwFL' | ||
ssl: false | ||
index: 'instancename' #なんでもいい |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,12 +10,14 @@ | |
# for permissions | ||
- packages/cherrypick-js/** | ||
- .github/workflows/test-backend.yml | ||
- .github/cherrypick/test*.yml | ||
pull_request: | ||
paths: | ||
- packages/backend/** | ||
# for permissions | ||
- packages/cherrypick-js/** | ||
- .github/workflows/test-backend.yml | ||
- .github/cherrypick/test*.yml | ||
jobs: | ||
unit: | ||
runs-on: ubuntu-latest | ||
|
@@ -112,3 +114,57 @@ | |
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: ./packages/backend/coverage/coverage-final.json | ||
|
||
opensearch-e2e: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [20.16.0] | ||
|
||
services: | ||
postgres: | ||
image: postgres:15 | ||
ports: | ||
- 54312:5432 | ||
env: | ||
POSTGRES_DB: test-cherrypick | ||
POSTGRES_HOST_AUTH_METHOD: trust | ||
redis: | ||
image: redis:7 | ||
ports: | ||
- 56312:6379 | ||
|
||
steps: | ||
- uses: actions/checkout@v4.1.1 | ||
with: | ||
submodules: true | ||
- name: Runs OpenSearch | ||
uses: esmarkowski/opensearch-github-action@v1.0.0 | ||
Check warning Code scanning / Scorecard Pinned-Dependencies Medium test
score is 0: third-party GitHubAction not pinned by hash
Remediation tip: update your workflow using https://app.stepsecurity.io Click Remediation section below for further remediation help |
||
with: | ||
version: 2.12.0 | ||
security-disabled: true | ||
opensearch_password: eF53xwF4NYjrcXXwZ2CHgpwFL | ||
port: 59200 | ||
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
Check warning Code scanning / Scorecard Pinned-Dependencies Medium test
score is 0: third-party GitHubAction not pinned by hash
Remediation tip: update your workflow using https://app.stepsecurity.io Click Remediation section below for further remediation help |
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4.0.3 | ||
Check warning Code scanning / Scorecard Pinned-Dependencies Medium test
score is 0: GitHub-owned GitHubAction not pinned by hash
Remediation tip: update your workflow using https://app.stepsecurity.io Click Remediation section below for further remediation help |
||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'pnpm' | ||
- run: corepack enable | ||
- run: pnpm i --frozen-lockfile | ||
- name: Check pnpm-lock.yaml | ||
run: git diff --exit-code pnpm-lock.yaml | ||
- name: Copy Configure | ||
run: cp .github/cherrypick/test-opensearch.yml .config/test.yml | ||
- name: Build | ||
run: pnpm build | ||
- name: Test | ||
run: pnpm --filter backend test-and-coverage:e2e | ||
- name: Upload to Codecov | ||
uses: codecov/codecov-action@v4 | ||
Check warning Code scanning / Scorecard Pinned-Dependencies Medium test
score is 0: third-party GitHubAction not pinned by hash
Remediation tip: update your workflow using https://app.stepsecurity.io Click Remediation section below for further remediation help |
||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: ./packages/backend/coverage/coverage-final.json |
Check warning
Code scanning / Scorecard
Pinned-Dependencies Medium test