Skip to content

Commit 5fc9837

Browse files
committed
native ubuntu container coverage testing etc.
1 parent a6c9971 commit 5fc9837

File tree

2 files changed

+1
-166
lines changed

2 files changed

+1
-166
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@ name: CI
33
on: [push, pull_request]
44

55
env:
6-
CACHE_IMAGE: fmrcampos/docker-ci-cache
7-
GPR_CACHE_IMAGE: docker.pkg.github.com/${{ github.repository }}/docker-ci-cache
86
CACHE_SEED: 1
9-
DOCKER_BUILDKIT: 1
107
NODE_VERSION: 14.4.0
118

129
jobs:
@@ -27,13 +24,6 @@ jobs:
2724
- name: Check out repository
2825
uses: actions/checkout@v2
2926

30-
- uses: whoan/docker-build-with-cache-action@master
31-
with:
32-
image_name: ${{ env.CACHE_IMAGE }}
33-
image_tag: stage
34-
build_extra_args: "--cache-from ${{ env.CACHE_IMAGE }}:static --cache-from ${{ env.CACHE_IMAGE }}:build --cache-from ${{ env.CACHE_IMAGE }}:stage --build-arg BUILDKIT_INLINE_CACHE=1"
35-
push_image_and_stages: false
36-
3727
- uses: actions/setup-python@v2
3828
with:
3929
python-version: 3.8
@@ -121,13 +111,6 @@ jobs:
121111
- name: Check out repository
122112
uses: actions/checkout@v2
123113

124-
- uses: whoan/docker-build-with-cache-action@master
125-
with:
126-
image_name: ${{ env.CACHE_IMAGE }}
127-
image_tag: stage
128-
build_extra_args: "--cache-from ${{ env.CACHE_IMAGE }}:static --cache-from ${{ env.CACHE_IMAGE }}:build --cache-from ${{ env.CACHE_IMAGE }}:stage --build-arg BUILDKIT_INLINE_CACHE=1"
129-
push_image_and_stages: false
130-
131114
- uses: actions/setup-python@v2
132115
with:
133116
python-version: 3.8
@@ -143,13 +126,6 @@ jobs:
143126
- name: Check out repository
144127
uses: actions/checkout@v2
145128

146-
- uses: whoan/docker-build-with-cache-action@master
147-
with:
148-
image_name: ${{ env.CACHE_IMAGE }}
149-
image_tag: stage
150-
build_extra_args: "--cache-from ${{ env.CACHE_IMAGE }}:static --cache-from ${{ env.CACHE_IMAGE }}:build --cache-from ${{ env.CACHE_IMAGE }}:stage --build-arg BUILDKIT_INLINE_CACHE=1"
151-
push_image_and_stages: false
152-
153129
- uses: actions/setup-python@v2
154130
with:
155131
python-version: 3.8
@@ -165,13 +141,6 @@ jobs:
165141
- name: Check out repository
166142
uses: actions/checkout@v2
167143

168-
- uses: whoan/docker-build-with-cache-action@master
169-
with:
170-
image_name: ${{ env.CACHE_IMAGE }}
171-
image_tag: stage
172-
build_extra_args: "--cache-from ${{ env.CACHE_IMAGE }}:static --cache-from ${{ env.CACHE_IMAGE }}:build --cache-from ${{ env.CACHE_IMAGE }}:stage --build-arg BUILDKIT_INLINE_CACHE=1"
173-
push_image_and_stages: false
174-
175144
- uses: actions/setup-python@v2
176145
with:
177146
python-version: 3.8
@@ -205,13 +174,6 @@ jobs:
205174
- name: Check out repository
206175
uses: actions/checkout@v2
207176

208-
- uses: whoan/docker-build-with-cache-action@master
209-
with:
210-
image_name: ${{ env.CACHE_IMAGE }}
211-
image_tag: stage
212-
build_extra_args: "--cache-from ${{ env.CACHE_IMAGE }}:static --cache-from ${{ env.CACHE_IMAGE }}:build --cache-from ${{ env.CACHE_IMAGE }}:stage --build-arg BUILDKIT_INLINE_CACHE=1"
213-
push_image_and_stages: false
214-
215177
- name: Check licenses
216178
run: bin/licenses
217179

@@ -221,13 +183,6 @@ jobs:
221183
- name: Check out repository
222184
uses: actions/checkout@v2
223185

224-
- uses: whoan/docker-build-with-cache-action@master
225-
with:
226-
image_name: ${{ env.CACHE_IMAGE }}
227-
image_tag: stage
228-
build_extra_args: "--cache-from ${{ env.CACHE_IMAGE }}:static --cache-from ${{ env.CACHE_IMAGE }}:build --cache-from ${{ env.CACHE_IMAGE }}:stage --build-arg BUILDKIT_INLINE_CACHE=1"
229-
push_image_and_stages: false
230-
231186
- uses: actions/setup-python@v2
232187
with:
233188
python-version: 3.8
@@ -241,13 +196,6 @@ jobs:
241196
- name: Check out repository
242197
uses: actions/checkout@v2
243198

244-
- uses: whoan/docker-build-with-cache-action@master
245-
with:
246-
image_name: ${{ env.CACHE_IMAGE }}
247-
image_tag: static
248-
build_extra_args: "--target static --cache-from ${{ env.CACHE_IMAGE }}:static --build-arg BUILDKIT_INLINE_CACHE=1"
249-
push_image_and_stages: false
250-
251199
- name: Static Lint Check
252200
run: |
253201
npm install eslint --save-dev
@@ -260,13 +208,6 @@ jobs:
260208
- name: Check out repository
261209
uses: actions/checkout@v2
262210

263-
- uses: whoan/docker-build-with-cache-action@master
264-
with:
265-
image_name: ${{ env.CACHE_IMAGE }}
266-
image_tag: static
267-
build_extra_args: "--target static --cache-from ${{ env.CACHE_IMAGE }}:static --build-arg BUILDKIT_INLINE_CACHE=1"
268-
push_image_and_stages: false
269-
270211
- name: Cache node modules
271212
uses: actions/cache@v2
272213
env:
@@ -295,13 +236,6 @@ jobs:
295236
- name: Check out repository
296237
uses: actions/checkout@v2
297238

298-
- uses: whoan/docker-build-with-cache-action@master
299-
with:
300-
image_name: ${{ env.CACHE_IMAGE }}
301-
image_tag: static
302-
build_extra_args: "--target static --cache-from ${{ env.CACHE_IMAGE }}:static --build-arg BUILDKIT_INLINE_CACHE=1"
303-
push_image_and_stages: false
304-
305239
- name: Cache node version manager
306240
uses: actions/cache@v2
307241
env:
@@ -336,4 +270,4 @@ jobs:
336270
run: npm install -D babel
337271

338272
- name: Static Pipeline Check
339-
run: bin/static_pipeline
273+
run: bin/static_pipeline # this periodically fails for no reason, just rerun the job if needed

.github/workflows/registry.yml

Lines changed: 0 additions & 99 deletions
This file was deleted.

0 commit comments

Comments
 (0)