Skip to content

Commit c44b45e

Browse files
author
mike dupont
committed
fix syntax
1 parent 8eac399 commit c44b45e

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/run-docker-tests.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
name: run Perf Test and collect data
2-
env:
3-
DOCKER_IMAGE_URL: "ghcr.io/meta-introspector/o1js/o1js-perf-recording:sha256:5ce0221662cecbca9a3de05601af94a15b154a3bcf8bafcb0cfa1f5b9f407bdc"
2+
43
on:
54
workflow_dispatch:
5+
inputs:
6+
image_url:
7+
description: 'Docker url to execute'
8+
default: "ghcr.io/meta-introspector/o1js/o1js-perf-recording:5ce0221662cecbca9a3de05601af94a15b154a3bcf8bafcb0cfa1f5b9f407bdc"
69
push:
710
branches: [ "collect-perf" ]
811
pull_request:
@@ -23,12 +26,12 @@ jobs:
2326
password: ${{ secrets.GITHUB_TOKEN }}
2427

2528
- name: pull the image
26-
run: docker pull ${{ env.DOCKER_IMAGE_URL }}
29+
run: docker pull ${{ inputs.image_url }}
2730

2831
- name: run the Docker tests
2932
run: docker compose up mina-local-network
3033
env:
31-
DOCKER_IMAGE_URL: ${{ env.DOCKER_IMAGE_URL }}
34+
DOCKER_IMAGE_URL: ${{ inputs.image_url }}
3235

3336

3437
- name: docker cp results

README-dev.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,12 @@ This set of tools is for batch collecting and processing performance and coverag
400400
We have different github actions
401401

402402
### Creating docker images
403+
404+
[Build and publish](.github/workflows/build-and-publish-docker-image.yml)
405+
403406
### Using docker images to run jobs
404407

405-
See the job defined here ["run Perf Test and collect data" .github/workflows/run-docker-tests.yml](./.githrun-docker-tests.yml)
408+
See the job defined here ["run Perf Test and collect data" .github/workflows/run-docker-tests.yml](.github/workflows/run-docker-tests.yml)
406409
to use the docker image
407410

408411

0 commit comments

Comments
 (0)