Updating Files w/ New Flags (#2861)

This commit is contained in:
Noah McGregor Harper
2023-02-17 21:23:56 +00:00
committed by GitHub
parent b38ab5de9e
commit 5061a3de29
3 changed files with 5 additions and 5 deletions

View File

@ -121,6 +121,6 @@ stages:
targetType: 'inline' targetType: 'inline'
script: | script: |
set -ex set -ex
./onefuzz-cli-$(version).exe config --endpoint $(ONEFUZZ_SERVICE_URL) --client_id "$(AZURE_CLIENT_ID)" --client_secret "$(AZURE_CLIENT_SECRET)" --authority "https://login.microsoftonline.com/$(AZURE_TENANT_ID)" ./onefuzz-cli-$(version).exe config --endpoint $(ONEFUZZ_SERVICE_URL) --override_client_id "$(AZURE_CLIENT_ID)"
./onefuzz-cli-$(version).exe --version ./onefuzz-cli-$(version).exe --version
until ./onefuzz-cli-$(version).exe versions check --exact; do echo "waiting due to version mismatch"; sleep 1; done until ./onefuzz-cli-$(version).exe versions check --exact; do echo "waiting due to version mismatch"; sleep 1; done

View File

@ -34,8 +34,8 @@ jobs:
set -ex set -ex
pip install onefuzz pip install onefuzz
sed -i s/INSERT_PAT_HERE/$(ado_pat)/ ado-work-items.json sed -i s/INSERT_PAT_HERE/$(ado_pat)/ ado-work-items.json
onefuzz config --endpoint $(endpoint) --client_id $(client_id) --client_secret $(client_secret) onefuzz config --endpoint $(endpoint) --override_client_id $(client_id)
onefuzz template libfuzzer basic ${{ parameters.onefuzz_project }} ${{ parameters.onefuzz_target }} $(Build.SourceVersion) ${{ parameters.onefuzz_pool }} --target_exe fuzz.exe --colocate_all_tasks --duration 1 --vm_count 1 --notification_config @./ado-work-items.json onefuzz --client_secret $(client_secret) template libfuzzer basic ${{ parameters.onefuzz_project }} ${{ parameters.onefuzz_target }} $(Build.SourceVersion) ${{ parameters.onefuzz_pool }} --target_exe fuzz.exe --colocate_all_tasks --duration 1 --vm_count 1 --notification_config @./ado-work-items.json
displayName: run onefuzz displayName: run onefuzz
env: env:
client_secret: client_secret client_secret: client_secret

View File

@ -47,7 +47,7 @@ jobs:
# On Windows, this text replacement could instead be implemented via PowerShell. # On Windows, this text replacement could instead be implemented via PowerShell.
sed -i s/INSERT_YOUR_PERSONAL_ACCESS_TOKEN_HERE/${ONEFUZZ_PAT}/ github-issues.json sed -i s/INSERT_YOUR_PERSONAL_ACCESS_TOKEN_HERE/${ONEFUZZ_PAT}/ github-issues.json
onefuzz config --endpoint $ONEFUZZ_ENDPOINT --client_id $ONEFUZZ_CLIENT_ID --client_secret $ONEFUZZ_CLIENT_SECRET onefuzz config --endpoint $ONEFUZZ_ENDPOINT --override_client_id $ONEFUZZ_CLIENT_ID
onefuzz template libfuzzer basic $ONEFUZZ_PROJECT $ONEFUZZ_NAME $GITHUB_SHA $ONEFUZZ_POOL --target_exe fuzz.exe --colocate_all_tasks --duration 1 --vm_count 1 --notification_config @./github-issues.json onefuzz --client_secret $ONEFUZZ_CLIENT_SECRET template libfuzzer basic $ONEFUZZ_PROJECT $ONEFUZZ_NAME $GITHUB_SHA $ONEFUZZ_POOL --target_exe fuzz.exe --colocate_all_tasks --duration 1 --vm_count 1 --notification_config @./github-issues.json
# Default for Linux. Would only need to be specified if `runs-on` == `windows-latest`. # Default for Linux. Would only need to be specified if `runs-on` == `windows-latest`.
shell: bash shell: bash