forked from openwallet-foundation/credo-ts
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add yml for postgres setup (openwallet-foundation#703)
Signed-off-by: Sai Ranjit Tummalapalli <sairanjit.tummalapalli@ayanworks.com>
- Loading branch information
1 parent
1797711
commit 32303c6
Showing
3 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Setup Postgres wallet plugin | ||
description: Setup Postgres wallet plugin | ||
author: 'sairanjit.tummalapalli@ayanworks.com' | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Setup Postgres wallet plugin | ||
run: | | ||
sudo apt-get install -y libzmq3-dev libsodium-dev pkg-config libssl-dev | ||
curl https://sh.rustup.rs -sSf | bash -s -- -y | ||
export PATH="/root/.cargo/bin:${PATH}" | ||
cd ../ | ||
git clone https://github.com/hyperledger/indy-sdk.git | ||
cd indy-sdk/experimental/plugins/postgres_storage/ | ||
cargo build --release | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: Setup Postgres | ||
description: Setup Postgres | ||
author: 'sairanjit.tummalapalli@ayanworks.com' | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Setup Postgres | ||
run: | | ||
docker pull postgres | ||
docker run --name postgres -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -p 5432:5432 -d postgres | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters