Skip to content

Commit 63ed381

Browse files
set artifacts perms and copy .env
1 parent 62b9de9 commit 63ed381

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,16 @@ jobs:
130130

131131
- name: Setup the stack
132132
run: |
133+
cp .env.example .env
133134
docker compose build --quiet
134135
docker compose pull --quiet
135136
docker compose up --wait
137+
docker compose exec -u root app chown archivesspace:archivesspace artifacts
136138
137139
- name: Query the ASpace home page
138140
if: ${{ always() }}
139141
run: |
140-
curl -e http://localhost:8080/
142+
curl --fail http://localhost:8080/
141143
142144
- name: Copy out artifacts
143145
if: ${{ always() }}

compose.ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ services:
33
build: !reset
44
image: ${DOCKER_APP_IMAGE}
55
volumes: !reset
6+
- artifacts:/opt/app/artifacts
67

78
updater:
89
<<: *services_app
10+
11+
volumes:
12+
artifacts: {}

0 commit comments

Comments
 (0)