restructure initialization (#1816)

* reorder enabling of systemd-resolved

* set dns at end

* don't disable interfaces

* let networkmanager manage ifupdown

* restructure initialization

* use pigz when available

* cleanup

* fetch key before adding registry

* fix build

* update patch-db

* fix build

* fix build

* wait for network reinit

* add dynamic wait for up to 60s for network to reinit
This commit is contained in:
Aiden McClelland
2022-09-22 11:40:36 -06:00
committed by GitHub
parent 28f9fa35e5
commit c728f1a694
13 changed files with 449 additions and 198 deletions

View File

@@ -67,6 +67,26 @@ jobs:
name: utils.tar
path: system-images/utils/utils.tar
binfmt:
name: Build binfmt.tar
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build image
run: make system-images/binfmt/binfmt.tar
- uses: actions/upload-artifact@v3
with:
name: binfmt.tar
path: system-images/binfmt/binfmt.tar
backend:
uses: ./.github/workflows/backend.yaml
@@ -77,7 +97,7 @@ jobs:
name: Build image
runs-on: ubuntu-latest
timeout-minutes: 60
needs: [compat,utils,backend,frontend]
needs: [compat,utils,binfmt,backend,frontend]
steps:
- uses: actions/checkout@v3
with:
@@ -95,6 +115,12 @@ jobs:
name: utils.tar
path: system-images/utils
- name: Download binfmt.tar artifact
uses: actions/download-artifact@v3
with:
name: binfmt.tar
path: system-images/binfmt
- name: Download js_snapshot artifact
uses: actions/download-artifact@v3
with: