-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
21 additions
and
15 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 |
---|---|---|
|
@@ -6,22 +6,28 @@ jobs: | |
|
||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
POSTGRES_USER: postgres | ||
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }} | ||
LAB_HOME: /home/jovyan | ||
|
||
SPARK_MASTER: spark://spark-master:7077 | ||
SPARK_WORKER_CORES: 4 | ||
SPARK_WORKER_MEMORY: 5G | ||
SPARK_DRIVER_MEMORY: 5G | ||
SPARK_EXECUTOR_MEMORY: 5G | ||
steps: | ||
- name: Make envfile | ||
uses: SpicyPizza/[email protected] | ||
with: | ||
envkey_POSTGRES_USER: postgres | ||
envkey_POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }} | ||
envkey_LAB_HOME: /home/jovyan | ||
envkey_SPARK_MASTER: spark://spark-master:7077 | ||
envkey_SPARK_WORKER_CORES: 4 | ||
envkey_SPARK_WORKER_MEMORY: 5G | ||
envkey_SPARK_DRIVER_MEMORY: 5G | ||
envkey_SPARK_EXECUTOR_MEMORY: 5G | ||
|
||
directory: . | ||
file_name: .env | ||
fail_on_empty: true | ||
sort_keys: false | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build the docker-compose stack | ||
run: docker-compose up -d | ||
- uses: actions/checkout@v3 | ||
- name: Build the docker-compose stack | ||
run: docker-compose up -d | ||
|
||
- name: Check running containers | ||
run: docker ps -a | ||
- name: Check running containers | ||
run: docker ps -a |