Browse Source

More page bundles

master
Chris Smith 4 years ago
parent
commit
c27aa11e21
Signed by: Chris Smith <chris@chameth.com> GPG Key ID: 3A2D4BBDC4A3C9A9

+ 2
- 0
nginx.conf View File

62
         /res/images/yubikey/wisdom_of_the_ancients.png  /2016/08/11/offline-gnupg-master-yubikey-subkeys/wisdom_of_the_ancients.png;
62
         /res/images/yubikey/wisdom_of_the_ancients.png  /2016/08/11/offline-gnupg-master-yubikey-subkeys/wisdom_of_the_ancients.png;
63
         /res/images/ssh/openssh.png                     /2016/10/18/shoring-up-sshd/openssh.png;
63
         /res/images/ssh/openssh.png                     /2016/10/18/shoring-up-sshd/openssh.png;
64
         /res/images/ssh/ssh-audit-github.png            /2016/10/18/shoring-up-sshd/ssh-audit-github.png;
64
         /res/images/ssh/ssh-audit-github.png            /2016/10/18/shoring-up-sshd/ssh-audit-github.png;
65
+        /res/images/android-tests/spoon.png             /2017/05/16/android-tests-espresso-spoon/spoon.png;
66
+        /res/images/android-tests/spoon-espresso.png    /2017/05/16/android-tests-espresso-spoon/spoon-espresso.png;
65
     }
67
     }
66
 
68
 
67
     server {
69
     server {

+ 1
- 1
site/assets/style/modules/_articles.sass View File

19
   img
19
   img
20
     max-width: 100%
20
     max-width: 100%
21
 
21
 
22
-  img + p
22
+  img + p, img + h3
23
     margin-top: 1.5em
23
     margin-top: 1.5em
24
 
24
 
25
   p a, figcaption a
25
   p a, figcaption a

site/content/post/2017-05-16-android-tests-espresso-spoon.md → site/content/post/2017-05-16-android-tests-espresso-spoon/index.md View File

1
 ---
1
 ---
2
 date: 2017-05-16
2
 date: 2017-05-16
3
 title: Android testing with Espresso and Spoon
3
 title: Android testing with Espresso and Spoon
4
-url: /2017/05/16/android-espresso-spoon/
5
-image: /res/images/android-tests/spoon-espresso.png
6
 description: Automatically running Android UI tests, reducing flakeyness, and getting useful debugging information back on failure.
4
 description: Automatically running Android UI tests, reducing flakeyness, and getting useful debugging information back on failure.
7
 area: Android
5
 area: Android
6
+url: /2017/05/16/android-espresso-spoon/
7
+
8
+resources:
9
+  - src: spoon-espresso.png
10
+    name: Spoon output details, showing a screenshot captured of the failure
11
+    default: true
12
+  - src: spoon.png
13
+    name: Spoon output summary, showing results of 171 tests run on 3 devices
8
 ---
14
 ---
9
 
15
 
10
 I've been spending some time recently setting up automated testing for our
16
 I've been spending some time recently setting up automated testing for our
49
 We have the report output folder collected as a build artefact, so the reports
55
 We have the report output folder collected as a build artefact, so the reports
50
 can be seen right from the build server:
56
 can be seen right from the build server:
51
 
57
 
52
-<img src="/res/images/android-tests/spoon.png" alt="Spoon output summary, showing results of 171 tests run on 3 devices">
58
+{{< img "Spoon output summary, showing results of 171 tests run on 3 devices" >}}
53
 
59
 
54
 ### Flake-free UI testing with Espresso
60
 ### Flake-free UI testing with Espresso
55
 
61
 
160
 and fail the test. The Spoon runner automatically picks up the screenshot and
166
 and fail the test. The Spoon runner automatically picks up the screenshot and
161
 adds it to the report:
167
 adds it to the report:
162
 
168
 
163
-<img src="/res/images/android-tests/spoon-espresso.png" alt="Spoon output details, showing a screenshot captured of the failure">
169
+{{< img "Spoon output details, showing a screenshot captured of the failure" >}}
164
 
170
 
165
 Having the screenshot, error message and logs all presented in a clean UI
171
 Having the screenshot, error message and logs all presented in a clean UI
166
 makes debugging failures much, much easier than searching through a huge build
172
 makes debugging failures much, much easier than searching through a huge build

site/static/res/images/android-tests/spoon-espresso.png → site/content/post/2017-05-16-android-tests-espresso-spoon/spoon-espresso.png View File


site/static/res/images/android-tests/spoon.png → site/content/post/2017-05-16-android-tests-espresso-spoon/spoon.png View File


site/content/post/2019-04-01-understanding-docker-volume-mounts.md → site/content/post/2019-04-01-understanding-docker-volume-mounts/index.md View File

1
 ---
1
 ---
2
 date: 2019-04-01
2
 date: 2019-04-01
3
 title: Understanding Docker volume mounts
3
 title: Understanding Docker volume mounts
4
-url: /2019/04/01/understanding-docker-volume-mounts/
5
-image: /res/images/docker/logo.png
6
 description: It's basically magic.
4
 description: It's basically magic.
7
 area: Docker
5
 area: Docker
6
+url: /2019/04/01/understanding-docker-volume-mounts/
7
+
8
+resources:
9
+  - src: logo.png
10
+    name: The Docker project logo
8
 ---
11
 ---
9
 
12
 
10
-<figure class="left">
11
-  <img src="/res/images/docker/logo.png" alt="Docker logo">
12
-  <figcaption>The Docker project logo</figcaption>
13
-</figure>
13
+{{< figure "left" "The Docker project logo" >}}
14
 
14
 
15
 One thing that always confuses me with Docker is how exactly mounting
15
 One thing that always confuses me with Docker is how exactly mounting
16
 volumes behaves. At a basic level it's fairly straight forward: you
16
 volumes behaves. At a basic level it's fairly straight forward: you

BIN
site/content/post/2019-04-01-understanding-docker-volume-mounts/logo.png View File


Loading…
Cancel
Save