Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1541 commits
Select commit Hold shift + click to select a range
4f2b6dd
Merge pull request #2138 from ianco/plugin-docs
ianco Feb 22, 2023
324bd96
Merge branch 'main' into feature/provide-verification-method-send-end…
chumbert Feb 24, 2023
9111a7e
feat: allow marking non-SOV DIDs as public
chumbert Feb 24, 2023
179ef19
Merge pull request #2135 from sicpa-dlab/feature/provide-verification…
dbluhm Feb 24, 2023
c6bcf7c
cred_ex webhook fixed missing timestamp
victorlee0505 Feb 23, 2023
e38d0cc
pres_exch light weight webhook object
victorlee0505 Feb 23, 2023
a3d8698
pres_exch emit light weight webhook
devin-lo Feb 24, 2023
5316cd9
added --debug-webhooks flag
devin-lo Feb 24, 2023
5cd9a7e
removed --light-weight-webhook flag
devin-lo Feb 24, 2023
b951d0d
use --debug-webhooks flag for full protocol state object as webhook
devin-lo Feb 24, 2023
42cd008
refactor: remove light weight keyword
victorlee0505 Feb 24, 2023
89fc813
argparse.py fixed black code format
victorlee0505 Feb 25, 2023
2f6d7fe
Merge branch 'main' into feature/allow-non-sov-publication
chumbert Feb 27, 2023
3109029
check impl
shaangill025 Feb 27, 2023
2da7608
[fix] Removes extra comma that prevents swagger from accepting the pr…
swcurran Feb 27, 2023
aea1e3a
Merge pull request #2149 from hyperledger/swcurran-patch-1
ianco Feb 28, 2023
6ae3ffc
Merge branch 'main' into issue_2111
ianco Feb 28, 2023
3c9bdc9
performance demo fix
shaangill025 Feb 28, 2023
c450a92
Merge pull request #2151 from shaangill025/perf_demo
ianco Feb 28, 2023
172b6f5
Merge branch 'main' into feature/allow-non-sov-publication
chumbert Mar 1, 2023
9300ac9
Merge pull request #2144 from sicpa-dlab/feature/allow-non-sov-public…
ianco Mar 1, 2023
24efcea
Merge branch 'main' into issue_2111
shaangill025 Mar 1, 2023
1a47c3a
Dockerfile.demo: added ACAPY_DEBUG_WEBHOOKS as startup env
victorlee0505 Mar 2, 2023
9014ce3
feat: add aca-py deployment with nginx
Zzocker Mar 3, 2023
51e355a
fix: add connection_id to oob proof request pres
Zzocker Mar 3, 2023
072882a
Merge branch 'main' into vlee/terse
ianco Mar 5, 2023
36304c5
fix: askar exception message always displaying null DID
chumbert Mar 6, 2023
562a1df
Merge pull request #2145 from victorlee0505/vlee/terse
swcurran Mar 6, 2023
63e7f26
Merge branch 'main' into issue_2111
ianco Mar 8, 2023
128dfaf
Merge branch 'main' into fix/askar-exception-message
dbluhm Mar 8, 2023
44d782f
Merge pull request #2155 from sicpa-dlab/fix/askar-exception-message
dbluhm Mar 8, 2023
6d9b813
Merge branch 'main' into issue_2111
ianco Mar 8, 2023
b9aae36
updates based on feedback
shaangill025 Mar 9, 2023
1e3af0b
Remove CircleCI Status since we aren't using CircleCI anymore
swcurran Mar 14, 2023
a878e4c
Delete circleci config file
swcurran Mar 14, 2023
70b2831
Merge pull request #2163 from hyperledger/swcurran-patch-1
WadeBarnes Mar 14, 2023
c900e6b
Merge branch 'main' into issue_2111
ianco Mar 14, 2023
5445a3e
Merge pull request #2147 from shaangill025/issue_2111
ianco Mar 14, 2023
2774cd5
0.8.0 release
swcurran Mar 14, 2023
11866bd
Add this PR to the Changelog
swcurran Mar 14, 2023
2ad3c43
Fix lint warning on sphinx config
swcurran Mar 14, 2023
263cebc
Change upgrade exception to be a print
swcurran Mar 15, 2023
8570eaa
Updated Changelog, removed change from RaiseError to print
swcurran Mar 15, 2023
85e6e0f
Exit if upgrde version is the same as current
ianco Mar 15, 2023
0d738e8
Formatting issues
ianco Mar 15, 2023
5f7b8ec
Merge pull request #2 from ianco/master
swcurran Mar 15, 2023
dab1f30
Merge pull request #2169 from swcurran/0.8.0
swcurran Mar 15, 2023
2652096
Adds the upgrade command YML file to the PyPi Release
swcurran Mar 23, 2023
45c8326
Merge pull request #2179 from hyperledger/swcurran-patch-1
swcurran Mar 23, 2023
b8d187a
Create UnitTests.md
swcurran Mar 28, 2023
02984c9
Add link to recorded session about the ACA-Py Integration tests
swcurran Mar 28, 2023
961ca0d
Add link to video about AATH testing in ACA-Py
swcurran Mar 28, 2023
c061566
Merge pull request #2184 from hyperledger/swcurran-integration-tests-…
swcurran Mar 29, 2023
5042468
Merge branch 'main' into swcurran-unit-testing-doc
swcurran Mar 29, 2023
e164523
impl all requirements
shaangill025 Mar 29, 2023
3e6d8af
updates based on feedback
shaangill025 Mar 29, 2023
7ce4ce2
correct logging statement
shaangill025 Mar 29, 2023
539dfc0
check impl
shaangill025 Feb 27, 2023
553b128
fix: askar exception message always displaying null DID
chumbert Mar 6, 2023
92e14de
updates based on feedback
shaangill025 Mar 9, 2023
0c6a92e
Remove CircleCI Status since we aren't using CircleCI anymore
swcurran Mar 14, 2023
ccfcaaf
Delete circleci config file
swcurran Mar 14, 2023
a3d36aa
0.8.0 release
swcurran Mar 14, 2023
82da386
Add this PR to the Changelog
swcurran Mar 14, 2023
f35d070
Fix lint warning on sphinx config
swcurran Mar 14, 2023
c725ada
Change upgrade exception to be a print
swcurran Mar 15, 2023
6eb074e
Updated Changelog, removed change from RaiseError to print
swcurran Mar 15, 2023
fda3faf
Exit if upgrde version is the same as current
ianco Mar 15, 2023
c78e4f3
Formatting issues
ianco Mar 15, 2023
3362d9a
Adds the upgrade command YML file to the PyPi Release
swcurran Mar 23, 2023
71768a3
update pytest to resolve the `lineno` issue on test collection
Jsyro Mar 29, 2023
90dafb3
remove unused import.
Jsyro Mar 29, 2023
6ab2f5d
update rlp package.
Jsyro Mar 29, 2023
18b3427
disable for now.
Jsyro Mar 29, 2023
10a25f8
Merge remote-tracking branch 'Jsyro/main' into jsyro-main
Jsyro Mar 29, 2023
7c3959a
fixes
shaangill025 Mar 29, 2023
d305f53
fixes
shaangill025 Mar 30, 2023
ccce11f
unit test coverage
shaangill025 Mar 30, 2023
9305352
change flake8 version.
Jsyro Mar 30, 2023
8600d59
too far. try this
Jsyro Mar 30, 2023
47d5d51
Doc update and some test scripts
ianco Mar 30, 2023
19f1345
Merge pull request #2185 from shaangill025/fix_upgrade_process
swcurran Mar 30, 2023
5c86630
Merge branch 'main' into swcurran-unit-testing-doc
swcurran Mar 30, 2023
bd29588
Merge branch 'main' into main
swcurran Mar 30, 2023
7d8db1a
Merge pull request #2183 from hyperledger/swcurran-unit-testing-doc
swcurran Mar 30, 2023
e199465
Merge branch 'main' into main
swcurran Mar 31, 2023
2c1f39a
0.8.1-rc0
swcurran Mar 31, 2023
c212bab
Add this PR to the CHANGELOG.md
swcurran Mar 31, 2023
04fa9f2
Merge pull request #2190 from swcurran/0.8.1-rc0
swcurran Mar 31, 2023
e308b74
Merge branch 'main' into main
Jsyro Mar 31, 2023
1d26b6a
Merge branch 'main' into master
shaangill025 Mar 31, 2023
458ce43
upgrade config path fix
shaangill025 Mar 31, 2023
5858042
Merge pull request #2193 from shaangill025/fix_upgrade_process
swcurran Mar 31, 2023
3a4b672
Merge branch 'main' into master
shaangill025 Mar 31, 2023
c932a81
0.8.1-rc1
swcurran Mar 31, 2023
0dea75a
Merge pull request #2194 from swcurran/0.8.1-rc1
swcurran Mar 31, 2023
b1632ae
indy wallet already open fix
shaangill025 Apr 3, 2023
5806623
issue#2197 updates and fixes
shaangill025 Apr 3, 2023
164f2aa
final updates
shaangill025 Apr 3, 2023
d8add73
Merge branch 'main' into master
shaangill025 Apr 3, 2023
159e1c9
add exception + profile close check
shaangill025 Apr 3, 2023
e89e3fd
Merge pull request #2196 from shaangill025/fix_upgrade_process
swcurran Apr 3, 2023
0971f9f
Merge branch 'main' into master
swcurran Apr 3, 2023
b7c396a
0.8.1-rc2
swcurran Apr 3, 2023
2a349b4
Update PR number in changelog
swcurran Apr 3, 2023
0b61c98
Merge pull request #2198 from swcurran/0.8.1-rc2
swcurran Apr 4, 2023
ff5e61f
Add Upgrading ACA-Py document
swcurran Apr 4, 2023
b40e97f
Merge branch 'main' into master
swcurran Apr 4, 2023
a72746a
Change upgrade definition file entry from 0.8.0 to 0.8.1
swcurran Apr 4, 2023
9a95079
Merge pull request #2203 from swcurran/upgrade-081
swcurran Apr 4, 2023
2093fce
Merge branch 'main' into add-upgrade-doc
swcurran Apr 4, 2023
d598663
Merge branch 'main' into master
swcurran Apr 4, 2023
8e6b520
Merge pull request #2189 from ianco/master
swcurran Apr 4, 2023
efd02cd
Merge branch 'main' into add-upgrade-doc
swcurran Apr 4, 2023
b272f7b
Merge branch 'main' into main
swcurran Apr 5, 2023
0343728
Merge pull request #2187 from Jsyro/main
swcurran Apr 5, 2023
8832592
Updating the document to clarify, adding issue and PR links
swcurran Apr 5, 2023
d14c502
Merge branch 'main' into add-upgrade-doc
swcurran Apr 5, 2023
d863faa
Merge pull request #2200 from swcurran/add-upgrade-doc
swcurran Apr 5, 2023
548256f
0.8.1
swcurran Apr 5, 2023
e07e4fd
Merge pull request #2207 from swcurran/add-upgrade-doc
swcurran Apr 6, 2023
9990cc0
feat: healthcheck aca-py server
Zzocker Jun 22, 2023
42a8f81
Merge tag '0.8.1' into SSI-2273
Zzocker Jun 27, 2023
854deae
Merge pull request #6 from trential/SSI-2273
mukulverm4 Jun 28, 2023
6c252e2
feat: support oob proof request with connection
Zzocker Jun 28, 2023
c4a4939
Add support for JsonWebKey2020 for the connection invitations
dkulic Mar 21, 2023
e36f913
Fix linter errors
dkulic Mar 29, 2023
d6722bd
fix: run only on main, forks ok
anwalker293 Mar 14, 2023
a3d2d9c
fix: on schedule
anwalker293 Mar 20, 2023
309c828
fix: run on hyperledger's only
anwalker293 Mar 28, 2023
eefd0ba
feat: add workflow_dispatch parameter to run flows
anwalker293 Mar 28, 2023
f7783a8
fix: remove 'main'
anwalker293 Apr 4, 2023
1111e0b
fix: repo name variable formatting
anwalker293 Apr 6, 2023
26ee978
Revert "fix: repo name variable formatting"
anwalker293 Apr 6, 2023
406ea4c
feat: run if workflow triggered
anwalker293 Apr 20, 2023
3d7d955
fix: remove env variable run_flows
anwalker293 Apr 24, 2023
0c642a8
Update Alice Wants a JSON-LD Credential to fix invocation
swcurran Apr 26, 2023
957b9a1
:art: fix formatting and grammar
ff137 May 2, 2023
1920bca
:art: fix formatting and grammar
ff137 May 2, 2023
3eeb4d6
:art:
ff137 May 2, 2023
19676fb
:art: fix formatting and grammar
ff137 May 2, 2023
4592ef7
lint code blocks
ff137 May 2, 2023
5f37e0d
:art: lint
ff137 May 2, 2023
904cf21
:art: lint
ff137 May 2, 2023
1a8f1ec
:art: lint
ff137 May 2, 2023
09d8101
fix broken link
ff137 May 2, 2023
8ba34bd
Disable webhook trigger on initial response to multi-use connection i…
esune May 2, 2023
a6fc723
Fix formatting
esune May 2, 2023
b8e33b9
Connection target should not be limited only to indy dids
dkulic May 10, 2023
8bce02b
stand up multiple agents (single and multi) for local development and…
usingtechnology May 11, 2023
dfd92fb
add the documented comment to start.sh
usingtechnology May 12, 2023
6ff5f2d
ACA-Py consistency...
usingtechnology May 12, 2023
d1eae12
flake8/black
usingtechnology May 12, 2023
037c046
check with local black - no line limit
usingtechnology May 12, 2023
b10b073
Multi-tenant self-managed mediation verkey lookup
usingtechnology May 12, 2023
9be03e4
refactor: put _get_verification_method in an injectable class
yvgny May 17, 2023
ba35566
fix: use given verification_method when given + renaming
yvgny May 22, 2023
ec54164
fix: set up context correctly in pres_exch tests
yvgny May 22, 2023
ea5adc8
WIP fix multitenant/mediation in demo, now getting aca-py error
ianco Jan 10, 2023
6115775
Cleanup logging
ianco May 15, 2023
bf5a06d
Formatting
ianco May 15, 2023
86c6f8a
Remove code which seems to be causing issues
ianco May 17, 2023
9ccb8cb
:arrow_up: upgrade `swagger-codegen-cli` to 2.4.32
ff137 May 26, 2023
13961d9
fix file link
ff137 May 27, 2023
93dd4a5
upgrade openapi codegen tool to `openapitools/openapi-generator-cli:v…
ff137 May 27, 2023
7a81b51
fix invalid exit code
ff137 May 27, 2023
691883f
add var for acapy_spec_file and config_location
ff137 May 27, 2023
a3ca3f4
use generatorType for selecting swagger or openapi
ff137 May 27, 2023
a3d6c76
no longer overwrite swagger spec as openapi spec
ff137 May 27, 2023
3ff5b2b
generate and copy both swagger & openapi output
ff137 May 27, 2023
afb74c9
:art: format
ff137 May 27, 2023
a22cc04
:art: improve comment descriptions
ff137 May 27, 2023
cdce9e6
upgrade `swagger-codegen` and `openapi-generator` to latest
ff137 May 27, 2023
e832b8a
fix reference to ACAPY_SPEC_FILE
ff137 May 27, 2023
a211951
use correct container for swagger or openapi gen
ff137 May 27, 2023
010d80b
rename cmd name for clarity
ff137 May 27, 2023
a14b294
:art: format
ff137 May 27, 2023
fb08502
:art: formatting
ff137 May 27, 2023
ffb164f
:art: add names for naked links
ff137 May 27, 2023
39f06e5
fix file link
ff137 May 27, 2023
93a3934
add link to script and clarify that there are two spec outputs for bo…
ff137 May 27, 2023
aff54e1
add tracking for Swagger 2.0 spec
ff137 May 27, 2023
62ce4ba
update openapi spec to 3.0.1 (new codegen in `scripts/generate-open-a…
ff137 May 27, 2023
898cdc9
fix: only cache completed connection targets
dbluhm May 24, 2023
490da97
pass document loader to jsonld.expand
andrewwhitehead Mar 21, 2023
a0ab495
Bump requests from 2.30.0 to 2.31.0 in /demo/playground/scripts
dependabot[bot] May 23, 2023
762660f
Add updated ELK stack for demos.
usingtechnology May 18, 2023
19bcdda
revert `multi-demo` to previous configuration (image, db config).
usingtechnology May 30, 2023
9982d05
fix: route multitenant connectionless oob invitation
TimoGlastra May 26, 2023
e8fff93
test: fix tests
TimoGlastra May 27, 2023
013fb16
./run_demo performance -c 1 --mediation --timing --trace-log
usingtechnology May 26, 2023
5dbc801
utility function + template impl
shaangill025 May 16, 2023
6464704
logging utility updates
shaangill025 May 17, 2023
bf6b33f
flake8 fix
shaangill025 May 17, 2023
60283b3
custom timed file handler + json formatter
shaangill025 May 31, 2023
a1e296c
doc update, flake8 fix and test update
shaangill025 Jun 1, 2023
5d3ef86
black fmt change
shaangill025 Jun 1, 2023
67f4889
not public did logic
shaangill025 Jun 1, 2023
b637830
cleanup
shaangill025 Jun 1, 2023
4f9fbeb
updates based on feedback
shaangill025 Jun 2, 2023
7f5d5e9
argparse argument help keywork fix
shaangill025 Jun 2, 2023
00f90bc
add templates using new function
shaangill025 Jun 6, 2023
74fbfd9
Resolve definitions.py fix
usingtechnology Jun 5, 2023
f657c40
remove print statements...
usingtechnology Jun 6, 2023
489f173
Release 0.8.2-rc0
swcurran Jun 8, 2023
20825b5
Update the number of this PR in the CHANGELOG
swcurran Jun 8, 2023
e0d44c1
feat(did creation route): reject unregistered did methods
chumbert Jun 9, 2023
f209afb
Updating Maintainers list to be accurate and using the TOC format
swcurran Jun 8, 2023
5aac7ab
Add email addresses for the maintainers
swcurran Jun 9, 2023
4728124
Assign ~thread.thid with thread_id value
usingtechnology Jun 9, 2023
d2356e0
add random-word to dev, useful for local dev scripts
usingtechnology Jun 9, 2023
68e976f
remove dev dependency as only really added for kick starting GH actions.
usingtechnology Jun 9, 2023
a3b0143
Remove extra line
swcurran Jun 9, 2023
fecd68e
chore: rename injection token and classes
yvgny Jun 13, 2023
379509f
feat: add proof_purpose and allowed_method_types
yvgny Jun 13, 2023
6ec12c8
Propose adding Jason Sherman usingtechnology as a Maintainer
swcurran Jun 9, 2023
388d6ae
fix: allow awaiting in verkey strategy
yvgny Jun 14, 2023
bb664f1
feat: add optionnal profile in method sig
yvgny Jun 15, 2023
f6b75dc
chore: remove unused imports
yvgny Jun 15, 2023
956bd18
Create .readthedocs.yaml file
swcurran Jun 14, 2023
b557e9a
Tweaks to .readthedocs.yaml
swcurran Jun 14, 2023
22f76b7
fix: do not replace public verkey on mediator
Jun 15, 2023
86cf47c
fix: make profile mandatory and update docs
yvgny Jun 20, 2023
c79a50a
0.8.2-rc1
swcurran Jun 26, 2023
362f3c2
Add note about PR 2255, and change its title
swcurran Jun 26, 2023
ad12d67
per tenant settings impl
shaangill025 May 16, 2023
f162284
fix processing bool values
shaangill025 May 16, 2023
a77b919
flake8 fix
shaangill025 May 17, 2023
d34d065
doc update
shaangill025 Jun 1, 2023
eaf7eea
doc update
shaangill025 Jun 1, 2023
6be7ea6
typo fix
shaangill025 Jun 2, 2023
7060719
extra_settings dict field update
shaangill025 Jun 19, 2023
5dfc85d
settings endpoint + other changes
shaangill025 Jun 21, 2023
0e557fe
wallet record access on settings endpoint
shaangill025 Jun 27, 2023
044b377
final updates
shaangill025 Jun 27, 2023
50f5295
cleanup
shaangill025 Jun 27, 2023
488c233
minor cleanup
shaangill025 Jun 27, 2023
78433f3
0.8.2-rc2
swcurran Jun 28, 2023
2fc8179
Change number of this PR
swcurran Jun 28, 2023
91c7681
0.8.2
swcurran Jun 28, 2023
7f391f1
Fix typo in requirements file
swcurran Jun 28, 2023
25d916d
fix: add thread_id to /issue-credential-2.0/send-offer
Zzocker Aug 4, 2023
df82a3a
Merge pull request #10 from trential/fix
believer-doer Aug 4, 2023
897cdbd
fix: add thread_id to /present-proof/create-request
Zzocker Aug 28, 2023
cc0c3f9
fix: add thread_id to /present-proof/send-request
Zzocker Aug 30, 2023
fa10082
fix: add client_max_body_size to nginx
Zzocker Dec 27, 2023
e024d88
update: add aws deploy action
Deathstroke8414 Sep 19, 2024
1e22aa8
fix: aws deploy action
Deathstroke8414 Sep 19, 2024
9e682d5
Merge pull request #17 from trential/aws
Deathstroke8414 Sep 19, 2024
c42a034
update: aws prod deploy action
Deathstroke8414 Sep 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
48 changes: 0 additions & 48 deletions .circleci/config.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: ['@commitlint/config-conventional']
};
4 changes: 3 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ build
docs
dist
test-reports
.python-version
.python-version
docker
env
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@ runs:
- name: run-integration-tests-acapy
# to run with external ledger and tails server run as follows (and remove the ledger and tails actions from the workflow):
# run: LEDGER_URL=http://test.bcovrin.vonx.io PUBLIC_TAILS_URL=https://tails.vonx.io ./run_bdd ${{ inputs.TEST_SCOPE }}
run: LEDGER_URL=${{inputs.IN_LEDGER_URL}} PUBLIC_TAILS_URL=${{inputs.IN_PUBLIC_TAILS_URL}} ./run_bdd ${{ inputs.TEST_SCOPE }}
run: ./run_bdd ${{ inputs.TEST_SCOPE }}
shell: bash
env:
LEDGER_URL: ${{ inputs.IN_LEDGER_URL }}
PUBLIC_TAILS_URL: ${{ inputs.IN_PUBLIC_TAILS_URL }}
LOG_LEVEL: warning
NO_TTY: "1"
working-directory: acapy/demo
branding:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/blackformat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Black Code Formatter Check
uses: psf/black@stable
10 changes: 7 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,20 @@ jobs:
CodeQL-Build:
# CodeQL runs on ubuntu-latest and windows-latest
runs-on: ubuntu-latest
if: (github.event_name == 'pull_request' && github.repository == 'hyperledger/aries-cloudagent-python') || (github.event_name != 'pull_request')

permissions:
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: python

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
54 changes: 54 additions & 0 deletions .github/workflows/deploy-development.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Deploy Development to App Runner
on:
push:
branches: [development] # Trigger workflow on git push to main branch
workflow_dispatch: # Allow manual invocation of the workflow
inputs:
branch:
description: deploy given branch
required: true
type: string
default: development

jobs:
deploy:
runs-on: ubuntu-latest
# These permissions are needed to interact with GitHub's OIDC Token endpoint.
permissions:
id-token: write
contents: read
environment: development

steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
persist-credentials: false
ref: ${{ github.event.inputs.branch }}

- name: Configure AWS credentials
id: aws-credentials
uses: aws-actions/configure-aws-credentials@v4
with:
# Use GitHub OIDC provider
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN }}
aws-region: ${{ secrets.AWS_REGION }}

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2

- name: Set image tage as current date & time
id: date
run: echo "IMAGE_TAG=$(date +'%Y-%m-%dT%H-%M-%S')" >> $GITHUB_ENV

- name: Build, tag, and push image to Amazon ECR
id: build-image
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: dev/acapy
PKG_TOKEN: ${{ secrets.PKG_TOKEN }}
run: |
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -t $ECR_REGISTRY/$ECR_REPOSITORY:latest .
docker push $ECR_REGISTRY/$ECR_REPOSITORY --all-tags
echo "Pushed $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG to AWS ECR"
54 changes: 54 additions & 0 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Deploy Production to App Runner
on:
push:
branches: [main] # Trigger workflow on git push to main branch
workflow_dispatch: # Allow manual invocation of the workflow
inputs:
branch:
description: deploy given branch
required: true
type: string
default: main

jobs:
deploy:
runs-on: ubuntu-latest
# These permissions are needed to interact with GitHub's OIDC Token endpoint.
permissions:
id-token: write
contents: read
environment: production

steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
persist-credentials: false
ref: ${{ github.event.inputs.branch }}

- name: Configure AWS credentials
id: aws-credentials
uses: aws-actions/configure-aws-credentials@v4
with:
# Use GitHub OIDC provider
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN }}
aws-region: ${{ secrets.AWS_REGION }}

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2

- name: Set image tage as current date & time
id: date
run: echo "IMAGE_TAG=$(date +'%Y-%m-%dT%H-%M-%S')" >> $GITHUB_ENV

- name: Build, tag, and push image to Amazon ECR
id: build-image
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: prod/acapy
PKG_TOKEN: ${{ secrets.PKG_TOKEN }}
run: |
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -t $ECR_REGISTRY/$ECR_REPOSITORY:latest .
docker push $ECR_REGISTRY/$ECR_REPOSITORY --all-tags
echo "Pushed $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG to AWS ECR"
8 changes: 4 additions & 4 deletions .github/workflows/integrationtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
if: (github.event_name == 'pull_request' && github.repository == 'hyperledger/aries-cloudagent-python') || (github.event_name != 'pull_request')
steps:
- name: checkout-acapy
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: acapy
#- name: run-von-network
# uses: ./acapy/actions/run-von-network
# uses: ./acapy/.github/actions/run-von-network
#- name: run-indy-tails-server
# uses: ./acapy/actions/run-indy-tails-server
# uses: ./acapy/.github/actions/run-indy-tails-server
- name: run-integration-tests
uses: ./acapy/actions/run-integration-tests
uses: ./acapy/.github/actions/run-integration-tests
# to run with a specific set of tests include the following parameter:
# with:
# TEST_SCOPE: "-t @T001-RFC0037"
40 changes: 40 additions & 0 deletions .github/workflows/nightly-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Nightly Tests

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

jobs:
tests:
if: github.repository == 'hyperledger/aries-cloudagent-python' || github.event_name == 'workflow_dispatch'
name: Tests
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.7", "3.8", "3.9", "3.10"]
include:
- os: "ubuntu-20.04"
python-version: "3.6"
uses: ./.github/workflows/tests.yml
with:
python-version: ${{ matrix.python-version }}
os: ${{ matrix.os }}

tests-indy:
if: github.repository == 'hyperledger/aries-cloudagent-python' || github.event_name == 'workflow_dispatch'
name: Tests (Indy)
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.7", "3.8", "3.9", "3.10"]
include:
- os: "ubuntu-20.04"
python-version: "3.6"
uses: ./.github/workflows/tests-indy.yml
with:
python-version: ${{ matrix.python-version }}
os: ${{ matrix.os }}
indy-version: "1.16.0"
24 changes: 24 additions & 0 deletions .github/workflows/pip-audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: pip-audit

on:
workflow_dispatch:

permissions:
contents: read

jobs:
selftest:
runs-on: ubuntu-latest
if: (github.event_name == 'pull_request' && github.repository == 'hyperledger/aries-cloudagent-python') || (github.event_name != 'pull_request')
steps:
- uses: actions/checkout@v3
- name: install
run: |
python -m venv env/
source env/bin/activate
python -m pip install --upgrade pip
python -m pip install .
- uses: pypa/gh-action-pip-audit@v1.0.0
with:
virtual-environment: env/
local: true
20 changes: 20 additions & 0 deletions .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: PR Tests

on:
pull_request:

jobs:
tests:
name: Tests
uses: ./.github/workflows/tests.yml
with:
python-version: "3.6"
os: "ubuntu-20.04"

tests-indy:
name: Tests (Indy)
uses: ./.github/workflows/tests-indy.yml
with:
python-version: "3.6"
indy-version: "1.16.0"
os: "ubuntu-20.04"
Loading