Skip to content

Add CACHE_BUST build arg to force fresh rusty-comms clone #11

Add CACHE_BUST build arg to force fresh rusty-comms clone

Add CACHE_BUST build arg to force fresh rusty-comms clone #11

Workflow file for this run

name: Arcaflow CI Workflow
on:
push:
branches:
- "**"
pull_request:
release:
types:
- published
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Build image
run: docker compose build
- name: Run plugin
run: docker compose up
- name: Extract coverage data
run: |
docker create --name test quay.io/arcalot/arcaflow-plugin-rusty-comms:latest
docker cp test:/htmlcov .
docker rm test
- name: Publish coverage report to job summary
run: |
pip install html2text
html2text --ignore-images --ignore-links -b 0 htmlcov/index.html >> $GITHUB_STEP_SUMMARY
- name: Upload coverage results
uses: actions/upload-artifact@v4
with:
name: coverage
path: htmlcov
if-no-files-found: error
act:
uses: arcalot/arcaflow-container-toolkit/.github/workflows/reusable_workflow.yaml@main
with:
image_name: ${{ github.event.repository.name }}
image_tag: 'latest'
multi_arch: true
secrets:
QUAY_NAMESPACE: ${{ secrets.QUAY_NAMESPACE }}
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
docsgen:
needs: act
uses: arcalot/arcaflow-docsgen/.github/workflows/reusable_workflow.yaml@main
permissions:
contents: write
pull-requests: write
with:
plugin_path: "arcaflow_plugin_rusty_comms/rusty_comms_plugin.py"