This is an automated email from the ASF dual-hosted git repository.
arnold pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
The following commit(s) were added to refs/heads/develop by this push:
new 572aa4d3b FINERACT-1724 - pin localstack version
572aa4d3b is described below
commit 572aa4d3bf3399232241a7ecabaa3d46a2e11339
Author: Peter Bagrij <[email protected]>
AuthorDate: Fri Jul 21 09:17:16 2023 +0200
FINERACT-1724
- pin localstack version
---
.github/workflows/build-mariadb.yml | 15 +++------------
.github/workflows/build-mysql.yml | 15 +++------------
.github/workflows/build-postgresql.yml | 15 +++------------
3 files changed, 9 insertions(+), 36 deletions(-)
diff --git a/.github/workflows/build-mariadb.yml
b/.github/workflows/build-mariadb.yml
index bb74ea49b..c4083d78f 100644
--- a/.github/workflows/build-mariadb.yml
+++ b/.github/workflows/build-mariadb.yml
@@ -60,18 +60,9 @@ jobs:
AWS_SECRET_ACCESS_KEY: localstack
AWS_REGION: us-east-1
run: |
- echo "Update python pyopenssl"
- pip install --upgrade pyopenssl
- echo "Install localstack"
- pip install localstack awscli-local[ver1] # install LocalStack cli
and awslocal
- docker pull localstack/localstack # Make sure to pull the
latest version of the image
- localstack start -d # Start LocalStack in the
background
-
- echo "Waiting for LocalStack startup..." # Wait 30 seconds for the
LocalStack container
- localstack wait -t 30 # to become ready before
timing out
- echo "Startup complete"
- echo "Create fineract S3 bucket"
- awslocal s3api create-bucket --bucket fineract-reports
+ docker run -d --name localstack -p 4566:4566 -p 4510-4559:4510-4559
localstack/localstack:2.1
+ sleep 10
+ docker exec localstack awslocal s3api create-bucket --bucket
fineract-reports
echo "LocalStack initialization complete"
- name: Install additional software
run: |
diff --git a/.github/workflows/build-mysql.yml
b/.github/workflows/build-mysql.yml
index 588da4178..5f46e8e1f 100644
--- a/.github/workflows/build-mysql.yml
+++ b/.github/workflows/build-mysql.yml
@@ -60,18 +60,9 @@ jobs:
AWS_SECRET_ACCESS_KEY: localstack
AWS_REGION: us-east-1
run: |
- echo "Update python pyopenssl"
- pip install --upgrade pyopenssl
- echo "Install localstack"
- pip install localstack awscli-local[ver1] # install LocalStack cli
and awslocal
- docker pull localstack/localstack # Make sure to pull the
latest version of the image
- localstack start -d # Start LocalStack in the
background
-
- echo "Waiting for LocalStack startup..." # Wait 30 seconds for the
LocalStack container
- localstack wait -t 30 # to become ready before
timing out
- echo "Startup complete"
- echo "Create fineract S3 bucket"
- awslocal s3api create-bucket --bucket fineract-reports
+ docker run -d --name localstack -p 4566:4566 -p 4510-4559:4510-4559
localstack/localstack:2.1
+ sleep 10
+ docker exec localstack awslocal s3api create-bucket --bucket
fineract-reports
echo "LocalStack initialization complete"
- name: Install additional software
run: |
diff --git a/.github/workflows/build-postgresql.yml
b/.github/workflows/build-postgresql.yml
index 6724df00b..bf5a23212 100644
--- a/.github/workflows/build-postgresql.yml
+++ b/.github/workflows/build-postgresql.yml
@@ -61,18 +61,9 @@ jobs:
AWS_SECRET_ACCESS_KEY: localstack
AWS_REGION: us-east-1
run: |
- echo "Update python pyopenssl"
- pip install --upgrade pyopenssl
- echo "Install localstack"
- pip install localstack awscli-local[ver1] # install LocalStack cli
and awslocal
- docker pull localstack/localstack # Make sure to pull the
latest version of the image
- localstack start -d # Start LocalStack in the
background
-
- echo "Waiting for LocalStack startup..." # Wait 30 seconds for the
LocalStack container
- localstack wait -t 30 # to become ready before
timing out
- echo "Startup complete"
- echo "Create fineract S3 bucket"
- awslocal s3api create-bucket --bucket fineract-reports
+ docker run -d --name localstack -p 4566:4566 -p 4510-4559:4510-4559
localstack/localstack:2.1
+ sleep 10
+ docker exec localstack awslocal s3api create-bucket --bucket
fineract-reports
echo "LocalStack initialization complete"
- name: Install additional software
run: |