Skip to content

Access behind a proxy on self hosted runner #270

@HediehM

Description

@HediehM

Someone posted this in discussions 2022 and no one responded. Here is our issue:

We are attempting to deploy code to a storage account from a runner in a self-hosted agent Mere the ENV values for the ACA Image are predefined.
When we deploy via a custom bash/python script setting the HTTP_ PROXY, NO_ PROXY, and HTTPS_ PROXY values we are able to connect to our storage account just fine.
However when running the

Azure/functions-action@vl it doesn't appear that the environment variables are being respected:

  • name: Run Azure Functions Action
    uses: Azure/functions-action@v1
    id: deploy-to-function-app with:
    app-name: ${( env. AZURE_FUNCTIONAPP_NAME }} package: $ff enAZURE_FUNCTIONARRPACKAGE PATH }}
    env:
    NO_PROXY: "‹internal destination>"
    HTTP_PROXY: "*
    HTTPS_PROXY: ""

I can see in the logs that it reads the proper set values, but somehow the function action is still picking up the value set within the self-hosted runner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions