mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
road to v1.4.3
This commit is contained in:
parent
7fe58ddd57
commit
45f4e06ace
1 changed files with 64 additions and 64 deletions
128
.github/workflows/dev.yml
vendored
128
.github/workflows/dev.yml
vendored
|
|
@ -103,60 +103,60 @@ jobs:
|
||||||
cache-to: type=registry,ref=bunkerity/cache:bw-ui-386-cache,mode=min
|
cache-to: type=registry,ref=bunkerity/cache:bw-ui-386-cache,mode=min
|
||||||
|
|
||||||
# Build bunkerweb/arm
|
# Build bunkerweb/arm
|
||||||
# build-bw-arm:
|
build-bw-arm:
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# steps:
|
steps:
|
||||||
# Prepare
|
Prepare
|
||||||
# - name: Checkout source code
|
- name: Checkout source code
|
||||||
# uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
# - name: Setup Buildx
|
- name: Setup Buildx
|
||||||
# id: buildx
|
id: buildx
|
||||||
# uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
# - name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
# uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
# with:
|
with:
|
||||||
# username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
# password: ${{ secrets.DOCKER_TOKEN }}
|
password: ${{ secrets.DOCKER_TOKEN }}
|
||||||
# - name: Setup SSH for ARM node
|
- name: Setup SSH for ARM node
|
||||||
# run: |
|
run: |
|
||||||
# mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
# echo "$SSH_KEY" > ~/.ssh/id_rsa_arm
|
echo "$SSH_KEY" > ~/.ssh/id_rsa_arm
|
||||||
# chmod 600 ~/.ssh/id_rsa_arm
|
chmod 600 ~/.ssh/id_rsa_arm
|
||||||
# echo "$SSH_CONFIG" > ~/.ssh/config
|
echo "$SSH_CONFIG" > ~/.ssh/config
|
||||||
# env:
|
env:
|
||||||
# SSH_KEY: ${{ secrets.ARM_SSH_KEY }}
|
SSH_KEY: ${{ secrets.ARM_SSH_KEY }}
|
||||||
# SSH_CONFIG: ${{ secrets.ARM_SSH_CONFIG }}
|
SSH_CONFIG: ${{ secrets.ARM_SSH_CONFIG }}
|
||||||
# - name: Append ARM node to buildx
|
- name: Append ARM node to buildx
|
||||||
# run: |
|
run: |
|
||||||
# docker buildx create --append --name ${{ steps.buildx.outputs.name }} --node arm --platform linux/arm64,linux/arm/v7,linux/arm/v6 ssh://ubuntu@arm
|
docker buildx create --append --name ${{ steps.buildx.outputs.name }} --node arm --platform linux/arm64,linux/arm/v7,linux/arm/v6 ssh://ubuntu@arm
|
||||||
|
|
||||||
# Build images
|
Build images
|
||||||
# - name: Build BW for ARM
|
- name: Build BW for ARM
|
||||||
# uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
# with:
|
with:
|
||||||
# context: .
|
context: .
|
||||||
# platforms: linux/arm64,linux/arm/v7
|
platforms: linux/arm64,linux/arm/v7
|
||||||
# tags: bunkerweb-tests-arm:latest
|
tags: bunkerweb-tests-arm:latest
|
||||||
# cache-from: type=registry,ref=bunkerity/cache:bw-arm-cache
|
cache-from: type=registry,ref=bunkerity/cache:bw-arm-cache
|
||||||
# cache-to: type=registry,ref=bunkerity/cache:bw-arm-cache,mode=min
|
cache-to: type=registry,ref=bunkerity/cache:bw-arm-cache,mode=min
|
||||||
# - name: Build BW autoconf for ARM
|
- name: Build BW autoconf for ARM
|
||||||
# uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
# with:
|
with:
|
||||||
# context: .
|
context: .
|
||||||
# file: autoconf/Dockerfile
|
file: autoconf/Dockerfile
|
||||||
# platforms: linux/arm64,linux/arm/v7
|
platforms: linux/arm64,linux/arm/v7
|
||||||
# tags: bunkerweb-autoconf-tests-arm:latest
|
tags: bunkerweb-autoconf-tests-arm:latest
|
||||||
# cache-from: type=registry,ref=bunkerity/cache:bw-autoconf-arm-cache
|
cache-from: type=registry,ref=bunkerity/cache:bw-autoconf-arm-cache
|
||||||
# cache-to: type=registry,ref=bunkerity/cache:bw-autoconf-arm-cache,mode=min
|
cache-to: type=registry,ref=bunkerity/cache:bw-autoconf-arm-cache,mode=min
|
||||||
# - name: Build BW UI for ARM
|
- name: Build BW UI for ARM
|
||||||
# uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
# with:
|
with:
|
||||||
# context: .
|
context: .
|
||||||
# file: ui/Dockerfile
|
file: ui/Dockerfile
|
||||||
# platforms: linux/arm64,linux/arm/v7
|
platforms: linux/arm64,linux/arm/v7
|
||||||
# tags: bunkerweb-ui-tests-arm:latest
|
tags: bunkerweb-ui-tests-arm:latest
|
||||||
# cache-from: type=registry,ref=bunkerity/cache:bw-ui-arm-cache
|
cache-from: type=registry,ref=bunkerity/cache:bw-ui-arm-cache
|
||||||
# cache-to: type=registry,ref=bunkerity/cache:bw-ui-arm-cache,mode=min
|
cache-to: type=registry,ref=bunkerity/cache:bw-ui-arm-cache,mode=min
|
||||||
|
|
||||||
# Build linux ubuntu
|
# Build linux ubuntu
|
||||||
build-bw-ubuntu:
|
build-bw-ubuntu:
|
||||||
|
|
@ -374,18 +374,18 @@ jobs:
|
||||||
run: cat /opt/.runner_env >> $GITHUB_ENV
|
run: cat /opt/.runner_env >> $GITHUB_ENV
|
||||||
|
|
||||||
# Run tests
|
# Run tests
|
||||||
# - name: Run Docker tests
|
- name: Run Docker tests
|
||||||
# run: ./tests/main.py "docker"
|
run: ./tests/main.py "docker"
|
||||||
# - name: Run Autoconf tests
|
- name: Run Autoconf tests
|
||||||
# run: ./tests/main.py "autoconf"
|
run: ./tests/main.py "autoconf"
|
||||||
# - name: Run Swarm tests
|
- name: Run Swarm tests
|
||||||
# run: ./tests/main.py "swarm"
|
run: ./tests/main.py "swarm"
|
||||||
# - name: Run Kubernetes tests
|
- name: Run Kubernetes tests
|
||||||
# run: ./tests/main.py "kubernetes"
|
run: ./tests/main.py "kubernetes"
|
||||||
- name: Generate Linux packages and build test images
|
- name: Generate Linux packages and build test images
|
||||||
run: ./tests/linux.sh ${{ env.BUILD_MODE }}
|
run: ./tests/linux.sh ${{ env.BUILD_MODE }}
|
||||||
# - name: Run Linux Ubuntu tests
|
- name: Run Linux Ubuntu tests
|
||||||
# run: ./tests/main.py "linux" "ubuntu"
|
run: ./tests/main.py "linux" "ubuntu"
|
||||||
- name: Run Linux Debian tests
|
- name: Run Linux Debian tests
|
||||||
run: ./tests/main.py "linux" "debian"
|
run: ./tests/main.py "linux" "debian"
|
||||||
- name: Run Linux CentOS tests
|
- name: Run Linux CentOS tests
|
||||||
|
|
@ -405,7 +405,7 @@ jobs:
|
||||||
|
|
||||||
# Push to dev registries
|
# Push to dev registries
|
||||||
push-docker:
|
push-docker:
|
||||||
needs: [tests, build-bw-386] #, build-bw-arm]
|
needs: [tests, build-bw-386, build-bw-arm]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue