Skip to content

Commit 6eefc2d

Browse files
authored
Merge pull request #9 from Indicio-tech/chore/sync-upstream-main
chore: sync with upstream
2 parents a11eb45 + 81000a4 commit 6eefc2d

File tree

519 files changed

+68637
-23862
lines changed

Some content is hidden

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

519 files changed

+68637
-23862
lines changed

.github/dependabot.yml

Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,30 @@ updates:
229229
- dependency-name: "*"
230230
update-types: ["version-update:semver-major"]
231231

232+
# Maintain dependencies for Python Packages
233+
- package-ecosystem: "pip"
234+
directory: "/cache_redis"
235+
schedule:
236+
interval: "weekly"
237+
day: "monday"
238+
time: "04:00"
239+
timezone: "Canada/Pacific"
240+
ignore:
241+
- dependency-name: "*"
242+
update-types: ["version-update:semver-major"]
243+
244+
# Maintain dependencies for Python Packages
245+
- package-ecosystem: "pip"
246+
directory: "/cache_redis/int"
247+
schedule:
248+
interval: "weekly"
249+
day: "monday"
250+
time: "04:00"
251+
timezone: "Canada/Pacific"
252+
ignore:
253+
- dependency-name: "*"
254+
update-types: ["version-update:semver-major"]
255+
232256
# Maintain dependencies for Python Packages
233257
- package-ecosystem: "pip"
234258
directory: "/cheqd"
@@ -265,6 +289,30 @@ updates:
265289
- dependency-name: "*"
266290
update-types: ["version-update:semver-major"]
267291

292+
# Maintain dependencies for Python Packages
293+
- package-ecosystem: "pip"
294+
directory: "/hedera/integration"
295+
schedule:
296+
interval: "weekly"
297+
day: "monday"
298+
time: "04:00"
299+
timezone: "Canada/Pacific"
300+
ignore:
301+
- dependency-name: "*"
302+
update-types: ["version-update:semver-major"]
303+
304+
# Maintain dependencies for Python Packages
305+
- package-ecosystem: "pip"
306+
directory: "/hedera"
307+
schedule:
308+
interval: "weekly"
309+
day: "monday"
310+
time: "04:00"
311+
timezone: "Canada/Pacific"
312+
ignore:
313+
- dependency-name: "*"
314+
update-types: ["version-update:semver-major"]
315+
268316
# Maintain dependencies for Python Packages
269317
- package-ecosystem: "pip"
270318
directory: "/connections/integration"
@@ -277,6 +325,30 @@ updates:
277325
- dependency-name: "*"
278326
update-types: ["version-update:semver-major"]
279327

328+
# Maintain dependencies for Python Packages
329+
- package-ecosystem: "pip"
330+
directory: "/webvh"
331+
schedule:
332+
interval: "weekly"
333+
day: "monday"
334+
time: "04:00"
335+
timezone: "Canada/Pacific"
336+
ignore:
337+
- dependency-name: "*"
338+
update-types: ["version-update:semver-major"]
339+
340+
# Maintain dependencies for Python Packages
341+
- package-ecosystem: "pip"
342+
directory: "/webvh/integration"
343+
schedule:
344+
interval: "weekly"
345+
day: "monday"
346+
time: "04:00"
347+
timezone: "Canada/Pacific"
348+
ignore:
349+
- dependency-name: "*"
350+
update-types: ["version-update:semver-major"]
351+
280352
# Maintain dependencies for TypeScript and JavaScript
281353
- package-ecosystem: "npm"
282354
directory: "/oid4vci/demo/frontend"
@@ -664,6 +736,15 @@ updates:
664736
time: "04:00"
665737
timezone: "Canada/Pacific"
666738

739+
# Maintain dependencies for docker
740+
- package-ecosystem: "docker"
741+
directory: "/connections/docker"
742+
schedule:
743+
interval: "weekly"
744+
day: "monday"
745+
time: "04:00"
746+
timezone: "Canada/Pacific"
747+
667748
# Maintain dependencies for docker
668749
- package-ecosystem: "docker"
669750
directory: "/connections/integration"
@@ -673,3 +754,39 @@ updates:
673754
time: "04:00"
674755
timezone: "Canada/Pacific"
675756

757+
# Maintain dependencies for docker
758+
- package-ecosystem: "docker"
759+
directory: "/hedera/docker"
760+
schedule:
761+
interval: "weekly"
762+
day: "monday"
763+
time: "04:00"
764+
timezone: "Canada/Pacific"
765+
766+
# Maintain dependencies for docker
767+
- package-ecosystem: "docker"
768+
directory: "/hedera/integration"
769+
schedule:
770+
interval: "weekly"
771+
day: "monday"
772+
time: "04:00"
773+
timezone: "Canada/Pacific"
774+
775+
# Maintain dependencies for docker
776+
- package-ecosystem: "docker"
777+
directory: "/webvh/docker"
778+
schedule:
779+
interval: "weekly"
780+
day: "monday"
781+
time: "04:00"
782+
timezone: "Canada/Pacific"
783+
784+
# Maintain dependencies for docker
785+
- package-ecosystem: "docker"
786+
directory: "/webvh/integration"
787+
schedule:
788+
interval: "weekly"
789+
day: "monday"
790+
time: "04:00"
791+
timezone: "Canada/Pacific"
792+

.github/workflows/create-release-pr.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,18 @@ jobs:
3838
#----------------------------------------------
3939
# Check out repo
4040
#----------------------------------------------
41-
- uses: actions/checkout@v4
41+
- uses: actions/checkout@v6
4242
#----------------------------------------------
4343
# Setup python
4444
#----------------------------------------------
45-
- uses: actions/setup-python@v5
45+
- uses: actions/setup-python@v6
4646
with:
4747
python-version: '3.12'
4848
#----------------------------------------------
4949
# Install poetry
5050
#----------------------------------------------
5151
- name: Install poetry
52-
run: pipx install poetry==1.8.3
52+
run: pipx install poetry==2.1.2
5353
id: setup-poetry
5454
#----------------------------------------------
5555
# Get the latest version of acapy-agent from pypi

.github/workflows/create-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ jobs:
2121
run:
2222
working-directory: .
2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v6
2525
with:
2626
fetch-depth: 0
2727
# ----------------------------------------------
2828
# Install Python
2929
# ----------------------------------------------
30-
- uses: actions/setup-python@v5
30+
- uses: actions/setup-python@v6
3131
with:
3232
python-version: '3.12'
3333
#----------------------------------------------

.github/workflows/pr-integration-tests.yaml

Lines changed: 49 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# Check out repo
2020
#----------------------------------------------
2121
- name: Check out repository
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v6
2323
#----------------------------------------------
2424
# Get docker compose
2525
#----------------------------------------------
@@ -30,7 +30,7 @@ jobs:
3030
#----------------------------------------------
3131
- name: Get changed files
3232
id: changed-files
33-
uses: tj-actions/changed-files@v45
33+
uses: tj-actions/changed-files@v47.0.0
3434
#----------------------------------------------
3535
# Get changed plugins
3636
#----------------------------------------------
@@ -87,16 +87,57 @@ jobs:
8787
echo "changed-plugins=${changed_dirs[*]}" >> $GITHUB_OUTPUT
8888
8989
#----------------------------------------------
90-
# Run Integation Tests
90+
# Run Integration Tests
9191
#----------------------------------------------
9292
- name: Run Integration Tests
9393
id: integration-tests
94+
shell: bash
9495
run: |
9596
for dir in ${{ steps.changed-plugins.outputs.changed-plugins }}; do
96-
echo "Running integration tests for $dir"
97-
cd $dir/integration
98-
docker compose down --remove-orphans
97+
98+
if [[ "$dir" == "cheqd" ]]; then
99+
echo "⏭️ Skipping integration tests for $dir"
100+
continue
101+
fi
102+
103+
echo "🔧 Running integration tests for $dir"
104+
cd "$dir/integration"
105+
106+
# Source init-network.sh if it exists
107+
if [ -f ./init-network.sh ]; then
108+
echo "📡 Sourcing init-network.sh"
109+
. ./init-network.sh
110+
fi
111+
99112
docker compose build
100-
docker compose run tests
113+
114+
if [[ "$dir" == "cache_redis" ]]; then
115+
116+
# Start everything in the background
117+
echo "🚀 Starting docker compose stack..."
118+
docker compose up -d
119+
120+
echo "🧪 Running tests container..."
121+
docker compose run --rm tests
122+
TEST_EXIT=$?
123+
124+
if [[ $TEST_EXIT -ne 0 ]]; then
125+
echo "❌ Tests failed for $dir - dumping logs:"
126+
docker compose logs || true
127+
docker compose down --remove-orphans
128+
exit $TEST_EXIT
129+
fi
130+
else
131+
# Normal plugin flow
132+
if ! docker compose up --exit-code-from tests; then
133+
echo "❌ Tests failed for $dir - dumping logs:"
134+
docker compose logs
135+
docker compose down --remove-orphans
136+
exit 1
137+
fi
138+
fi
139+
140+
echo "✅ Tests passed for $dir"
141+
docker compose down --remove-orphans
101142
cd ../..
102-
done
143+
done

.github/workflows/pr-linting-and-unit-tests.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ jobs:
2020
# Check out repo
2121
#----------------------------------------------
2222
- name: Check out repository
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v6
2424
#----------------------------------------------
2525
# Install python and poetry with cache
2626
#----------------------------------------------
2727
- name: Install poetry
28-
run: pipx install poetry==1.8.3
28+
run: pipx install poetry==2.1.2
2929
id: setup-poetry
30-
- uses: actions/setup-python@v5
30+
- uses: actions/setup-python@v6
3131
with:
3232
python-version: "3.12"
3333
cache: "poetry"
@@ -36,7 +36,7 @@ jobs:
3636
#----------------------------------------------
3737
- name: Get changed files
3838
id: changed-files
39-
uses: tj-actions/changed-files@v45
39+
uses: tj-actions/changed-files@v47.0.0
4040
#----------------------------------------------
4141
# Get changed plugins
4242
#----------------------------------------------
@@ -83,6 +83,7 @@ jobs:
8383
for dir in ${{ steps.changed-plugins.outputs.changed-plugins }}; do
8484
cd $dir
8585
poetry run ruff check .
86+
poetry run ruff format --check .
8687
cd ..
8788
done
8889
#----------------------------------------------

.github/workflows/publish-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
runs-on: ubuntu-latest
1515
if: github.repository == 'openwallet-foundation/acapy-plugins'
1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v6
1818
with:
1919
fetch-depth: 0 # fetch all commits/branches
20-
- uses: actions/setup-python@v5
20+
- uses: actions/setup-python@v6
2121
with:
2222
python-version: 3.x
2323
- uses: actions/cache@v4

0 commit comments

Comments
 (0)