and add information from steps and inputs context for future debug. --- For debugging a temporary commit [that trims the tests is used](https://code.forgejo.org/forgejo/end-to-end/pulls/948/commits/5e6bd041158847de99908464d629cbd85d14b951) ## No build from source - https://code.forgejo.org/forgejo/end-to-end/actions/runs/3905  ## Build from source A temporary commit [is used to build from sources](https://code.forgejo.org/forgejo/end-to-end/pulls/948/commits/ffa5170ba21c070208c7934d727327efc0ec248f). - https://code.forgejo.org/forgejo/end-to-end/actions/runs/3904  Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/948 Co-authored-by: Earl Warren <contact@earl-warren.org> Co-committed-by: Earl Warren <contact@earl-warren.org>
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
inputs:
|
|
built:
|
|
description: 'True if a source build is available, false otherwise'
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: cache S3 binaries
|
|
id: S3
|
|
uses: https://data.forgejo.org/actions/cache@v4
|
|
with:
|
|
path: |
|
|
/usr/local/bin/minio
|
|
/usr/local/bin/mc
|
|
/usr/local/bin/garage
|
|
key: S3
|
|
|
|
- uses: https://data.forgejo.org/actions/setup-forgejo@v3.0.2
|
|
with:
|
|
install-only: true
|
|
- run: forgejo-binary.sh ensure_user forgejo
|
|
- name: inputs context dump for debug
|
|
run: |
|
|
set -x
|
|
cat <<EOF
|
|
${{ toJSON(inputs) }}
|
|
EOF
|
|
- uses: actions/download-artifact@v3
|
|
if: ${{ inputs.built == 'yes' }}
|
|
with:
|
|
name: forgejo-dev
|
|
path: /srv/forgejo-binaries
|
|
- name: chown/chmod /srv/forgejo-binaries
|
|
run: |
|
|
mkdir -p /srv/forgejo-binaries
|
|
chown -R forgejo /srv/forgejo-binaries
|
|
chmod -R +x /srv/forgejo-binaries
|
|
- run: |
|
|
script=$(pwd)/end-to-end.sh
|
|
$script run dependencies
|
|
$script clobber
|