Skip to content

Commit

Permalink
Merge pull request #356 from WadeBarnes/master
Browse files Browse the repository at this point in the history
Update indy-node, token-plugin and GitHub actions versions
  • Loading branch information
WadeBarnes authored Feb 17, 2024
2 parents bfdbd5b + 8bdd39c commit 440b4c3
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 40 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/PR.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ jobs:
testsNeeded: ${{ steps.testsNeeded.outputs.testsNeeded }}
steps:
- name: checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup
id: setup
uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v1
with:
ownerRepo: "sovrin-foundation"
- name: testsNeeded
id: testsNeeded
uses: dorny/paths-filter@v2
uses: dorny/paths-filter@v3
with:
filters: |
testsNeeded:
Expand All @@ -46,9 +46,9 @@ jobs:
sovtokenfeesVersion: ${{ steps.sovtoken-versions.outputs.sovtokenfeesVersion}}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Set up python
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/PublishRelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
publish: ${{ steps.workflow-setup.outputs.publish}}
steps:
- name: checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: get-release-info
id: get-release-info
uses: hyperledger/indy-shared-gha/.github/actions/get-release-info@v1
Expand All @@ -51,30 +51,30 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download sovrin deb Artifacts from Github Action Artifacts
uses: dawidd6/action-download-artifact@v2
uses: dawidd6/action-download-artifact@v3
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: Releasepr.yaml
workflow_conclusion: success
name: sovrin-deb
path: artifacts/sovrin-deb
- name: Download sovrin python Artifacts from Github Action Artifacts
uses: dawidd6/action-download-artifact@v2
uses: dawidd6/action-download-artifact@v3
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: Releasepr.yaml
workflow_conclusion: success
name: sovrin-python
path: artifacts/sovrin-python
- name: Upload sovrin-deb
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sovrin-deb
path: artifacts/sovrin-deb
- name: Upload sovrin-python
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sovrin-python
path: artifacts/sovrin-python
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/Push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ jobs:
publish: ${{ steps.setup.outputs.publish}}
steps:
- name: checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup
id: setup
uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v1
with:
ownerRepo: "sovrin-foundation"
- name: testsNeeded
id: testsNeeded
uses: dorny/paths-filter@v2
uses: dorny/paths-filter@v3
with:
filters: |
testsNeeded:
Expand All @@ -46,14 +46,14 @@ jobs:
GITHUB_REPOSITORY_NAME: ${{ steps.repository-name.outputs.lowercase }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Convert the GitHub repository name to lowercase
id: repository-name
uses: ASzc/change-string-case-action@v5
uses: ASzc/change-string-case-action@v6
with:
string: ${{ github.repository }}
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Set up python
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/Releasepr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
GITHUB_REPOSITORY_NAME: ${{ steps.repository-name.outputs.lowercase }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Convert the GitHub repository name to lowercase
id: repository-name
uses: ASzc/change-string-case-action@v5
uses: ASzc/change-string-case-action@v6
with:
string: ${{ github.repository }}
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Set up python
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
BASE: ${{ steps.get-branch.outputs.branch }}
steps:
- name: checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: extract branch
Expand All @@ -36,9 +36,9 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Set up python
Expand All @@ -49,7 +49,7 @@ jobs:
python3 updateVersion.py -t ${{ needs.taginfos.outputs.VERSION }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v6
with:
author: ${{ github.actor }} <${{ github.event.pusher.email }}>
committer: ${{ github.actor }} <${{ github.event.pusher.email }}>
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/repoDispatchable_updateNodeDependency.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ jobs:
update-setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Update indy-node to ${{ github.event.client_payload.pyVersion }}
run: |
sed -i "s/\(indy-node==\)[^ ]*/\1${{ github.event.client_payload.pyVersion }}',/g" setup.py
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
author: ${{ github.actor }} <${{ github.event.client_payload.email }}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ jobs:
update-setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Update indy-node to ${{ github.event.client_payload.pyVersion }}
- uses: actions/checkout@v4
- name: Update token-plugin to ${{ github.event.client_payload.pyVersion }}
run: |
sed -i "s/\(sovtoken==\)[^ ]*/\1${{ github.event.client_payload.pyVersion }}',/g" setup.py
sed -i "s/\(sovtokenfees==\)[^ ]*/\1${{ github.event.client_payload.pyVersion }}',/g" setup.py
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
author: ${{ github.actor }} <${{ github.event.client_payload.email }}>
signoff: true
committer: ${{ github.actor }} <${{ github.event.client_payload.email }}>
commit-message: "Automated Update to indy-node==${{ github.event.client_payload.pyVersion }}"
title: "Automated Update to indy-node==${{ github.event.client_payload.pyVersion }}"
body: "This PR updates the indy-node version in `setup.py` to use `indy-node==${{ github.event.client_payload.pyVersion }}`."
commit-message: "Automated Update to sovtoken==${{ github.event.client_payload.pyVersion }}"
title: "Automated Update to sovtoken==${{ github.event.client_payload.pyVersion }}"
body: "This PR updates the token-plugin version in `setup.py` to use `sovtoken==${{ github.event.client_payload.pyVersion }}`."
branch: "Token-Pluging-Updates"
delete-branch: true
base: "master"
12 changes: 6 additions & 6 deletions .github/workflows/reuseable_build_package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ jobs:
needs: timestamp
steps:
- name: Git Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup
run: |
sudo apt-get update && sudo apt-get -y install rubygems
sudo gem install fpm
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Set up python
Expand All @@ -55,7 +55,7 @@ jobs:
- name: Build Sovrin Deb
run: sudo bash ./build-scripts/ubuntu-2004/build-sovrin.sh "./" "${{ steps.version.outputs.debVersion }}" "$PWD"
- name: Upload sovrin.deb
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sovrin-deb
path: ./sovrin_*.deb
Expand All @@ -67,9 +67,9 @@ jobs:
needs: timestamp
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Set up python
Expand All @@ -80,7 +80,7 @@ jobs:
run: python3 updateVersion.py --timestamp ${{ needs.timestamp.outputs.timestamp }}
- name: Build python sovrin package
run: python3 setup.py sdist --dist-dir /tmp/dist bdist_wheel --dist-dir /tmp/dist
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: sovrin-python
path: /tmp/dist
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/reuseable_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Setup JFrog CLI
uses: jfrog/setup-jfrog-cli@v2
uses: jfrog/setup-jfrog-cli@v4
env:
JF_ENV_1: ${{ secrets.SOVRIN_ARTIFACTORY_REPO_CONFIG }}

Expand All @@ -38,7 +38,7 @@ jobs:
jfrog rt ping
- name: Download sovrin-deb package from GHA
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: sovrin-deb
path: /tmp/sovrin-deb/
Expand All @@ -52,7 +52,7 @@ jobs:
repo: "deb"

- name: Download sovrin Python Packages from Pipeline Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: sovrin-python
path: dist
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@
'*.css', '*.ico', '*.png', 'LICENSE', 'LEGAL', '*.indy']},
include_package_data=True,

install_requires=['indy-node==1.13.2.dev1678195950', 'sovtoken==1.1.0.dev1678291666', 'sovtokenfees==1.1.0.dev1678291666'],
install_requires=['indy-node==1.13.2', 'sovtoken==1.1.1', 'sovtokenfees==1.1.1'],
)

0 comments on commit 440b4c3

Please sign in to comment.