Skip to content

Commit bdcc628

Browse files
committed
directly run
1 parent 39c9fd1 commit bdcc628

File tree

1 file changed

+0
-44
lines changed

1 file changed

+0
-44
lines changed

.github/workflows/solid-tests-suites.yml

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -21,43 +21,6 @@ concurrency:
2121
cancel-in-progress: true
2222

2323
jobs:
24-
# @TODO: Instead of building the docker image here, take a pre-build image and mount the code?
25-
# (only build when the Dockerfile changes) Or only push when tagged/main?
26-
build-docker:
27-
runs-on: ubuntu-latest
28-
steps:
29-
- name: Create docker tag from git reference
30-
# A tag name may only contain lower- and uppercase letters, digits, underscores, periods and dashes.
31-
run: |
32-
echo "TAG=$(echo -n "${{ github.ref_name }}" \
33-
| tr --complement --squeeze-repeats '[:alnum:]._-' '_')" \
34-
>> "${GITHUB_ENV}"
35-
36-
- uses: actions/cache@v4
37-
id: cache-solid-php-docker
38-
with:
39-
path: cache/solid-php
40-
key: solid-php-${{ github.sha }}
41-
42-
- uses: actions/checkout@v4
43-
44-
- uses: docker/login-action@v3
45-
with:
46-
registry: ghcr.io
47-
username: ${{ github.actor }}
48-
password: ${{ secrets.GITHUB_TOKEN }}
49-
50-
- name: Build Solid-PHP
51-
run: |
52-
docker build \
53-
--tag "solid-php:${{ env.TAG }}" \
54-
--tag "ghcr.io/${{ github.repository }}:${{ env.TAG }}" \
55-
-f docker/solid.Dockerfile \
56-
.
57-
docker push "ghcr.io/${{ github.repository }}:${{ env.TAG }}"
58-
mkdir -p cache/solid-php
59-
docker image save solid-php:${{ env.TAG }} --output ./cache/solid-php/${{ github.sha }}.tar
60-
6124
solid-testsuite:
6225
timeout-minutes: 30
6326
needs:
@@ -90,13 +53,6 @@ jobs:
9053
username: ${{ github.actor }}
9154
password: ${{ secrets.GITHUB_TOKEN }}
9255

93-
# FIXME: The `docker pull` should be moved to a previous step and cached
94-
- name: Pull docker Images
95-
run: |
96-
docker image load --input ./cache/solid-php/${{ github.sha }}.tar
97-
docker pull ${{ matrix.test }}
98-
docker pull ghcr.io/pdsinterop/php-solid-pubsub-server:${{ env.PUBSUB_TAG }}
99-
10056
- name: Start Docker Containers
10157
run: |
10258
./tests/testsuite/run-solid-test-suite.sh

0 commit comments

Comments
 (0)