mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-23 06:38:50 +00:00
* updating deploy.py for dotnet packages * dotnet deployment needs to be along side python if flagged * indivdual deployment state for dotnet api since this will deploy alongside python api * correcting state order for dotnet-api deployment step to follow python api deployment * cleanup deploy.py formatting * Adding dotnet's zip package arguments to deploy and fixing func command flags * Updating ci.yml for dotnet artifacts and adding az-local.settings.json for functionapp deployment * fixing directory path on ci.yml * changed single quote to double to pass black check * keeping changes to deploy.py staged in separate branch * missing newline at EOF Co-authored-by: AdamLeclerc-Microsoft <103067949+AdamLeclerc-Microsoft@users.noreply.github.com>
This commit is contained in:
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@ -277,6 +277,21 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd src/ApiService/
|
cd src/ApiService/
|
||||||
dotnet test --no-restore
|
dotnet test --no-restore
|
||||||
|
- name: copy artifacts
|
||||||
|
run: |
|
||||||
|
./src/ci/get-version.sh > src/deployment/VERSION
|
||||||
|
cd src/ApiService/ApiService/
|
||||||
|
echo ${GITHUB_RUN_ID} | tee onefuzzlib/build.id
|
||||||
|
echo ${GITHUB_SHA} | tee onefuzzlib/git.version
|
||||||
|
mv az-local.settings.json bin/Release/net6.0/local.settings.json
|
||||||
|
cd bin/Release/net6.0/
|
||||||
|
zip -r api-service-net.zip .
|
||||||
|
mkdir -p ${GITHUB_WORKSPACE}/artifacts/service-net
|
||||||
|
cp api-service-net.zip ${GITHUB_WORKSPACE}/artifacts/service-net
|
||||||
|
- uses: actions/upload-artifact@v2.2.2
|
||||||
|
with:
|
||||||
|
name: build-artifacts
|
||||||
|
path: artifacts
|
||||||
afl:
|
afl:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
steps:
|
steps:
|
||||||
|
6
src/ApiService/ApiService/az-local.settings.json
Normal file
6
src/ApiService/ApiService/az-local.settings.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"IsEncrypted": false,
|
||||||
|
"Values": {
|
||||||
|
"FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated"
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user