Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
Partition
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
Partition
Commits
da9ab723
Commit
da9ab723
authored
2 years ago
by
Morris Estepa
Browse files
Options
Downloads
Patches
Plain Diff
Update buildspec
parent
040c3662
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!294
Update buildspec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
provider/partition-aws/build-aws/buildspec.yaml
+5
-1
5 additions, 1 deletion
provider/partition-aws/build-aws/buildspec.yaml
with
5 additions
and
1 deletion
provider/partition-aws/build-aws/buildspec.yaml
+
5
−
1
View file @
da9ab723
...
...
@@ -44,6 +44,10 @@ phases:
-
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`
# Install git secrets
#TODO temporarily adding hotfix, due to https://github.com/awslabs/git-secrets/issues/220
-
export SAY_LOCATION=`ln -s "$(which echo)" say`
-
export PATH="$PATH:$SAY_LOCATION"
-
git clone https://github.com/awslabs/git-secrets.git
-
cd git-secrets && make install && cd ..
-
git secrets --install && git secrets --register-aws
...
...
@@ -113,4 +117,4 @@ artifacts:
name
:
${REPO_NAME}_${BRANCH_NAME}_$(date +%F)_${CODEBUILD_BUILD_NUMBER}.zip
cache
:
paths
:
-
"
/root/.m2/**/*"
\ No newline at end of file
-
"
/root/.m2/**/*"
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