mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-03 20:07:59 +00:00
workflow: Add CIG WF610D AP
Add cig wf610d AP Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
This commit is contained in:
committed by
John Crispin
parent
6de999929b
commit
a7594eac00
20
.github/workflows/build-dev.yml
vendored
20
.github/workflows/build-dev.yml
vendored
@@ -185,4 +185,24 @@ jobs:
|
|||||||
tar cfz "$TAR_NAME" -C openwrt/bin/targets/ipq807x/ipq807x .
|
tar cfz "$TAR_NAME" -C openwrt/bin/targets/ipq807x/ipq807x .
|
||||||
curl -u "$GH_BUILD_USERNAME":"$GH_BUILD_PASSWORD" -T "$TAR_NAME" "https://tip.jfrog.io/artifactory/tip-wlan-ap-firmware/wf194c/dev/"$TAR_NAME""
|
curl -u "$GH_BUILD_USERNAME":"$GH_BUILD_PASSWORD" -T "$TAR_NAME" "https://tip.jfrog.io/artifactory/tip-wlan-ap-firmware/wf194c/dev/"$TAR_NAME""
|
||||||
|
|
||||||
|
build-wf610d:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GH_BUILD_TOKEN }}
|
||||||
|
submodules: true
|
||||||
|
- name: Build Image for WF610D
|
||||||
|
env:
|
||||||
|
GH_BUILD_USERNAME: ${{ secrets.GH_BUILD_USERNAME }}
|
||||||
|
GH_BUILD_PASSWORD: ${{ secrets.GH_BUILD_PASSWORD }}
|
||||||
|
run: |
|
||||||
|
TAG=$(date +%Y-%m-%d)-$(git rev-parse --abbrev-ref HEAD)-$(git rev-parse --short HEAD)
|
||||||
|
echo "wf610d-$TAG" > feeds/wlan-ap/opensync/src/vendor/tip/.pkgname
|
||||||
|
make TARGET=WF610D
|
||||||
|
TAR_NAME="wf610d-$TAG.tar.gz"
|
||||||
|
tar cfz "$TAR_NAME" -C openwrt/bin/targets/ipq40xx/generic .
|
||||||
|
curl -u "$GH_BUILD_USERNAME":"$GH_BUILD_PASSWORD" -T "$TAR_NAME" "https://tip.jfrog.io/artifactory/tip-wlan-ap-firmware/wf610d/dev/"$TAR_NAME""
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
@@ -105,4 +105,24 @@ jobs:
|
|||||||
tar cfz "$TAR_NAME" -C openwrt/bin/targets/ipq40xx/generic .
|
tar cfz "$TAR_NAME" -C openwrt/bin/targets/ipq40xx/generic .
|
||||||
curl -u "$GH_BUILD_USERNAME":"$GH_BUILD_PASSWORD" -T "$TAR_NAME" "https://tip.jfrog.io/artifactory/tip-wlan-ap-firmware/ec420/trunk/"$TAR_NAME""
|
curl -u "$GH_BUILD_USERNAME":"$GH_BUILD_PASSWORD" -T "$TAR_NAME" "https://tip.jfrog.io/artifactory/tip-wlan-ap-firmware/ec420/trunk/"$TAR_NAME""
|
||||||
|
|
||||||
|
build-wf610d:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GH_BUILD_TOKEN }}
|
||||||
|
submodules: true
|
||||||
|
- name: Build Image for WF610D
|
||||||
|
env:
|
||||||
|
GH_BUILD_USERNAME: ${{ secrets.GH_BUILD_USERNAME }}
|
||||||
|
GH_BUILD_PASSWORD: ${{ secrets.GH_BUILD_PASSWORD }}
|
||||||
|
run: |
|
||||||
|
TAG=$(date +%Y-%m-%d)-$(git rev-parse --short HEAD)
|
||||||
|
echo "wf610d-$TAG" > feeds/wlan-ap/opensync/src/vendor/tip/.pkgname
|
||||||
|
make TARGET=WF610D
|
||||||
|
TAR_NAME="wf610d-$TAG.tar.gz"
|
||||||
|
tar cfz "$TAR_NAME" -C openwrt/bin/targets/ipq40xx/generic .
|
||||||
|
curl -u "$GH_BUILD_USERNAME":"$GH_BUILD_PASSWORD" -T "$TAR_NAME" "https://tip.jfrog.io/artifactory/tip-wlan-ap-firmware/wf610d/trunk/"$TAR_NAME""
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
5
build.sh
5
build.sh
@@ -7,7 +7,7 @@ TARGET=${1}
|
|||||||
|
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
echo "Error: please specify TARGET"
|
echo "Error: please specify TARGET"
|
||||||
echo "For example: IPQ40XX, ECW5410, AP2220, ECW5211 EC420"
|
echo "For example: IPQ40XX, ECW5410, AP2220, ECW5211 EC420 WF610D"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -53,6 +53,9 @@ WF194C)
|
|||||||
TARGET=wf194c
|
TARGET=wf194c
|
||||||
WIFI=wifi-ax
|
WIFI=wifi-ax
|
||||||
;;
|
;;
|
||||||
|
WF610D)
|
||||||
|
TARGET=wf610d
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "${TARGET} is unknown"
|
echo "${TARGET} is unknown"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user