Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
Policy
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
Security and Compliance
Policy
Commits
bb7d38f0
Commit
bb7d38f0
authored
1 year ago
by
Andrei Skorkin [EPAM / GCP]
Committed by
Oleksandr Kosse (EPAM)
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Change image for tests to Python 3.9 (GONRG-6963)
parent
42ac38c3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!387
Httpfix
,
!354
Change image for tests to Python 3.9 (GONRG-6963)
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/tests/gc/run-integration-tests.sh
+4
-6
4 additions, 6 deletions
app/tests/gc/run-integration-tests.sh
devops/gc/pipeline/override-stages.yml
+0
-2
0 additions, 2 deletions
devops/gc/pipeline/override-stages.yml
with
4 additions
and
8 deletions
app/tests/gc/run-integration-tests.sh
+
4
−
6
View file @
bb7d38f0
...
...
@@ -4,15 +4,13 @@ set -e
cd
$CI_PROJECT_DIR
#auth steps
echo
$GC_INTEGRATION_TESTER
|
base64
-d
>
GC_INTEGRATION_TESTER.json
gcloud auth activate-service-account
--key-file
GC_INTEGRATION_TESTER.json
gcloud config
set
project
$GC_PROJECT
export
GOOGLE_APPLICATION_CREDENTIALS
=
"
$CI_PROJECT_DIR
/GC_INTEGRATION_TESTER.json"
export
BEARER_TOKEN
=
`
gcloud auth print-access-token
`
curl https://community.opengroup.org/api/v4/projects/1410/packages/generic/gc_auth_token/master/gc_auth_token
-o
gc_auth_token
chmod
+x gc_auth_token
export
BEARER_TOKEN
=
$(
./gc_auth_token
)
#prepare steps
apk add gcc musl-dev python3-dev libffi-dev openssl-dev cargo pkgconfig py3-pip
pip
install
-r
requirements.txt
pip
install
-r
requirements_dev.txt
for
REQ
in
$PIP_REQUIREMENTS
;
do
pip
install
-r
$REQ
;
done
cd
app
pip
install
-r
requirements.txt
...
...
This diff is collapsed.
Click to expand it.
devops/gc/pipeline/override-stages.yml
+
0
−
2
View file @
bb7d38f0
...
...
@@ -13,7 +13,6 @@ variables:
variables
:
gc-test-python
:
image
:
gcr.io/google.com/cloudsdktool/cloud-sdk:alpine
variables
:
POLICY_BUCKET
:
$GC_POLICY_BUCKET
CLOUD_PROVIDER
:
gc
...
...
@@ -23,7 +22,6 @@ gc-test-python:
PARTITION_BASE_URL
:
$HOST
gc-dev2-test-python
:
image
:
gcr.io/google.com/cloudsdktool/cloud-sdk:alpine
variables
:
POLICY_BUCKET
:
$GC_POLICY_BUCKET
CLOUD_PROVIDER
:
gc
...
...
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