-
Notifications
You must be signed in to change notification settings - Fork 14
test(api7): deploy test components by docker compose #429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
62724df
feat(api7): replace tarball deployment with Docker Compose for E2E tests
jarvis9443 5bc84ef
fix: use heredoc for multiline license secret in GITHUB_ENV
jarvis9443 165ef65
fix: use specific bitnami/postgresql tag (15.4.0-debian-11-r45)
jarvis9443 3efc568
fix: add packages:read permission, improve spawnSync error handling
jarvis9443 73adbed
fix: use official postgres:15-alpine image
jarvis9443 cb274cc
ci: add fail-fast: false to api7 matrix
jarvis9443 6c0dc58
fix: address review feedback
jarvis9443 2a7556e
fix: minimize dashboard config to essential settings only
jarvis9443 968232e
fix: address bzp2010 review feedback
jarvis9443 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,25 @@ | ||
| server: | ||
| listen: | ||
| disable: true | ||
| host: "0.0.0.0" | ||
| port: 7080 | ||
| tls: | ||
| disable: false | ||
| host: "0.0.0.0" | ||
| port: 7443 | ||
| status: | ||
| disable: false | ||
| host: "0.0.0.0" | ||
| port: 7081 | ||
| cron_spec: "@every 1s" | ||
|
jarvis9443 marked this conversation as resolved.
Outdated
|
||
| log: | ||
| level: warn | ||
| output: stderr | ||
| access_log: stdout | ||
| database: | ||
| dsn: "postgres://api7ee:changeme@postgresql:5432/api7ee" | ||
| max_open_conns: 30 | ||
| session_options_config: | ||
| same_site: "lax" | ||
| secure: false | ||
| max_age: 86400 | ||
|
jarvis9443 marked this conversation as resolved.
Outdated
|
||
This file contains hidden or 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,29 @@ | ||
| services: | ||
| postgresql: | ||
| image: bitnami/postgresql:14 | ||
| environment: | ||
| POSTGRESQL_USERNAME: api7ee | ||
| POSTGRESQL_PASSWORD: changeme | ||
| POSTGRESQL_DATABASE: api7ee | ||
| healthcheck: | ||
| test: ["CMD", "pg_isready", "-U", "api7ee", "-d", "api7ee"] | ||
| interval: 5s | ||
| retries: 10 | ||
| networks: | ||
| api7: | ||
|
|
||
| dashboard: | ||
| image: ${API7_DASHBOARD_IMAGE:-api7/api7-ee-3-integrated}:${API7_IMAGE_TAG:-dev} | ||
| depends_on: | ||
| postgresql: | ||
| condition: service_healthy | ||
| volumes: | ||
| - ./dashboard-conf.yaml:/app/conf/config.yaml:ro | ||
| ports: | ||
| - "7443:7443" | ||
|
jarvis9443 marked this conversation as resolved.
|
||
| networks: | ||
| api7: | ||
|
|
||
| networks: | ||
| api7: | ||
| driver: bridge | ||
This file contains hidden or 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
|
jarvis9443 marked this conversation as resolved.
Outdated
|
This file contains hidden or 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,3 +1,4 @@ | ||
| // Teardown is handled by the globalSetup return function in global-setup.ts | ||
| export default async () => { | ||
| //TODO | ||
| // no-op | ||
| }; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.