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

Value for RepoURL #47

Closed
svict4 opened this issue Sep 7, 2021 · 1 comment
Closed

Value for RepoURL #47

svict4 opened this issue Sep 7, 2021 · 1 comment

Comments

@svict4
Copy link

svict4 commented Sep 7, 2021

Might be a dumb question, but what value do we need for Repo Url? Would it be this repo pointing to azure branch (or our fork?)

I'm getting the following error for Microsoft.Web/sites/sourcecontrols when provisioning

{
    "status": "Failed",
    "error": {
        "code": "BadRequest",
        "message": "There was a conflict. Conflict with existing ScmType: ExternalGit",
        "details": [
            {
                "message": "There was a conflict. Conflict with existing ScmType: ExternalGit"
            },
            {
                "code": "BadRequest"
            },
            {}
        ]
    }
}
@RadoslavGatev
Copy link
Owner

RadoslavGatev commented Oct 4, 2021

RepoUrl can be either https://github.com/RadoslavGatev/Ghost-Azure.git or your own fork.
azure is the stable branch.

That's the config of the demo website:

{
  "id": "/subscriptions/REDACTED/resourceGroups/ghost-azure-demo/providers/Microsoft.Web/sites/ghost-azure-demo/sourcecontrols/web",
  "name": "ghost-azure-demo",
  "type": "Microsoft.Web/sites/sourcecontrols",
  "location": "West Europe",
  "tags": {
    "displayName": "ghost-azure-demo",
    "hidden-related:/subscriptions/REDACTED/resourceGroups/ghost-azure-demo/providers/Microsoft.Web/serverfarms/ghost-azure-demo-as-plan": "Resource"
  },
  "properties": {
    "repoUrl": "https://github.com/RadoslavGatev/Ghost-Azure.git",
    "branch": "azure",
    "isManualIntegration": true,
    "isGitHubAction": false,
    "deploymentRollbackEnabled": false,
    "isMercurial": false,
    "provisioningState": "Succeeded",
    "gitHubActionConfiguration": null
  }
}

This issue is possibly related to #44 as the old azuredeploy tool used to provide meaningful defaults by looking at the referrer website that lead you to azuredeploy.

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

No branches or pull requests

2 participants