File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ before_install:
49
49
# ## also we need to test that the database works with only public permissions too, as should be for any web attached user
50
50
- createdb -e vvta -O uta_admin
51
51
- psql -d vvta -U postgres -c "CREATE USER ta_user WITH PASSWORD 'read_only'"
52
- - wget --output-document=VVTA_2022_02.noseq.psql. gz https://www528.lamp.le.ac.uk/vvdata/vvta/VVTA_2022_02.noseq.psql .gz
52
+ - wget --output-document=VVTA_2022_02_noseq.sql. gz https://www528.lamp.le.ac.uk/vvdata/vvta/VVTA_2022_02_noseq.sql .gz
53
53
- gunzip -c VVTA_2022_02.noseq.psql.gz | psql --quiet vvta
54
54
- psql -d vvta -U postgres -c 'GRANT SELECT ON vvta_2022_02.gene TO public;'
55
55
- psql -d vvta -U postgres -c 'GRANT SELECT ON ALL TABLES IN SCHEMA public TO ta_user;'
Original file line number Diff line number Diff line change @@ -8,5 +8,5 @@ ENV POSTGRES_PASSWORD=uta_admin
8
8
9
9
RUN apt-get update && apt-get install -y wget && rm -rf /var/lib/apt/lists/*
10
10
11
- RUN wget --output-document=VVTA_2022_02.noseq.psql. gz https://www528.lamp.le.ac.uk/vvdata/vvta/VVTA_2022_02.noseq.psql. gz -O /docker-entrypoint-initdb.d/VVTA_2022_02.noseq.psql .gz
11
+ RUN wget --output-document=VVTA_2022_02_noseq.sql. gz https://www528.lamp.le.ac.uk/vvdata/vvta/VVTA_2022_02_noseq.sql. gz -O /docker-entrypoint-initdb.d/VVTA_2022_02_noseq.sql .gz
12
12
You can’t perform that action at this time.
0 commit comments