diff --git a/.github/workflows/trigger_docker.yml b/.github/workflows/trigger_docker.yml index 5f5c57251..38f0a4e13 100644 --- a/.github/workflows/trigger_docker.yml +++ b/.github/workflows/trigger_docker.yml @@ -4,15 +4,44 @@ on: types: - released - prereleased + push: + branches: + - maintenance + - devel jobs: - trigger: + dispatch_releases: runs-on: ubuntu-latest + if: github.event_name != 'push' steps: - name: 🚀 Repository Dispatch uses: peter-evans/repository-dispatch@v1 with: token: ${{ secrets.DOCKER_ACCESS_TOKEN }} repository: ${{ github.repository_owner }}/octoprint-docker - event-type: github.event.action + event-type: ${{ github.event_name }} client-payload: '{"tag_name": "${{ github.event.release.tag_name }}"}' + + dispatch_canary: + runs-on: ubuntu-latest + if: github.event_name == 'push' && github.ref == 'refs/heads/maintenance' + steps: + - name: 🚀 Repository Dispatch + uses: peter-evans/repository-dispatch@v1 + with: + token: ${{ secrets.DOCKER_ACCESS_TOKEN }} + repository: ${{ github.repository_owner }}/octoprint-docker + event-type: "canary" + client-payload: '{"tag_name": "${{ github.sha }}"}' + + dispatch_bleeding: + runs-on: ubuntu-latest + if: github.event_name == 'push' && github.ref == 'refs/heads/devel' + steps: + - name: 🚀 Repository Dispatch + uses: peter-evans/repository-dispatch@v1 + with: + token: ${{ secrets.DOCKER_ACCESS_TOKEN }} + repository: ${{ github.repository_owner }}/octoprint-docker + event-type: "bleeding" + client-payload: '{"tag_name": "${{ github.sha }}"}' diff --git a/docs/api/job.rst b/docs/api/job.rst index 8c0954c39..2679a9b51 100644 --- a/docs/api/job.rst +++ b/docs/api/job.rst @@ -205,8 +205,10 @@ Retrieve information about the current job }, "estimatedPrintTime": 8811, "filament": { - "length": 810, - "volume": 5.36 + "tool0": { + "length": 810, + "volume": 5.36 + } } }, "progress": { diff --git a/docs/development/virtual_printer.rst b/docs/development/virtual_printer.rst index 2ff4f2323..5e7a31e4d 100644 --- a/docs/development/virtual_printer.rst +++ b/docs/development/virtual_printer.rst @@ -200,6 +200,31 @@ There many configuration options via ``config.yaml`` for the virtual printer tha # Simulated ambient temperature in °C ambientTemperature: 21.3 + + # Response to M105 when there is a target + # Placeholders: + # - heater: The heater id (eg. T0, T1, B) + # - actual: The actual temperature of the heater + # - target: The target temperature of heater + m105TargetFormatString: {heater}:{actual:.2f}/ {target:.2f} + + # Response to M105 when there is no target + # Placeholders: + # - heater: The heater id (eg. T0, T1, B) + # - actual: The actual temperature of the heater + m105NoTargetFormatString: {heater}:{actual:.2f} + + # Enable virtual EEPROM + # If enabled, a file `eeprom.json` will be created in the plugin data folder + # to enable settings persistence across connections. Enables M500/1/2/4 commmands + # And a selection of other settings commands. Responses modeled on Marlin 2.0 + enable_eeprom: true + + # Support M503 + support_m503: true + + # Resend ratio to simulate noise on the line + resend_ratio: 0 .. _sec-development-virtual-printer-log: