Skip to content

Commit b91785d

Browse files
authored
fix: ci links and publishing under the new organization hyperledger-identus (#222)
Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
1 parent 332a4d5 commit b91785d

File tree

263 files changed

+127
-139
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

263 files changed

+127
-139
lines changed

.github/workflows/build-and-test.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ env:
99
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1010
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1111
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
12-
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
13-
OSSRH_GPG_SECRET_KEY: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
14-
OSSRH_GPG_SECRET_KEY_PASSWORD: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
12+
OSSRH_TOKEN: ${{ secrets.OSSRH_PASSWORD }}
13+
OSSRH_GPG_SECRET_KEY: ${{ secrets.HYP_BOT_GPG_PRIVATE }}
14+
OSSRH_GPG_SECRET_KEY_PASSWORD: ${{ secrets.HYP_BOT_GPG_PASSWORD }}
1515
NODEJS_VERSION: 16.17.0
1616

1717
defaults:
@@ -28,6 +28,7 @@ on:
2828
branches:
2929
- "main"
3030
pull_request:
31+
workflow_dispatch:
3132

3233
permissions:
3334
checks: write
@@ -39,7 +40,7 @@ jobs:
3940
runs-on: ubuntu-latest
4041
steps:
4142
- name: Checkout the repo
42-
uses: actions/checkout@v3
43+
uses: actions/checkout@v4
4344

4445
- name: "Install Java ${{ env.JAVA_VERSION }}"
4546
uses: actions/setup-java@v4
@@ -62,17 +63,11 @@ jobs:
6263
- name: Build for JS, Android, JVM
6364
run: ./gradlew build allTests koverXmlReportRelease koverHtmlReportRelease --stacktrace
6465

65-
# - name: Coveralls
66-
# uses: coverallsapp/github-action@v2
67-
# with:
68-
# file: "${{ github.workspace }}/edge-agent-sdk/build/reports/android/result.xml"
69-
# github-token: ${{ secrets.IDENTUS_CI }}
70-
7166
- name: Publish test results
7267
if: always()
7368
uses: EnricoMi/publish-unit-test-result-action/composite@v2
7469
with:
75-
files: "${{ github.workspace }}/edge-agent-sdk/build/test-results/testReleaseUnitTest/TEST-*.xml"
70+
files: "${{ github.workspace }}/sdk/build/test-results/testReleaseUnitTest/TEST-*.xml"
7671
comment_title: "Unit Test Results"
7772
check_name: "Unit Test Results"
7873

@@ -82,6 +77,6 @@ jobs:
8277
with:
8378
name: coverage-results
8479
path: |
85-
edge-agent-sdk/build/reports/jvm
86-
edge-agent-sdk/build/reports/android
80+
sdk/build/reports/jvm
81+
sdk/build/reports/android
8782
if-no-files-found: error

.github/workflows/e2e-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ on:
1212
mediatorOobUrl:
1313
required: true
1414
description: Mediator out-of-band url
15-
default: https://stable-mediator.atalaprism.io/invitationOOB
15+
default: https://mediator.atalaprism.io/invitationOOB
1616
agentUrl:
1717
required: true
1818
description: Prism-agent server url
19-
default: https://dev-agent-a.atalaprism.io/cloud-agent
19+
default: https://agent.atalaprism.io:8085
2020
apiKey:
2121
required: false
2222
description: Authorization key
@@ -51,13 +51,13 @@ jobs:
5151
run: echo "::add-mask::${{env.APIKEY}}"
5252

5353
- name: Install Java 17
54-
uses: actions/setup-java@v3
54+
uses: actions/setup-java@v4
5555
with:
5656
java-version: 17
5757
distribution: 'adopt'
5858

5959
- name: Checkout Code
60-
uses: actions/checkout@v3
60+
uses: actions/checkout@v4
6161
with:
6262
token: ${{ secrets.GITHUB_TOKEN }}
6363
ref: ${{ github.event.pull_request.head.ref }}

.github/workflows/release-documentation.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Release documentation
2+
name: Release Documentation
33

44
defaults:
55
run:
@@ -23,13 +23,13 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout the repo
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727

2828
- name: Validate Gradle Wrapper
29-
uses: gradle/wrapper-validation-action@v1
29+
uses: gradle/wrapper-validation-action@v3
3030

3131
- name: Cache gradle
32-
uses: actions/cache@v3
32+
uses: actions/cache@v4
3333
with:
3434
path: |
3535
~/.gradle/caches
@@ -40,20 +40,20 @@ jobs:
4040
${{ runner.os }}-gradle-
4141
4242
- name: Install Java ${{ env.JAVA_VERSION }}
43-
uses: actions/setup-java@v3
43+
uses: actions/setup-java@v4
4444
with:
4545
java-version: ${{ env.JAVA_VERSION }}
4646
distribution: "zulu"
4747

4848
- name: Dokka Documentation Generation
4949
run: |
50-
./gradlew :edge-agent-sdk:dokkaHtml
50+
./gradlew :sdk:dokkaHtml
5151
5252
- name: Push
5353
uses: s0/git-publish-subdir-action@develop
5454
env:
5555
REPO: self
5656
BRANCH: gh-pages # The branch name where you want to push the assets
57-
FOLDER: "edge-agent-sdk/build/dokka/html/" # The directory where your assets are generated
57+
FOLDER: "sdk/build/dokka/html/" # The directory where your assets are generated
5858
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GitHub will automatically add this - you don't need to bother getting a token
5959
MESSAGE: "feat(docs): ({sha}) {msg}" # The commit message

.github/workflows/release.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Release sdk
2+
name: Release SDK
33

44
env:
55
JAVA_VERSION: 17
@@ -25,27 +25,24 @@ jobs:
2525
release:
2626
runs-on: ubuntu-latest
2727
steps:
28-
- uses: actions/checkout@v3
28+
- uses: actions/checkout@v4
2929
with:
3030
token: ${{ secrets.IDENTUS_CI }}
3131
fetch-depth: 0
3232

3333
- name: Setup Node.js
34-
uses: actions/setup-node@v3
34+
uses: actions/setup-node@v4
3535
with:
3636
node-version: "lts/*"
3737

3838
- name: "Install Java ${{ env.JAVA_VERSION }}"
3939
uses: actions/setup-java@v4
40-
continue-on-error: true
4140
with:
4241
java-version: "${{ env.JAVA_VERSION }}"
4342
distribution: zulu
4443
server-id: ossrh
4544
server-username: ${{ secrets.OSSRH_USERNAME }}
4645
server-password: ${{ secrets.OSSRH_PASSWORD }}
47-
gpg-private-key: ${{ secrets.HYP_BOT_GPG_PRIVATE }}
48-
gpg-passphrase: ${{ secrets.HYP_BOT_GPG_PASSWORD }}
4946

5047

5148
- uses: crazy-max/ghaction-import-gpg@v5
@@ -61,14 +58,15 @@ jobs:
6158
- name: "Release"
6259
env:
6360
GITHUB_TOKEN: ${{ secrets.IDENTUS_CI }}
61+
GITHUB_ACTOR: ${{ steps.import_gpg.outputs.name }}
6462
GIT_AUTHOR_EMAIL: ${{ steps.import_gpg.outputs.email }}
6563
GIT_COMMITTER_EMAIL: ${{ steps.import_gpg.outputs.email }}
6664
GIT_AUTHOR_NAME: ${{ steps.import_gpg.outputs.name }}
6765
GIT_COMMITTER_NAME: ${{ steps.import_gpg.outputs.name }}
6866
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
69-
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
70-
OSSRH_GPG_SECRET_KEY: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
71-
OSSRH_GPG_SECRET_KEY_PASSWORD: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
67+
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
68+
OSSRH_GPG_SECRET_KEY: ${{ secrets.HYP_BOT_GPG_PRIVATE }}
69+
OSSRH_GPG_SECRET_KEY_PASSWORD: ${{ secrets.HYP_BOT_GPG_PASSWORD }}
7270
run: |
7371
npm install
7472
npx semantic-release

.releaserc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
branches:
22
- name: "release/*"
3+
- name: "beta"
4+
prerelease: "rc"
35

46
plugins:
57
- "@semantic-release/commit-analyzer"

0 commit comments

Comments
 (0)