Skip to content

Commit 63928c6

Browse files
authored
Rename Enlil -> Share (#1)
* 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
1 parent 2848c14 commit 63928c6

File tree

187 files changed

+1594
-1596
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

187 files changed

+1594
-1596
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/.github/ @unisoncomputing/share

.github/workflows/ci.yaml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,20 @@ jobs:
3232
submodules: false
3333
- name: Get changed files
3434
id: changed-files
35-
uses: tj-actions/changed-files@v41
35+
uses: tj-actions/changed-files@0874344d6ebbaa00a27da73276ae7162fadcaf69 # v44.3.0
3636
with:
3737
# globs copied from default settings for run-ormolu
3838
files: |
3939
**/*.hs
4040
**/*.hs-boot
4141
separator: "\n"
42-
- uses: haskell-actions/run-ormolu@v15
42+
- uses: haskell-actions/run-ormolu@15b0083a0ef416915994fb511652b187f6026a40 # v15.0.0
4343
with:
4444
version: ${{ env.ormolu_version }}
4545
mode: inplace
4646
pattern: ${{ steps.changed-files.outputs.all_changed_files }}
4747
- name: apply formatting changes
48-
uses: stefanzweifel/git-auto-commit-action@v5
48+
uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1
4949
# Only try to commit formatting changes if we're running within the repo containing the PR,
5050
# and not on a protected branch.
5151
# The job doesn't have permission to push back to contributor forks on contributor PRs.
@@ -81,7 +81,7 @@ jobs:
8181
${{ (env.is_published_build && '--ghc-options -O2') || '--fast' }}
8282
8383
- name: Save exes for docker build
84-
uses: actions/upload-artifact@v2
84+
uses: actions/upload-artifact@v4
8585
with:
8686
name: share-api-exe
8787
path: ${{env.share_local_bin}}
@@ -96,7 +96,6 @@ jobs:
9696

9797
# A separate job for docker build because it requires elevated github token permissions.
9898
docker-build:
99-
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging') }}
10099
env:
101100
container_registry: ghcr.io
102101
docker_image_name: ${{ github.repository }}
@@ -119,15 +118,15 @@ jobs:
119118
submodules: false
120119

121120
# Downloads the artifact that contains the share-api-exe from the previous job.
122-
- uses: actions/download-artifact@v2
121+
- uses: actions/download-artifact@v4
123122
with:
124123
name: share-api-exe
125124
path: ./docker/tmp/
126125

127126
# Configure Docker's builder,
128127
# This seems necessary to support docker cache layers.
129128
- name: Setup Docker buildx
130-
uses: docker/setup-buildx-action@v2
129+
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0
131130

132131

133132
# Uses the `docker/login-action` action to log in to the Container registry registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here.
@@ -156,7 +155,7 @@ jobs:
156155
# It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step.
157156
- name: Build and push Docker image
158157
id: push
159-
uses: docker/build-push-action@v5
158+
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
160159
with:
161160
context: ./docker/
162161
push: ${{ env.is_published_build }}
@@ -166,20 +165,20 @@ jobs:
166165
cache-from: type=gha
167166
cache-to: type=gha,mode=max
168167
build-args: |
169-
ENLIL_COMMIT=${{ github.sha }}
168+
SHARE_COMMIT=${{ github.sha }}
170169
# Save image locally for use in tests even if we don't push it.
171170
outputs: type=docker,dest=/tmp/share-docker-image.tar # export docker image
172171

173172
- name: Save docker image for transcript tests
174-
uses: actions/upload-artifact@v2
173+
uses: actions/upload-artifact@v4
175174
with:
176175
name: share-docker-image
177176
path: /tmp/share-docker-image.tar
178177

179178
# NOTE: disabled until repo goes public
180179
# This step generates an artifact attestation for the image, which is an unforgeable statement about where and how it was built. It increases supply chain security for people who consume the image. For more information, see "[AUTOTITLE](/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds)."
181180
# - name: Generate artifact attestation
182-
# uses: actions/attest-build-provenance@v1
181+
# uses: actions/attest-build-provenance@v1.1.0
183182
# with:
184183
# subject-name: ${{ env.container_registry }}/${{ env.docker_image_name}}
185184
# subject-digest: ${{ steps.push.outputs.digest }}
@@ -207,17 +206,17 @@ jobs:
207206
# Configure Docker's builder,
208207
# This seems necessary to support docker cache layers.
209208
- name: Setup Docker buildx
210-
uses: docker/setup-buildx-action@v2
209+
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0
211210

212211
- name: Download artifact
213-
uses: actions/download-artifact@v2
212+
uses: actions/download-artifact@v4
214213
with:
215214
name: share-docker-image
216215
path: /tmp
217216

218217
# Load this before using docker and it'll cache images we use in the docker-compose
219218
- name: Cache Docker images.
220-
uses: ScribeMD/docker-cache@0.5.0
219+
uses: ScribeMD/docker-cache@fb28c93772363301b8d0a6072ce850224b73f74e # v0.5.0
221220
with:
222221
key: docker-${{ runner.os }} }}
223222

@@ -243,7 +242,7 @@ jobs:
243242
# Clean up old postgres data if it exists.
244243
docker volume rm docker_postgresVolume 2>/dev/null || true
245244
246-
# Start enlil and it's dependencies in the background
245+
# Start share and it's dependencies in the background
247246
docker compose -f docker/docker-compose.yml up --wait
248247
249248
# Run the transcript tests

Makefile

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@
33
UNAME := $(shell uname)
44
STACK_FLAGS := "--fast"
55
dist_dir := $(shell stack path | awk '/^dist-dir/{print $$2}')
6-
exe_name := enlil-exe
7-
inst_exe_name := enlil
6+
exe_name := share-api
87
exe := $(dist_dir)/build/$(exe_name)/$(exe_name)
98
target_dir := docker/tmp
10-
installed_enlil := $(target_dir)/$(inst_exe_name)
9+
installed_share := $(target_dir)/$(exe_name)
1110
unison := $(shell command -v unison)
1211
docker_registry=324181518966.dkr.ecr.us-west-2.amazonaws.com
13-
enlil_commit := $(shell git diff-index --quiet HEAD -- && git rev-parse --short=10 HEAD || echo 'wip')
12+
share_commit := $(shell git diff-index --quiet HEAD -- && git rev-parse --short=10 HEAD || echo 'wip')
1413

1514
OPEN_BROWSER ?= "true"
1615

@@ -29,30 +28,30 @@ $(target_dir):
2928
$(exe): $(shell find . unison -type f -name '*.hs') package.yaml stack.yaml
3029
@echo $(exe)
3130
@echo $@
32-
stack build $(STACK_FLAGS) enlil:enlil-exe
31+
stack build $(STACK_FLAGS) share-api:share-api
3332

34-
$(installed_enlil): $(exe) $(target_dir)
35-
cp $(exe) $(installed_enlil)
33+
$(installed_share): $(exe) $(target_dir)
34+
cp $(exe) $(installed_share)
3635

3736
auth_example:
3837
stack build --fast test-auth-app
3938

40-
docker_server_build: $(installed_enlil)
41-
docker build $(docker_platform_flag) -f docker/Dockerfile --build-arg ENLIL_COMMIT=$(enlil_commit) -t share docker
39+
docker_server_build: $(installed_share)
40+
docker build $(docker_platform_flag) -f docker/Dockerfile --build-arg share_commit=$(share_commit) -t share docker
4241

43-
docker_server_release: $(installed_enlil)
42+
docker_server_release: $(installed_share)
4443
docker build $(docker_platform_flag) -f docker/Dockerfile -t $(docker_registry)/share:$(DRONE_BUILD_NUMBER) docker
4544

4645
docker_push: $(docker_server_release)
4746
docker push $(docker_registry)/share:$(DRONE_BUILD_NUMBER)
4847

49-
docker_staging_release: $(installed_enlil)
48+
docker_staging_release: $(installed_share)
5049
docker build $(docker_platform_flag) -f docker/Dockerfile -t $(docker_registry)/share-staging:$(DRONE_BUILD_NUMBER) docker
5150

5251
docker_staging_push: $(docker_server_release)
5352
docker push $(docker_registry)/share-staging:$(DRONE_BUILD_NUMBER)
5453

55-
serve: $(installed_enlil)
54+
serve: $(installed_share)
5655
trap 'docker-compose -f docker/docker-compose.yml down' EXIT INT TERM
5756
docker-compose -f docker/docker-compose.yml up postgres redis &
5857
while ! ( pg_isready --host localhost -U postgres -p 5432 && redis-cli -p 6379 ping) do \

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Unison Share
22

3-
Note: Originally this project was named `Enlil`, there are many references to `Enlil` in the codebase and documentation, you may mentally substitute `Share` into those spots instead.
4-
53
* [Setup](#setup)
64
* [MacOS](#macos)
75
* [Nix](#nix)

app/Env.hs

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ import Data.Set qualified as Set
1515
import Data.Text qualified as Text
1616
import Data.Text.Encoding qualified as Text
1717
import Database.Redis qualified as Redis
18-
import Enlil.Env
19-
import Enlil.JWT qualified as JWT
20-
import Enlil.Prelude
21-
import Enlil.Utils.Deployment qualified as Deployment
22-
import Enlil.Utils.Logging qualified as Logging
23-
import Enlil.Utils.Servant.Cookies qualified as Cookies
24-
import Enlil.Web.Authentication (cookieSessionTTL)
18+
import Share.Env
19+
import Share.JWT qualified as JWT
20+
import Share.Prelude
21+
import Share.Utils.Deployment qualified as Deployment
22+
import Share.Utils.Logging qualified as Logging
23+
import Share.Utils.Servant.Cookies qualified as Cookies
24+
import Share.Web.Authentication (cookieSessionTTL)
2525
import Hasql.Pool qualified as Pool
2626
import Network.URI (parseURI)
2727
import Servant.API qualified as Servant
@@ -35,42 +35,42 @@ import Unison.Runtime.Interface as RT
3535

3636
withEnv :: (Env () -> IO a) -> IO a
3737
withEnv action = do
38-
apiOrigin <- fromEnv "ENLIL_API_ORIGIN" (pure . maybeToEither "Invalid ENLIL_API_ORIGIN" . parseURI)
39-
serverPort <- fromEnv "ENLIL_SERVER_PORT" readPort
38+
apiOrigin <- fromEnv "SHARE_API_ORIGIN" (pure . maybeToEither "Invalid SHARE_API_ORIGIN" . parseURI)
39+
serverPort <- fromEnv "SHARE_SERVER_PORT" readPort
4040
shouldCheckForMigration <-
41-
lookupEnv "ENLIL_MIGRATE_ON_STARTUP" <&> \case
41+
lookupEnv "SHARE_MIGRATE_ON_STARTUP" <&> \case
4242
Nothing -> False
4343
Just val -> case map Char.toLower val of
4444
'f' : _ -> False
4545
'0' : _ -> False
4646
[] -> False
4747
_ -> True
48-
postgresConfig <- fromEnv "ENLIL_POSTGRES" (pure . Right . Text.pack)
49-
postgresConnMax <- fromEnv "ENLIL_POSTGRES_CONN_MAX" (pure . maybeToEither "Invalid ENLIL_POSTGRES_CONN_MAX" . readMaybe)
50-
githubClientID <- fromEnv "ENLIL_GITHUB_CLIENTID" (pure . Right . Text.pack)
51-
githubClientSecret <- fromEnv "ENLIL_GITHUB_CLIENT_SECRET" (pure . Right . Text.pack)
52-
hs256Key <- fromEnv "ENLIL_HMAC_KEY" (pure . Right . BS.pack)
53-
zendeskAPIUser <- fromEnv "ENLIL_ZENDESK_API_USER" (pure . Right . BS.pack)
54-
zendeskAPIToken <- fromEnv "ENLIL_ZENDESK_API_TOKEN" (pure . Right . BS.pack)
48+
postgresConfig <- fromEnv "SHARE_POSTGRES" (pure . Right . Text.pack)
49+
postgresConnMax <- fromEnv "SHARE_POSTGRES_CONN_MAX" (pure . maybeToEither "Invalid SHARE_POSTGRES_CONN_MAX" . readMaybe)
50+
githubClientID <- fromEnv "SHARE_GITHUB_CLIENTID" (pure . Right . Text.pack)
51+
githubClientSecret <- fromEnv "SHARE_GITHUB_CLIENT_SECRET" (pure . Right . Text.pack)
52+
hs256Key <- fromEnv "SHARE_HMAC_KEY" (pure . Right . BS.pack)
53+
zendeskAPIUser <- fromEnv "SHARE_ZENDESK_API_USER" (pure . Right . BS.pack)
54+
zendeskAPIToken <- fromEnv "SHARE_ZENDESK_API_TOKEN" (pure . Right . BS.pack)
5555
let zendeskAuth = Servant.BasicAuthData zendeskAPIUser zendeskAPIToken
56-
commitHash <- fromEnv "ENLIL_COMMIT" (pure . Right . Text.pack)
56+
commitHash <- fromEnv "SHARE_COMMIT" (pure . Right . Text.pack)
5757
minLogSeverity <-
58-
lookupEnv "ENLIL_LOG_LEVEL" >>= \case
58+
lookupEnv "SHARE_LOG_LEVEL" >>= \case
5959
Nothing -> pure Logging.Info
6060
Just (map toUpper -> "DEBUG") -> pure Logging.Debug
6161
Just (map toUpper -> "INFO") -> pure Logging.Info
6262
Just (map toUpper -> "ERROR") -> pure Logging.Error
6363
Just (map toUpper -> "USERERROR") -> pure Logging.UserFault
6464
Just x -> putStrLn ("Unknown logging level: " <> x) >> exitWith (ExitFailure 1)
65-
shareUiOrigin <- fromEnv "ENLIL_SHARE_UI_ORIGIN" (pure . maybeToEither "Invalid ENLIL_SHARE_UI_ORIGIN" . parseURI)
66-
websiteOrigin <- fromEnv "ENLIL_HOMEPAGE_ORIGIN" (pure . maybeToEither "Invalid ENLIL_HOMEPAGE_ORIGIN" . parseURI)
67-
cloudUiOrigin <- fromEnv "ENLIL_CLOUD_UI_ORIGIN" (pure . maybeToEither "Invalid ENLIL_CLOUD_UI_ORIGIN" . parseURI)
68-
maxParallelismPerDownloadRequest <- fromEnv "ENLIL_MAX_PARALLELISM_PER_DOWNLOAD_REQUEST" (pure . maybeToEither "Invalid ENLIL_MAX_PARALLELISM_PER_DOWNLOAD_REQUEST" . readMaybe)
69-
maxParallelismPerUploadRequest <- fromEnv "ENLIL_MAX_PARALLELISM_PER_UPLOAD_REQUEST" (pure . maybeToEither "Invalid ENLIL_MAX_PARALLELISM_PER_UPLOAD_REQUEST" . readMaybe)
70-
cloudWebsiteOrigin <- fromEnv "ENLIL_CLOUD_HOMEPAGE_ORIGIN" (pure . maybeToEither "Invalid ENLIL_CLOUD_HOMEPAGE_ORIGIN" . parseURI)
65+
shareUiOrigin <- fromEnv "SHARE_SHARE_UI_ORIGIN" (pure . maybeToEither "Invalid SHARE_SHARE_UI_ORIGIN" . parseURI)
66+
websiteOrigin <- fromEnv "SHARE_HOMEPAGE_ORIGIN" (pure . maybeToEither "Invalid SHARE_HOMEPAGE_ORIGIN" . parseURI)
67+
cloudUiOrigin <- fromEnv "SHARE_CLOUD_UI_ORIGIN" (pure . maybeToEither "Invalid SHARE_CLOUD_UI_ORIGIN" . parseURI)
68+
maxParallelismPerDownloadRequest <- fromEnv "SHARE_MAX_PARALLELISM_PER_DOWNLOAD_REQUEST" (pure . maybeToEither "Invalid SHARE_MAX_PARALLELISM_PER_DOWNLOAD_REQUEST" . readMaybe)
69+
maxParallelismPerUploadRequest <- fromEnv "SHARE_MAX_PARALLELISM_PER_UPLOAD_REQUEST" (pure . maybeToEither "Invalid SHARE_MAX_PARALLELISM_PER_UPLOAD_REQUEST" . readMaybe)
70+
cloudWebsiteOrigin <- fromEnv "SHARE_CLOUD_HOMEPAGE_ORIGIN" (pure . maybeToEither "Invalid SHARE_CLOUD_HOMEPAGE_ORIGIN" . parseURI)
7171

7272
sentryService <-
73-
lookupEnv "ENLIL_SENTRY_DSN" >>= \case
73+
lookupEnv "SHARE_SENTRY_DSN" >>= \case
7474
Nothing -> do
7575
putStrLn "No Sentry configuration detected."
7676
Sentry.disabledRaven
@@ -80,7 +80,7 @@ withEnv action = do
8080
Sentry.initRaven dsn sentryTags Sentry.sendRecord Sentry.stderrFallback
8181

8282
redisConfig <-
83-
(fromEnv "ENLIL_REDIS" (pure . Redis.parseConnectInfo)) <&> \r ->
83+
(fromEnv "SHARE_REDIS" (pure . Redis.parseConnectInfo)) <&> \r ->
8484
let tlsParams
8585
| Deployment.onLocal = Nothing
8686
| otherwise = Nothing
@@ -93,15 +93,15 @@ withEnv action = do
9393
pgConnectionPool <-
9494
Pool.acquire postgresConnMax Nothing (Text.encodeUtf8 postgresConfig)
9595
timeCache <- FL.newTimeCache FL.simpleTimeFormat -- E.g. 05/Sep/2023:13:23:56 -0700
96-
sandboxedRuntime <- RT.startRuntime True RT.Persistent "enlil"
96+
sandboxedRuntime <- RT.startRuntime True RT.Persistent "share"
9797
let requestCtx = ()
9898
-- We use a zero-width-space to separate log-lines on ingestion, this allows us to use newlines for
9999
-- formatting, but without affecting log-grouping.
100100
let zeroWidthSpace = "\x200B"
101101
FL.withFastLogger (FL.LogStderr FL.defaultBufSize) $ \logger -> do
102102
action $ Env {logger = (logger . (\msg -> zeroWidthSpace <> msg <> "\n")), ..}
103103
where
104-
readPort p = pure $ maybeToRight "ENLIL_PORT was not a number" (readMaybe p)
104+
readPort p = pure $ maybeToRight "SHARE_PORT was not a number" (readMaybe p)
105105

106106
fromEnv :: String -> (String -> IO (Either String a)) -> IO a
107107
fromEnv var from = do

app/Main.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module Main where
22

3-
import Enlil
3+
import Share
44
import Env (withEnv)
55

66
main :: IO ()

docker/Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
FROM debian:bookworm
22
RUN apt-get update && apt-get install -y ssl-cert libpq5 ca-certificates curl locales
3-
RUN openssl genrsa -out /etc/ssl/private/enlil.key &&\
3+
RUN openssl genrsa -out /etc/ssl/private/share.key &&\
44
echo "C.UTF-8 UTF-8" > /etc/locale.gen &&\
55
dpkg-reconfigure --frontend=noninteractive locales &&\
66
update-locale LANG=C.UTF-8
77
ENV LANG=C.UTF-8
88

9-
COPY enlil-entrypoint.sh /usr/local/bin/enlil-entrypoint
10-
RUN chmod 555 /usr/local/bin/enlil-entrypoint
9+
COPY share-entrypoint.sh /usr/local/bin/share-entrypoint
10+
RUN chmod 555 /usr/local/bin/share-entrypoint
1111

12-
COPY tmp/enlil-exe /usr/local/bin/enlil
13-
RUN chmod 555 /usr/local/bin/enlil
12+
COPY tmp/share-api /usr/local/bin/share
13+
RUN chmod 555 /usr/local/bin/share
1414

15-
ENTRYPOINT /usr/local/bin/enlil-entrypoint
15+
ENTRYPOINT /usr/local/bin/share-entrypoint
1616

17-
ARG ENLIL_COMMIT
18-
ENV ENLIL_COMMIT=$ENLIL_COMMIT
17+
ARG SHARE_COMMIT
18+
ENV SHARE_COMMIT=$SHARE_COMMIT

docker/docker-compose.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -52,32 +52,32 @@ services:
5252

5353
environment:
5454
# Placeholder values for development
55-
- ENLIL_API_ORIGIN=http://enlil
56-
- ENLIL_SERVER_PORT=5424
57-
- ENLIL_ADMIN_PORT=5425
58-
- ENLIL_CLIENT_HOSTNAME=0.0.0.0
59-
- ENLIL_CLIENT_PORT=5426
60-
- ENLIL_REDIS=redis://redis:6379
61-
- ENLIL_POSTGRES=postgresql://postgres:sekrit@postgres:5432
62-
- ENLIL_HMAC_KEY=test-key-test-key-test-key-test-key-
63-
- ENLIL_DEPLOYMENT=local
64-
- ENLIL_IP=enlil
65-
- ENLIL_AWS_CREDENTIAL_URL=invalid
55+
- SHARE_API_ORIGIN=http://share-api
56+
- SHARE_SERVER_PORT=5424
57+
- SHARE_ADMIN_PORT=5425
58+
- SHARE_CLIENT_HOSTNAME=0.0.0.0
59+
- SHARE_CLIENT_PORT=5426
60+
- SHARE_REDIS=redis://redis:6379
61+
- SHARE_POSTGRES=postgresql://postgres:sekrit@postgres:5432
62+
- SHARE_HMAC_KEY=test-key-test-key-test-key-test-key-
63+
- SHARE_DEPLOYMENT=local
64+
- SHARE_IP=share-api
65+
- SHARE_AWS_CREDENTIAL_URL=invalid
6666
- AWS_REGION=invalid
67-
- ENLIL_POSTGRES_CONN_TTL=30
68-
- ENLIL_POSTGRES_CONN_MAX=10
69-
- ENLIL_SHARE_UI_ORIGIN=http://localhost:1234
70-
- ENLIL_CLOUD_UI_ORIGIN=http://localhost:5678
71-
- ENLIL_HOMEPAGE_ORIGIN=http://localhost:1111
72-
- ENLIL_CLOUD_HOMEPAGE_ORIGIN=http://localhost:2222
73-
- ENLIL_LOG_LEVEL=DEBUG
74-
- ENLIL_COMMIT=dev
75-
- ENLIL_MAX_PARALLELISM_PER_DOWNLOAD_REQUEST=1
76-
- ENLIL_MAX_PARALLELISM_PER_UPLOAD_REQUEST=5
77-
- ENLIL_ZENDESK_API_USER[email protected]
78-
- ENLIL_ZENDESK_API_TOKEN=bad-password
79-
- ENLIL_GITHUB_CLIENTID=invalid
80-
- ENLIL_GITHUB_CLIENT_SECRET=invalid
67+
- SHARE_POSTGRES_CONN_TTL=30
68+
- SHARE_POSTGRES_CONN_MAX=10
69+
- SHARE_SHARE_UI_ORIGIN=http://localhost:1234
70+
- SHARE_CLOUD_UI_ORIGIN=http://localhost:5678
71+
- SHARE_HOMEPAGE_ORIGIN=http://localhost:1111
72+
- SHARE_CLOUD_HOMEPAGE_ORIGIN=http://localhost:2222
73+
- SHARE_LOG_LEVEL=DEBUG
74+
- SHARE_COMMIT=dev
75+
- SHARE_MAX_PARALLELISM_PER_DOWNLOAD_REQUEST=1
76+
- SHARE_MAX_PARALLELISM_PER_UPLOAD_REQUEST=5
77+
- SHARE_ZENDESK_API_USER[email protected]
78+
- SHARE_ZENDESK_API_TOKEN=bad-password
79+
- SHARE_GITHUB_CLIENTID=invalid
80+
- SHARE_GITHUB_CLIENT_SECRET=invalid
8181
- AWS_ACCESS_KEY_ID=invalid
8282
- AWS_SECRET_ACCESS_KEY=invalid
8383

0 commit comments

Comments
 (0)