Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/component breakout #221

Merged
merged 37 commits into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
8b73688
split components
joe-lipson Jun 13, 2024
b7484fc
commit build changes
joe-lipson Jun 13, 2024
bbd8d8c
commit build changes
joe-lipson Jun 13, 2024
07b656c
repo and tagging changes
joe-lipson Jun 13, 2024
99b5ea7
upgrade build containers
joe-lipson Jun 13, 2024
e9a10e3
remove base stack name from pipeline
joe-lipson Jun 13, 2024
3df184a
remove unused vars
joe-lipson Jun 13, 2024
51ca86b
remove the old containers component
joe-lipson Jun 13, 2024
85b3899
pass secret to the build component
joe-lipson Jun 13, 2024
b1bd499
import DB endpoints
joe-lipson Jun 13, 2024
64e544a
update DB stack name to point ot another branch
joe-lipson Jun 13, 2024
1d1e3d8
correct var name
joe-lipson Jun 13, 2024
a7270e0
tweak secrets vars
joe-lipson Jun 13, 2024
0bd0016
fix output ref
joe-lipson Jun 13, 2024
e1850be
simplify aws account id retrieval
joe-lipson Jun 14, 2024
0a2b669
revert to older ubuntu
joe-lipson Jun 14, 2024
a6de988
use default python in codebuild containers
joe-lipson Jun 14, 2024
fc5673e
tag Docker image with build number
joe-lipson Jun 14, 2024
54c2f59
remove the ID from the secret name
joe-lipson Jun 14, 2024
f13a6a1
add tag to push as well
joe-lipson Jun 14, 2024
01b5aca
pass aws account into deploy buildspec
joe-lipson Jun 14, 2024
627c2c1
simplify pipeline params
joe-lipson Jun 15, 2024
8de3d9e
Add latest tag
hamzajaved-csiro Jun 14, 2024
60b7394
Add latest tag in deploy spec
hamzajaved-csiro Jun 14, 2024
7417789
Add latest tag in deploy spec
hamzajaved-csiro Jun 14, 2024
d001b8c
remove stack name
joe-lipson Jun 15, 2024
57ff7ae
Update port number in ingress deployment
hamzajaved-csiro Jun 18, 2024
1220417
Update ingress in helm
hamzajaved-csiro Jun 18, 2024
35451d9
Update ingress in helm
hamzajaved-csiro Jun 19, 2024
5f90721
Update target port
hamzajaved-csiro Jun 20, 2024
2ef3f54
Update target port
hamzajaved-csiro Jun 20, 2024
7b2dc80
Update target port
hamzajaved-csiro Jun 20, 2024
df366be
Add SSL certificate and rds external name service
hamzajaved-csiro Jun 24, 2024
ceb0beb
Add external dns creation
hamzajaved-csiro Jul 4, 2024
cb28dfc
Add hostname
hamzajaved-csiro Jul 8, 2024
5318a52
Fix config.ini
hamzajaved-csiro Jul 8, 2024
24308f5
Delete old pipeline and update helm charts
hamzajaved-csiro Jul 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Thumbs.db
.DS_Store
.gradle
build/
/build/
.idea
*.iml
*.ipr
Expand Down
30 changes: 0 additions & 30 deletions cicd/alerts/app/alerts-cf.yaml

This file was deleted.

25 changes: 0 additions & 25 deletions cicd/alerts/pipeline/alerts_template_config.j2

This file was deleted.

46 changes: 0 additions & 46 deletions cicd/alerts/pipeline/buildspec-alerts-deploy.yml

This file was deleted.

58 changes: 0 additions & 58 deletions cicd/alerts/pipeline/buildspec-alerts.yml

This file was deleted.

28 changes: 0 additions & 28 deletions cicd/alerts/pipeline/dd_notification.sh

This file was deleted.

74 changes: 0 additions & 74 deletions cicd/alerts/pipeline/slack_notification.sh

This file was deleted.

12 changes: 10 additions & 2 deletions cicd/containers/app/base.yaml → cicd/base/app/base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Resources:
- Key: Branch
Value: !Ref pCleanBranch

AlertsSecrets:
AlertsSecret:
Type: 'AWS::SecretsManager::Secret'
Properties:
Name: !Sub
Expand All @@ -73,4 +73,12 @@ Outputs:

AlertsRepositoryArn:
Description: The ECR repository ARN for the Alerts service
Value: !GetAtt AlertsRepository.Arn
Value: !GetAtt AlertsRepository.Arn

AlertsRepositoryName:
Description: The ECR repository ARN for the Alerts service
Value: !Ref AlertsRepository

AlertsSecret:
Description: The Secrets name for alerts
Value: !Ref AlertsSecret
2 changes: 1 addition & 1 deletion cicd/containers/config.ini → cicd/base/config.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[DEFAULT]
PRODUCT_COMPONENT = containers
PRODUCT_COMPONENT = base
PIPELINE_STACK_NAME = ala-${PRODUCT_NAME}-${PRODUCT_COMPONENT}-pipeline-${ENVIRONMENT}
BASE_STACK_FILE_PFIX = base
BASE_STACK_NAME = ala-${PRODUCT_NAME}-${PRODUCT_COMPONENT}-${ENVIRONMENT}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ env:
phases:

install:
runtime-versions:
python: 3.9
commands:
- echo Running on $(lsb_release -d | cut -f2)
- echo aws-cli version $(aws --version)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ aws cloudformation deploy \
--region $REGION \
--capabilities CAPABILITY_IAM CAPABILITY_NAMED_IAM \
--parameter-overrides \
pBaseStackName=$BASE_STACK_NAME \
pAutoDeploy=$AUTO_DEPLOY \
pBootstrapStackName=$BOOTSTRAP_STACK_NAME \
pBucketsStackName=$BUCKETS_STACK_NAME \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ env:
exported-variables:
- CODEBUILD_BUILD_NUMBER
- BASE_STACK_FILE_PFIX
- BASE_STACK_NAME
- PRODUCT_NAME
- PRODUCT_COMPONENT
- SLACK_DEPLOY_NOTIFICATION
Expand All @@ -19,11 +20,10 @@ env:
phases:

install:
runtime-versions:
python: 3.9
commands:
- echo Running on $(lsb_release -d | cut -f2)
- echo aws-cli version $(aws --version)
- pip install jinja2
- export CUR_PIPELINE_FINGERPRINT=$(md5sum cicd/$PRODUCT_COMPONENT/pipeline/pipeline.yaml | awk '{print $1}')
- # This next bit checks if the running pipeline is out of sync with the pipeline in the
- # current code revision. If it is it re-launches itself! For a normal branch commit the
Expand Down
Loading