mirror of
https://github.com/Retropex/DeepSea-startos.git
synced 2025-05-12 21:50:42 +02:00
Compare commits
3 Commits
40c832dd13
...
0d3402af20
Author | SHA1 | Date | |
---|---|---|---|
0d3402af20 | |||
1da8414be0 | |||
659e8dd909 |
72
.github/workflows/releaseService.yml
vendored
72
.github/workflows/releaseService.yml
vendored
@ -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
|
20
README.md
20
README.md
@ -2,9 +2,9 @@
|
||||
<img src="icon.png" alt="Project Logo" width="21%">
|
||||
</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
|
||||
|
||||
@ -63,27 +63,27 @@ Initialize sdk & verify install
|
||||
start-sdk init
|
||||
start-sdk --version
|
||||
```
|
||||
Now you are ready to build the `hello-world` package!
|
||||
Now you are ready to build the `deepsea-dashboard` package!
|
||||
|
||||
## Cloning
|
||||
|
||||
Clone the project locally:
|
||||
|
||||
```
|
||||
git clone https://github.com/Start9Labs/hello-world-startos.git
|
||||
cd hello-world-startos
|
||||
git clone https://github.com/Retropex/DeepSea-startos.git
|
||||
cd DeepSea-startos
|
||||
git submodule update --init --recursive
|
||||
```
|
||||
|
||||
## 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
|
||||
```
|
||||
|
||||
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
|
||||
@ -103,7 +103,7 @@ Run the following commands to determine successful install:
|
||||
```
|
||||
start-cli auth login
|
||||
# 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:
|
||||
@ -112,10 +112,10 @@ If you already have your `start-cli` config file setup with a default `host`, yo
|
||||
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
|
||||
|
||||
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!**
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Instructions for DeepSea dashboard
|
||||
|
||||
Every thing is automaticaly done. Just enjoy the app!
|
||||
|
||||
(This community project is not affiliated with OCEAN)
|
@ -5,7 +5,7 @@ id: deepsea-dashboard
|
||||
# A human readable service title
|
||||
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.
|
||||
version: "0.8"
|
||||
version: "0.8.1"
|
||||
# Release notes for the update - can be a string, paragraph or URL
|
||||
release-notes: |
|
||||
Initial release
|
||||
|
Loading…
Reference in New Issue
Block a user