diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b31aa22..2fd8553 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,28 +4,27 @@ on: workflow_dispatch: inputs: version: - description: "format %y.%-m.$i or auto" + description: "version" required: false type: string + latest: + description: "latest" + default: true + type: boolean prerelease: description: "pre release" default: false type: boolean +permissions: write-all + jobs: build: runs-on: ubuntu-latest + permissions: write-all steps: - name: Checkout uses: actions/checkout@main - with: - fetch-depth: 0 - - - name: Changelog - uses: Bullrich/generate-release-changelog@master - id: Changelog - env: - REPO: ${{ github.repository }} - name: Init Env run: | @@ -40,12 +39,7 @@ jobs: if [ -n "${{ inputs.version }}" ]; then VERSION="${{ inputs.version }}" else - LATEST_TAG="$(curl -skL "https://api.github.com/repos/${{ github.repository }}/releases/latest" | jq -r ".tag_name" 2>/dev/null)" - if [[ -n "${LATEST_TAG}" && "`echo ${LATEST_TAG} | cut -d '.' -f 1,2`" = "`date +'%y.%-m.%-d'`" ]]; then # format %y.%-m.$i - VERSION="`echo ${LATEST_TAG} | awk -F '.' '{$3=$3+1}1' OFS='.'`" - else - VERSION="`date +'%y.%-m.%-d'`" - fi + VERSION="`date +'%y.%m.%d'`.dev" fi if [ -n "${VERSION}" ]; then @@ -57,24 +51,17 @@ jobs: - name: Build Configs Package run: | - zip -9 configs.zip -j *.yml VERSION + # Build Configs Package + zip -9j configs-${{ env.VERSION }}.zip *.yml VERSION - - name: Upload to Artifacts - if: success() && env.VERSION == '' - uses: actions/upload-artifact@v4 - with: - name: configs - path: | - configs.zip - - - name: Release + - name: Release Configs if: success() && env.VERSION != '' - uses: ncipollo/release-action@v1 + uses: ncipollo/release-action@v1.14.0 with: + name: ${{ env.VERSION }} tag: ${{ env.VERSION }} + makeLatest: ${{ inputs.latest }} prerelease: ${{ inputs.prerelease }} allowUpdates: true - body: | - ${{ steps.Changelog.outputs.changelog }} artifacts: | - configs.zip \ No newline at end of file + configs-*.zip \ No newline at end of file diff --git a/platforms.yml b/platforms.yml new file mode 100644 index 0000000..8beb293 --- /dev/null +++ b/platforms.yml @@ -0,0 +1,173 @@ +synoinfo: &synoinfo + supportext4: "yes" + support_uasp: "yes" + support_printer: "yes" + support_usb_printer: "yes" + support_disk_compatibility: "no" + support_memory_compatibility: "no" + support_led_brightness_adjustment: "no" + support_leds_atmega1608: "no" + support_leds_lp3943: "no" + support_oob_ctl: "no" + support_syno_hybrid_raid: "no" + supportraidgroup: "no" + support_ssd_cache: "yes" + support_diffraid: "yes" + enableRCPower: "yes" + support_fan: "no" + supportadt7490: "no" + maxlanport: "8" + netif_seq: "0 1 2 3 4 5 6 7" + buzzeroffen: "0xffff" +platforms: + apollolake: + dt: false + flags: + - "movbe" + noflags: + - "x2apic" + synoinfo: + <<: *synoinfo + HddEnableDynamicPower: "no" + productvers: + "7.0": + kver: "4.4.180" + "7.1": + kver: "4.4.180" + "7.2": + kver: "4.4.302" + broadwell: + dt: false + synoinfo: + <<: *synoinfo + productvers: + "7.0": + kver: "4.4.180" + "7.1": + kver: "4.4.180" + "7.2": + kver: "4.4.302" + broadwellnk: + dt: false + synoinfo: + <<: *synoinfo + support_bde_internal_10g: "no" + supportsas: "no" + productvers: + "7.0": + kver: "4.4.180" + "7.1": + kver: "4.4.180" + "7.2": + kver: "4.4.302" + broadwellnkv2: + dt: true + synoinfo: + <<: *synoinfo + support_bde_internal_10g: "no" + supportsas: "no" + supportsas_v2_r1: "no" + support_multipath: "yes" + productvers: + "7.0": + kver: "4.4.180" + "7.1": + kver: "4.4.180" + "7.2": + kver: "4.4.302" + broadwellntbap: + dt: false + synoinfo: + <<: *synoinfo + support_bde_internal_10g: "no" + supportsas: "no" + supportbootinst: "no" + no_disk_system: "no" + support_auto_install: "no" + support_install_only_dev: "no" + required_system_disk_number: "0" + productvers: + "7.0": + kver: "4.4.180" + "7.1": + kver: "4.4.180" + "7.2": + kver: "4.4.302" + denverton: + dt: false + flags: + - "movbe" + synoinfo: + <<: *synoinfo + productvers: + "7.0": + kver: "4.4.180" + "7.1": + kver: "4.4.180" + "7.2": + kver: "4.4.302" + geminilake: + dt: true + noflags: + - "x2apic" + synoinfo: + <<: *synoinfo + productvers: + "7.0": + kver: "4.4.180" + "7.1": + kver: "4.4.180" + "7.2": + kver: "4.4.302" + purley: + dt: true + noflags: + - "x2apic" + synoinfo: + <<: *synoinfo + supportsas: "no" + supportsas_v2_r1: "no" + support_multipath: "yes" + support_install_only_dev: "no" + isolated_disk_system: "no" + required_system_disk_number: "0" + internal_disk_without_led_mask: "no" + productvers: + "7.0": + kver: "4.4.180" + "7.1": + kver: "4.4.180" + "7.2": + kver: "4.4.302" + r1000: + dt: true + synoinfo: + <<: *synoinfo + productvers: + "7.1": + kver: "4.4.180" + "7.2": + kver: "4.4.302" + v1000: + dt: true + synoinfo: + <<: *synoinfo + productvers: + "7.0": + kver: "4.4.180" + "7.1": + kver: "4.4.180" + "7.2": + kver: "4.4.302" + epyc7002: + dt: true + synoinfo: + <<: *synoinfo + netif_seq_by_dts: "no" + productvers: + "7.1": + kpre: "7.1" + kver: "5.10.55" + "7.2": + kpre: "7.2" + kver: "5.10.55" \ No newline at end of file diff --git a/serials.yml b/serials.yml new file mode 100644 index 0000000..48d5d50 --- /dev/null +++ b/serials.yml @@ -0,0 +1,311 @@ +"DS218+": + prefix: + - "1970" + middle: + - "PCN" + suffix: "numeric" + ports: "1" +"DS220+": + prefix: + - "2230" + middle: + - "RLR" + suffix: "alpha" + macpre: 9009d0 + ports: "2" +"DS224+": + prefix: + - "2350" + middle: + - "WBR" + suffix: "alpha" + macpre: 9009d0 + ports: "2" +"DS423+": + prefix: + - "2350" + middle: + - "VKR" + suffix: "alpha" + macpre: 9009d0 + ports: "2" +"DS718+": + prefix: + - "1880" + middle: + - "PEN" + suffix: "numeric" + ports: "2" +"DS720+": + prefix: + - "2010" + middle: + - "QWR" + suffix: "alpha" + ports: "2" +"DS723+": + prefix: + - "2230" + middle: + - "TPR" + suffix: "alpha" + macpre: 9009d0 + ports: "2" +"DS918+": + prefix: + - "1890" + middle: + - "PDN" + suffix: "numeric" + ports: "2" +"DS920+": + prefix: + - "2120" + middle: + - "SBR" + suffix: "alpha" + ports: "2" +"DS923+": + prefix: + - "2270" + middle: + - "TQR" + suffix: "alpha" + macpre: 9009d0 + ports: "2" +"DS1019+": + prefix: + - "1880" + middle: + - "QXR" + suffix: "numeric" + ports: "2" +"DS1520+": + prefix: + - "2060" + middle: + - "RYR" + suffix: "alpha" + ports: "4" +"DS1522+": + prefix: + - "2270" + middle: + - "TRR" + suffix: "alpha" + macpre: 9009d0 + ports: "4" +"DS1621+": + prefix: + - "2080" + middle: + - "S7R" + suffix: "alpha" + ports: "4" +"DS1621xs+": + prefix: + - "2070" + middle: + - "RVR" + suffix: "alpha" + ports: "3" +"DS1819+": + prefix: + - "2050" + middle: + - "R5R" + suffix: "alpha" + ports: "4" +"DS1821+": + prefix: + - "2230" + middle: + - "SKR" + suffix: "alpha" + macpre: 9009d0 + ports: "4" +"DS1823xs+": + prefix: + - "2280" + middle: + - "V5R" + suffix: "alpha" + macpre: 9009d0 + ports: "4" +"DS2419+": + prefix: + - "1880" + middle: + - "QZR" + suffix: "alpha" + ports: "4" +"DS2422+": + prefix: + - "2180" + middle: + - "SLR" + suffix: "alpha" + ports: "4" +"DS3617xs": + prefix: + - "1891" + middle: + - "ODN" + suffix: "numeric" + ports: "4" +"DS3622xs+": + prefix: + - "21A0" + middle: + - "SQR" + suffix: "alpha" + macpre: 9009d0 + ports: "5" +"DVA1622": + prefix: + - "2280" + middle: + - "UBR" + suffix: "alpha" + macpre: 9009d0 + ports: "1" +"DVA3219": + prefix: + - "1930" + middle: + - "RFR" + suffix: "alpha" + ports: "4" +"DVA3221": + prefix: + - "2280" + middle: + - "SJR" + suffix: "alpha" + macpre: 9009d0 + ports: "4" +"FS2500": + prefix: + - "1960" + middle: + - "PSN" + suffix: "numeric" + ports: "4" +"FS6400": + prefix: + - "0000" + middle: + - "XXX" + suffix: "alpha" + ports: "4" +"HD6500": + prefix: + - "21C0" + middle: + - "RUR" + suffix: "alpha" + macpre: 9009d0 + ports: "5" +"RS422+": + prefix: + - "2210" + middle: + - "TSR" + suffix: "alpha" + macpre: 9009d0 + ports: "2" +"RS820rp+": + prefix: + - "1960" + middle: + - "RAR" + suffix: "alpha" + ports: "4" +"RS1221+": + prefix: + - "20B0" + middle: + - "RWR" + suffix: "alpha" + ports: "4" +"RS1619xs+": + prefix: + - "1920" + middle: + - "QPR" + suffix: "alpha" + ports: "4" +"RS2423RP+": + prefix: + - "22B0" + middle: + - "V3R" + suffix: "alpha" + macpre: 9009d0 +"RS2821RP+": + prefix: + - "20C0" + middle: + - "SMR" + suffix: "alpha" + ports: "8" +"RS3618xs": + prefix: + - "2320" + middle: + - "QNR" + suffix: "alpha" + macpre: 9009d0 + ports: "4" +"RS3621xs+": + prefix: + - "20A0" + middle: + - "SZR" + suffix: "alpha" + ports: "6" +"RS4021xs+": + prefix: + - "2310" + middle: + - "ULR" + suffix: "alpha" + macpre: 9009d0 + ports: "6" +"SA3200d": + prefix: + - "19A0" + middle: + - "S4R" + suffix: "alpha" + ports: "6" +"SA3400": + prefix: + - "1970" + middle: + - "RJR" + suffix: "alpha" + ports: "6" +"SA3600": + prefix: + - "2150" + middle: + - "RSR" + suffix: "alpha" + ports: "6" +"SA6400": + prefix: + - "2270" + middle: + - "UMR" + suffix: "alpha" + macpre: 9009d0 + ports: "7" +"SA3410": + prefix: + - "2270" + middle: + - "UMR" + suffix: "alpha" + macpre: 9009d0 + ports: "7" \ No newline at end of file