Skip to content

Commit

Permalink
add integration test container build to weekly tests
Browse files Browse the repository at this point in the history
Signed-off-by: Shyam Jesalpura s.jesalpura@gmail.com
  • Loading branch information
shyamjesal committed Jan 21, 2021
1 parent b5aa971 commit 01b04d0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Check if the docker images of the functions build successfully
name: Check if the docker images build successfully

on:
workflow_dispatch:
Expand All @@ -7,7 +7,7 @@ on:


jobs:
build_images:
function_images:
name: Build function docker images
runs-on: ubuntu-18.04
strategy:
Expand All @@ -26,4 +26,14 @@ jobs:
# https://git.luolix.topmunity/t/attempting-to-build-docker-image-with-copy-from-on-actions/16715
# https://stackoverflow.com/questions/51115856/docker-failed-to-export-image-failed-to-create-image-failed-to-get-layer
run: |
DOCKER_BUILDKIT=1 docker build ./function-images/${{ matrix.image }}
DOCKER_BUILDKIT=1 docker build ./function-images/${{ matrix.image }}
integ_test_image:
name: Build integration test docker images
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
ref: master
- name: docker build images
run: |
DOCKER_BUILDKIT=1 docker build --file ./scripts/Dockerfile.integration_test .
2 changes: 0 additions & 2 deletions scripts/Dockerfile.integration_test
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@ RUN apt-get update && \
tar -C /usr/local -xzf go.linux-amd64.tar.gz && \
ln -s /usr/local/go/bin/go /usr/bin/go && \

WORKDIR "/home"

# Get Github action token and link the runner to Github Actions

0 comments on commit 01b04d0

Please sign in to comment.