-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add changes required for dbt platform
Fix repository name Downgrade paketobuildpacks/builder-jammy-full trigger build add prebuild script to get submodules Downgrade Paketo buildpack to get older version of Python Bump buildpack Bump buildpack Add runtime.txt file with Python version Remove runtime.txt chore: specify required python version in pyroject.toml chore: specify required python version in pyroject.toml in single quotes chore: specify version of python in runtime.txt chore: add pipenv install --deploy to pre_build phase chore: remove pipenv install deploy from pre build phase update python version in runtime bump builder version revert back to python 3.8 update python version to 3.9 update pipfile.lock remove typed-ast package Remove comment as this is seen as a deployable process Add debugging for failed build Improve debugging Print what's in /layers for debugging Debug pack Debug in image_build_run.sh Test full version of Python configuration Remove debugging revert debug changes update pipfile.lock disable health checks that aren't working Add required Redis flags re-enable health check for storage remove redit config from settings file disable storage healthcheck test: remove all healthchecks other than the main one renable celery health checks Debug plugins remove plugins log line add additional debug lines disable celery plugins remove debug logging and commented out code run linter re-add redis config Try serving assets relative from the project root Enable Sentry APM Remove unused runtime.txt Revert "Remove unused runtime.txt" This reverts commit 0e7e489. Revert health checks and static asset path Remove typed-ast update pipfile.lock remove comments from phases revert pipfile re-add health checks when not in dbt platform
- Loading branch information
1 parent
6b5510e
commit 2911de0
Showing
9 changed files
with
62 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
repository: lite/lite-hmrc | ||
builder: | ||
name: paketobuildpacks/builder-jammy-full | ||
version: 0.3.339 |
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,6 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Exit early if something goes wrong | ||
set -x | ||
|
||
# Add commands below to run inside the container after all the other buildpacks have been applied |
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 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
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 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
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 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
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,18 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
git_clone_base_url="https://codestar-connections.eu-west-2.amazonaws.com/git-http/730335529260/eu-west-2/192881c6-e3f2-41a9-9dcb-fcc87d8b90be/uktrade" | ||
|
||
git config --global credential.helper '!aws codecommit credential-helper $@' | ||
git config --global credential.UseHttpPath true | ||
|
||
cat <<EOF > ./.gitmodules | ||
[submodule "django_db_anonymiser"] | ||
path = django_db_anonymiser | ||
url = $git_clone_base_url/django-db-anonymiser.git | ||
EOF | ||
|
||
git submodule update --init --remote --recursive | ||
|
||
echo "done" |
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# See gunicorn.conf.py for more configuration. | ||
web: python manage.py migrate && gunicorn conf.wsgi:application | ||
celeryworker: celery -A conf worker -l info | ||
celerybeat: celery -A conf beat -l info |
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 @@ | ||
python-3.9 |