Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
yshyn-iohk committed Apr 29, 2024
2 parents 03276a9 + ad42ea3 commit 500ed5e
Show file tree
Hide file tree
Showing 45 changed files with 2,172 additions and 2,160 deletions.
25 changes: 17 additions & 8 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ secrets.ATALA_GITHUB_ACTOR }}
password: ${{ secrets.ATALA_GITHUB_TOKEN }}
username: hyperledger-bot
password: ${{ secrets.GITHUB_TOKEN }}

- name: Install Compose
uses: ndeloof/install-compose-action@v0.0.1
Expand All @@ -54,8 +54,8 @@ jobs:
env:
CLOUD_AGENT_PATH: "../.."
ENV_FILE: "infrastructure/local/.env"
GITHUB_ACTOR: ${{ secrets.ATALA_GITHUB_ACTOR }}
GITHUB_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }}
GITHUB_ACTOR: hyperledger-bot
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd "${CLOUD_AGENT_PATH}" || exit 129
sbt docker:publishLocal
Expand All @@ -71,11 +71,20 @@ jobs:
env:
PRISM_NODE_VERSION: ${{ steps.build_local_cloud_agent.outputs.prism_node_version }}
OPEN_ENTERPRISE_AGENT_VERSION: ${{ steps.build_local_cloud_agent.outputs.open_enterprise_agent_version }}
ATALA_GITHUB_ACTOR: ${{ secrets.ATALA_GITHUB_ACTOR }}
ATALA_GITHUB_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }}
continue-on-error: true
GITHUB_ACTOR: hyperledger-bot
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# continue-on-error: true
run: |
./gradlew test --tests "IntegrationTestsRunner"
- name: Make report of integration tests
if: always()
env:
PRISM_NODE_VERSION: ${{ steps.build_local_cloud_agent.outputs.prism_node_version }}
OPEN_ENTERPRISE_AGENT_VERSION: ${{ steps.build_local_cloud_agent.outputs.open_enterprise_agent_version }}
GITHUB_ACTOR: hyperledger-bot
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
./gradlew test --tests "IntegrationTestsRunner" || true
./gradlew reports
- name: Extract test results
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/release-clients.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
name: Publish prism-agent clients
name: Publish Identus-cloud-agent clients

on:
workflow_dispatch:
inputs:
releaseTag:
description: "Tag to release clients (e.g. prism-agent-v1.31.0)"
description: "Tag to release clients (e.g. identus-cloud-agent-v1.33.0)"
required: true
type: string
push:
tags:
- "prism-agent-v*"
- "identus-cloud-agent-v*"

jobs:
publish-clients:
name: 'Build and publish Prism-Agent clients'
name: 'Build and publish Identus-cloud-Agent clients'
runs-on: ubuntu-latest
env:
VERSION_TAG: ${{inputs.releaseTag || github.ref_name}}
ATALA_GITHUB_ACTOR: ${{secrets.ATALA_GITHUB_ACTOR}}
ATALA_GITHUB_TOKEN: ${{secrets.ATALA_GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }}
GITHUB_ACTOR: "hyperledger-bot"
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}

steps:
- name: Checkout
Expand All @@ -30,7 +30,7 @@ jobs:
with:
node-version: "lts/*"
registry-url: https://npm.pkg.github.com/
scope: "@hyperledger-labs"
scope: "@hyperledger"

- name: Setup Python
uses: actions/setup-python@v4
Expand All @@ -44,20 +44,20 @@ jobs:
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ secrets.ATALA_GITHUB_ACTOR }}
password: ${{ secrets.ATALA_GITHUB_TOKEN }}
username: ${{ env.GITHUB_ACTOR }}
password: ${{ env.GITHUB_TOKEN }}

- name: Setup yq - portable yaml processor
uses: mikefarah/yq@v4.34.2

- name: Install generator dependencies
working-directory: prism-agent/client/generator
working-directory: cloud-agent/client/generator
run: yarn install

- name: Generate clients
working-directory: prism-agent/client/generator
working-directory: cloud-agent/client/generator
run: yarn generate:all

- name: Publish clients
working-directory: prism-agent/client/generator
working-directory: cloud-agent/client/generator
run: yarn publish:clients
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.event.inputs.release-branch }}
fetch-depth: 0
persist-credentials: false
- name: Setup Java and Scala
uses: olafurpg/setup-scala@v14
with:
Expand Down Expand Up @@ -77,6 +78,7 @@ jobs:
GIT_COMMITTER_EMAIL: ${{ steps.import_gpg.outputs.email }}
GIT_AUTHOR_NAME: ${{ steps.import_gpg.outputs.name }}
GIT_COMMITTER_NAME: ${{ steps.import_gpg.outputs.name }}
GITHUB_TOKEN: ${{ secrets.IDENTUS_CI }}
run: |
npm install
npx semantic-release
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,8 @@ target/
**.env.*
workspace.json
docs/architecture/structurizr/.structurizr/
cloud-agent/client/typescript
cloud-agent/client/kotlin/src/main/kotlin/
!cloud-agent/client/kotlin/src/main/kotlin/org/hyperledger/identus/client/models/CredentialSubject.kt
!cloud-agent/client/kotlin/src/main/kotlin/org/hyperledger/identus/client/models/Service.kt
!cloud-agent/client/kotlin/src/main/kotlin/org/hyperledger/identus/client/models/UpdateManagedDIDServiceAction.kt
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
# [1.32.0](https://github.com/hyperledger/identus-cloud-agent/compare/cloud-agent-v1.31.0...cloud-agent-v1.32.0) (2024-04-26)


### Bug Fixes

* add shared-crypto module and apollo wrapper for other key types ([#958](https://github.com/hyperledger/identus-cloud-agent/issues/958)) ([7eaa66c](https://github.com/hyperledger/identus-cloud-agent/commit/7eaa66c51904e58c309fd3bb0a8e8864c7902cb9))
* Check purpose of the keys ([#968](https://github.com/hyperledger/identus-cloud-agent/issues/968)) ([4b8e48d](https://github.com/hyperledger/identus-cloud-agent/commit/4b8e48d238b751ee8526e1440e8a0515f6b62de5))
* Integration Test ([#974](https://github.com/hyperledger/identus-cloud-agent/issues/974)) ([847eb2f](https://github.com/hyperledger/identus-cloud-agent/commit/847eb2f56ba2766ed28f6484391cbd9b3202fbe5))
* **prism-agent:** add missing 'PresentationVerificationFailed' status to REST API response enum ([#948](https://github.com/hyperledger/identus-cloud-agent/issues/948)) ([9a38cc9](https://github.com/hyperledger/identus-cloud-agent/commit/9a38cc97c18d26f13efa1c9535de1df003547a2b))
* use apollo for secp256k1 in shared-crypto ([#971](https://github.com/hyperledger/identus-cloud-agent/issues/971)) ([dd5e20b](https://github.com/hyperledger/identus-cloud-agent/commit/dd5e20bdedd004c2e0a81383d10b5eee3ae03788))


### Features

* add sample maintainers.md ([#878](https://github.com/hyperledger/identus-cloud-agent/issues/878)) ([c6a41ed](https://github.com/hyperledger/identus-cloud-agent/commit/c6a41edc5466312da76283d37f12406d79449a7d))
* **agent:** verification API integration test + documentation ATL-6775 ([#986](https://github.com/hyperledger/identus-cloud-agent/issues/986)) ([9308b21](https://github.com/hyperledger/identus-cloud-agent/commit/9308b21e46d267265c7fcdbfc88b78ddd5ae6558))
* Align the repo with new name identus-cloud-agent ([#973](https://github.com/hyperledger/identus-cloud-agent/issues/973)) ([9fc7bb0](https://github.com/hyperledger/identus-cloud-agent/commit/9fc7bb07cac9aae1db8d389ec8831403f106d612))
* Configurations load improvement ([#954](https://github.com/hyperledger/identus-cloud-agent/issues/954)) ([dfb7577](https://github.com/hyperledger/identus-cloud-agent/commit/dfb75778f925a615aaec815241d964014d236777))
* **connect:** ATL-6599 Use ZIO Failures and Defects effectively + RFC-9457 in connect ([#927](https://github.com/hyperledger/identus-cloud-agent/issues/927)) ([eb898e0](https://github.com/hyperledger/identus-cloud-agent/commit/eb898e068f768507d6979a5d9bab35ef7ad4a045))
* key management for Ed25519 and X25519 ([#966](https://github.com/hyperledger/identus-cloud-agent/issues/966)) ([a0f6819](https://github.com/hyperledger/identus-cloud-agent/commit/a0f6819bb80d87c13f903d7dc1b67cb08b4687db))
* Vc Verification Api ([#975](https://github.com/hyperledger/identus-cloud-agent/issues/975)) ([f0a1f2c](https://github.com/hyperledger/identus-cloud-agent/commit/f0a1f2c1aaafb636cabcb84c599d9deaa90fd373))

# [1.31.0](https://github.com/hyperledger/identus-cloud-agent/compare/prism-agent-v1.30.1...prism-agent-v1.31.0) (2024-03-20)


Expand Down

0 comments on commit 500ed5e

Please sign in to comment.