Skip to content

Commit

Permalink
Merge branch 'main' into MIJN-6678-move-to-post
Browse files Browse the repository at this point in the history
  • Loading branch information
timvanoostrom authored Dec 4, 2023
2 parents 9d2446e + 21bc92d commit 09e79e4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
SERVER_CLIENT_KEY = os.getenv("MIJN_DATA_CLIENT_KEY")

# TODO: Add other AZ env conditions after migration.
if IS_TEST:
if IS_TAP and SERVER_CLIENT_CERT is not None:
# https://stackoverflow.com/a/46570364/756075
# Server security / certificates
cert = tempfile.NamedTemporaryFile(delete=False)
Expand Down
2 changes: 0 additions & 2 deletions azure-pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ variables:
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
- name: btdDeploy
value: ${{ parameters.btdDeploy }}
- name: dtapName
value: t
- ${{ if ne(parameters.dtapName, 'none') }}:
- name: dtapName
value: ${{ parameters.dtapName }}
Expand Down
7 changes: 3 additions & 4 deletions conf/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
set -e

# AZ AppService allows SSH into a App instance.
if [ $MA_OTAP_ENV == "test" ]
then
# echo "Starting SSH ..."
service ssh start
if [ "$MA_OTAP_ENV" = "test" ]; then
echo "Starting SSH ..."
service ssh start
fi

uwsgi --uid www-data --gid www-data --ini /api/uwsgi.ini

0 comments on commit 09e79e4

Please sign in to comment.