Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Remove Python App Function Deployment Code and enable_dotnet Code. #2636

Closed

Conversation

nharper285
Copy link
Contributor

Summary of the Pull Request

What is this about?
This PR removes Python App Function deployment code and enable_dotnet code. It is the first of several PRs that will remove references to the old python app service.

For now, we are still deploying two app functions, but they will both be dotnet functions. Any code that can be shared (in deploy.py or in any of the *.bicep files) is now shared and old python-specific references and resources have been removed.

This PR also updates the names of the zips output in the release artifacts. The dotnet api zip is now api-service.zip, i.e. the primary zip.

PR Checklist

  • Applies to work item: Update Deployment Code to deploy two dotnet functions #2635
  • CLA signed. If not, go over here and sign the CLI.
  • Tests added/passed
  • Requires documentation to be updated
  • I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Info on Pull Request

What does this include?

Validation Steps Performed

How does someone test & validate?

@codecov-commenter
Copy link

codecov-commenter commented Nov 18, 2022

Codecov Report

Merging #2636 (fcac906) into main (ae827b2) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main    #2636   +/-   ##
=======================================
  Coverage   29.37%   29.37%           
=======================================
  Files         290      290           
  Lines       35603    35603           
=======================================
  Hits        10457    10457           
  Misses      25146    25146           
Impacted Files Coverage Δ
src/ApiService/ApiService/onefuzzlib/Creds.cs 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

.github/workflows/ci.yml Outdated Show resolved Hide resolved
.github/workflows/ci.yml Outdated Show resolved Hide resolved
@nharper285 nharper285 marked this pull request as ready for review November 22, 2022 17:31
@nharper285 nharper285 marked this pull request as draft November 22, 2022 17:31
@nharper285 nharper285 marked this pull request as ready for review November 22, 2022 19:23
src/deny.toml Outdated Show resolved Hide resolved
Co-authored-by: George Pollard <porges@porg.es>
params: {
server_farm_name: (enable_remote_debugging) ? '${name}-net' : name
owner: owner
location: location
use_windows: enable_remote_debugging
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we decided that we should switch to Windows by default? We will need to test how the upgrade works though, it might require deleting/recreating the App Service Plan (serverFarm)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we leave this change be made at a later time?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be easier from a deployment perspective to keep the changes relegated to what's completely necessary.

@nharper285 nharper285 closed this Nov 23, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Dec 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants