Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
Azathothas committed Jan 26, 2025
1 parent bb62afc commit 59f44c2
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/manual_test_builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand All @@ -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"
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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 }}"
Expand Down Expand Up @@ -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
Expand All @@ -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 }}
Expand All @@ -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 }}"
Expand Down

0 comments on commit 59f44c2

Please sign in to comment.