Skip to content

Refacto workflows#261

Merged
thomas-senechal merged 8 commits intostation-pluginfrom
refacto-workflows
Mar 20, 2025
Merged

Refacto workflows#261
thomas-senechal merged 8 commits intostation-pluginfrom
refacto-workflows

Conversation

@thomas-senechal
Copy link
Contributor

No description provided.

@thomas-senechal thomas-senechal changed the base branch from main to station-plugin March 19, 2025 11:51
@thomas-senechal thomas-senechal marked this pull request as ready for review March 19, 2025 15:53
Comment on lines +62 to +63
tag_name: v${{ needs.extract-version.outputs.version }}
name: server v${{ needs.extract-version.outputs.version }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not using inputs.version direcly ?

working-directory: ./server

- name: Install gofumpt
run: go install mvdan.cc/gofumpt@latest
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prefer set a specific version instead of latest.
It will avoid the things breaking without any change in basecode

@thomas-senechal thomas-senechal merged commit 8e2052d into station-plugin Mar 20, 2025
16 checks passed
@thomas-senechal thomas-senechal deleted the refacto-workflows branch March 20, 2025 10:08
thomas-senechal added a commit that referenced this pull request Apr 1, 2025
* Disable old workflows

* Divide build and release workflow into a server and a plugin workflow

* Add missing task generate

* Add CLI workflow

* Update plugin release workflow to use new artifact path for zip files

* Add job needs in plugin release workflows

* Remove obsolete GitHub workflows for build, linting, and testing

* Apply CR comments
thomas-senechal added a commit that referenced this pull request Apr 3, 2025
* Disable old workflows

* Divide build and release workflow into a server and a plugin workflow

* Add missing task generate

* Add CLI workflow

* Update plugin release workflow to use new artifact path for zip files

* Add job needs in plugin release workflows

* Remove obsolete GitHub workflows for build, linting, and testing

* Apply CR comments
thomas-senechal added a commit that referenced this pull request Apr 22, 2025
* Disable old workflows

* Divide build and release workflow into a server and a plugin workflow

* Add missing task generate

* Add CLI workflow

* Update plugin release workflow to use new artifact path for zip files

* Add job needs in plugin release workflows

* Remove obsolete GitHub workflows for build, linting, and testing

* Apply CR comments
thomas-senechal added a commit that referenced this pull request Apr 29, 2025
* Disable old workflows

* Divide build and release workflow into a server and a plugin workflow

* Add missing task generate

* Add CLI workflow

* Update plugin release workflow to use new artifact path for zip files

* Add job needs in plugin release workflows

* Remove obsolete GitHub workflows for build, linting, and testing

* Apply CR comments
thomas-senechal added a commit that referenced this pull request May 5, 2025
* Disable old workflows

* Divide build and release workflow into a server and a plugin workflow

* Add missing task generate

* Add CLI workflow

* Update plugin release workflow to use new artifact path for zip files

* Add job needs in plugin release workflows

* Remove obsolete GitHub workflows for build, linting, and testing

* Apply CR comments
thomas-senechal added a commit that referenced this pull request May 15, 2025
* Add plugin .gitignore to exclude build artifacts and log files

* Add PluginAPI to int/api with plugin registration and station middleware

Will later be used to also to put a plugin specific front end page

* Add initial plugin implementation

* Add plugin manifest file and favicon

* Add Taskfile for plugin

* Add README.md for DeWeb Station Plugin with setup and installation instructions

* Add basic plugin frontend

* Add homePage serving from plugin

* Remove useless commands for moving zip files in Taskfile.yml

* Add GitHub Actions workflow to build and upload plugin artifacts for multiple OS targets

* Add working-directory input to GitHub Actions install action and update workflows to utilize it

* Improve plugin favicon

* Add default route handling

* Remove unnecessary blank line in configurePluginAPI function

* Update GitHub Actions workflow to include additional plugin files in artifact upload

* Update ubuntu to 22.04 in build workflow

* Fix artifact naming and path in GitHub Actions build workflow

* Add network info fetching and enhance UI in App component

* Remove useless public/ from favicon path in home index.html

* Set mainnet as default for deweb plugin

* Fix artifact naming convention in GitHub Actions build workflow

* Add config file handling for DeWeb plugin

* Apply review suggestions

* Add missing font

* Apply UI/UX review suggestions

* Update DeWeb plugin home page README.md

* Refacto workflows (#261)

* Disable old workflows

* Divide build and release workflow into a server and a plugin workflow

* Add missing task generate

* Add CLI workflow

* Update plugin release workflow to use new artifact path for zip files

* Add job needs in plugin release workflows

* Remove obsolete GitHub workflows for build, linting, and testing

* Apply CR comments

* Update  plugin go.mod

* Update golangci-lint version to v1.64 in GitHub workflows

* Move cache init at API init

* Update plugin config structure to use CacheConfig object

* Fix misnamed variables in config

* Add example configuration file for DeWeb plugin

* audit fix server pages and plugin home

* Fix plugin build

* Update plugin/config.yaml.example

Co-authored-by: Andrei <34773578+fleandrei@users.noreply.github.com>

* Fix PluginDir not returning errors during stat if not IsNotExist

* Remove duplicated cacheKeyType and cacheKey constants from API definition

* Add command-line flags for configuration and log file paths; enhance cache path resolution in config processing

* Add network information to DeWebInfo endpoint

* Add Plugin API spec and generated files

* Update plugin frontend to show server status and build output to plugin api dir

* Add plugin API implem and configuration management

* Remove now useless old plugin config code and example file

* Add build-server task and update file copy commands to add the server binary to the archive

* Add mkdir command to create build directory in Taskfile.yml

* Refactor workflows for building and releasing server and plugin

* Fix wrong path for downloaded artifacts in plugin workflow

* Use Ubuntu to build windows

* Update server command to include --accept-disclaimer flag

* Remove deprecated PluginAPI implementation from the server API package.

* Remove useless helloworld plugin from server go mod

* Add private kill function and improve error handling at start in server manager

* Update plugin manifest to reflect new name and description, and change version to 0.4.4

* Update favicon and manifest description, and adjust environment paths for local DeWeb provider

* Update title in index.html to and update favicon for plugin frontend

* Add AWS S3 upload step and configure AWS credentials in release workflow

---------

Co-authored-by: Andrei <34773578+fleandrei@users.noreply.github.com>
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.

2 participants