-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy pathsmb-mount.txt
More file actions
46 lines (34 loc) · 1.08 KB
/
smb-mount.txt
File metadata and controls
46 lines (34 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Build the dummy Dockerfile
exec docker build -qt dummy-nocase-updater .
# Run the dependabot command
dependabot update -f job.yml --updater-image dummy-nocase-updater
# assert the dummy is working
stderr 'case-insensitive storage is working'
exec docker rmi -f dummy-nocase-updater
-- Dockerfile --
FROM ubuntu:22.04
RUN useradd dependabot
COPY --chown=dependabot --chmod=755 update-ca-certificates /usr/bin/update-ca-certificates
COPY --chown=dependabot --chmod=755 run bin/run
-- update-ca-certificates --
#!/usr/bin/env bash
echo "Updated those certificates for ya"
-- run --
#!/usr/bin/env bash
# git clone would have created this directory
mkdir -p "$DEPENDABOT_REPO_CONTENTS_PATH"
echo "test file" > "$DEPENDABOT_REPO_CONTENTS_PATH/test.txt"
if [ -e "$DEPENDABOT_CASE_INSENSITIVE_REPO_CONTENTS_PATH/TEST.TXT" ]; then
echo "case-insensitive storage is working"
else
echo "case-insensitive storage is not working"
fi
-- job.yml --
job:
experiments:
use_case_insensitive_filesystem: true
source:
provider: github
repo: test/repo
directory: /
package-manager: nuget