Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
591 commits
Select commit Hold shift + click to select a range
d966d45
Merge pull request #1 from kentbull/single-issuer-holder-ipex-script
lenkan Nov 8, 2023
30324cc
add credentials query and print credential
lenkan Nov 8, 2023
f10b8bb
fix formatting with prettier
lenkan Nov 8, 2023
c0137c9
fix credentialing test
lenkan Nov 8, 2023
244aafa
add tests for utils serializers
lenkan Nov 8, 2023
9f020f2
Merge pull request #126 from lenkan/single-issuer-holder-ipex-script
rodolfomiranda Nov 8, 2023
8cd2ad4
remove unused dependencies, move dev dependencies
lenkan Nov 3, 2023
d5e041a
Merge pull request #125 from nkongsuwan/patch-1
rodolfomiranda Nov 9, 2023
031fde6
Merge pull request #128 from lenkan/remove-unused-dependencies
rodolfomiranda Nov 9, 2023
769a5e0
copied
Nov 9, 2023
96dcc49
fix seqner
Nov 11, 2023
38f7cdf
fix tholder test
Nov 11, 2023
3a41dce
test coverage
Nov 11, 2023
7a378f4
Remove name param from Credentials.list()
kentbull Nov 11, 2023
a9cc5b9
Merge pull request #135 from kentbull/credential-query-endpoint
pfeairheller Nov 13, 2023
370d7b8
Merge pull request #133 from rodolfomiranda/grant_admit
rodolfomiranda Nov 14, 2023
4de1c27
use esbuild, tsc and eslint instead of tsdx
lenkan Nov 11, 2023
f72cc72
Update credentials.ts
nkongsuwan Nov 10, 2023
556d47c
update example script to support ipex
nkongsuwan Nov 11, 2023
cd401c2
Clarify test flow with better logs and readable names
kentbull Nov 13, 2023
be31b15
add join function in groups class to join multisig rotation event
Arsh-Sandhu Nov 16, 2023
8b9622a
Merge pull request #134 from lenkan/tsc-2
rodolfomiranda Nov 16, 2023
02ffe8f
Merge pull request #137 from nkongsuwan/update-example-credentials-ipex
rodolfomiranda Nov 16, 2023
645d665
Merge pull request #139 from Arsh-Sandhu/migrate-scripts
rodolfomiranda Nov 16, 2023
8cbaab3
fix single issuer holder script
lenkan Nov 16, 2023
27faca2
fix: remove name parameter from exchanges.get method
lenkan Nov 16, 2023
bcd83fc
fix multisig.ts usage - remove name param (#2)
kentbull Nov 21, 2023
e972f8f
Draft for running integration tests
lenkan Nov 21, 2023
e5d39b9
Merge pull request #143 from lenkan/test-integration
rodolfomiranda Nov 27, 2023
f1585fc
add witness and randy integration tests
lenkan Nov 27, 2023
da2e82d
Update examples/integration-scripts/externalModule.test.ts
lenkan Nov 28, 2023
2d3443f
Merge pull request #146 from lenkan/witness-test
pfeairheller Nov 28, 2023
a7b6b6e
add multisig to integration tests
lenkan Nov 28, 2023
11198c2
add instructions for integration tests to readme
lenkan Nov 29, 2023
abfb94c
add a way to resolve to local environment instead of docker
lenkan Nov 30, 2023
adb4d73
Merge pull request #147 from lenkan/multisig-integration-test
pfeairheller Nov 30, 2023
4afcb12
Merge pull request #151 from lenkan/readme-test-instructions
pfeairheller Nov 30, 2023
12acc53
enable integration tests for multisig.ts and credentials.ts
lenkan Nov 21, 2023
f28d87f
add witness identifiers
psteniusubi Dec 1, 2023
74c4fe2
Implement test-setup
psteniusubi Dec 1, 2023
4295964
ixn and rot integration tests
psteniusubi Dec 1, 2023
1cde65e
fix config file, keria was not accepting
psteniusubi Dec 1, 2023
1ceebc7
add preset property
psteniusubi Dec 1, 2023
6be5208
fix identifiers
psteniusubi Dec 1, 2023
e6e544f
updates
psteniusubi Dec 1, 2023
97a1825
Merge pull request #150 from lenkan/credentialing-cleanup
pfeairheller Dec 1, 2023
8be00bf
Merge pull request #152 from psteniusubi/feat-integration-test-setup
pfeairheller Dec 1, 2023
8279f85
run npm run lint -- --fix
lenkan Dec 1, 2023
c8c7c24
Merge pull request #154 from lenkan/run-lint-fix
pfeairheller Dec 1, 2023
15c8259
add npm ci, linting, format check to workflow
lenkan Dec 1, 2023
f790e63
Merge pull request #153 from lenkan/update-workflow
pfeairheller Dec 1, 2023
1d8b39f
Fix serializeACDCAttachment to work with the correct anchor per type.
pfeairheller Dec 1, 2023
e9e045c
Run prettier
pfeairheller Dec 1, 2023
f4e4400
Merge pull request #156 from pfeairheller/fix-grant
lenkan Dec 3, 2023
85e0f5c
convert remaining integration-scripts to tests
lenkan Dec 2, 2023
acfa4c6
fix: remove TextEncoder import from node:util
lenkan Dec 4, 2023
3039ace
Merge pull request #161 from lenkan/move-remaining-integration-tests
lenkan Dec 6, 2023
373e9c7
Adding verifier to single issuer script
pfeairheller Dec 5, 2023
facf020
Addition of submitGrant that calls the correct endpoint to perform a …
pfeairheller Dec 6, 2023
c6e8a4c
Getting unit tests to run locally and successfully
pfeairheller Dec 6, 2023
ed57182
Prettier
pfeairheller Dec 6, 2023
b006fdd
add logs
lenkan Dec 6, 2023
507ed56
add timeouts
lenkan Dec 6, 2023
e54ea2b
remove oobis
lenkan Dec 6, 2023
73cd2c1
increase timeout
lenkan Dec 6, 2023
318c755
One script change to get local execution to work.
pfeairheller Dec 7, 2023
272ac28
Add test coverage for new grant methods.
pfeairheller Dec 7, 2023
11b1d37
Pretty
pfeairheller Dec 7, 2023
c0727b6
Merge pull request #166 from pfeairheller/feat-verifier
pfeairheller Dec 7, 2023
34e46b3
suggestion: bail on first failing integration test
lenkan Dec 7, 2023
1d27012
using jest config to configure default timeout for integration tests
lenkan Dec 7, 2023
600e08b
add integration test for issuing chained credential
lenkan Nov 22, 2023
0f27cc2
Move example app to other repo
kentbull Dec 7, 2023
9a237ea
update package-lock after removal of signify-react-ts
lenkan Dec 7, 2023
1cae834
Merge pull request #172 from lenkan/remove-signify-react-ts-dependencies
lenkan Dec 7, 2023
3573bc0
Merge pull request #168 from lenkan/chore-bail-on-integration-test
pfeairheller Dec 7, 2023
9698f50
Merge pull request #144 from lenkan/single-issuer-chained-credential
pfeairheller Dec 7, 2023
a271dac
Merge pull request #169 from lenkan/configure-default-test-tiemout
pfeairheller Dec 7, 2023
d977137
use waitOperation utility function in multisig test
lenkan Dec 7, 2023
8a015c2
Merge pull request #167 from lenkan/chore-use-wait-operation
pfeairheller Dec 7, 2023
cedbd38
Moving these scripts to new repo at WebOfTrust/signify-integration
pfeairheller Dec 7, 2023
7dac183
Resolve conflicts.
pfeairheller Dec 7, 2023
a3395cb
Re-run npm i... again
pfeairheller Dec 7, 2023
cfb001b
Merge pull request #173 from pfeairheller/feat-remove-scripts
pfeairheller Dec 7, 2023
febfcb0
using @nobles/hashes
AlexAndrei98 Dec 3, 2023
858dea2
Merge pull request #174 from lenkan/noble-hashes-lenkan
lenkan Dec 9, 2023
400d561
add npm audit, remove vulnerable packages
lenkan Dec 9, 2023
623f479
Create delegation-multisig.ts
nkongsuwan Nov 29, 2023
a8de62f
Show Python container logs locally
kentbull Dec 11, 2023
517b981
Merge pull request #178 from kentbull/enable-local-container-logs
lenkan Dec 12, 2023
d311c1e
Merge pull request #175 from lenkan/fix-vulnerabilities
lenkan Dec 13, 2023
421232d
Merge pull request #148 from nkongsuwan/example-delegation-multisig
lenkan Dec 14, 2023
f52afaf
Create delegation-multisig.ts
nkongsuwan Nov 29, 2023
d421454
update with @lenkan suggestion
nkongsuwan Dec 15, 2023
a541d94
Merge pull request #177 from nkongsuwan/fix-challenge-test
lenkan Dec 15, 2023
eacf6bb
remove endless loops from tests
lenkan Dec 9, 2023
2a95620
make delegation-multisig.test faster
lenkan Dec 14, 2023
6673673
refactor credential tests
lenkan Dec 19, 2023
a58fa8e
add comments to test
lenkan Dec 19, 2023
44a1386
change setup code
lenkan Jan 6, 2024
a21dc14
add step for revoking QVI credential
lenkan Jan 6, 2024
8b20807
Merge pull request #182 from lenkan/credential-test
lenkan Jan 6, 2024
2ed3909
create initial version of multisig-holder script
Arsh-Sandhu Jan 9, 2024
1abc08c
add more logs to debug multisig-holder.test.ts script
Arsh-Sandhu Jan 10, 2024
ad5dc1a
format code
Arsh-Sandhu Jan 10, 2024
b4b3bf3
refractor multisig-holder test
Arsh-Sandhu Jan 15, 2024
99c946d
Merge branch 'development' into multisig-holder
Arsh-Sandhu Jan 15, 2024
8d010c9
fix privacy in issuance
nkongsuwan Jan 15, 2024
b6d7059
refractor: use multisig holder aid to send cred grant
Arsh-Sandhu Jan 15, 2024
33d74b9
Update keyState call to use hex string instead of int for sequence nu…
pfeairheller Jan 16, 2024
f945bf1
prettier
pfeairheller Jan 16, 2024
f9b71bb
Merge pull request #195 from pfeairheller/fix-sn-snh
pfeairheller Jan 16, 2024
4c081a1
delegate test
psteniusubi Dec 1, 2023
e144f2e
cleanup
psteniusubi Dec 2, 2023
5ab8b3d
cleanup
psteniusubi Dec 2, 2023
2272f43
fix code style issues
psteniusubi Dec 2, 2023
926b76b
issue #145 - integration test to reproduce
psteniusubi Dec 16, 2023
aa2d651
change number to hex string
psteniusubi Jan 16, 2024
a3665f5
Merge branch 'development' into multisig-holder
Arsh-Sandhu Jan 16, 2024
be1d8e6
Merge pull request #157 from psteniusubi/feat-integration-test-single…
pfeairheller Jan 16, 2024
41b996a
Merge pull request #191 from Arsh-Sandhu/multisig-holder
pfeairheller Jan 16, 2024
0a250f5
RE-enable witnesses for multisig delegation test
pfeairheller Jan 16, 2024
3941ab4
Merge pull request #196 from pfeairheller/fix-delegation-witnesses
pfeairheller Jan 17, 2024
c64e006
Merge pull request #194 from nkongsuwan/close-issue-186
pfeairheller Jan 17, 2024
180645b
Delegated rotation for single sig AID integration test.
pfeairheller Jan 18, 2024
6982001
Fixing delegation tests to work correctly now.
pfeairheller Jan 18, 2024
6aa421a
prettier
pfeairheller Jan 18, 2024
5be1819
Merge pull request #197 from pfeairheller/feat-delegate-rot
pfeairheller Jan 18, 2024
3532e72
update credential rules type to support value as string
Arsh-Sandhu Jan 19, 2024
faeebad
Merge pull request #198 from provenant-dev/update-cred-rules-type
pfeairheller Jan 19, 2024
2b76eff
fix signature of KeyStates.query
psteniusubi Jan 19, 2024
11bf30b
uses KeyStates.query with seal
psteniusubi Jan 19, 2024
0d3212f
add one more query test
psteniusubi Jan 20, 2024
12c53ab
run npm pretty
psteniusubi Jan 23, 2024
d640057
Merge pull request #199 from psteniusubi/fix-query-anchor
pfeairheller Jan 23, 2024
c91be0b
add test for singlesig vlei
nkongsuwan Jan 23, 2024
67dacd6
Merge pull request #200 from nkongsuwan/singlesig-vlei-issuance-test
pfeairheller Jan 24, 2024
78d8fb0
chore: add http status information in error message
lenkan Jan 25, 2024
dfd37b0
add unit test for http status info
lenkan Jan 25, 2024
8c030f2
fix: remove hardcoded toad, use function parameter
lenkan Jan 26, 2024
8b2fa68
Merge pull request #206 from lenkan/fix-hardcoaded-toad
pfeairheller Jan 29, 2024
95981e4
Merge pull request #203 from lenkan/add-error-info
pfeairheller Jan 29, 2024
1e258b8
Update challenge and credential endpoints to remove unneeded path par…
pfeairheller Jan 31, 2024
72df42f
pretty
pfeairheller Jan 31, 2024
b98dd02
Merge pull request #209 from pfeairheller/feat-reroute
pfeairheller Feb 4, 2024
1be8989
fix: rotate should use the next threshold as default value for rotate
lenkan Jan 26, 2024
bfbe518
explicitly declare identifier dependencies interface
lenkan Feb 1, 2024
2082760
Merge pull request #208 from lenkan/fix-nsith-threshold
lenkan Feb 8, 2024
5292b24
Fix flaky integration tests by waiting for operations (#210)
psteniusubi Feb 11, 2024
a0808b2
upgrade workflow actions, add node 20 to test matrix
lenkan Feb 8, 2024
94fa319
add utility for multisig inception, test for members endpoint
lenkan Feb 9, 2024
433a968
Merge pull request #211 from lenkan/chore-upgrade-workflow
pfeairheller Feb 13, 2024
7e40b4b
Merge pull request #212 from lenkan/multisig-inception-utils
pfeairheller Feb 13, 2024
5dda061
fix sn to int parsing to use base 16
lenkan Feb 13, 2024
a646807
add test for aid state s > 10
lenkan Feb 13, 2024
9bae76d
fix string template
lenkan Feb 13, 2024
972d509
Update version for next release 0.2.0
pfeairheller Feb 13, 2024
84657cd
Merge branch 'release-0.2.0'
pfeairheller Feb 13, 2024
cedee3a
Merge branch 'release-0.2.0' into development
pfeairheller Feb 13, 2024
b9b1029
fix: remove window.Buffer assignment
lenkan Feb 14, 2024
ec97594
Merge pull request #214 from lenkan/fix-remove-window-buffer-assignment
pfeairheller Feb 14, 2024
aadfce0
Merge pull request #216 from lenkan/fix-int-parsing
pfeairheller Feb 14, 2024
d6dac2c
Multisig test of credential revocation. Several fixes to revocation …
pfeairheller Feb 25, 2024
5795091
prettier
pfeairheller Feb 25, 2024
b7ded24
Fix credentials test broken from revoke return.
pfeairheller Feb 26, 2024
6d2b51c
Rev version number
pfeairheller Feb 26, 2024
3ec43a2
Merge pull request #225 from pfeairheller/feat-multisig-rev
pfeairheller Feb 26, 2024
236498c
Merge branch 'feat-multisig-rev' into development
pfeairheller Feb 26, 2024
a50faf5
chore: upgrade math.js
lenkan Feb 24, 2024
6574f30
Merge pull request #224 from lenkan/upgrade-mathjs
pfeairheller Feb 29, 2024
e2b2f6e
simplify prettier setup (#223)
lenkan Mar 1, 2024
e2345e8
Add method to rename registry (#232)
Arsh-Sandhu Mar 8, 2024
e8b66e9
fix: remove urlsafe-base64 dependency (#218)
lenkan Mar 11, 2024
4af063e
update to newer role name (#238)
2byrds Mar 28, 2024
a49db7f
fix: cannot set salts for credential creation (suggestion) (#222)
lenkan Mar 28, 2024
ac6dac4
URL enconding of AID alias name in rest calls (#233)
rodolfomiranda Apr 3, 2024
65d5b83
add integration test for multisig vlei (#207)
nkongsuwan Apr 5, 2024
a6949da
use named imports from mathjs to reduce bundle size (#235)
lenkan Apr 8, 2024
f1f1a89
Update main.yml (#247)
m00sey Apr 11, 2024
72826cf
add integration test matrix for keria version (#245)
lenkan Apr 11, 2024
39580ef
fix flaky integration test (#244)
lenkan Apr 11, 2024
39ca034
Update randomPasscode to return 21 characters (#243)
lenkan Apr 12, 2024
42d3b14
update keria test matrix to only use latest for now (#249)
lenkan Apr 12, 2024
4c0072f
feat: method waiting for long running operation (#236)
lenkan Apr 12, 2024
334438c
Merge branch 'development'
lenkan Apr 12, 2024
fddaff2
Fix docs publishing (#250)
lenkan Apr 13, 2024
651bad6
Fix size from bytes instead of string. Need for serder with special c…
rodolfomiranda May 5, 2024
2b6a2fd
fix credentialing field ordering and related singlesig-vlei-issuance …
2byrds May 8, 2024
014b2bc
fix: use cesrnumber when parsing sn in rotate event (#257)
lenkan May 9, 2024
7d6ae9f
Add type information to keeping module (#251)
lenkan May 10, 2024
b8605a5
fix: remove development from workflow triggers (#262)
lenkan May 16, 2024
2d23251
fix: do not include src files in npm package (#261)
lenkan May 16, 2024
6113497
signedFetch more generic/configurable aligning it with fetch api (#259)
2byrds May 16, 2024
3e96c1e
fix: delete contact by prefix (#264)
iFergal May 30, 2024
2517469
Fix non-transferable prefix (#265)
rodolfomiranda May 31, 2024
fcebfa0
fix npm package warning (#266)
lenkan Jun 24, 2024
304b0ee
fix: export hab state types from main export (#263)
lenkan Jun 24, 2024
cf1fc64
add workflow for publishing npm package (#260)
lenkan Jul 16, 2024
140ecd7
feat: single-sig IPEX apply, offer, agree (#234)
iFergal Jul 16, 2024
e7aaf3c
Revert "feat: single-sig IPEX apply, offer, agree" (#268)
iFergal Jul 16, 2024
850af59
Fix/test del rot multisig more (#267)
2byrds Jul 26, 2024
1212b54
feat: IPEX apply, offer, agree (#272)
iFergal Aug 14, 2024
ce3614c
add integration test for aid to join multisig (#258)
daviddm Aug 14, 2024
1bc8a01
add assertion for correct resolution of delegatee oobi (#252)
lenkan Aug 27, 2024
2836523
Fix salty and randy constructors transferable flag (#277)
rodolfomiranda Sep 13, 2024
5801e63
chore: enforce linting rules in tests (#279)
lenkan Sep 16, 2024
8597038
chore: implement typings in ending module (#280)
lenkan Oct 8, 2024
1b747f8
chore: add typings for contacts (#275)
lenkan Oct 8, 2024
32ceda1
chore: remove obsolete request and present methods (#287)
lenkan Oct 16, 2024
36bed7b
feat: rename managed identifier (#283)
iFergal Oct 17, 2024
5536180
add issue templates (#288)
lenkan Oct 21, 2024
07abd31
feat: get credential registry state (tever vcstate) (#282)
iFergal Nov 5, 2024
c13b6e8
Updated cross-spawn library due to sec vulnerabilty. (#292)
daidoji Nov 18, 2024
2bf0df1
Update README.md with simple example and ready() (#291)
daidoji Nov 18, 2024
e8a4047
feat: agent config interface (#290)
iFergal Dec 2, 2024
f368351
simplify docker compose (#293)
lenkan Dec 3, 2024
4f51f4e
feat: delete credential by said (#297)
iFergal Jan 7, 2025
332a46b
chore: enrich package.json (#298)
kentbull Jan 7, 2025
cddb007
fix: EventResult should await OK response (#299)
iFergal Jan 7, 2025
1e451d1
chore: update package.json for 0.3.0-rc1 (#301)
kentbull Jan 14, 2025
dbffa56
refactor: align object names with KERIpy and add function docs (#307)
kentbull Feb 14, 2025
1ab8d72
refactor: ked -> sad, ident -> proto
kentbull Feb 16, 2025
f59a9ba
fix: npm audit failures on esbuild and mermaid
kentbull Feb 18, 2025
0e33a6b
chore: upgrade typescript and old dependencies (#316)
lenkan Mar 24, 2025
106054a
fix: remove incorrect accept header for issue or revoke credential (#…
iFergal Mar 24, 2025
6d5e455
simplify project folder structure (#318)
lenkan Mar 24, 2025
c04f9a0
add npm publish script for easier npm publish (#317)
lenkan Mar 25, 2025
0ea4966
chore: remove outdated dependency secp256r1 (#320)
lenkan Mar 25, 2025
f974648
chore: remove buffer dependency (#321)
lenkan Mar 25, 2025
156a647
fix: remove useless buffer conversion (#323)
lenkan Mar 25, 2025
6ea0158
fix: npm audit (#325)
lenkan Mar 25, 2025
226eb72
chore(deps): bump vite from 6.2.3 to 6.2.4 (#326)
dependabot[bot] Apr 1, 2025
9ec2bf4
chore(deps): bump vite from 6.2.4 to 6.2.6 (#329)
dependabot[bot] Apr 23, 2025
78d0a69
chore(deps): bump vite from 6.2.6 to 6.3.4 (#333)
dependabot[bot] May 6, 2025
5bf2e17
refactor: remove redundant test helpers, and use them more (#336)
iFergal Aug 29, 2025
ac6011f
npm audit fix (#345)
lenkan Sep 2, 2025
080d863
adds MAINTAINERS.md
m00sey Sep 3, 2025
e796d44
adds MAINTAINERS.md
m00sey Sep 3, 2025
d48adc0
adds MAINTAINERS.md
m00sey Sep 3, 2025
efd694e
chore(deps): bump vite from 6.3.4 to 6.3.6 (#346)
dependabot[bot] Oct 9, 2025
fc61311
perf: avoid constantly re-initializing client resources (#342)
Sotatek-DukeVu Oct 9, 2025
fb5d5ad
auto generate credential types from KERIA OpenAPI spec (#337)
Sotatek-Patrick-Vu Oct 14, 2025
a138695
chore(deps): bump vite from 7.1.6 to 7.1.11 (#349)
dependabot[bot] Oct 27, 2025
bf0c856
aiding.py type hints and auto-generated OpenAPI specs (#350)
Sotatek-Patrick-Vu Oct 30, 2025
6f88b5b
move files to prepare for repository move
lenkan Nov 6, 2025
af18bec
Merge remote-tracking branch 'signify-ts/move-signify' into move-sign…
lenkan Nov 6, 2025
92be709
chore: adapt workflows to merged repository
lenkan Nov 6, 2025
435e8a8
fix: running tests on host network only
lenkan Nov 6, 2025
7faad76
Revert "fix: KERIA server exits (exit code 1) on admit call with 'Non…
lenkan Nov 6, 2025
a51123e
fix: add retry for registry list
lenkan Nov 6, 2025
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
61 changes: 0 additions & 61 deletions .github/workflows/publish-keria.yml

This file was deleted.

132 changes: 132 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
name: Publish

permissions:
contents: read
packages: write

env:
DOCKER_REGISTRY: ${{ vars.DOCKER_REGISTRY || 'docker.io' }}
DOCKER_IMAGE_NAME: ${{ vars.DOCKER_IMAGE_NAME || 'weboftrust/keria' }}
NPM_PACKAGE_NAME: ${{ vars.NPM_PACKAGE_NAME || 'signify-ts' }}
RELEASE_TAG: ${{ inputs.latest == true && 'latest' || 'dev' }}

on:
push:
branches:
- "main"
workflow_dispatch:
inputs:
latest:
description: "Publish :latest tag"
type: boolean
required: false
default: false
dryrun:
description: "Dry run, don't push"
type: boolean
required: false
default: false

jobs:
publish_docker:
name: Publish docker image
runs-on: ubuntu-24.04
steps:
- name: Checkout out the repo
uses: actions/checkout@v4

- name: Log in to container registry ${{ env.DOCKER_REGISTRY }}
uses: docker/login-action@v3
with:
# Uses github tokens for GHCR, otherwise configured repository secrets
# This way, forks can be configured to push their own images without
# having to modify the workflow.
registry: ${{ env.DOCKER_REGISTRY }}
username: ${{ env.DOCKER_REGISTRY == 'ghcr.io' && github.actor || secrets.DOCKER_USERNAME }}
password: ${{ env.DOCKER_REGISTRY == 'ghcr.io' && secrets.GITHUB_TOKEN || secrets.DOCKER_PASSWORD }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker buildx
uses: docker/setup-buildx-action@v3

- name: Setup uv
uses: astral-sh/setup-uv@v3
with:
version: "0.9.5"

- name: Extract version
run: |
echo "VERSION=$(./version.sh)" >> $GITHUB_ENV
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In case we deploy a release a new version of KERIA that has no changes in Signify - will npm artifacts get overiden with newer builds? And vice versa

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NPM does not allow overwriting, you'd have to change the version. In the particular case you mentioned both signify and keria would get a new release (I.e. x.y.z-dev.commitsha). In case of 'latest' releases, you'd have to increment the version in pyproject.toml between each publish.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK - docker registries probably do though right? (in case Signify is bumped but not KERIA)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, Docker hub and GHCR does anyway. But, just to be clear, the workflow I wrote for publishing will use the same version for signify-ts and keria.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, I looked a bit too quickly and didn't realise it was applied to both.

Won't that become problematic if we want semantic versioning on APIs? I don't expect every PR will have KERIA and Signify changes - there may be bug fixes or breaking changes in either that don't impact the other (or aren't breaking, for example)


- name: Extract metadata
id: meta
uses: docker/metadata-action@v5
with:
images: |
name=${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_IMAGE_NAME }}
tags: |
type=ref,event=branch
type=raw,value=${{ env.VERSION }}
type=raw,value=latest,enable=${{ github.event_name == 'workflow_dispatch' && inputs.latest == true }}

- name: Build and push Docker image
id: build
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'workflow_dispatch' || inputs.dryrun != true }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Create summary
run: |
echo "## Docker Image Published 🐳" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
echo "${{ steps.meta.outputs.tags }}" | while IFS= read -r tag; do
echo "docker pull $tag" >> $GITHUB_STEP_SUMMARY
done
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY

publish_npm:
name: Publish NPM
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: "22"
cache: "npm"
registry-url: "https://registry.npmjs.org"

- name: Extract version
run: |
echo "VERSION=$(./version.sh)" >> $GITHUB_ENV

- name: Publish package
working-directory: ./packages/signify-ts
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_PUBLISH_TAG: ${{ inputs.latest == true && 'latest' || 'dev' }}
NPM_PACKAGE_VERSION: ${{ env.VERSION }}
NPM_PACKAGE_NAME: ${{ env.NPM_PACKAGE_NAME }}
DRY_RUN: ${{ inputs.dryrun || '' }}
run: ./publish.sh

- name: Create summary
run: |
echo "## NPM Package Published 📦" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`bash" >> $GITHUB_STEP_SUMMARY
echo "npm install ${{ env.NPM_PACKAGE_NAME }}@${{ env.VERSION }}" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
13 changes: 7 additions & 6 deletions .github/workflows/python-app-ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: GitHub Actions for KERIA
on:
push:
branches:
- "main"
- "development"
pull_request:
workflow_dispatch:

Expand All @@ -16,24 +12,29 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-13, ubuntu-latest]
os: [macos-13, ubuntu-22.04, ubuntu-24.04, ubuntu-latest]

steps:
- uses: actions/checkout@v4

- name: Set up Python 3.12.8
uses: actions/setup-python@v5
with:
python-version: 3.12.8

- name: Install uv
uses: astral-sh/setup-uv@v3
with:
version: "0.9.5"
- name: Install dependencies
run: make install-dev

- name: Lint changes
run: make lint

- name: Check formatting
run: make format-check

- name: Run core KERIA tests
run: make test

Expand All @@ -46,7 +47,7 @@ jobs:
run: docker compose up --build --wait

coverage:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12.8
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/signify-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: GitHub Actions for Signify TS

on:
push:
branches:
- "main"
pull_request:
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

- name: Setup node.js
uses: actions/setup-node@v6
with:
node-version: 22

- name: Install dependencies
run: npm ci

- name: Lint changes
run: npm run lint

- name: Check formatting
run: npm run format:check

- name: Build
run: npm run build

- name: Run tests
run: npm test

- name: Build docker
run: docker compose up --build --wait

- name: Run integration test
run: npm run test:integration
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,6 @@ dmypy.json

# IntelliJ files
.idea/


node_modules/
File renamed without changes.
79 changes: 73 additions & 6 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,77 @@
x-healthcheck: &healthcheck
interval: 2s
timeout: 3s
retries: 5
start_period: 2s

x-python-env: &python-env
PYTHONUNBUFFERED: 1
PYTHONIOENCODING: UTF-8

configs:
wan.json:
content: |
{
"dt": "2022-01-20T12:57:59.823350+00:00",
"wan": {
"dt": "2022-01-20T12:57:59.823350+00:00",
"curls": ["http://127.0.0.1:5642/"]
}
}
wil.json:
content: |
{
"dt": "2022-01-20T12:57:59.823350+00:00",
"wil": {
"dt": "2022-01-20T12:57:59.823350+00:00",
"curls": ["http://127.0.0.1:5643/"]
}
}
wes.json:
content: |
{
"dt": "2022-01-20T12:57:59.823350+00:00",
"wes": {
"dt": "2022-01-20T12:57:59.823350+00:00",
"curls": ["http://127.0.0.1:5644/"]
}
}

services:
keria:
build:
context: .
dockerfile: ./images/keria.dockerfile
build: ./
environment:
<<: *python-env
volumes:
- ./scripts/keri/cf/keria.json:/keria/config/keri/cf/keria.json
command: start --config-dir /keria/config --config-file keria
network_mode: host
healthcheck:
test: curl http://localhost:3902/health
interval: 5s
timeout: 2s
retries: 10
<<: *healthcheck

vlei-server:
image: gleif/vlei:0.2.0
environment:
<<: *python-env
command: vLEI-server -s ./schema/acdc -c ./samples/acdc/ -o ./samples/oobis/
healthcheck:
test: curl -f http://localhost:7723/oobi/EBfdlu8R27Fbx-ehrqwImnK-8Cm79sqbAQ4MmvEAYqao
<<: *healthcheck
network_mode: host

witness-demo:
image: weboftrust/keri-witness-demo:1.1.0
environment:
<<: *python-env
healthcheck:
test: curl -f http://localhost:5642/oobi
<<: *healthcheck
configs:
- source: wan.json
target: /keripy/scripts/keri/cf/main/wan.json
- source: wes.json
target: /keripy/scripts/keri/cf/main/wes.json
- source: wil.json
target: /keripy/scripts/keri/cf/main/wil.json
network_mode: host
Loading
Loading