-
Notifications
You must be signed in to change notification settings - Fork 10
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
fix: Fix dependencies and the login #202
Merged
Merged
Changes from 3 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
8a836b7
fix: Fix dependencies and the login
xmnlab dd40454
update deps
xmnlab b65d124
fix typo in the .env.tpl
xmnlab ccce519
fix issues with the .env file
xmnlab 84394ac
fix build steps
xmnlab c3e8f60
add step to check if the branch is updated
xmnlab 9ac6bce
fix deps and user issue
xmnlab fc541ad
fix makim file
xmnlab ec505e1
improve airflow dockerfile
xmnlab 5d63bd9
remove airflow from the pipeline
xmnlab 046e368
remove airflow from the pipeline
xmnlab 0b14081
maybe superset db upgrade could fail
xmnlab 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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,130 @@ | ||
version: 1.0 | ||
env-file: .env | ||
shell: bash | ||
|
||
groups: | ||
host: | ||
tasks: | ||
prepare: | ||
help: Prepare host environment | ||
run: bash scripts/prepare-host.sh | ||
|
||
containers: | ||
tasks: | ||
pull: | ||
help: Pull container images | ||
run: | | ||
set -e | ||
docker-compose --env-file=.env --project-name egh-${ENV} --file containers/compose-base.yaml --file containers/compose-${ENV}.yaml pull ${SERVICES} | ||
|
||
build: | ||
help: Build containers | ||
run: | | ||
set -e | ||
docker-compose --env-file=.env --project-name egh-${ENV} --file containers/compose-base.yaml --file containers/compose-${ENV}.yaml build ${SERVICES} | ||
|
||
start: | ||
help: Start containers | ||
run: docker-compose --env-file=.env --project-name egh-${ENV} --file containers/compose-base.yaml --file containers/compose-${ENV}.yaml up --remove-orphans -d ${SERVICES} | ||
|
||
stop: | ||
help: Stop containers | ||
run: docker-compose --env-file=.env --project-name egh-${ENV} --file containers/compose-base.yaml --file containers/compose-${ENV}.yaml stop ${ARGS} ${SERVICES} | ||
|
||
remove: | ||
help: Remove containers | ||
run: docker-compose --env-file=.env --project-name egh-${ENV} --file containers/compose-base.yaml --file containers/compose-${ENV}.yaml rm ${ARGS} ${SERVICES} | ||
|
||
restart: | ||
help: Restart containers | ||
dependencies: | ||
- task: containers.stop | ||
- task: containers.start | ||
|
||
logs: | ||
help: Show container logs | ||
run: docker-compose --env-file=.env --project-name egh-${ENV} --file containers/compose-base.yaml --file containers/compose-${ENV}.yaml logs ${ARGS} ${SERVICES} | ||
|
||
logs-follow: | ||
help: Follow container logs | ||
run: docker-compose --env-file=.env --project-name egh-${ENV} --file containers/compose-base.yaml --file containers/compose-${ENV}.yaml logs --follow ${ARGS} ${SERVICES} | ||
|
||
exec: | ||
help: Execute command in a running container | ||
run: docker-compose --env-file=.env --project-name egh-${ENV} --file containers/compose-base.yaml --file containers/compose-${ENV}.yaml exec ${ARGS} ${SERVICE} ${CMD} | ||
|
||
console: | ||
help: Open console in a container | ||
run: docker-compose --env-file=.env --project-name egh-${ENV} --file containers/compose-base.yaml --file containers/compose-${ENV}.yaml exec ${ARGS} ${SERVICE} bash | ||
|
||
down: | ||
help: Take down containers and volumes | ||
run: docker-compose --env-file=.env --project-name egh-${ENV} --file containers/compose-base.yaml --file containers/compose-${ENV}.yaml down --volumes --remove-orphans | ||
|
||
reset-storage: | ||
help: Reset container storage | ||
run: rm -rf ~/.local/share/containers/ | ||
|
||
wait: | ||
help: Wait until container is healthy | ||
args: | ||
service: | ||
help: the name of the service | ||
type: str | ||
required: true | ||
timeout: | ||
help: the time (in seconds) for waiting the service | ||
type: int | ||
default: 90 | ||
required: false | ||
run: | | ||
timeout ${{ args.timeout }} ./containers/healthcheck.sh ${{ args.service }} | ||
|
||
wait-all: | ||
help: Wait until container is healthy | ||
args: | ||
timeout: | ||
help: the time (in seconds) for waiting the service | ||
type: int | ||
default: 90 | ||
required: false | ||
dependencies: | ||
- target: wait | ||
args: | ||
timeout: ${{ args.timeout }} | ||
service: postgres | ||
- target: wait | ||
args: | ||
timeout: ${{ args.timeout }} | ||
service: minio | ||
- target: wait | ||
args: | ||
timeout: ${{ args.timeout }} | ||
service: redis | ||
- target: wait | ||
args: | ||
timeout: ${{ args.timeout }} | ||
service: flower | ||
- target: wait | ||
args: | ||
timeout: ${{ args.timeout }} | ||
service: superset | ||
- target: wait | ||
args: | ||
timeout: ${{ args.timeout }} | ||
service: airflow | ||
|
||
aws: | ||
tasks: | ||
create-s3-credential: | ||
help: Create S3 credentials for development | ||
run: ./scripts/dev/create-s3-credential.sh | ||
|
||
conda: | ||
tasks: | ||
lock: | ||
help: Generate lock files for Conda environments | ||
run: | | ||
cd conda | ||
rm -f conda-*.lock | ||
conda-lock --conda `which mamba` -f prod.yaml -p osx-64 -p linux-64 --kind explicit |
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,50 @@ | ||
version: 1.0.0 | ||
compose-app: docker-compose | ||
env-file: .env | ||
defaults: | ||
group: {{ env.ENV }} | ||
|
||
groups: | ||
airflow: | ||
project-name: egh-airflow | ||
compose-path: | ||
- containers/compose-airflow.yaml | ||
env-file: containers/airflow/.env | ||
services: | ||
default: webserver,scheduler,worker,triggerer | ||
available: | ||
- name: webserver | ||
- name: scheduler | ||
- name: worker | ||
- name: triggerer | ||
- name: airflow-cli | ||
|
||
dev: | ||
project-name: egh-dev | ||
compose-path: | ||
- containers/compose-base.yaml | ||
- containers/compose-dev.yaml | ||
services: | ||
default: superset,airflow | ||
available: | ||
- name: superset | ||
- name: airflow | ||
- name: postgres | ||
- name: minio | ||
- name: redis | ||
- name: flower | ||
|
||
prod: | ||
project-name: egh-prod | ||
compose-path: | ||
- containers/compose-base.yaml | ||
- containers/compose-prod.yaml | ||
services: | ||
default: superset,airflow | ||
available: | ||
- name: superset | ||
- name: airflow | ||
- name: postgres | ||
- name: minio | ||
- name: redis | ||
- name: flower |
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 +1 @@ | ||
epigraphhub >= 2.1.0 | ||
epigraphhub >= 2.1.1 |
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
glad that makim raised an error and I found this typo :)