-
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 a new endpoint that CI/CD can use to obtain the Github release of the latest comparison /action/lastcomparegitrealase/{controlUuid}/ - add curl command for new route - Add version in login page - helmet configuration - remove cors package - Swagger documentation & links in UI - Authorization refactoring - security fix for logout - update version shell & lint
- Loading branch information
Showing
37 changed files
with
1,320 additions
and
532 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 |
---|---|---|
|
@@ -6,4 +6,5 @@ test/data/** | |
!test/data/.gitkeep | ||
test/devtest.test.ts | ||
coverage/** | ||
|
||
.envlocaldev | ||
public |
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
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,23 @@ | ||
#!/bin/bash | ||
# @author DHENRY for mytinydc.com | ||
# @license AGPL3 | ||
|
||
set -e | ||
|
||
# create this file and set env LOCALREGISTRY=[Your local container registry] | ||
source .envlocaldev | ||
|
||
# jq is needed | ||
which jq >/dev/null 2>&1 | ||
if [ "$?" == "1" ]; then | ||
echo "You have to install jq package" | ||
exit 1 | ||
fi | ||
TAG=$(jq '.version' package.json | sed -E 's/^"|"$//g') | ||
#PROGRESS="--progress plain" | ||
#NOCACHE="--no-cache" | ||
PLATFORM="--platform=linux/arm64" | ||
echo "Building image $LOCALREGISTRY:$TAG" | ||
sudo docker buildx build --load $PROGRESS $NOCACHE $PLATFORM -t $LOCALREGISTRY:$TAG -f Dockerfile . | ||
echo "Pushing image $LOCALREGISTRY:$TAG" | ||
sudo docker push "$LOCALREGISTRY":"$TAG" |
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
Oops, something went wrong.