Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
Schema
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
System
Schema
Merge requests
!298
Anthos pipeline [GONRG-4665]
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Anthos pipeline [GONRG-4665]
gcp-cicd-anthos
into
master
Overview
0
Commits
13
Pipelines
26
Changes
3
Merged
Mikhail Piatliou (EPAM)
requested to merge
gcp-cicd-anthos
into
master
2 years ago
Overview
0
Commits
13
Pipelines
26
Changes
3
Expand
0
0
Merge request reports
Compare
master
version 12
16a8c717
2 years ago
version 11
849dc88f
2 years ago
version 10
fa3d2739
2 years ago
version 9
7b227ae1
2 years ago
version 8
727bdf5e
2 years ago
version 7
826ae4de
2 years ago
version 6
b106230c
2 years ago
version 5
fb7b57d9
2 years ago
version 4
208ae743
2 years ago
version 3
31c491f7
2 years ago
version 2
de81addd
2 years ago
version 1
6f3daffb
2 years ago
master (base)
and
latest version
latest version
bd08edfd
13 commits,
2 years ago
version 12
16a8c717
12 commits,
2 years ago
version 11
849dc88f
11 commits,
2 years ago
version 10
fa3d2739
10 commits,
2 years ago
version 9
7b227ae1
9 commits,
2 years ago
version 8
727bdf5e
8 commits,
2 years ago
version 7
826ae4de
7 commits,
2 years ago
version 6
b106230c
6 commits,
2 years ago
version 5
fb7b57d9
5 commits,
2 years ago
version 4
208ae743
4 commits,
2 years ago
version 3
31c491f7
3 commits,
2 years ago
version 2
de81addd
2 commits,
2 years ago
version 1
6f3daffb
1 commit,
2 years ago
3 files
+
87
−
82
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
devops/gcp/bootstrap-osdu-module/bootstrap_schema.sh
+
2
−
2
Options
@@ -26,13 +26,13 @@ sleep 10
bootstrap_schema_onprem
()
{
BEARER
_TOKEN
=
"
$(
curl
--location
--request
POST
"
${
OPENID_PROVIDER_URL
}
/protocol/openid-connect/token"
\
ID
_TOKEN
=
"
$(
curl
--location
--request
POST
"
${
OPENID_PROVIDER_URL
}
/protocol/openid-connect/token"
\
--header
"Content-Type: application/x-www-form-urlencoded"
\
--data-urlencode
"grant_type=client_credentials"
\
--data-urlencode
"scope=openid"
\
--data-urlencode
"client_id=
${
OPENID_PROVIDER_CLIENT_ID
}
"
\
--data-urlencode
"client_secret=
${
OPENID_PROVIDER_CLIENT_SECRET
}
"
| jq
-r
".id_token"
)
"
export
BEARER_TOKEN
export
BEARER_TOKEN
=
"Bearer
${
ID_TOKEN
}
"
echo
"Bootstrap Schema Service On Prem"
python3 ./scripts/DeploySharedSchemas.py
-u
"
${
SCHEMA_URL
}
"
/api/schema-service/v1/schemas/system
Loading