Skip to content

Commit

Permalink
ci: integration test startup fail workaround (#978)
Browse files Browse the repository at this point in the history
Signed-off-by: Pat Losoponkul <[email protected]>

Align the repo with new name identus-cloud-agent

Signed-off-by: mineme0110 <[email protected]>

pr comments

Signed-off-by: mineme0110 <[email protected]>

Update SECURITY.md

Co-authored-by: Yurii Shynbuiev - IOHK <[email protected]>
Signed-off-by: Shailesh Patil <[email protected]>

update as discussed

Signed-off-by: mineme0110 <[email protected]>

update as discussed

Signed-off-by: mineme0110 <[email protected]>

Rename all mercury packages

Signed-off-by: FabioPinheiro <[email protected]>

Rename 'connect' package

Signed-off-by: FabioPinheiro <[email protected]>

Rename 'event' package

Signed-off-by: FabioPinheiro <[email protected]>

minor updates

Signed-off-by: mineme0110 <[email protected]>

delete the roots id mediator and refrences

Signed-off-by: mineme0110 <[email protected]>

Some minor rename

Signed-off-by: FabioPinheiro <[email protected]>

rename NODE_VERSION to PRISM_NODE_VERSION

Signed-off-by: mineme0110 <[email protected]>

minor cleanup

Signed-off-by: mineme0110 <[email protected]>

minor cleanup

Signed-off-by: mineme0110 <[email protected]>

minor cleanup

Signed-off-by: mineme0110 <[email protected]>

minor cleanup

Signed-off-by: mineme0110 <[email protected]>

Rename 'pollux' package

Signed-off-by: FabioPinheiro <[email protected]>

feat: key management for Ed25519 and X25519 (#966)

Signed-off-by: Pat Losoponkul <[email protected]>

Rename 'shared' package

Signed-off-by: FabioPinheiro <[email protected]>

Rename 'protos' files

Signed-off-by: FabioPinheiro <[email protected]>

Rename 'castor' and 'prism-agent' packages

Signed-off-by: FabioPinheiro <[email protected]>

Rename folders

Signed-off-by: FabioPinheiro <[email protected]>

ci: update labeler permissions (#981)

Signed-off-by: Yurii Shynbuiev - IOHK <[email protected]>

ci: update release workflow (#980)

Signed-off-by: Yurii Shynbuiev - IOHK <[email protected]>

ci: use github.actor in the release workflow (#982)

Signed-off-by: Yurii Shynbuiev - IOHK <[email protected]>

chore: format scala code

ci: add permission to push the tag for semantic-release [skip ci] (#983)

Signed-off-by: Yurii Shynbuiev - IOHK <[email protected]>

ci: switch to the hyperledger organization in publishing the image to ghc… (#984)

Signed-off-by: Yurii Shynbuiev <[email protected]>

renamed tests

Signed-off-by: mineme0110 <[email protected]>

renamed tests and refrences

Signed-off-by: mineme0110 <[email protected]>

renamed some actions in yaml

Signed-off-by: mineme0110 <[email protected]>

fix duplicate name

Signed-off-by: mineme0110 <[email protected]>

fix: revert proto package rename

Signed-off-by: Pat Losoponkul <[email protected]>
  • Loading branch information
patlo-iog authored and mineme0110 committed Apr 25, 2024
1 parent f0a1f2c commit bd0f14b
Show file tree
Hide file tree
Showing 821 changed files with 5,624 additions and 6,696 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/1-bug-report.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Bug Report
description: Report a bug in the Atala PRISM Cloud Agent
description: Report a bug in the Identus Cloud Agent

body:
- type: dropdown
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/2-feature-request.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'Feature Request'
description: Suggest a new feature for Atala PRISM Cloud Agent
description: Suggest a new feature for Identus Cloud Agent

body:
- type: textarea
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ jobs:
version: v2.12.2 # defaults to 'latest'
legacy: true # will also install in PATH as `docker-compose`

- name: Build local version of PRISM Agent
id: build_local_prism_agent
- name: Build local version of Cloud Agent
id: build_local_cloud_agent
env:
PRISM_AGENT_PATH: "../.."
CLOUD_AGENT_PATH: "../.."
ENV_FILE: "infrastructure/local/.env"
GITHUB_ACTOR: ${{ secrets.ATALA_GITHUB_ACTOR }}
GITHUB_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }}
run: |
cd "${PRISM_AGENT_PATH}" || exit 129
cd "${CLOUD_AGENT_PATH}" || exit 129
sbt docker:publishLocal
echo "open_enterprise_agent_version=$(cut -d'=' -f2 version.sbt | tr -d '" ')" >> "${GITHUB_OUTPUT}"
echo "prism_node_version=$(grep PRISM_NODE_VERSION infrastructure/local/.env | cut -d'=' -f2 | tr -d ' ')" >> "${GITHUB_OUTPUT}"
Expand All @@ -69,8 +69,8 @@ jobs:

- name: Run integration tests
env:
PRISM_NODE_VERSION: ${{ steps.build_local_prism_agent.outputs.prism_node_version }}
OPEN_ENTERPRISE_AGENT_VERSION: ${{ steps.build_local_prism_agent.outputs.open_enterprise_agent_version }}
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
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ on:
jobs:
triage:
runs-on: self-hosted
permissions:
pull-requests: write
steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.ATALA_GITHUB_TOKEN }}"
repo-token: "${{ secrets.GITHUB_TOKEN }}"
8 changes: 4 additions & 4 deletions .github/workflows/performance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
workflow_dispatch:

env:
BENCHMARKING_DIR: "tests/performance-tests/atala-performance-tests-k6"
BENCHMARKING_DIR: "tests/performance-tests/agent-performance-tests-k6"
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -45,13 +45,13 @@ jobs:
with:
version: "2.14.2"

- name: Build local version of PRISM Agent
- name: Build local version of Cloud Agent
env:
ENV_FILE: "infrastructure/local/.env"
run: |
sbt docker:publishLocal
PRISM_AGENT_VERSION=$(cut version.sbt -d '=' -f2 | tr -d '" ')
sed -i.bak "s/PRISM_AGENT_VERSION=.*/PRISM_AGENT_VERSION=${PRISM_AGENT_VERSION}/" "${ENV_FILE}" && rm -f "${ENV_FILE}.bak"
AGENT_VERSION=$(cut version.sbt -d '=' -f2 | tr -d '" ')
sed -i.bak "s/AGENT_VERSION=.*/AGENT_VERSION=${AGENT_VERSION}/" "${ENV_FILE}" && rm -f "${ENV_FILE}.bak"
cat "${ENV_FILE}"
- name: Start services for issuer
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,20 @@ on:
jobs:
release:
env:
GITHUB_ACTOR: ${{ secrets.ATALA_GITHUB_ACTOR }}
GITHUB_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }}
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
# New JDK version makes 'localhost' lookup on linux return ipv6.
# Our test containers are on ipv4. We need to make 'localhost' resolve to ipv4.
JAVA_TOOL_OPTIONS: -Djava.net.preferIPv4Stack=true
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.ATALA_GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.event.inputs.release-branch }}
fetch-depth: 0
- name: Setup Java and Scala
Expand Down Expand Up @@ -58,8 +61,8 @@ jobs:
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ secrets.ATALA_GITHUB_ACTOR }}
password: ${{ secrets.ATALA_GITHUB_TOKEN }}
username: github.actor
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
Expand Down
2 changes: 1 addition & 1 deletion .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ SQL_SQL_LINT_ARGUMENTS: -d postgres --ignore-errors=postgres-invalid-alter-optio
YAML_YAMLLINT_FILTER_REGEX_EXCLUDE: "infrastructure/charts/agent/*"
YAML_PRETTIER_FILTER_REGEX_EXCLUDE: "infrastructure/charts/agent/*"
YAML_V8R_FILTER_REGEX_EXCLUDE: "infrastructure/charts/agent/*"
JAVASCRIPT_STANDARD_FILTER_REGEX_EXCLUDE: "tests/performance-tests/atala-performance-tests-k6/src/k6chaijs.js"
JAVASCRIPT_STANDARD_FILTER_REGEX_EXCLUDE: "tests/performance-tests/agent-performance-tests-k6/src/k6chaijs.js"
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Code of Conduct
===============

Atala PRISM follows Hyperledger [Code of Conduct](https://wiki.hyperledger.org/community/hyperledger-project-code-of-conduct).
Identus follows Hyperledger [Code of Conduct](https://wiki.hyperledger.org/community/hyperledger-project-code-of-conduct).

Please, read before contributing to the project.
14 changes: 7 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing to Atala PRISM
# Contributing to Identus

We would love for you to contribute to Atala PRISM and help make it even better than it is today!
We would love for you to contribute to Identus and help make it even better than it is today!
As a contributor, here are the guidelines we would like you to follow:

- [DCO](#dco)
Expand All @@ -13,7 +13,7 @@ As a contributor, here are the guidelines we would like you to follow:

## <a name="dco"></a> Developer Certificate of Origin (DCO)

PRISM Cloud Agent enforces the Developer Certificate of Origin (DCO). It requires all commit messages to contain the `Signed-off-by` line with an email address that matches the commit author and the name on your GitHub account.
Cloud Agent enforces the Developer Certificate of Origin (DCO). It requires all commit messages to contain the `Signed-off-by` line with an email address that matches the commit author and the name on your GitHub account.

Please read and follow set up [DCO](./DCO.md).

Expand Down Expand Up @@ -43,21 +43,21 @@ If you would like to *implement* a new feature, please consider the size of the

Before you submit an issue, please search the issue tracker. An issue for your problem might already exist and the discussion might inform you of workarounds readily available.

You can file new issues by selecting a `Bug Report` template on our [Issues submition page](https://github.com/input-output-hk/atala-prism-building-blocks/issues/new/choose).
You can file new issues by selecting a `Bug Report` template on our [Issues submition page](https://github.com/hyperledger/identus-cloud-agent/issues/new/choose).

### <a name="submit-pr"></a> Submitting a Pull Request (PR)

Before you submit your Pull Request (PR) consider the following guidelines:

1. Search [GitHub](https://github.com/input-output-hk/atala-prism-building-blocks/pulls) for an open or closed PR that relates to your submission.
1. Search [GitHub](https://github.com/hyperledger/identus-cloud-agent/pulls) for an open or closed PR that relates to your submission.
You don't want to duplicate existing efforts.

2. Be sure that an issue describes the problem you're fixing, or documents the design for the feature you'd like to add.
Discussing the design upfront helps to ensure that we're ready to accept your work.

3. Make sure all your commits have DCO sign-off line with an email address that matches the commit author and the name on your GitHub account.

4. [Fork](https://docs.github.com/en/github/getting-started-with-github/fork-a-repo) the https://github.com/input-output-hk/atala-prism-building-blocks repo.
4. [Fork](https://docs.github.com/en/github/getting-started-with-github/fork-a-repo) the https://github.com/hyperledger/identus-cloud-agent repo.

5. In your forked repository, make your changes in a new git branch:

Expand Down Expand Up @@ -85,7 +85,7 @@ Before you submit your Pull Request (PR) consider the following guidelines:
git push origin my-fix-branch
```

11. In GitHub, send a pull request to `atala-prism-building-blocks:main`.
11. In GitHub, send a pull request to `identus-cloud-agent:main`.

That's it! Thank you for your contribution!
Expand Down
2 changes: 1 addition & 1 deletion DCO.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Developer Certificate of Origin (DCO)

PRISM Cloud Agent enforces the Developer Certificate of Origin (DCO). It requires all commit messages to contain the `Signed-off-by` line with an email address that matches the commit author and the name on your GitHub account.
Identus Cloud Agent enforces the Developer Certificate of Origin (DCO). It requires all commit messages to contain the `Signed-off-by` line with an email address that matches the commit author and the name on your GitHub account.

The Developer Certificate of Origin (DCO) is a lightweight way for contributors to certify that they wrote or otherwise have the right to submit the code they are contributing to the project. Here is the full text of the DCO, reformatted for readability:

Expand Down
Loading

0 comments on commit bd0f14b

Please sign in to comment.