Skip to content
Snippets Groups Projects
Commit 8ebd1bd8 authored by Bert Palm's avatar Bert Palm :bug:
Browse files

fixed permissions and added executeable flag

parent 3be0eabe
No related branches found
No related tags found
1 merge request!254fixed permissions and added executeable flag
Pipeline #490232 canceled
---
check-protected-files:
stage: check
script:
- echo "Files in flyway/migrations MUST NOT be altered! Undo your changes and commit again."
- exit 1
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
changes:
- flyway/migrations/V1_1__create_schema_thing_mapping.sql
- flyway/migrations/V2_1__configdb_add_schema_and_role.sql
- flyway/migrations/V2_2__configdb_initial_schema.sql
- flyway/migrations/V2_3__configdb_initial_data.sql
- flyway/migrations/V2_4__configdb_add_bosch.sql
- flyway/migrations/V2_5__configdb_drop_S3_not_null.sql
- flyway/migrations/V2_6__configdb_modify_qaqc_test.sql
black:
stage: check
image: python:3.11
before_script:
- pip install black
script:
- black --check src/ tests/
pytest:
stage: check
image: python:3.11
before_script:
- pip install -r src/requirements.txt pytest
script:
- python3 -m pytest tests
......@@ -57,6 +57,6 @@ USER appuser
ENV PGSSLROOTCERT=/etc/ssl/certs/ca-certificates.crt
WORKDIR /home/appuser/app/src
COPY src .
COPY --chown=appuser src .
ENTRYPOINT ["python3"]
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
src/run_qc.py 100644 → 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment