Skip to content

Commit

Permalink
Component based repository (#323)
Browse files Browse the repository at this point in the history
* #322: Stage one, restructure

#!components: grid-bot,grid-bot-recovery
#!deployable-components: grid-bot

Restructure the current environment to better suit the component framework.

* #322: Stage two, new workflows

build.yml:
~ Filter down to just changes to the workflow and services folder.
~ Move to component framework (drops need for hardcoded images)
~ Split build and artifact writing to different GHA jobs, helps with clarity.
~ Make build workflow invoke the deploy workflow via workflow dispatch instead of having duplicate code spread across the entire repository.

deploy.yml:
~ Move to component framework.

* Drop .vscode and makefile

* #322: Move around files

Dockerfile:
~ Move to component directory
~ Drop need to embed image tag
~ Move context to current directory based on changes to Docker builds where they now are placed in the context of the origin.

Grid.Bot.csproj + ssl/:
~ Move ssl to the component directory so that it can be embedded in built components.

* #322: Introduce new files

For grid-bot-recovery, introduce a solution and Dockerfile.

* #322: Move to component framework.

* Remove launch settings

* Ignore launch settings

* Update Dockerfile

Fix issue with unknown directories

Signed-off-by: Nikita Petko <petko@vmminfra.net>

* Update Grid.Bot.csproj

Small issue with the copy command

* Update Grid.Bot.csproj

Change the targets for linux to run if NOT Windows NT

* Update Grid.Bot.csproj

Log on copy

* Update Grid.Bot.csproj

Update to use native targets

* Update Grid.Bot.csproj

Fix targets

* Update Grid.Bot.csproj

Fix directory

* #322: Bump to v10

* #322: Update deploy.yml

Bump to v11 which adds interval and timeout to service checks

Signed-off-by: Nikita Petko <petko@vmminfra.net>

* #322: Update .component.yaml

Update to static ports

Signed-off-by: Nikita Petko <petko@vmminfra.net>

* Update deploy.yml

Update for prod stats

Signed-off-by: Nikita Petko <petko@vmminfra.net>

* Update .component.yaml

Signed-off-by: Nikita Petko <petko@vmminfra.net>

---------

Signed-off-by: Nikita Petko <petko@vmminfra.net>
  • Loading branch information
nikita-petko authored Jul 1, 2024
1 parent 0bf8131 commit 363fc0b
Show file tree
Hide file tree
Showing 101 changed files with 701 additions and 626 deletions.
3 changes: 0 additions & 3 deletions .dockerignore

This file was deleted.

Loading

0 comments on commit 363fc0b

Please sign in to comment.