Skip to content

Commit

Permalink
fix upload artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
gmgigi96 committed Oct 6, 2023
1 parent 00e7a40 commit 5ea82d3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
required: true
type: string
image:
required: true
type: string
submodules:
type: boolean
Expand All @@ -25,6 +24,7 @@ jobs:
submodules: ${{ inputs.submodules }}
- name: Download image
uses: ishworkh/docker-image-artifact-download@v1
if: ${{ inputs.image != "" }}
with:
image: ${{ inputs.image }}
- name: Test
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,12 @@ jobs:
uses: ./.github/workflows/compose.yml
with:
test: ${{ matrix.test }}
image: ${{ needs.docker-revad.outputs.image }}
acceptance-1:
needs:
- docker-revad-eos
uses: ./.github/workflows/compose.yml
with:
test: acceptance-1
image: ${{ needs.docker-revad.outputs.image }}
submodules: true
acceptance-2:
needs:
Expand All @@ -105,7 +103,6 @@ jobs:
uses: ./.github/workflows/compose.yml
with:
test: acceptance-2
image: ${{ needs.docker-revad.outputs.image }}
submodules: true
parts: 6
part: ${{ matrix.part }}
10 changes: 6 additions & 4 deletions tests/docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
version: "3.4"
services:
revad:
image: ${REVAD_IMAGE}
# build:
# context: ../../
# dockerfile: docker/Dockerfile.revad-eos
# image: ${REVAD_IMAGE}
# we build the reva image with eos because it's faster
# instead of uploading and share through the github runners
build:
context: ../../
dockerfile: docker/Dockerfile.revad-eos
volumes:
- ../revad:/etc/revad
working_dir: /etc/revad/
Expand Down

0 comments on commit 5ea82d3

Please sign in to comment.