Skip to content
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

Changed "transactions.md" to correct typos. #1782

Open
wants to merge 51 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
bae657d
updated dev setup for ubuntu 16 and setup-dev.md
pSchlarb Aug 19, 2021
953cace
fix uploading of deb files with the same name but different distribution
udosson Sep 13, 2021
1b22499
Merge pull request #1695 from udosson/restructure-debs-upload
WadeBarnes Sep 13, 2021
b78c1e6
Merge pull request #1688 from pSchlarb/devSetup
WadeBarnes Sep 13, 2021
75c1351
Update version of Indy SKD
udosson Sep 13, 2021
b5183ac
Merge pull request #1696 from udosson/udosson-patch-update-sdk
WadeBarnes Sep 14, 2021
2a19753
added tag to pull of lint image
udosson Oct 14, 2021
8b49410
Merge pull request #1701 from udosson/fix-linting-image-pull
WadeBarnes Oct 14, 2021
0aff581
LF Endings
pSchlarb Oct 28, 2021
5ff852b
pinned dependencies because of missing support for python 3.5
udosson Nov 2, 2021
5d2cafc
Merge pull request #1706 from udosson/fix-gha-jenkins
WadeBarnes Nov 3, 2021
3c015ca
re-added the adjustment of packages for the cannonical archive
udosson Nov 3, 2021
70dc76c
Merge pull request #1707 from udosson/cannonical-archive
WadeBarnes Nov 3, 2021
5994b3f
updated version of setup-jfrog-cli to v2
udosson Nov 4, 2021
9b8ee78
Merge pull request #1704 from pSchlarb/master
WadeBarnes Nov 4, 2021
fe113e3
Merge pull request #1708 from udosson/cannonical-archive
WadeBarnes Nov 4, 2021
d785d0a
bump indy-plenum to version 1.13.0.dev169
udosson Nov 8, 2021
ac25186
Merge pull request #1710 from udosson/master
WadeBarnes Nov 9, 2021
6bd7f20
prepares indy-plenum package version of debian version depedency
udosson Nov 9, 2021
1eca095
Merge pull request #1711 from udosson/master
WadeBarnes Nov 9, 2021
9c3d0e4
Baseimage changes as discussed in #1684
pSchlarb Nov 4, 2021
305adee
Merge pull request #1705 from pSchlarb/baseimage-0.0.4
udosson Nov 25, 2021
1da2405
FIX wrong Slicing and SLICE_TOTAL_SLICES
pSchlarb Nov 29, 2021
d38f463
Merge pull request #1716 from pSchlarb/gha_slice_fix
WadeBarnes Nov 29, 2021
d73baf1
Added documentation for creating a new network from scratch
pSchlarb Aug 27, 2021
36c3f88
Indy-Test-Automation workflow
udosson Jan 13, 2022
fe1632e
Merge pull request #1689 from pSchlarb/newNetworkDoc
WadeBarnes Jan 13, 2022
fd9ae51
Merge pull request #1725 from udosson/master
WadeBarnes Jan 13, 2022
25f2814
fixed typo in uploading detailed test failure results
udosson Jan 14, 2022
aa073e6
Merge pull request #1727 from udosson/master
WadeBarnes Jan 14, 2022
2afb24a
Removed pip imports
pSchlarb Nov 29, 2021
0a1b2f8
Moved some steps into the correct order in the Hand on Walkthrough an…
lynnbendixsen Feb 10, 2022
3194c1f
Corrected initial checkin with consistency and typo and line feeds.
lynnbendixsen Feb 10, 2022
5ab942a
Merge pull request #1734 from lynnbendixsen/newnetdocrepair
WadeBarnes Feb 10, 2022
4947fc7
Merge pull request #1684 from pSchlarb/Remove-pip-imports
udosson Mar 25, 2022
7229c7a
Update setup_iptables script
WadeBarnes May 27, 2022
656b797
Update setup_iptables
WadeBarnes Jun 13, 2022
69374ee
Update setup_iptables script
WadeBarnes Aug 3, 2022
b894cc0
Update settings.yml
ryjones Aug 4, 2022
572162f
Update setup_iptables script
WadeBarnes Aug 18, 2022
07a7f3f
Refactor pool upgrade handler
WadeBarnes May 6, 2022
94b984b
Additional updates to upgrade txn handling
WadeBarnes May 30, 2022
6c11c53
Switch string formatting to python 3.5 supported syntax.
WadeBarnes Jul 21, 2022
9603118
Fix apt update issues affecting NodeControlUtil.update_package_cache
WadeBarnes Aug 16, 2022
6215b99
Fix exception type in update_package_cache
WadeBarnes Aug 18, 2022
fe50747
Merge pull request from GHSA-r6v9-p59m-gj2p
WadeBarnes Sep 2, 2022
7559c4e
Fix linting errors
WadeBarnes Sep 2, 2022
6a06237
Merge pull request #1772 from WadeBarnes/main
WadeBarnes Sep 2, 2022
300be0b
Update the setup-iptables documentation.
WadeBarnes Sep 9, 2022
53a2a1b
Merge pull request from GHSA-x996-7qh9-7ff7
WadeBarnes Sep 9, 2022
030f87e
Update transactions.md
oMFDOo Sep 22, 2022
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
2 changes: 1 addition & 1 deletion .github/actions/publish-deb/publishPackages
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ for name in ${fileList}; do
jfrog rt u \
--deb ${distribution}/${component}/${architecture} \
--spec ${uploadSpec}\
--spec-vars "SOURCE_DIR=${sourceDirectory};PACKAGE_NAME=${name};COMPONENT=${component};PACKAGE_STARTING_LETTER=${startingLetter};PACKAGE_SHORT_NAME=${shortName}" \
--spec-vars "SOURCE_DIR=${sourceDirectory};PACKAGE_NAME=${name};COMPONENT=${component};PACKAGE_STARTING_LETTER=${startingLetter};PACKAGE_SHORT_NAME=${shortName};DISTRIBUTION=${distribution}" \
--detailed-summary
echo "====================================================================================================================="
echo
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/publish-deb/upload-spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"files": [
{
"pattern": "${SOURCE_DIR}/${PACKAGE_NAME}",
"target": "indy/pool/${COMPONENT}/${PACKAGE_STARTING_LETTER}/${PACKAGE_SHORT_NAME}/"
"target": "indy/pool/${DISTRIBUTION}/${COMPONENT}/${PACKAGE_STARTING_LETTER}/${PACKAGE_SHORT_NAME}/"
}
]
}
2 changes: 1 addition & 1 deletion .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ repository:
name: indy-node
description: The server portion of a distributed ledger purpose-built for decentralized identity.
homepage: https://wiki.hyperledger.org/display/indy
default_branch: master
default_branch: main
has_downloads: false
has_issues: true
has_projects: false
Expand Down
50 changes: 45 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ jobs:
# - https://github.com/ScaCap/action-surefire-report/issues/17
env:
NODE_OPTIONS: '--max_old_space_size=4096'
#SLICE_TOTAL_SLICES needs to match the total number of slices in the matrix strategy.
SLICE_TOTAL_SLICES: 11
container:
image: ghcr.io/${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}/node-build:ubuntu-16-04
strategy:
Expand Down Expand Up @@ -231,9 +233,9 @@ jobs:
# Explicitly use the existing pip cache location in the node-build image.
pip --cache-dir /root/.cache/pip install .[tests]

- name: Run Indy Node ${{ matrix.module }} test slice ${{ matrix.slice }}/${{ strategy.job-total }}
- name: Run Indy Node ${{ matrix.module }} test slice ${{ matrix.slice }}/ ${{ env.SLICE_TOTAL_SLICES }}
id: node-test
run: RUSTPYTHONASYNCIODEBUG=0 python3 runner.py --pytest "python3 -m pytest -l -vv" --dir "${{ matrix.module }}" --output "test-result-node-${{ matrix.slice }}.txt" --test-only-slice "${{ matrix.slice }}/${{ strategy.job-total }}"
run: RUSTPYTHONASYNCIODEBUG=0 python3 runner.py --pytest "python3 -m pytest -l -vv" --dir "${{ matrix.module }}" --output "test-result-node-${{ matrix.slice }}.txt" --test-only-slice "${{ matrix.slice }}/ ${{ env.SLICE_TOTAL_SLICES }}"

- name: Publish Test Report
if: success() || failure()
Expand All @@ -259,7 +261,7 @@ jobs:
needs: [workflow-setup, lint-image]
runs-on: ubuntu-20.04
container:
image: ghcr.io/${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}/node-lint
image: ghcr.io/${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}/node-lint:ubuntu-18-04
steps:
- name: Check out code
uses: actions/checkout@v2
Expand All @@ -273,6 +275,8 @@ jobs:
runs-on: ubuntu-20.04
container:
image: ghcr.io/${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}/node-build:ubuntu-16-04
outputs:
INDY_NODE_PACKAGE_VERSION: ${{ steps.cache.outputs.pkgVer }}
steps:
- name: Check out code
uses: actions/checkout@v1
Expand Down Expand Up @@ -372,7 +376,7 @@ jobs:
uses: actions/checkout@v1

- name: Setup JFrog CLI
uses: jfrog/setup-jfrog-cli@v1
uses: jfrog/setup-jfrog-cli@v2
env:
JF_ARTIFACTORY_1: ${{ secrets.INDY_ARTIFACTORY_REPO_CONFIG }}

Expand Down Expand Up @@ -420,4 +424,40 @@ jobs:
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
skip_existing: true
skip_existing: true

trigger_indy-test-automation:
name: Trigger Indy Test Automation
runs-on: ubuntu-20.04
needs: [ workflow-setup, publish_artifacts ]
### run at the moment on ever push for testing purposes
if: needs.workflow-setup.outputs.isRC == 'true'
env:
GITHUB_REF: ${{ needs.workflow-setup.outputs.GITHUB_REF }}
INDY_NODE_PACKAGE_VERSION: ${{ needs.workflow-setup.outputs.INDY_NODE_PACKAGE_VERSION }}
steps:
- name: Check out code
uses: actions/checkout@v1

# TODO: Set ursaVersion, pyzmqVersion, ubuntuVersion, nodeRepoComponent, nodeSovrinRepoComponent, and clientSovrinRepoComponent dynamically
- name: Set versions
id: version
run: |
echo "Set version of Indy Plenum"
sed -i -r "s~indy-plenum==([0-9\.]+[0-9])(\.)?([a-z]+)~indy-plenum==\1\~\3~" setup.py
plenumVersion=$(grep -oP "(?<=indy-plenum==).*?(?=')" <<< "$(cat setup.py)")
echo "::set-output name=plenumVersion::${plenumVersion}"

### TODO: Needs do be adjusted to work with libindy-dev (not used at the moment)
echo "Set version of Indy SDK / libindy"
sed -i -r "s~python3-indy==([0-9\.]+[0-9])(\-)?([a-z]+)~python3-indy==\1\~\3~" setup.py
libIndyVersion=$(grep -oP "(?<=python3-indy==).*?(?=')" <<< "$(cat setup.py)")-xenial
echo "::set-output name=libIndyVersion::${libIndyVersion}"

- name: Invoke workflow with inputs
uses: benc-uk/workflow-dispatch@v1
with:
workflow: indy-test-automation
token: ${{ secrets.WORKFLOW_DISPATCH_TOKEN }}
inputs: '{ "nodeVersion": "1.13.0~dev197", "plenumVersion": "${{ steps.version.outputs.plenumVersion }}", "ursaVersion": "0.3.2-2", "pyzmqVersion": "18.1.0", "libIndyVersion": "1.15.0~1625-xenial", "ubuntuVersion": "ubuntu-1604", "nodeRepoComponent": "main", "nodeSovrinRepoComponent": "master", "clientSovrinRepoComponent": "master" }'
# inputs: '{ "nodeVersion": "${{ env.INDY_NODE_PACKAGE_VERSION }}", "plenumVersion": {{ steps.version.outputs.plenumVersion }}, "ursaVersion": "0.3.2-2", "pyzmqVersion": "18.1.0", "libIndyVersion": {{ steps.version.outputs.libIndyVersion }},, "ubuntuVersion": "ubuntu-1604", "nodeRepoComponent": "main", "nodeSovrinRepoComponent": "master", "clientSovrinRepoComponent": "master" }'
9 changes: 8 additions & 1 deletion .github/workflows/build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM hyperledger/indy-core-baseci:0.0.3-master
FROM hyperledger/indy-core-baseci:0.0.4

LABEL maintainer="Hyperledger <hyperledger-indy@lists.hyperledger.org>"

RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys CE7709D068DB5E88 \
Expand Down Expand Up @@ -26,4 +27,10 @@ RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys CE7709D068DB5E88 \
# install fpm
RUN gem install --no-ri --no-rdoc rake fpm


RUN pip3 install -U \
# TODO: Investigate why pyzmq has to be installed additionally
# This changed with switching from from 1.13.0.dev1034 (build and published by Jenkins instance of Sovrin) to version 1.13.0.dev143 (GHA)
'pyzmq==18.1.0'

RUN indy_image_clean
Loading