Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 74 additions & 0 deletions .github/workflows/bresci-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: Publish exact BreSci images to GHCR
on:
push:
branches: [AKO-46]
paths:
- .github/workflows/bresci-images.yml
- bresci-registry-images.json
workflow_dispatch:
permissions:
contents: read
packages: write
jobs:
matrix:
runs-on: ubuntu-latest
outputs:
images: ${{ steps.images.outputs.value }}
steps:
- uses: actions/checkout@v4
- id: images
run: echo "value=$(jq -c '{include:.images}' bresci-registry-images.json)" >> "$GITHUB_OUTPUT"
publish:
permissions:
contents: write
packages: write
needs: matrix
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.matrix.outputs.images) }}
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
ARCHIVE: ${{ matrix.archive }}
ARCHIVE_SHA256: ${{ matrix.sha256 }}
IMAGE_DIGEST: ${{ matrix.imageId }}
IMAGE_SOURCE_TAG: ${{ matrix.sourceTag }}
IMAGE_REPOSITORY: ${{ matrix.repository }}
IMAGE_TAG: ${{ matrix.tag }}
steps:
- name: Acquire exact measured OCI archive
shell: bash
run: |
set -euo pipefail
mkdir -p "$RUNNER_TEMP/bresci"
for attempt in $(seq 1 60); do
if gh release download bresci-workflows-v1 --pattern "$ARCHIVE" --dir "$RUNNER_TEMP/bresci"; then
break
fi
if [ "$attempt" = 60 ]; then exit 1; fi
sleep 15
done
cd "$RUNNER_TEMP/bresci"
echo "$ARCHIVE_SHA256 $ARCHIVE" | sha256sum --check
gzip -dc "$ARCHIVE" > image.tar
- name: Install OCI copy tool
run: sudo apt-get update -qq && sudo apt-get install -y --no-install-recommends skopeo
- name: Push original manifest and blobs without rebuilding
shell: bash
run: |
set -euo pipefail
export REGISTRY_AUTH_FILE="$RUNNER_TEMP/registry-auth.json"
printf '%s' "$GH_TOKEN" | skopeo login --username "$GITHUB_ACTOR" --password-stdin ghcr.io
skopeo copy --all --preserve-digests "oci-archive:$RUNNER_TEMP/bresci/image.tar:$IMAGE_SOURCE_TAG" "docker://$IMAGE_REPOSITORY:$IMAGE_TAG"
skopeo inspect --raw "docker://$IMAGE_REPOSITORY:$IMAGE_TAG" > "$RUNNER_TEMP/bresci/remote-manifest.json"
echo "${IMAGE_DIGEST#sha256:} $RUNNER_TEMP/bresci/remote-manifest.json" | sha256sum --check
printf '{"auths":{}}' > "$RUNNER_TEMP/anonymous-auth.json"
skopeo inspect --authfile "$RUNNER_TEMP/anonymous-auth.json" --raw "docker://$IMAGE_REPOSITORY@$IMAGE_DIGEST" > "$RUNNER_TEMP/bresci/public-manifest.json"
echo "${IMAGE_DIGEST#sha256:} $RUNNER_TEMP/bresci/public-manifest.json" | sha256sum --check
jq -n --arg slug '${{ matrix.slug }}' --arg image "$IMAGE_REPOSITORY@$IMAGE_DIGEST" --arg archiveSha256 "$ARCHIVE_SHA256" '{slug:$slug,image:$image,archiveSha256:$archiveSha256,originalManifestPreserved:true,anonymousPullVerified:true}' > "$RUNNER_TEMP/bresci/registry-receipt.json"
- uses: actions/upload-artifact@v4
with:
name: ghcr-${{ matrix.slug }}
path: ${{ runner.temp }}/bresci/registry-receipt.json
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,23 @@ notifies the AkôFlow documentation workflow. Configure the repository secret
`UFFeScience/akoflow`. If the secret is temporarily unavailable, the daily
documentation reconciliation still checks out this repository and validates
all referenced example files.

## BreSci scientific reproducibility studies

These seven examples adapt studies from the **Brazilian e-Science Workshop (BreSci), 2024–2026**, co-located with SBBD. Each README credits the original authors, links the paper and original data/code, describes the exact reproduced scope and protocol adaptations, and embeds actual result figures plus an observed native execution timeline. Input SHA-256 receipts, completed daemon evidence and independent artifact validators accompany each bundle.

| Workflow | Original conference / paper | Native activities | Visual results |
| --- | --- | --- | --- |
| [UniTED — labeled time-series event detection](scientific-workflows/united/README.md) | [BreSci 2025](https://sol.sbc.org.br/index.php/bresci/article/view/36901) | 10 | [Figures](scientific-workflows/united/screenshots/current/) |
| [Estrada Real — informed search on a curated historical graph](scientific-workflows/estrada-real/README.md) | [BreSci 2026](https://sol.sbc.org.br/index.php/bresci/article/view/44084) | 11 | [Figures](scientific-workflows/estrada-real/screenshots/current/) |
| [SQLSIM — analytical similarity queries in PostgreSQL](scientific-workflows/sqlsim/README.md) | [BreSci 2024](https://sol.sbc.org.br/index.php/bresci/article/view/30580) | 4 | [Figures](scientific-workflows/sqlsim/screenshots/current/) |
| [Eidolon — reproducible scientific data collections](scientific-workflows/eidolon/README.md) | [BreSci 2026](https://sol.sbc.org.br/index.php/bresci/article/view/44071) | 8 | [Figures](scientific-workflows/eidolon/screenshots/current/) |
| [INMET — São Paulo meteorological observations, 2013–2022](scientific-workflows/inmet/README.md) | [BreSci 2025](https://sol.sbc.org.br/index.php/bresci/article/view/36912) | 16 | [Figures](scientific-workflows/inmet/screenshots/current/) |
| [MAFAULDA — rotating-machinery faults and TinyML quantization](scientific-workflows/mafaulda-tinyml/README.md) | [BreSci 2026](https://sol.sbc.org.br/index.php/bresci/article/view/44074) | 22 | [Figures](scientific-workflows/mafaulda-tinyml/screenshots/current/) |
| [TPC-H Q1 — MongoDB embedding versus PostgreSQL reproducibility audit](scientific-workflows/tpch-databases/README.md) | [BreSci 2024](https://sol.sbc.org.br/index.php/bresci/article/view/30582) | 10 | [Figures](scientific-workflows/tpch-databases/screenshots/current/) |

Start from any linked bundle and run `./prepare.sh && ./run.sh`. Preparation acquires original inputs; computation executes offline. Native daemon execution instructions are in each README. Complete original inputs are used within each explicitly selected scope; the MAFAULDA portable profile and TPC-H Q1 audit do not claim whole-paper reproduction. Measured overlap demonstrates actual parallel execution, without assuming a speedup over a sequential baseline.

The Estrada Real search stage reproduces all **3,715** reported Greedy divergences; Eidolon's three rebuilt full R collections match the pinned published references. The database example preserves and exposes the different Q1 date cutoffs in the original code before testing an explicitly aligned variant.

BreSci Hub discovery tags: `bresci`, `bresci-2024`, `bresci-2025`, and `bresci-2026`. Each publication retains its original conference/year and scientific author attribution.
56 changes: 56 additions & 0 deletions bresci-ghcr-push-status.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"status": "awaiting-public-package-visibility",
"registry": "ghcr.io",
"workflowRun": "https://github.com/UFFeScience/akoflow-examples/actions/runs/44136396326",
"pushedImages": 7,
"originalManifestChecksPassed": 7,
"anonymousPullChecksPassed": 0,
"anonymousPullHttpStatus": 401,
"hubPublicationCompleted": false,
"sourceAndResultArchivesVerifiedByGitHubSha256": 21,
"releaseDraft": true,
"images": [
{
"slug": "united",
"image": "ghcr.io/uffescience/akoflow-examples/united@sha256:3ccc239aea4aedf2578d9f3895d5cda97472eff8bc6c51a456798070a0ed8192",
"originalManifestPreserved": true,
"publicPullVerified": false
},
{
"slug": "estrada-real",
"image": "ghcr.io/uffescience/akoflow-examples/estrada-real@sha256:22c0fa0da9d734498b20ddcb09f7765cfa1e4fab04e595c5401a3fcf2a238fd7",
"originalManifestPreserved": true,
"publicPullVerified": false
},
{
"slug": "sqlsim",
"image": "ghcr.io/uffescience/akoflow-examples/sqlsim@sha256:fdf6a614d119ddf5b9b712ea9f4a7d61fbf280fe0ae80d5be6dbf55c742d573a",
"originalManifestPreserved": true,
"publicPullVerified": false
},
{
"slug": "eidolon",
"image": "ghcr.io/uffescience/akoflow-examples/eidolon@sha256:4016e0bd5b954fdbb436736a69c96e0e260ddc562df56273db1501136a9a9939",
"originalManifestPreserved": true,
"publicPullVerified": false
},
{
"slug": "inmet",
"image": "ghcr.io/uffescience/akoflow-examples/inmet@sha256:5c61428db82753d20bb9ae9c3dea95d1e77e055afb4b5af80e2d5242fa643823",
"originalManifestPreserved": true,
"publicPullVerified": false
},
{
"slug": "mafaulda-tinyml",
"image": "ghcr.io/uffescience/akoflow-examples/mafaulda-tinyml@sha256:36dd0df262eb3cb373ef1cba2e824423aabf516e56e70b75ca62c1922978cc9e",
"originalManifestPreserved": true,
"publicPullVerified": false
},
{
"slug": "tpch-databases",
"image": "ghcr.io/uffescience/akoflow-examples/tpch-databases@sha256:9bfa73e297c7e7ddbec9dfec7493e7c5373d8342392599374d0a37d59ad9459d",
"originalManifestPreserved": true,
"publicPullVerified": false
}
]
}
68 changes: 68 additions & 0 deletions bresci-registry-images.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"release": "bresci-workflows-v1",
"images": [
{
"slug": "united",
"archive": "united-executed-image.tar.gz",
"sha256": "e40ba70a49acbe104f7a31c13371c14189e295d0988aa777e4f243dd9e9ad971",
"imageId": "sha256:3ccc239aea4aedf2578d9f3895d5cda97472eff8bc6c51a456798070a0ed8192",
"sourceTag": "local-3ccc239aea4aedf2",
"repository": "ghcr.io/uffescience/akoflow-examples/united",
"tag": "bresci-3ccc239aea4aedf2"
},
{
"slug": "estrada-real",
"archive": "estrada-real-executed-image.tar.gz",
"sha256": "103b486ec3e4058b1225efd051e9b6b069d0b11f0e310a94c8f9dc810e7e910c",
"imageId": "sha256:22c0fa0da9d734498b20ddcb09f7765cfa1e4fab04e595c5401a3fcf2a238fd7",
"sourceTag": "local-22c0fa0da9d73449",
"repository": "ghcr.io/uffescience/akoflow-examples/estrada-real",
"tag": "bresci-22c0fa0da9d73449"
},
{
"slug": "sqlsim",
"archive": "sqlsim-executed-image.tar.gz",
"sha256": "d21c29e6ee51f8d2e78375f8a675719a0cd0d607ab1fd47a829873ee764a8fcd",
"imageId": "sha256:fdf6a614d119ddf5b9b712ea9f4a7d61fbf280fe0ae80d5be6dbf55c742d573a",
"sourceTag": "local-fdf6a614d119ddf5",
"repository": "ghcr.io/uffescience/akoflow-examples/sqlsim",
"tag": "bresci-fdf6a614d119ddf5"
},
{
"slug": "eidolon",
"archive": "eidolon-executed-image.tar.gz",
"sha256": "032337ed3e8390ae53c08ec4c12d3bf0c9cfe0896647fb72b54a3a06a96d4203",
"imageId": "sha256:4016e0bd5b954fdbb436736a69c96e0e260ddc562df56273db1501136a9a9939",
"sourceTag": "local-4016e0bd5b954fdb",
"repository": "ghcr.io/uffescience/akoflow-examples/eidolon",
"tag": "bresci-4016e0bd5b954fdb"
},
{
"slug": "inmet",
"archive": "inmet-executed-image.tar.gz",
"sha256": "b98adc205f08a78f77c83c80a4726a8a87b2180d004ad1d7480304a174109bf4",
"imageId": "sha256:5c61428db82753d20bb9ae9c3dea95d1e77e055afb4b5af80e2d5242fa643823",
"sourceTag": "local-5c61428db82753d2",
"repository": "ghcr.io/uffescience/akoflow-examples/inmet",
"tag": "bresci-5c61428db82753d2"
},
{
"slug": "mafaulda-tinyml",
"archive": "mafaulda-tinyml-executed-image.tar.gz",
"sha256": "bc7194d7375215a641851d05a7270879e9e5b311ab761d8224db8611ade2e9ed",
"imageId": "sha256:36dd0df262eb3cb373ef1cba2e824423aabf516e56e70b75ca62c1922978cc9e",
"sourceTag": "local-36dd0df262eb3cb3",
"repository": "ghcr.io/uffescience/akoflow-examples/mafaulda-tinyml",
"tag": "bresci-36dd0df262eb3cb3"
},
{
"slug": "tpch-databases",
"archive": "tpch-databases-executed-image.tar.gz",
"sha256": "9890c5323914f27a41904450ca6e7ae2a74ecc2b822373420c53d0c99551ceb5",
"imageId": "sha256:9bfa73e297c7e7ddbec9dfec7493e7c5373d8342392599374d0a37d59ad9459d",
"sourceTag": "local-9bfa73e297c7e7dd",
"repository": "ghcr.io/uffescience/akoflow-examples/tpch-databases",
"tag": "bresci-9bfa73e297c7e7dd"
}
]
}
Loading
Loading