Skip to content

Commit

Permalink
chore: add tutorial for e2e testing ephemeral environments
Browse files Browse the repository at this point in the history
  • Loading branch information
evoxmusic committed Aug 31, 2023
1 parent 714ffd0 commit da3fcd6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ At the end of those steps, you should have something like this:

If you want to use my `TODO app` as an example, you need to properly configure the environment variables of the application. Here is a table with the environment variables you need to set:

<details>

<summary>Environment Variables</summary>

| Name | Is Alias? | Scope | Value | Comment |
|--------------------------------|--------------------------------------------------------|---------|----------------------------------------------------------------------------|----------------------------------------------|
| `POSTGRES_DB_NAME` | Yes for `QOVERY_POSTGRESQL_Z..._DEFAULT_DATABASE_NAME` | Service | N/A | Database name |
Expand All @@ -123,6 +127,8 @@ If you want to use my `TODO app` as an example, you need to properly configure t
| `POSTGRES_DATASOURCE_PASSWORD` | Yes for `QOVERY_POSTGRESQL_Z..._PASSWORD` | Service | N/A | Database password |
| `QUARKUS_DATASOURCE_JDBC_URL` | No | Service | jdbc:postgresql://{{POSTGRES_HOST}}:{{POSTGRES_PORT}}/{{POSTGRES_DB_NAME}} | Connection string to the PostgreSQL database |

</details>

You're good to go! Now, let's move on to the next step.

### 2. Build and push container image
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ At the end of those steps, you should have something like this:

If you want to use my `TODO app` as an example, you need to properly configure the environment variables of the application. Here is a table with the environment variables you need to set:

<details>

<summary>Environment Variables</summary>

| Name | Is Alias? | Scope | Value | Comment |
|--------------------------------|--------------------------------------------------------|---------|----------------------------------------------------------------------------|----------------------------------------------|
| `POSTGRES_DB_NAME` | Yes for `QOVERY_POSTGRESQL_Z..._DEFAULT_DATABASE_NAME` | Service | N/A | Database name |
Expand All @@ -111,6 +115,8 @@ If you want to use my `TODO app` as an example, you need to properly configure t
| `POSTGRES_DATASOURCE_PASSWORD` | Yes for `QOVERY_POSTGRESQL_Z..._PASSWORD` | Service | N/A | Database password |
| `QUARKUS_DATASOURCE_JDBC_URL` | No | Service | jdbc:postgresql://{{POSTGRES_HOST}}:{{POSTGRES_PORT}}/{{POSTGRES_DB_NAME}} | Connection string to the PostgreSQL database |

</details>

You're good to go! Now, let's move on to the next step.

### 2. Build and push container image
Expand Down

0 comments on commit da3fcd6

Please sign in to comment.