Skip to content

On a POST sync api call, the appsettings.yaml Git/Branch is ignored in favor of "master" #29

Description

@mikeysaurus

When running this API call, with these settings set to:

Git:
RepositoryUrl: "https://github.com/ss14Starlight/space-station-14"
Branch: "Starlight"

I get these errors in my MapServer logs:

[07:43:54 INF SS14.MapServer.Services.GitService] Retrieving branch/commit master...

[07:43:54 INF SS14.MapServer.BuildRunners.LocalBuildService] Running: git config user.name "biteless-dot"

[07:43:54 INF SS14.MapServer.BuildRunners.LocalBuildService] Run finished

[07:43:54 INF SS14.MapServer.BuildRunners.LocalBuildService] Running: git config user.email "23003816+biteless-dot@users.noreply.github.com"

[07:43:54 INF SS14.MapServer.BuildRunners.LocalBuildService] Run finished

[07:43:54 INF SS14.MapServer.BuildRunners.LocalBuildService] Running: git fetch -fu  https://github.com/ss14Starlight/space-station-14 master

[07:43:54 ERR SS14.MapServer.MapProcessing.Services.ProcessQueueHostedService] An exception occured while processing queued task. 

SS14.MapServer.Exceptions.BuildException: Error while running: git fetch -fu  https://github.com/ss14Starlight/space-station-14 master

   at SS14.MapServer.BuildRunners.LocalBuildService.ProcessLocalBuildException(String log, String fileName, Exception exception) in /src/SS14.MapServer/BuildRunners/LocalBuildService.cs:line 149

   at SS14.MapServer.BuildRunners.LocalBuildService.Run(String directory, String command, List`1 arguments, Boolean joinExecutablePath, CancellationToken cancellationToken) in /src/SS14.MapServer/BuildRunners/LocalBuildService.cs:line 122

[07:44:01 INF Microsoft.Hosting.Lifetime] Application is shutting down...

[07:44:01 INF Quartz.Core.QuartzScheduler] Scheduler QuartzScheduler_$_NON_CLUSTERED shutting down.

[07:44:01 INF Quartz.Core.QuartzScheduler] Scheduler QuartzScheduler_$_NON_CLUSTERED paused.

[07:44:01 INF Quartz.Core.QuartzScheduler] Scheduler QuartzScheduler_$_NON_CLUSTERED Shutdown complete.

[07:44:01 INF SS14.MapServer.MapProcessing.Services.ProcessQueueHostedService] ProcessQueueHostedService stopped

If I switch the repo url to the main SpaceStation14 space-wizards url, with the master branch, it works fine. This makes me think that my appsettings.yaml git options are not being respected.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions