Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
steps:
- name: Read the update type
id: meta
uses: dependabot/fetch-metadata@21025c705c08248db411dc16f3619e6b5f9ea21a # v2.5.0
uses: dependabot/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98 # v3.1.0
with:
github-token: ${{ github.token }}

Expand Down
54 changes: 27 additions & 27 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
apptainer: ${{ steps.images.outputs.apptainer }}
kind_tests: ${{ steps.images.outputs.kind_tests }}
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Check app.yaml against the repository
# The same check ci.yml runs, here as well because every build and
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
lint-manifests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Install kubeconform
run: |
Expand All @@ -145,7 +145,7 @@ jobs:
# Unpinned, setup-kubectl@v3 resolves `latest` from the frozen legacy
# GCS bucket - kubectl v1.31.0, kustomize 5.4.2 - and the static gates
# then validate output the kind clusters never see.
uses: azure/setup-kubectl@901a10e89ea615cf61f57ac05cecdf23e7de06d8 # v3.2
uses: azure/setup-kubectl@bda439f5f36b99b262ebdcd3613869bddb064c8e # v5.2.0
with:
version: v1.35.0

Expand All @@ -166,7 +166,7 @@ jobs:
# render with no metadata.namespace - contradicting the namespace both
# storage roots set, and landing the CSI drivers in `default` for
# anyone using the documented `kustomize | kubectl apply -f -` pipe.
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
uses: azure/setup-helm@2f5e7bc67f1f9972ab16657bb795f36d8f04de0e # v5.1.0
with:
# renovate: datasource=github-releases depName=helm/helm
version: v3.21.4
Expand Down Expand Up @@ -327,15 +327,15 @@ jobs:
# not collide.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Install kubectl
# Pinned to the version helm/kind-action installs in the kind jobs, so
# every job in this file renders through the same kustomize (v5.7.1).
# Unpinned, setup-kubectl@v3 resolves `latest` from the frozen legacy
# GCS bucket - kubectl v1.31.0, kustomize 5.4.2 - and the static gates
# then validate output the kind clusters never see.
uses: azure/setup-kubectl@901a10e89ea615cf61f57ac05cecdf23e7de06d8 # v3.2
uses: azure/setup-kubectl@bda439f5f36b99b262ebdcd3613869bddb064c8e # v5.2.0
with:
version: v1.35.0

Expand All @@ -356,7 +356,7 @@ jobs:
# render with no metadata.namespace - contradicting the namespace both
# storage roots set, and landing the CSI drivers in `default` for
# anyone using the documented `kustomize | kubectl apply -f -` pipe.
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
uses: azure/setup-helm@2f5e7bc67f1f9972ab16657bb795f36d8f04de0e # v5.1.0
with:
# renovate: datasource=github-releases depName=helm/helm
version: v3.21.4
Expand Down Expand Up @@ -557,15 +557,15 @@ jobs:
run: echo "IMAGE_NAME_LC=${IMAGE_NAME,,}" >> "$GITHUB_ENV"

- name: Log in to GHCR
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Compute manifest tags
id: meta
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# No automatic `latest`: on a tag push metadata-action would add a
Expand Down Expand Up @@ -648,7 +648,7 @@ jobs:
matrix:
variant: ${{ fromJSON(needs.images.outputs.apptainer) }}
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Free disk space
# ubuntu-latest has ~14 GB free; the full image (5-8 GB) plus kind
Expand All @@ -675,7 +675,7 @@ jobs:
df -h

- name: Download image artifact
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: openms-streamlit-${{ matrix.variant }}-amd64-image
path: /tmp
Expand All @@ -698,7 +698,7 @@ jobs:

- name: Download image artifact again
if: steps.archive.outputs.ok == 'false'
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: openms-streamlit-${{ matrix.variant }}-amd64-image
path: /tmp
Expand All @@ -708,7 +708,7 @@ jobs:
run: tar -tf /tmp/image.tar >/dev/null

- name: Install apptainer
uses: eWaterCycle/setup-apptainer@3f706d898c9db585b1d741b4692e66755f3a1b40 # v2
uses: eWaterCycle/setup-apptainer@95b5c781df5f72fd2271cc3cff06904a09d2a087 # v3.0.0
with:
apptainer-version: 1.3.4

Expand Down Expand Up @@ -861,7 +861,7 @@ jobs:

- name: Upload validated SIF artifact (push events only)
if: success() && github.event_name != 'pull_request'
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: openms-streamlit-${{ matrix.variant }}-sif
path: /tmp/openms.sif
Expand Down Expand Up @@ -889,19 +889,19 @@ jobs:
variant: ${{ fromJSON(needs.images.outputs.apptainer) }}
steps:
- name: Download validated SIF artifact
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: openms-streamlit-${{ matrix.variant }}-sif
path: /tmp

- name: Install apptainer
uses: eWaterCycle/setup-apptainer@3f706d898c9db585b1d741b4692e66755f3a1b40 # v2
uses: eWaterCycle/setup-apptainer@95b5c781df5f72fd2271cc3cff06904a09d2a087 # v3.0.0
with:
apptainer-version: 1.3.4

- name: Compute SIF tags
id: meta
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/sif
# No automatic `latest`: on a tag push metadata-action would add a
Expand Down Expand Up @@ -979,7 +979,7 @@ jobs:
matrix:
include: ${{ fromJSON(needs.images.outputs.kind) }}
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Read the storage namespace
# The namespace of the CI NFS server, read from k8s/ci-storage/ rather
Expand Down Expand Up @@ -1023,7 +1023,7 @@ jobs:

- name: Download image artifact
id: download-image
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: openms-streamlit-${{ matrix.variant }}-${{ matrix.arch }}-image
path: /tmp
Expand All @@ -1046,7 +1046,7 @@ jobs:

- name: Download image artifact again
if: steps.archive.outputs.ok == 'false'
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: openms-streamlit-${{ matrix.variant }}-${{ matrix.arch }}-image
path: /tmp
Expand All @@ -1067,7 +1067,7 @@ jobs:
exit 1

- name: Create kind cluster
uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1.14.0
uses: helm/kind-action@ea822c7bf1874f08e5a491df991c228edffc3376 # v1.15.2
with:
# Pinned to what the action picks today. kubectl_version must stay
# equal to the `Install kubectl` pin above, or the static jobs and
Expand Down Expand Up @@ -1139,7 +1139,7 @@ jobs:
# render with no metadata.namespace - contradicting the namespace both
# storage roots set, and landing the CSI drivers in `default` for
# anyone using the documented `kustomize | kubectl apply -f -` pipe.
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
uses: azure/setup-helm@2f5e7bc67f1f9972ab16657bb795f36d8f04de0e # v5.1.0
with:
# renovate: datasource=github-releases depName=helm/helm
version: v3.21.4
Expand Down Expand Up @@ -1736,7 +1736,7 @@ jobs:
matrix:
include: ${{ fromJSON(needs.images.outputs.kind) }}
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Read the storage namespace
# The namespace of the CI NFS server, read from k8s/ci-storage/ rather
Expand Down Expand Up @@ -1780,7 +1780,7 @@ jobs:

- name: Download image artifact
id: download-image
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: openms-streamlit-${{ matrix.variant }}-${{ matrix.arch }}-image
path: /tmp
Expand All @@ -1803,7 +1803,7 @@ jobs:

- name: Download image artifact again
if: steps.archive.outputs.ok == 'false'
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: openms-streamlit-${{ matrix.variant }}-${{ matrix.arch }}-image
path: /tmp
Expand All @@ -1824,7 +1824,7 @@ jobs:
exit 1

- name: Create kind cluster
uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1.14.0
uses: helm/kind-action@ea822c7bf1874f08e5a491df991c228edffc3376 # v1.15.2
with:
# Keep in lockstep with the nginx job and the `Install kubectl` pins.
version: v0.31.0
Expand All @@ -1851,7 +1851,7 @@ jobs:
# for the same reason - see the long note on the first of them. This one
# also drives `helm install traefik` below; chart 41.x declares a
# `Helm v3.9.0+` prerequisite, which v3.21.4 clears comfortably.
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
uses: azure/setup-helm@2f5e7bc67f1f9972ab16657bb795f36d8f04de0e # v5.1.0
with:
# renovate: datasource=github-releases depName=helm/helm
version: v3.21.4
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/build-desktop-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
e2e_scenarios: ${{ steps.app.outputs.e2e_scenarios }}
stage_script: ${{ steps.app.outputs.stage_script }}
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
sparse-checkout: app.yaml
sparse-checkout-cone-mode: false
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

Expand All @@ -205,7 +205,7 @@ jobs:

- name: Download the OpenMS build
if: needs.openms.outputs.source == 'build'
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: openms-${{ matrix.platform }}
path: openms-package
Expand Down Expand Up @@ -263,7 +263,7 @@ jobs:
du -sh "$p"

- name: Set up Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: '22'
# Release installers are built from a clean npm install, without a restored cache.
Expand Down Expand Up @@ -361,14 +361,14 @@ jobs:

- name: Archive end-to-end screenshots
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: electron-e2e-screenshots-${{ matrix.platform }}
path: e2e-output
if-no-files-found: ignore

- name: Archive installer
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: OpenMS-App-${{ matrix.platform }}
path: ${{ steps.package.outputs.installer }}
Expand All @@ -387,27 +387,27 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7.0.1
with:
persist-credentials: false

- name: Download the OpenMS build (Windows)
if: needs.openms.outputs.source == 'build'
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: openms-Windows-x86_64
path: openms-packages/openms-Windows-x86_64

- name: Download the OpenMS build (macOS)
if: needs.openms.outputs.source == 'build'
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: openms-macOS-arm64
path: openms-packages/openms-macOS-arm64

- name: Download the OpenMS build (Linux)
if: needs.openms.outputs.source == 'build'
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: openms-Linux-x86_64
path: openms-packages/openms-Linux-x86_64
Expand Down Expand Up @@ -448,7 +448,7 @@ jobs:
electron/scripts/package-tools.sh "${NAME:-$APP_NAME}" openms-packages dist-tools "${LABEL:0:60}"

- name: Archive the command line tool installers
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: OpenMS-Tools
path: dist-tools/*
Expand Down Expand Up @@ -479,7 +479,7 @@ jobs:
shell: bash
steps:
- name: Download the command line tool installers
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: OpenMS-Tools
path: tools
Expand Down Expand Up @@ -543,15 +543,15 @@ jobs:
contents: write
steps:
- name: Download installers
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
pattern: OpenMS-App-*
merge-multiple: true
path: dist

- name: Download the command line tool installers
if: needs.tools.result == 'success' && needs.tools-test.result != 'failure'
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: OpenMS-Tools
path: dist
Expand Down
Loading
Loading