-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bb62afc
commit 59f44c2
Showing
1 changed file
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,16 +74,17 @@ jobs: | |
set -x | ||
if [[ "$(uname -m | tr -d '[:space:]')" == "aarch64" ]]; then | ||
if [[ "${{ github.event.inputs.host }}" != "ALL" ]] && [[ "${{ github.event.inputs.host }}" != "aarch64-Linux" ]]; then | ||
exit 1 | ||
echo "CONTINUE_GHRUN=FALSE" >> "${GITHUB_ENV}" | ||
fi | ||
elif [[ "$(uname -m | tr -d '[:space:]')" == "x86_64" ]]; then | ||
if [[ "${{ github.event.inputs.host }}" != "ALL" ]] && [[ "${{ github.event.inputs.host }}" != "x86_64-Linux" ]]; then | ||
exit 1 | ||
echo "CONTINUE_GHRUN=FALSE" >> "${GITHUB_ENV}" | ||
fi | ||
fi | ||
continue-on-error: false | ||
|
||
- name: Validate Required Secrets [${{ matrix.host }}<==>${{ matrix.runner }}] | ||
if: env.CONTINUE_GHRUN != 'FALSE' | ||
env: | ||
RO_GHTOKEN: ${{ secrets.RO_GHTOKEN }} | ||
RO_GLTOKEN: ${{ secrets.RO_GLTOKEN }} | ||
|
@@ -103,6 +104,7 @@ jobs: | |
continue-on-error: false | ||
|
||
- name: Parse Input [${{ matrix.host }}<==>${{ matrix.runner }}] | ||
if: env.CONTINUE_GHRUN != 'FALSE' | ||
run: | | ||
##presets | ||
set +x ; set +e | ||
|
@@ -119,7 +121,7 @@ jobs: | |
export GHCRPKG_LOCAL | ||
echo "GHCRPKG_LOCAL=${GHCRPKG_LOCAL}" >> "${GITHUB_ENV}" | ||
##Logs | ||
if [ "${{ github.event.inputs.logs }}"" == "false" ] ; then | ||
if [ "${{ github.event.inputs.logs }}" == "false" ] ; then | ||
export KEEP_LOGS="NO" | ||
else | ||
export KEEP_LOGS="YES" | ||
|
@@ -153,6 +155,7 @@ jobs: | |
continue-on-error: false | ||
|
||
- name: Setup Env [${{ matrix.host }}<==>${{ matrix.runner }}] | ||
if: env.CONTINUE_GHRUN != 'FALSE' | ||
run: | | ||
##presets | ||
set +x ; set +e | ||
|
@@ -178,6 +181,7 @@ jobs: | |
continue-on-error: true | ||
|
||
- name: Disable apparmor_restrict_unprivileged_userns #Required for runimage etc | ||
if: env.CONTINUE_GHRUN != 'FALSE' | ||
run: | | ||
#presets | ||
set +x ; set +e | ||
|
@@ -189,6 +193,7 @@ jobs: | |
continue-on-error: true | ||
|
||
- name: BUILD [${{ matrix.host }}<==>${{ matrix.runner }}] | ||
if: env.CONTINUE_GHRUN != 'FALSE' | ||
env: | ||
#GHCR_TOKEN: "${{ secrets.GHCR_TOKEN }}" #Needs Actions' Token if we want to make the packages public | ||
GHCR_TOKEN: "${{ github.token }}" | ||
|
@@ -226,6 +231,7 @@ jobs: | |
|
||
##Logs & Artifacts | ||
- name: Get DateTime [${{ matrix.host }}<==>${{ matrix.runner }}] | ||
if: env.CONTINUE_GHRUN != 'FALSE' | ||
run: | | ||
#Presets | ||
set +x ; set +e | ||
|
@@ -235,6 +241,7 @@ jobs: | |
continue-on-error: true | ||
|
||
- name: Upload (LOG) Artifacts [${{ matrix.host }}<==>${{ matrix.runner }}] | ||
if: env.CONTINUE_GHRUN != 'FALSE' | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: Pkgcache_TEST_${{ matrix.host }} | ||
|
@@ -247,6 +254,7 @@ jobs: | |
continue-on-error: true | ||
|
||
- name: Attest Build Provenance [${{ matrix.host }}<==>${{ matrix.runner }}] | ||
if: env.CONTINUE_GHRUN != 'FALSE' | ||
uses: actions/[email protected] | ||
with: | ||
subject-name: "build-logs-test-builds-${{ env.UTC_TIME }}" | ||
|