-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preparing for CodeBuild for dev deployment attempts
- Loading branch information
Showing
5 changed files
with
46 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
sudo mv /tmp/hartsfield.conf /etc/httpd/conf.d/hartsfield.conf | ||
sudo mv /tmp/ssl.conf /etc/httpd/conf.d/ssl.conf | ||
sudo /bin/systemctl restart httpd.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
sudo systemctl enable awslogsd.service | ||
sudo systemctl restart awslogsd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
PYTHONPATH='' aws s3 cp s3://hartsfield-deploy-configs/hartsfield/${EB_ENVIRONMENT}.py config/production-local.py | ||
printf "\nEB_ENVIRONMENT = '${EB_ENVIRONMENT}'\n\n" >> config/production-local.py | ||
chown webapp config/production-local.py | ||
chmod 400 config/production-local.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
version: 0.2 | ||
|
||
phases: | ||
install: | ||
runtime-versions: | ||
nodejs: 21 | ||
python: 3.11 | ||
commands: | ||
- node -v | ||
- npm install | ||
pre_build: | ||
commands: | ||
- echo "pre_build phase" | ||
build: | ||
commands: | ||
- npm run build-vue | ||
post_build: | ||
commands: | ||
- chmod 755 ./scripts/*.sh | ||
- ./scripts/create-build-summary.sh | ||
artifacts: | ||
files: | ||
- '.ebextensions/**/*' | ||
- 'dist/**/*' | ||
- 'requirements.txt' | ||
- 'hartsfield/**/*' | ||
- 'scripts/**/*' | ||
- 'application.py' | ||
- 'consoler.py' | ||
- 'config/**/*' | ||
- '.platform/**/*' | ||
- 'Procfile' | ||
|
2047dab
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did this directly, whoops! Maybe should have done to my fork & PR'd...apologies....
2047dab
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
making a feature fork and PR is almost always the right way to go. ;)