Skip to content
Snippets Groups Projects
Commit 66dec0d4 authored by Marc Burnie [AWS]'s avatar Marc Burnie [AWS]
Browse files

Versioning helm charts.

commit 71196f7d 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Tue Aug 30 2022 09:21:07 GMT-0500 (Central Daylight Time) 

    Merge branch 'dev' into helm


commit 084d2ded 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Tue Aug 30 2022 07:39:19 GMT-0500 (Central Daylight Time) 

    muting wget


commit b6d36280 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Mon Aug 29 2022 13:51:59 GMT-0500 (Central Daylight Time) 

    adding versioning helm chart


commit 2ef19848 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Fri Jul 29 2022 20:42:11 GMT-0500 (Central Daylight Time) 

    changing role arn


commit 7b971feb 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Fri Jul 29 2022 15:01:12 GMT-0500 (Central Daylight Time) 

    Merge branch 'dev' into helm


commit f2f5dfff 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Fri Jul 29 2022 14:55:57 GMT-0500 (Central Daylight Time) 

    using release namespace


commit 832fd4fb 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Wed Jul 27 2022 16:29:28 GMT-0500 (Central Daylight Time) 

    using release namespace


commit 76f81d82 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Wed Jul 27 2022 13:31:29 GMT-0500 (Central Daylight Time) 

    using service name in template naming sheme due to shared namespacing


commit fff30e9f 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Tue Jul 26 2022 16:28:25 GMT-0500 (Central Daylight Time) 

    correcting hpa resource


commit c3d5a401 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Tue Jul 26 2022 10:42:43 GMT-0500 (Central Daylight Time) 

    adding build files to helmignore


commit 419e362c 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Mon Jul 25 2022 16:53:57 GMT-0500 (Central Daylight Time) 

    correcting README


commit c8149f38 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Mon Jul 25 2022 15:13:28 GMT-0500 (Central Daylight Time) 

    fixing schema


commit 30c3237a 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Fri Jul 22 2022 12:43:39 GMT-0500 (Central Daylight Time) 

    moving some parameters to global values


commit ddbe407e 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Wed Jul 20 2022 14:41:19 GMT-0500 (Central Daylight Time) 

    adding initial service helm chart
parent dee96547
No related branches found
No related tags found
1 merge request!376Adding AWS Helm Charts
Pipeline #135206 failed
apiVersion: v2
name: "os-schema"
version: 0.1.0
version:
kubeVersion: "v1.21.x-x-x"
description: Schema Helm Chart for Kubernetes
type: application
......
......@@ -41,6 +41,7 @@ phases:
- mvn -version
- mkdir -p /root/.m2
- cp ./provider/schema-aws/maven/settings.xml /root/.m2/settings.xml # copy the AWS-specific settings.xml to the CodeBuild instance's .m2 folder
- wget https://github.com/mikefarah/yq/releases/download/v4.27.2/yq_linux_amd64 -q -O /usr/bin/yq && chmod +x /usr/bin/yq
# Get the AWS Maven Auth Token
- 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`
......@@ -61,15 +62,13 @@ phases:
- mkdir -p ${OUTPUT_DIR}/bin
- mkdir -p ${OUTPUT_DIR}/testing && mkdir -p ${INTEGRATION_TEST_OUTPUT} && mkdir -p ${INTEGRATION_TEST_OUTPUT}/bin
- echo "Placeholder" >> ${OUTPUT_DIR}/build-info.json # touched so that the output directory has some content incase the build fails so that testing reports are uploaded
- pom_version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
- export VERSION=${pom_version%-*}
- printenv
- echo "Building primary service assemblies..."
- mvn install -N # required for this service to install the parent pom so that the integration tests will find it
- mvn -B test install sonar:sonar -pl .,schema-core,provider/schema-aws -Ddeployment.environment=prod -Dsonar.login=${SONAR_USERNAME} -Dsonar.password=${SONAR_PASSWORD} -Dsonar.branch.name=${BRANCH_NAME}
# Suspended until further notice
# - echo "Copying assemblies to dist..."
# - cp ./provider/delivery-aws/target/*spring-boot.jar ${OUTPUT_DIR}/bin # copy aws jars
# - cp ./delivery-core/target/*.jar ${OUTPUT_DIR}/bin # copy core jar
- echo "Building integration testing assemblies and gathering artifacts..."
#Needed to add this for Windows
......@@ -80,6 +79,7 @@ phases:
- chmod +x ./deployments/scripts/aws/prepare-dist.sh
- ./deployments/scripts/aws/prepare-dist.sh
- yq -i '.version = strenv(VERSION)' devops/aws/chart/Chart.yaml
- echo "--Copying Helm Charts to ${OUTPUT_DIR:-dist}--"
- rsync -r devops/aws/* "${OUTPUT_DIR:-dist}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment