Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Wellbore Domain Services
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSDU
OSDU Data Platform
Domain Data Management Services
Wellbore
Wellbore Domain Services
Commits
ae1c9a65
Commit
ae1c9a65
authored
3 years ago
by
Yunhua Koglin
Browse files
Options
Downloads
Patches
Plain Diff
update scripts
parent
ed7a25e1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!292
x-user-id fix
,
!288
Enable passing of x-user-id header from original request
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/aws-test/build-aws/prepare-dist.sh
+1
-5
1 addition, 5 deletions
tests/aws-test/build-aws/prepare-dist.sh
tests/aws-test/build-aws/run-tests.sh
+4
-4
4 additions, 4 deletions
tests/aws-test/build-aws/run-tests.sh
with
5 additions
and
9 deletions
tests/aws-test/build-aws/prepare-dist.sh
+
1
−
5
View file @
ae1c9a65
...
...
@@ -29,9 +29,5 @@ if [ ! -e requirements_dev.txt ]; then
else
cp
requirements_dev.txt tests/aws-test/build-aws/requirements.txt
fi
cp
-r
tests/aws-test
"
${
INTEGRATION_TEST_OUTPUT_DIR
}
"
cp
-r
tests/integration
"
${
INTEGRATION_TEST_OUTPUT_DIR
}
"
cp
-r
tests/dependencies
"
${
INTEGRATION_TEST_OUTPUT_DIR
}
"
cp
-r
tests/performance
"
${
INTEGRATION_TEST_OUTPUT_DIR
}
"
cp
-r
tests/unit
"
${
INTEGRATION_TEST_OUTPUT_DIR
}
"
cp
-r
tests
"
${
INTEGRATION_TEST_OUTPUT_DIR
}
"
cp
-r
wdms_client
"
${
INTEGRATION_TEST_OUTPUT_DIR
}
"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
tests/aws-test/build-aws/run-tests.sh
+
4
−
4
View file @
ae1c9a65
...
...
@@ -14,7 +14,7 @@
# This script executes the test and copies reports to the provided output directory
# To call this script from the service working directory
# ./dist/testing/integration/build-aws/run-tests.sh "./reports/"
# ./dist/testing/
tests/
integration/build-aws/run-tests.sh "./reports/"
echo
'********* Running Wellbore DDMS integration tests *********'
SCRIPT_SOURCE_DIR
=
$(
dirname
"
$0
"
)
...
...
@@ -38,15 +38,15 @@ token=$(aws cognito-idp initiate-auth --auth-flow USER_PASSWORD_AUTH --client-id
#### RUN INTEGRATION TEST #########################################################################
pushd
"
$SCRIPT_SOURCE_DIR
"
/../../
pushd
"
$SCRIPT_SOURCE_DIR
"
/../../
../
echo
$(
pwd
)
python3
-m
venv
env
source env
/bin/activate
python3
-m
pip
install
-r
./aws-test/build-aws/requirements.txt
python3
-m
pip
install
-r
./
tests/
aws-test/build-aws/requirements.txt
rm
-rf
test-reports/
mkdir
test-reports
cd
integration
cd
tests/
integration
acl_domain
=
'example.com'
legal_tag
=
'opendes-sdmstestlegaltag'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment