-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* include libs directly in docker builds
- Loading branch information
Showing
640 changed files
with
59,626 additions
and
64,931 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,18 @@ | ||
**/Dockerfile | ||
**/.dockerignore | ||
**/client/build | ||
**/var | ||
**/vendor | ||
**/node_modules | ||
**/.idea | ||
**/.php-cs-fixer.php | ||
**/.php-cs-fixer.cache | ||
**/.php_cs.cache | ||
/infra | ||
/bin | ||
**/.gitignore | ||
**/.github | ||
/doc | ||
/report | ||
/tmp | ||
**/dist |
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
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 |
---|---|---|
|
@@ -2,3 +2,6 @@ | |
/env.local | ||
/.env.local | ||
/tmp | ||
.turbo | ||
.pnpm-store | ||
node_modules |
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 @@ | ||
enable-pre-post-scripts=true |
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,17 @@ | ||
module.exports = { | ||
"trailingComma": "es5", | ||
"arrowParens": "avoid", | ||
"bracketSpacing": false, | ||
"quoteProps": "consistent", | ||
"tabWidth": 4, | ||
"semi": true, | ||
"singleQuote": true, | ||
"overrides": [ | ||
{ | ||
"files": "*.json", | ||
"options": { | ||
"tabWidth": 2 | ||
} | ||
} | ||
] | ||
} |
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 |
---|---|---|
|
@@ -6,7 +6,5 @@ set -e | |
|
||
load-env | ||
|
||
$(dirname $0)/update-libs.sh | ||
|
||
docker compose -f docker-compose.init.yml build | ||
docker compose build |
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,42 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
function echo_usage() { | ||
echo "Usage:" | ||
echo " $0 <namespace> <migration-name>" | ||
} | ||
|
||
if [ -z "$1" ]; then | ||
echo "Missing Kubernetes namespace." | ||
echo_usage | ||
exit 1 | ||
fi | ||
|
||
if [ -z "$2" ]; then | ||
echo "Missing migration name." | ||
echo_usage | ||
exit 1 | ||
fi | ||
|
||
if [ -z "$3" ]; then | ||
echo "Missing HELM release." | ||
echo_usage | ||
exit 1 | ||
fi | ||
|
||
NS="${1}" | ||
MIGRATION_NAME="${2}" | ||
RELEASE_NAME=phrasea | ||
RELEASE_VERSION="${3}" | ||
|
||
echo "Migrating..." | ||
|
||
helm -n ${NS} get values ${RELEASE_NAME} -o yaml > /tmp/.current-values.yaml | ||
|
||
helm pull https://github.com/alchemy-fr/alchemy-helm-charts-repo/releases/download/phrasea-${RELEASE_VERSION}/phrasea-${RELEASE_VERSION}.tgz | ||
|
||
echo "Executing migrations..." | ||
helm -n ${NS} upgrade ${RELEASE_NAME} ./phrasea-${RELEASE_VERSION}.tgz \ | ||
-f /tmp/.current-values.yaml \ | ||
--set "configurator.executeMigration=${MIGRATION_NAME}" |
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,6 +1,7 @@ | ||
#!/bin/sh | ||
|
||
DATABASES=" | ||
auth | ||
databox | ||
expose | ||
uploader | ||
|
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.