diff options
author | kwryankrattiger <80296582+kwryankrattiger@users.noreply.github.com> | 2023-04-10 16:46:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-10 16:46:45 -0500 |
commit | b2310f9e647a845a8f663b6b9bc3a80a5209b039 (patch) | |
tree | 408ef79947e848113c429e5fd85c778788f17ff3 /lib/spack/docs/pipelines.rst | |
parent | 2c7d7388da3cc87a301463ec500c2a78b6242ab4 (diff) | |
download | spack-b2310f9e647a845a8f663b6b9bc3a80a5209b039.tar.gz spack-b2310f9e647a845a8f663b6b9bc3a80a5209b039.tar.bz2 spack-b2310f9e647a845a8f663b6b9bc3a80a5209b039.tar.xz spack-b2310f9e647a845a8f663b6b9bc3a80a5209b039.zip |
Ci backwards compat (#36045)
* CI: Fixup docs for bootstrap.
* CI: Add compatibility shim
* Add an update method for CI
Update requires manually renaming section to `ci`. After
this patch, updating and using the deprecated `gitlab-ci` section
should be possible.
* Fix typos in generate warnings
* Fixup CI schema validation
* Add unit tests for legacy CI
* Add deprecated CI stack for continuous testing
* Allow updating gitlab-ci section directly with env update
* Make warning give good advice for updating gitlab-ci
* Fix typo in CI name
* Remove white space
* Remove unneeded component of deprected-ci
Diffstat (limited to 'lib/spack/docs/pipelines.rst')
-rw-r--r-- | lib/spack/docs/pipelines.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/spack/docs/pipelines.rst b/lib/spack/docs/pipelines.rst index 5d06accc4a..d594879aab 100644 --- a/lib/spack/docs/pipelines.rst +++ b/lib/spack/docs/pipelines.rst @@ -632,18 +632,18 @@ Here's an example of what bootstrapping some compilers might look like: exclude: - '%gcc@7.3.0 os=centos7' - '%gcc@5.5.0 os=ubuntu18.04' - gitlab-ci: + ci: bootstrap: - name: compiler-pkgs compiler-agnostic: true - mappings: - # mappings similar to the example higher up in this description + pipeline-gen: + # similar to the example higher up in this description ... The example above adds a list to the ``definitions`` called ``compiler-pkgs`` (you can add any number of these), which lists compiler packages that should be staged ahead of the full matrix of release specs (in this example, only -readline). Then within the ``gitlab-ci`` section, note the addition of a +readline). Then within the ``ci`` section, note the addition of a ``bootstrap`` section, which can contain a list of items, each referring to a list in the ``definitions`` section. These items can either be a dictionary or a string. If you supply a dictionary, it must have a name @@ -709,7 +709,7 @@ be reported. Take a look at the `schema <https://github.com/spack/spack/blob/develop/lib/spack/spack/schema/ci.py>`_ -for the gitlab-ci section of the spack environment file, to see precisely what +for the ci section of the spack environment file, to see precisely what syntax is allowed there. .. _reserved_tags: |