Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pythonfunction.yml.template runner #45

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jolerasioo
Copy link

The runner ubuntu-18 is too old and I wasn't able to run it while going through the lab as GH is never able to find a runner that meets the requirements. I had to updated to latest and it worked fine. Sharing it here so that no one else has the same issue.

Purpose

I work at Microsoft UK and I was going through this ms learn lab. The runner version is too old (ubuntu 18) and github was never able to find a runner that satisfied the requirements. The goal is to be able to run the python function workflow (might also be the same for the other function workflow) and deploy to Function Apps. I updated the runner to ubuntu-latest to solve this issue, and it works.

  • ...

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type

What kind of change does this Pull Request introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

  • Get the code
  • Run the GH actions workflow after following the lab steps (like shared above)
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code
- Deploy a function app to azure
- Link it to the repo
- get the publishing profile and add it to the repo secrets
- trigger the GH Actions workflow for python function app

What to Check

Verify that the following are valid

  • Check that it finds an agent and it starts running and finishes successfully

Other Information

https://learn.microsoft.com/en-us/training/modules/deploy-backend-apis/5-exercise-set-up-data-feed?pivots=python

The runner ubuntu-18 is too old and I wasn't able to run it while going through the lab as GH is never able to find a runner that meets the requirements. I had to updated to latest and it worked fine. Sharing it here so that no one else has the same issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant