Skip to content

Commit

Permalink
More bug fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
iainsproat committed Dec 30, 2024
1 parent d0c0c60 commit e19abdd
Showing 1 changed file with 5 additions and 25 deletions.
30 changes: 5 additions & 25 deletions .github/workflows/rest-api-fuzzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,6 @@ jobs:
ports:
- 6379:6379

minio:
image: minio/minio@sha256:1dce27c494a16bae114774f1cec295493f3613142713130c2d22dd5696be6ad3
options: >-
--entrypoint "/usr/bin/docker-entrypoint.sh server"
ports:
- 9000:9000

steps:
- uses: actions/checkout@v4
name: Checkout RESTler Fuzzer
Expand All @@ -62,14 +55,6 @@ jobs:
ref: v${{ env.RESTLER_VERSION }}
path: 'restler-fuzzer' # The path to clone the repository within the {{ github.workspace }} directory

- name: Restore cached Restler
id: cache-restler-restore
uses: actions/cache/restore@v4
with:
path: |
${{ github.workspace }}/bin/restler
key: restler-fuzzer-${{ env.RESTLER_VERSION }}

- name: Setup .NET ${{ env.DOTNET_VERSION }}
uses: actions/setup-dotnet@v4
with:
Expand All @@ -92,7 +77,6 @@ jobs:
pip install -r ${{ github.workspace }}/restler-fuzzer/restler/requirements.txt
- name: Build RESTler
if: steps.cache-restler-restore.outputs.cache-hit != 'true'
run: |
python ${{ github.workspace }}/restler-fuzzer/build-restler.py --dest_dir ${{ github.workspace }}/bin
Expand All @@ -101,15 +85,6 @@ jobs:
ls -la ${{ github.workspace }}/bin/restler
ls -la ${{ github.workspace }}/bin/restler/Restler
- name: Save Restler
if: steps.cache-restler-restore.outputs.cache-hit != 'true'
id: cache-restler-save
uses: actions/cache/save@v4
with:
path: |
${{ github.workspace }}/bin/restler
key: ${{ steps.cache-restler-restore.outputs.cache-primary-key }}

- uses: actions/checkout@v4
name: Checkout speckle-server
with:
Expand Down Expand Up @@ -149,6 +124,11 @@ jobs:
${{ github.workspace }}/Compile
key: ${{ steps.cache-grammar-restore.outputs.cache-primary-key }}

- name: Minio
# Minio requires a command to be passed to the container, and github action services do not allow commands to be passed to containers. So we create the container manually.
run: |
docker create --name minio -p 9000:9000 --network-alias minio minio/minio@sha256:1dce27c494a16bae114774f1cec295493f3613142713130c2d22dd5696be6ad3 server
- name: Install Node.js
uses: actions/setup-node@v4
with:
Expand Down

0 comments on commit e19abdd

Please sign in to comment.