-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rewrite module names * Rewrite enlil packages to share packages * Rewrite docker enlil -> share * Rewrite enlil -> share in source * Rewrite makefile enlil -> share * Rewrite ci enlil -> share * Speed up docker builds
- Loading branch information
1 parent
2848c14
commit 63928c6
Showing
187 changed files
with
1,594 additions
and
1,596 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 @@ | ||
/.github/ @unisoncomputing/share |
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
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,6 @@ | ||
module Main where | ||
|
||
import Enlil | ||
import Share | ||
import Env (withEnv) | ||
|
||
main :: IO () | ||
|
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,18 +1,18 @@ | ||
FROM debian:bookworm | ||
RUN apt-get update && apt-get install -y ssl-cert libpq5 ca-certificates curl locales | ||
RUN openssl genrsa -out /etc/ssl/private/enlil.key &&\ | ||
RUN openssl genrsa -out /etc/ssl/private/share.key &&\ | ||
echo "C.UTF-8 UTF-8" > /etc/locale.gen &&\ | ||
dpkg-reconfigure --frontend=noninteractive locales &&\ | ||
update-locale LANG=C.UTF-8 | ||
ENV LANG=C.UTF-8 | ||
|
||
COPY enlil-entrypoint.sh /usr/local/bin/enlil-entrypoint | ||
RUN chmod 555 /usr/local/bin/enlil-entrypoint | ||
COPY share-entrypoint.sh /usr/local/bin/share-entrypoint | ||
RUN chmod 555 /usr/local/bin/share-entrypoint | ||
|
||
COPY tmp/enlil-exe /usr/local/bin/enlil | ||
RUN chmod 555 /usr/local/bin/enlil | ||
COPY tmp/share-api /usr/local/bin/share | ||
RUN chmod 555 /usr/local/bin/share | ||
|
||
ENTRYPOINT /usr/local/bin/enlil-entrypoint | ||
ENTRYPOINT /usr/local/bin/share-entrypoint | ||
|
||
ARG ENLIL_COMMIT | ||
ENV ENLIL_COMMIT=$ENLIL_COMMIT | ||
ARG SHARE_COMMIT | ||
ENV SHARE_COMMIT=$SHARE_COMMIT |
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 |
---|---|---|
|
@@ -52,32 +52,32 @@ services: | |
|
||
environment: | ||
# Placeholder values for development | ||
- ENLIL_API_ORIGIN=http://enlil | ||
- ENLIL_SERVER_PORT=5424 | ||
- ENLIL_ADMIN_PORT=5425 | ||
- ENLIL_CLIENT_HOSTNAME=0.0.0.0 | ||
- ENLIL_CLIENT_PORT=5426 | ||
- ENLIL_REDIS=redis://redis:6379 | ||
- ENLIL_POSTGRES=postgresql://postgres:sekrit@postgres:5432 | ||
- ENLIL_HMAC_KEY=test-key-test-key-test-key-test-key- | ||
- ENLIL_DEPLOYMENT=local | ||
- ENLIL_IP=enlil | ||
- ENLIL_AWS_CREDENTIAL_URL=invalid | ||
- SHARE_API_ORIGIN=http://share-api | ||
- SHARE_SERVER_PORT=5424 | ||
- SHARE_ADMIN_PORT=5425 | ||
- SHARE_CLIENT_HOSTNAME=0.0.0.0 | ||
- SHARE_CLIENT_PORT=5426 | ||
- SHARE_REDIS=redis://redis:6379 | ||
- SHARE_POSTGRES=postgresql://postgres:sekrit@postgres:5432 | ||
- SHARE_HMAC_KEY=test-key-test-key-test-key-test-key- | ||
- SHARE_DEPLOYMENT=local | ||
- SHARE_IP=share-api | ||
- SHARE_AWS_CREDENTIAL_URL=invalid | ||
- AWS_REGION=invalid | ||
- ENLIL_POSTGRES_CONN_TTL=30 | ||
- ENLIL_POSTGRES_CONN_MAX=10 | ||
- ENLIL_SHARE_UI_ORIGIN=http://localhost:1234 | ||
- ENLIL_CLOUD_UI_ORIGIN=http://localhost:5678 | ||
- ENLIL_HOMEPAGE_ORIGIN=http://localhost:1111 | ||
- ENLIL_CLOUD_HOMEPAGE_ORIGIN=http://localhost:2222 | ||
- ENLIL_LOG_LEVEL=DEBUG | ||
- ENLIL_COMMIT=dev | ||
- ENLIL_MAX_PARALLELISM_PER_DOWNLOAD_REQUEST=1 | ||
- ENLIL_MAX_PARALLELISM_PER_UPLOAD_REQUEST=5 | ||
- ENLIL_ZENDESK_API_USER[email protected] | ||
- ENLIL_ZENDESK_API_TOKEN=bad-password | ||
- ENLIL_GITHUB_CLIENTID=invalid | ||
- ENLIL_GITHUB_CLIENT_SECRET=invalid | ||
- SHARE_POSTGRES_CONN_TTL=30 | ||
- SHARE_POSTGRES_CONN_MAX=10 | ||
- SHARE_SHARE_UI_ORIGIN=http://localhost:1234 | ||
- SHARE_CLOUD_UI_ORIGIN=http://localhost:5678 | ||
- SHARE_HOMEPAGE_ORIGIN=http://localhost:1111 | ||
- SHARE_CLOUD_HOMEPAGE_ORIGIN=http://localhost:2222 | ||
- SHARE_LOG_LEVEL=DEBUG | ||
- SHARE_COMMIT=dev | ||
- SHARE_MAX_PARALLELISM_PER_DOWNLOAD_REQUEST=1 | ||
- SHARE_MAX_PARALLELISM_PER_UPLOAD_REQUEST=5 | ||
- SHARE_ZENDESK_API_USER[email protected] | ||
- SHARE_ZENDESK_API_TOKEN=bad-password | ||
- SHARE_GITHUB_CLIENTID=invalid | ||
- SHARE_GITHUB_CLIENT_SECRET=invalid | ||
- AWS_ACCESS_KEY_ID=invalid | ||
- AWS_SECRET_ACCESS_KEY=invalid | ||
|
||
|
Oops, something went wrong.