Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
Legal
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 Software
OSDU Data Platform
Security and Compliance
Legal
Merge requests
!48
use env var for code artifact domain. dynamically use current account as repo owner
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
use env var for code artifact domain. dynamically use current account as repo owner
aws-ci
into
master
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Matt Wise
requested to merge
aws-ci
into
master
4 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
cc7db95c
1 commit,
4 years ago
1 file
+
2
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
provider/legal-aws/build-aws/buildspec.yaml
+
2
−
1
Options
@@ -31,7 +31,8 @@ phases:
-
echo $JAVA_HOME
#WHY
-
mkdir -p /root/.m2
-
cp ./provider/legal-aws/maven/settings.xml /root/.m2/settings.xml
# copy the AWS-specific settings.xml to the CodeBuild instance's .m2 folder
-
export AWS_OSDU_DEV_MAVEN_AUTH_TOKEN=`aws codeartifact get-authorization-token --domain osdu-dev --domain-owner 888733619319 --query authorizationToken --output text`
-
export AWS_ACCOUNT_ID=`aws sts get-caller-identity | grep Account | cut -d':' -f 2 | cut -d'"' -f 2`
-
export AWS_OSDU_DEV_MAVEN_AUTH_TOKEN=`aws codeartifact get-authorization-token --domain $AWS_OSDU_DEV_MAVEN_DOMAIN --domain-owner $AWS_ACCOUNT_ID --query authorizationToken --output text`
pre_build
:
commands
:
-
echo "Logging in to Amazon ECR..."
Loading