abarichello/godot-ci

How to use with beta builds?

bend-n opened this issue ยท 10 comments

for instance this

I see

godot-ci/Dockerfile

Lines 22 to 24 in 651e661

ARG GODOT_VERSION="3.4.2"
ARG RELEASE_NAME="stable"
ARG SUBDIR=""
however not quite sure how to set them. Do I image: docker://barichello/godot-ci:3.5/rc6?

There are no container images provided for pre-releases. This means godot-ci can only be used with stable releases.

Now that deployment is automated, we could build container images for pre-releases. However, we need to make sure the latest tag continues pointing to the latest stable release only, not pre-releases.

cc @TheOrioli

@bend-n @Calinou

In this PR #83 a workflow was added that can be used to build pre-releases, I'm not sure who has the power to actually run them in this repo, but I have been running them in mine. The workflow does not overwrite the latest tag https://github.com/TheOrioli/godot-ci/actions/workflows/manual_build.yml

Images are available on :

I use them like this in my workflows:

  build:
    strategy:
      matrix:
        include:
          - template: windows
            export_name: $EXPORT_NAME.exe
      fail-fast: true
    name: Build ${{ matrix.template }}
    runs-on: ubuntu-latest
    needs: [version]
    container:
      image: ghcr.io/theorioli/godot-ci:mono-3.5.rc6

EDIT: Once the Manual Build workflow is ran in this repository the abarichello Docker and GHCR images will work properly

@TheOrioli

Having a few issues... does it download the templates?

@bend-n your GODOT_VERSION is still set to 3.4.4 in the workflow, change that to GODOT_VERSION: 3.5.rc6

@TheOrioli

I still have the problem of /root/.local/share/godot/templates being completly empty...

PS: the line the link points to is the results of ls -l /root/.local/share/godot/templates
Oh wait, its actually ~/.. Lets see what happens if i change it..

@bend-n this is the setup step in my builds

 - name: Setup
      shell: bash
      run: |
        mkdir -v -p ~/.local/share/godot/templates
        mv /root/.local/share/godot/templates/${GODOT_VERSION}.mono ~/.local/share/godot/templates/${GODOT_VERSION}.mono

I use the mono version, so it should be just removing the .mono at the end of the lines

@bend-n I have not seen that error before.

I see two things that could be messy:

  1. ERROR: Cannot open file 'res://.import/Capture.ogg-f2e17ec5719fd0451670492ce185e886.oggstr'.
    at: get_dependencies (core/io/resource_format_binary.cpp:984)

  2. WARNING: Resources Modification: Could not start rcedit executable, configure rcedit path in the Editor Settings (Export > Windows > Rcedit).

the Rcedit one is much easier to debug, it's just a setting you can manually disable in the export config in the godot project export settings.
image

The import errors are normal, i ignore the .import

I got it ๐Ÿฅณ