Skip to content

Commit

Permalink
Fixed Python configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenioseveri committed Aug 27, 2024
1 parent b212b30 commit 7eb2422
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
18 changes: 6 additions & 12 deletions .github/actions/services/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ runs:
- name: Create mongo docker compose file
if: inputs.use_mongo
run: |
echo "version: '3.8'" > mongo.yml
echo "services:" >> mongo.yml
echo "services:" > mongo.yml
echo " mongo:" >> mongo.yml
echo " image: library/mongo:${{ inputs.mongo_version }}" >> mongo.yml
echo " container_name: mongo" >> mongo.yml
Expand All @@ -77,8 +76,7 @@ runs:
- name: Create postgres docker compose file
if: inputs.use_postgres
run: |
echo "version: '3.8'" > postgres.yml
echo "services:" >> postgres.yml
echo "services:" > postgres.yml
echo " postgres:" >> postgres.yml
echo " image: library/postgres:${{ inputs.postgres_version }}-alpine" >> postgres.yml
echo " container_name: postgres" >> postgres.yml
Expand All @@ -99,8 +97,7 @@ runs:
- name: Create elasticsearch docker compose file
if: inputs.use_elastic_search
run: |
echo "version: '3.8'" > elastic_search.yml
echo "services:" >> elastic_search.yml
echo "services:" > elastic_search.yml
echo " elastic_search:" >> elastic_search.yml
echo " image: elasticsearch:${{ inputs.elasticsearch_version }}" >> elastic_search.yml
echo " container_name: elastic_search" >> elastic_search.yml
Expand All @@ -120,8 +117,7 @@ runs:
- name: Create memcached docker compose file
if: inputs.use_memcached
run: |
echo "version: '3.8'" > memcached.yml
echo "services:" >> memcached.yml
echo "services:" > memcached.yml
echo " memcached:" >> memcached.yml
echo " container_name: memcached" >> memcached.yml
echo " image: memcached:${{ inputs.memcached_version }}-alpine" >> memcached.yml
Expand All @@ -133,8 +129,7 @@ runs:
- name: Create redis docker compose file
if: inputs.use_redis
run: |
echo "version: '3.8'" > redis.yml
echo "services:" >> redis.yml
echo "services:" > redis.yml
echo " redis:" >> redis.yml
echo " container_name: redis" >> redis.yml
echo " image: library/redis:${{ inputs.redis_version }}-alpine" >> redis.yml
Expand All @@ -146,8 +141,7 @@ runs:
- name: Create rabbitmq docker compose file
if: inputs.use_rabbitmq
run: |
echo "version: '3.8'" > rabbitmq.yml
echo "services:" >> rabbitmq.yml
echo "services:" > rabbitmq.yml
echo " rabbitmq:" >> rabbitmq.yml
echo " container_name: rabbitmq" >> rabbitmq.yml
echo " image: library/rabbitmq:${{ inputs.rabbitmq_version }}-management-alpine" >> rabbitmq.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request_automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
elasticsearch_version: 8.11.1
elasticsearch_port: 9200
use_rabbitmq: true
rabbitmq_version: latest
rabbitmq_version: 3
use_mongo: false
mongo_version: latest
use_celery: true
Expand Down

0 comments on commit 7eb2422

Please sign in to comment.