mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 14:33:10 -06:00
* Refactor ApplicationServiceWorkerState to be more robust * Add launch.json to VS Code * Implement login with JWT, registering with email, failed login rate limiting and reset password with m.login.email.identity auth type * Log errors when JWT parsing failed * Development build script * Fix linter errors * Use golangci-lint as a linter in VS Code * Fix tests with RtFailedLogin * Pass config load tests - parse JWT public key only if enabled * Reduce CI steps Do not support 386 arch and go 1.16, 1.17 * Fix linter errors * Change RtFailedLogin logic - nil pointer can be provided * Respect access token in query * Fix typos * Use only one mutex in RtFailedLogin * Remove eventsRemaining across appservice component * Push dendrite to production registry as well * Rafactor TestRtFailedLogin
12 lines
579 B
Bash
Executable file
12 lines
579 B
Bash
Executable file
set -xe
|
|
if [ -z "$(git status --porcelain)" ]; then
|
|
CGO_ENABLED=0 go build .
|
|
TAG=$(git rev-parse --short HEAD)
|
|
docker build -f Dockerfile.dev -t gcr.io/globekeeper-development/dendrite-monolith:$TAG -t gcr.io/globekeeper-development/dendrite-monolith -t gcr.io/globekeeper-production/dendrite-monolith:$TAG .
|
|
docker push gcr.io/globekeeper-development/dendrite-monolith:$TAG
|
|
docker push gcr.io/globekeeper-production/dendrite-monolith:$TAG
|
|
docker push gcr.io/globekeeper-development/dendrite-monolith
|
|
else
|
|
echo "Please commit changes"
|
|
exit 0
|
|
fi |