Repository navigation
ci: install conda explicitly in the workflows that need it - #8876
Merged
Merged
Conversation
fstagni
force-pushed
the
ci/pilotwrapper-conda
branch
from
November 9, 2026 10:22
be0275f to
4e671e9
Compare
Contributor
aldbr
reviewed
Nov 9, 2026
aldbr
reviewed
Nov 9, 2026
Contributor
|
Aren't you going to have the same issue with DIRAC/.github/workflows/cvmfs.yml Lines 8 to 17 in d46e17f |
…ent workflow The ubuntu-latest runner images no longer ship conda on the PATH, so the 'prepare environment' step fails with 'conda: command not found' on every PR since 2026-11-09 (runner image ubuntu26/20261101). Install Miniconda explicitly with conda-incubator/setup-miniconda before the steps that rely on it; the conda commands themselves are unchanged. Also use python 3.6.9 from conda-forge in the PilotWrapper matrix Co-authored-by: aldbr <aldbr@outlook.com>
fstagni
force-pushed
the
ci/pilotwrapper-conda
branch
from
November 9, 2026 14:02
f29ac02 to
1c7ba2d
Compare
aldbr
approved these changes
Nov 9, 2026
Contributor
Author
|
All checks are green (23 passing; the two skipped jobs are intentional). Note that the approval was auto-dismissed by |
This was referenced Nov 9, 2026
fstagni
added a commit
to fstagni/DIRAC
that referenced
this pull request
Nov 9, 2026
Backport of DIRACGrid#8876: the ubuntu-latest runner images no longer ship conda on the PATH, so the PilotWrapper jobs fail with 'conda: command not found' on every PR (runner image ubuntu26/20261101). Install Miniforge explicitly with conda-incubator/setup-miniconda before the steps that rely on it; python 3.6.8 becomes 3.6.9, the nearest build on conda-forge, and the unused 'free' channel is dropped. The CVMFS deployment workflows get the same treatment.
fstagni
added a commit
to fstagni/DIRAC
that referenced
this pull request
Nov 9, 2026
Backport of DIRACGrid#8876: the ubuntu-latest runner images no longer ship conda on the PATH, so the PilotWrapper jobs fail with 'conda: command not found' on every PR (runner image ubuntu26/20261101). Install Miniforge explicitly with conda-incubator/setup-miniconda before the steps that rely on it; python 3.6.8 becomes 3.6.9, the nearest build on conda-forge, and the unused 'free' channel is dropped. The CVMFS deployment workflows get the same treatment.
fstagni
added a commit
to fstagni/DIRAC
that referenced
this pull request
Nov 9, 2026
Backport of DIRACGrid#8876: the ubuntu-latest runner images no longer ship conda on the PATH, so the PilotWrapper jobs fail with 'conda: command not found' on every PR (runner image ubuntu26/20261101). Install Miniforge explicitly with conda-incubator/setup-miniconda before the steps that rely on it; python 3.6.8 becomes 3.6.9, the nearest build on conda-forge, and the unused 'free' channel is dropped. The CVMFS deployment workflows get the same treatment.
fstagni
added a commit
to fstagni/DIRAC
that referenced
this pull request
Nov 9, 2026
Backport of DIRACGrid#8876: the ubuntu-latest runner images no longer ship conda on the PATH, so the PilotWrapper jobs fail with 'conda: command not found' on every PR (runner image ubuntu26/20261101). Install Miniforge explicitly with conda-incubator/setup-miniconda before the steps that rely on it; python 3.6.8 becomes 3.6.9, the nearest build on conda-forge, and the unused 'free' channel is dropped. The CVMFS deployment workflows get the same treatment.
fstagni
added a commit
to fstagni/DIRAC
that referenced
this pull request
Nov 9, 2026
Backport of DIRACGrid#8876: the ubuntu-latest runner images no longer ship conda on the PATH, so the PilotWrapper jobs fail with 'conda: command not found' on every PR (runner image ubuntu26/20261101). Install Miniforge explicitly with conda-incubator/setup-miniconda before the steps that rely on it; python 3.6.8 becomes 3.6.9, the nearest build on conda-forge, and the unused 'free' channel is dropped. The CVMFS deployment workflows get the same treatment.
fstagni
added a commit
to fstagni/DIRAC
that referenced
this pull request
Nov 9, 2026
Backport of DIRACGrid#8876: the ubuntu-latest runner images no longer ship conda on the PATH, so the PilotWrapper jobs fail with 'conda: command not found' on every PR (runner image ubuntu26/20261101). Install Miniforge explicitly with conda-incubator/setup-miniconda before the steps that rely on it; python 3.6.8 becomes 3.6.9, the nearest build on conda-forge, and the unused 'free' channel is dropped. The CVMFS deployment workflows get the same treatment.
fstagni
added a commit
to fstagni/DIRAC
that referenced
this pull request
Nov 9, 2026
Backport of DIRACGrid#8876: the ubuntu-latest runner images no longer ship conda on the PATH, so the PilotWrapper jobs fail with 'conda: command not found' on every PR (runner image ubuntu26/20261101). Install Miniforge explicitly with conda-incubator/setup-miniconda before the steps that rely on it; python 3.6.8 becomes 3.6.9, the nearest build on conda-forge, and the unused 'free' channel is dropped. The CVMFS deployment workflows get the same treatment.
fstagni
added a commit
to fstagni/DIRAC
that referenced
this pull request
Nov 9, 2026
Backport of DIRACGrid#8876: the ubuntu-latest runner images no longer ship conda on the PATH, so the PilotWrapper jobs fail with 'conda: command not found' on every PR (runner image ubuntu26/20261101). Install Miniforge explicitly with conda-incubator/setup-miniconda before the steps that rely on it; python 3.6.8 becomes 3.6.9, the nearest build on conda-forge, and the unused 'free' channel is dropped. The CVMFS deployment workflows get the same treatment.
fstagni
added a commit
to fstagni/DIRAC
that referenced
this pull request
Nov 9, 2026
Backport of DIRACGrid#8876: the ubuntu-latest runner images no longer ship conda on the PATH, so the PilotWrapper jobs fail with 'conda: command not found' on every PR (runner image ubuntu26/20261101). Install Miniforge explicitly with conda-incubator/setup-miniconda before the steps that rely on it; python 3.6.8 becomes 3.6.9, the nearest build on conda-forge, and the unused 'free' channel is dropped. The CVMFS deployment workflows get the same treatment.
fstagni
added a commit
to fstagni/DIRAC
that referenced
this pull request
Nov 9, 2026
Backport of DIRACGrid#8876: the ubuntu-latest runner images no longer ship conda on the PATH, so the PilotWrapper jobs fail with 'conda: command not found' on every PR (runner image ubuntu26/20261101). Install Miniforge explicitly with conda-incubator/setup-miniconda before the steps that rely on it; python 3.6.8 becomes 3.6.9, the nearest build on conda-forge, and the unused 'free' channel is dropped. The CVMFS deployment workflows and the pylint-py27 job get the same treatment. The Pilot artifacts are downloaded with 'gh run download', avoiding the rate-limit flakiness of the unauthenticated API call.
fstagni
added a commit
to fstagni/DIRAC
that referenced
this pull request
Nov 9, 2026
Backport of DIRACGrid#8876: the ubuntu-latest runner images no longer ship conda on the PATH, so the PilotWrapper jobs fail with 'conda: command not found' on every PR (runner image ubuntu26/20261101). Install Miniforge explicitly with conda-incubator/setup-miniconda before the steps that rely on it; python 3.6.8 becomes 3.6.9, the nearest build on conda-forge, and the unused 'free' channel is dropped. The CVMFS deployment workflows and the pylint-py27 job get the same treatment. The Pilot artifacts are downloaded with 'gh run download', avoiding the rate-limit flakiness of the unauthenticated API call.
aldbr
added a commit
that referenced
this pull request
Nov 10, 2026
ci: install conda explicitly in the workflows that need it (backport of #8876)
aldbr
added a commit
that referenced
this pull request
Nov 10, 2026
ci: install conda explicitly in the workflows that need it (backport of #8876)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI fix: install conda explicitly in the PilotWrapper workflow
Summary
The
PilotWrapperjobs have been failing on every PR since 2026-11-09 (runner imageubuntu26/20261101) with:The workflow assumes
condais preinstalled and on the PATH ofubuntu-latestrunners — the new image no longer provides it. This PR provisions it explicitly:- name: Fail-fast for outdated pipelines run: .github/workflows/fail-fast.sh + + # conda is no longer preinstalled (nor on the PATH) of the ubuntu-latest + # runner images; install it explicitly since the next steps rely on it + - name: Install conda + uses: conda-incubator/setup-miniconda@v3 + with: + auto-update-conda: false + activate-environment: "" - name: prepare environment run: | conda config --set add_pip_as_python_dependency falseTwo other workflows had the same problem (raw
conda+ the Miniconda PATH hack, both gone from the new image) and get the same treatment:cvmfs.yml(Deployment_test) anddeployment.yml(deploy_CVMFS). Both areworkflow_dispatchonly, so their breakage was invisible on PRs.Everything else — the
conda config/conda createinvocations, and the test itself — is unchanged.Evidence
pilotWrapper.ymlruns pass up to 2026-11-06 (including this org's other PR branches), fail from 2026-11-09 regardless of branch — e.g.feat/add-custom-param-to-ps(runs 4259707... / 08:14 and 09:22 UTC) andfeat/hs23-cpu-normalization(also retried once, sameconda: command not found).Merge Danger
Door: two-way — one workflow step added; if setup-miniconda misbehaves the jobs fail exactly as they do today.
Blast Radius: CI only; no product code.