From 9f43734082f54fa22c8b7dce5f7bcdfc1379e5f7 Mon Sep 17 00:00:00 2001 From: Stephen Curran Date: Fri, 22 Mar 2024 08:13:54 -0700 Subject: [PATCH 1/3] Update GHA so that broken image links work on docs site - without breaking them on GitHub Signed-off-by: Stephen Curran --- .github/workflows/publish-docs.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 06e0eafbee..9d76050e79 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -41,6 +41,10 @@ jobs: for i in *.md; do sed -e "s#docs/#./#g" $i >docs/$i; done # Fix references in DevReadMe.md to moved files sed -e "s#\.\./\.\./#../#" docs/features/DevReadMe.md >tmp.md; mv tmp.md docs/features/DevReadMe.md + # Fix image references in demo documents so they work in GitHub and mkdocs + grep collateral docs/demo/AriesOpenAPIDemo.md + for i in docs/demo/AriesOpenAPIDemo.md docs/demo/AliceGetsAPhone.md; do sed -e "s#src=.collateral#src=\"../collateral#" $i >$i.tmp; mv $i.tmp $i; done + grep collateral docs/demo/AriesOpenAPIDemo.md # Populate overrides for the current version, and then remove to not apply if VERSION is main branch OVERRIDE=overrides/main.html echo -e "{% extends \"base.html\" %}\n\n{% block outdated %}\n You are viewing the documentation for ACA-Py Release $VERSION.\n{% endblock %}" >$OVERRIDE From 7b0897a6855b511103c28b14b1fa6a71a325941a Mon Sep 17 00:00:00 2001 From: Stephen Curran Date: Fri, 22 Mar 2024 08:44:43 -0700 Subject: [PATCH 2/3] Remove debugging statements Signed-off-by: Stephen Curran --- .github/workflows/publish-docs.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 9d76050e79..d715afeed3 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -42,9 +42,7 @@ jobs: # Fix references in DevReadMe.md to moved files sed -e "s#\.\./\.\./#../#" docs/features/DevReadMe.md >tmp.md; mv tmp.md docs/features/DevReadMe.md # Fix image references in demo documents so they work in GitHub and mkdocs - grep collateral docs/demo/AriesOpenAPIDemo.md for i in docs/demo/AriesOpenAPIDemo.md docs/demo/AliceGetsAPhone.md; do sed -e "s#src=.collateral#src=\"../collateral#" $i >$i.tmp; mv $i.tmp $i; done - grep collateral docs/demo/AriesOpenAPIDemo.md # Populate overrides for the current version, and then remove to not apply if VERSION is main branch OVERRIDE=overrides/main.html echo -e "{% extends \"base.html\" %}\n\n{% block outdated %}\n You are viewing the documentation for ACA-Py Release $VERSION.\n{% endblock %}" >$OVERRIDE From 6da07c6b41d36e158655aaaf2c988565118d41f3 Mon Sep 17 00:00:00 2001 From: jamshale <31809382+jamshale@users.noreply.github.com> Date: Fri, 22 Mar 2024 10:15:55 -0700 Subject: [PATCH 3/3] Increase promote did retries (#2854) Signed-off-by: jamshale Co-authored-by: Stephen Curran --- demo/features/steps/0586-sign-transaction.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/demo/features/steps/0586-sign-transaction.py b/demo/features/steps/0586-sign-transaction.py index 491e82744c..da112e14d5 100644 --- a/demo/features/steps/0586-sign-transaction.py +++ b/demo/features/steps/0586-sign-transaction.py @@ -40,8 +40,9 @@ def step_impl(context, agent_name, did_role): ) # make the new did the wallet's public did - retries = 3 + retries = 5 for retry in range(retries): + async_sleep(1.0) published_did = agent_container_POST( agent["agent"], "/wallet/did/public",