Skip to content

Commit 3ef1ff7

Browse files
authored
Test images before pushing them (#114)
* Test images before pushing them * Wording * Only trigger CI when we change a layer * Blackfire fix * syntax
1 parent 9ab717f commit 3ef1ff7

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
name: CI
22

33
on:
4-
pull_request: ~
5-
push:
6-
branches:
7-
- master
4+
pull_request:
5+
paths:
6+
- layers/**
87

98
jobs:
109
build:
@@ -44,8 +43,8 @@ jobs:
4443
- name: Checkout code
4544
uses: actions/checkout@v2
4645

47-
- name: Build layer
46+
- name: Build docker images
4847
run: layer=${{ matrix.layer }} make docker-images
4948

50-
- name: Test layer
51-
run: layer=${{ matrix.layer }} make test
49+
- name: Test images
50+
run: layer=${{ matrix.layer }} make test

.github/workflows/deploy-docker.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
- name: Build images
3131
run: make docker-images
3232

33+
- name: Test images
34+
run: make test
35+
3336
- name: Publish
3437
env:
3538
DOCKER_TAG: ${{ steps.get_version.outputs.VERSION }}

layers/blackfire/versions.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"72": "1.44.0",
32
"73": "1.46.0",
43
"74": "1.46.0"
5-
}
4+
}

0 commit comments

Comments
 (0)