Compare commits

...

3 Commits

Author SHA1 Message Date
0d3402af20
remove release workflow
Some checks failed
Build Service / BuildPackage (push) Has been cancelled
2025-04-25 15:49:22 +02:00
1da8414be0
update README.md 2025-04-25 15:48:36 +02:00
659e8dd909
update to v0.8.1 2025-04-25 15:44:34 +02:00
5 changed files with 14 additions and 84 deletions

View File

@ -1,72 +0,0 @@
name: Release Service
on:
push:
tags:
- 'v*.*'
jobs:
ReleasePackage:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Prepare StartOS SDK
uses: Start9Labs/sdk@v1
- name: Checkout services repository
uses: actions/checkout@v4
- name: Build the service package
run: |
git submodule update --init --recursive
start-sdk init
make
- name: Setting package ID and title from the manifest
id: package
run: |
echo "package_id=$(yq -oy ".id" manifest.*)" >> $GITHUB_ENV
echo "package_title=$(yq -oy ".title" manifest.*)" >> $GITHUB_ENV
shell: bash
- name: Generate sha256 checksum
run: |
PACKAGE_ID=${{ env.package_id }}
printf "\n SHA256SUM: $(sha256sum ${PACKAGE_ID}.s9pk) \n"
sha256sum ${PACKAGE_ID}.s9pk > ${PACKAGE_ID}.s9pk.sha256
shell: bash
- name: Generate changelog
run: |
PACKAGE_ID=${{ env.package_id }}
echo "## What's Changed" > change-log.txt
yq -oy '.release-notes' manifest.* >> change-log.txt
echo "## SHA256 Hash" >> change-log.txt
echo '```' >> change-log.txt
sha256sum ${PACKAGE_ID}.s9pk >> change-log.txt
echo '```' >> change-log.txt
shell: bash
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref_name }}
name: ${{ env.package_title }} ${{ github.ref_name }}
prerelease: true
body_path: change-log.txt
files: |
./${{ env.package_id }}.s9pk
./${{ env.package_id }}.s9pk.sha256
- name: Publish to Registry
env:
S9USER: ${{ secrets.S9USER }}
S9PASS: ${{ secrets.S9PASS }}
S9REGISTRY: ${{ secrets.S9REGISTRY }}
run: |
if [[ -z "$S9USER" || -z "$S9PASS" || -z "$S9REGISTRY" ]]; then
echo "Publish skipped: missing registry credentials."
else
start-sdk publish https://$S9USER:$S9PASS@$S9REGISTRY ${{ env.package_id }}.s9pk
fi

@ -1 +1 @@
Subproject commit 4241618d69456348da2049cfc1820dc9bf465b7d Subproject commit 16638ca05df4b2e58a0ded90c4bd691760421919

View File

@ -2,9 +2,9 @@
<img src="icon.png" alt="Project Logo" width="21%"> <img src="icon.png" alt="Project Logo" width="21%">
</p> </p>
# Hello World for StartOS # DeepSea dashboard for StartOS
Hello World is a simple, minimal project that serves as a template for creating a service that runs on StartOS. This repository creates the `s9pk` package that is installed to run `hello-world` on [StartOS](https://github.com/Start9Labs/start-os/). Learn more about service packaging in the [Developer Docs](https://start9.com/latest/developer-docs/). [DeepSea dashboard](https://github.com/Djobleezy/DeepSea-Dashboard) is an alternative dashboard for [OCEAN](https://ocean.xyz).
## Dependencies ## Dependencies
@ -63,27 +63,27 @@ Initialize sdk & verify install
start-sdk init start-sdk init
start-sdk --version start-sdk --version
``` ```
Now you are ready to build the `hello-world` package! Now you are ready to build the `deepsea-dashboard` package!
## Cloning ## Cloning
Clone the project locally: Clone the project locally:
``` ```
git clone https://github.com/Start9Labs/hello-world-startos.git git clone https://github.com/Retropex/DeepSea-startos.git
cd hello-world-startos cd DeepSea-startos
git submodule update --init --recursive git submodule update --init --recursive
``` ```
## Building ## Building
To build the `hello-world` package for all platforms using start-sdk, run the following command: To build the `deepsea-dashboard` package for all platforms using start-sdk, run the following command:
``` ```
make make
``` ```
To build the `hello-world` package for a single platform using start-sdk, run: To build the `deepsea-dashboard` package for a single platform using start-sdk, run:
``` ```
# for amd64 # for amd64
@ -103,7 +103,7 @@ Run the following commands to determine successful install:
``` ```
start-cli auth login start-cli auth login
# Enter your StartOS password # Enter your StartOS password
start-cli --host https://server-name.local package install hello-world.s9pk start-cli --host https://server-name.local package install deepsea-dashboard.s9pk
``` ```
If you already have your `start-cli` config file setup with a default `host`, you can install simply by running: If you already have your `start-cli` config file setup with a default `host`, you can install simply by running:
@ -112,10 +112,10 @@ If you already have your `start-cli` config file setup with a default `host`, yo
make install make install
``` ```
> **Tip:** You can also install the hello-world.s9pk using **Sideload Service** under the **System > Manage** section. > **Tip:** You can also install the deepsea-dashboard.s9pk using **Sideload Service** under the **System > Manage** section.
### Verify Install ### Verify Install
Go to your StartOS Services page, select **Hello World**, configure and start the service. Then, verify its interfaces are accessible. Go to your StartOS Services page, select **DeepSea Dashboard**, configure and start the service. Then, verify its interfaces are accessible.
**Done!** **Done!**

View File

@ -1,3 +1,5 @@
# Instructions for DeepSea dashboard # Instructions for DeepSea dashboard
Every thing is automaticaly done. Just enjoy the app! Every thing is automaticaly done. Just enjoy the app!
(This community project is not affiliated with OCEAN)

View File

@ -5,7 +5,7 @@ id: deepsea-dashboard
# A human readable service title # A human readable service title
title: "DeepSea Dashboard" title: "DeepSea Dashboard"
# Service version - accepts up to four digits, where the last confirms to revisions necessary for StartOS - see documentation: https://github.com/Start9Labs/emver-rs. This value will change with each release of the service. # Service version - accepts up to four digits, where the last confirms to revisions necessary for StartOS - see documentation: https://github.com/Start9Labs/emver-rs. This value will change with each release of the service.
version: "0.8" version: "0.8.1"
# Release notes for the update - can be a string, paragraph or URL # Release notes for the update - can be a string, paragraph or URL
release-notes: | release-notes: |
Initial release Initial release