-
-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing issues with Citations as well as label references
- Loading branch information
1 parent
d361a22
commit 7f47022
Showing
5 changed files
with
51 additions
and
33 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,14 +20,18 @@ repository since Azure does not impose limits on LFS bandwith | |
nor storage. | ||
|
||
**To clone this repository:** | ||
|
||
:: | ||
|
||
git clone https://[email protected]/tardis-sn/TARDIS/_git/tardis-refdata | ||
|
||
**To download a LFS file trough HTTPS:** | ||
|
||
:: | ||
|
||
https://dev.azure.com/tardis-sn/TARDIS/_apis/git/repositories/tardis-refdata/items?path=atom_data/kurucz_cd23_chianti_H_He.h5&resolveLfs=true | ||
|
||
This mirror is automatically synced by `a GitHub workflow`_. If you want | ||
This mirror is automatically synced by `a GitHub workflow`. If you want | ||
to `update it manually`_, remember to set ``git config http.version HTTP/1.1`` | ||
to avoid `error 413`_ while pushing large files. | ||
|
||
|
@@ -58,12 +62,14 @@ First thing to do is telling the pipeline when it should run. In | |
Azure, *trigger* (also known as the CI trigger) sets up the pipeline | ||
to run every time changes are pushed to a branch. | ||
:: | ||
|
||
trigger: | ||
- master | ||
|
||
If some trigger is not specified then the default configuration | ||
is assumed. | ||
:: | ||
|
||
trigger: | ||
branches: | ||
include: | ||
|
@@ -81,6 +87,7 @@ commits to a pull request. | |
If you want to run a pipeline only manually set both triggers to | ||
*none*. | ||
:: | ||
|
||
trigger: none | ||
|
||
pr: none | ||
|
@@ -112,7 +119,7 @@ Azure Pipelines supports three different ways to reference variables: | |
can be used for a different purpose and has some limitations. | ||
|
||
.. image:: images/variables.png | ||
:align: center | ||
:align: center | ||
|
||
**What syntax should I use?** Use *macro syntax* if you are providing | ||
input for a task. Choose a *runtime expression* if you are working with | ||
|
@@ -124,7 +131,9 @@ Define variables | |
================ | ||
|
||
Usually, we define variables at the top of the YAML file. | ||
|
||
:: | ||
|
||
variables: | ||
my.var: 'foo' | ||
|
||
|
@@ -139,7 +148,9 @@ while variables at the *job* level override variables at the *root* | |
and *stage* level. | ||
|
||
Also, variables are available to scripts through environment variables. | ||
The name is upper-cased and ``.`` is replaced with ``_``. For example:: | ||
The name is upper-cased and ``.`` is replaced with ``_``. For example | ||
:: | ||
|
||
variables: | ||
my.var: 'foo' | ||
|
||
|
@@ -150,6 +161,7 @@ The name is upper-cased and ``.`` is replaced with ``_``. For example:: | |
To set a variable from a script task, use the ``task.setvariable`` logging | ||
command. | ||
:: | ||
|
||
steps: | ||
|
||
- bash: | | ||
|
@@ -187,6 +199,7 @@ You can organize your pipeline into jobs. Every pipeline has at least one job. | |
A job is a series of steps that run sequentially as a unit. In other words, | ||
a job is the smallest unit of work that can be scheduled to run. | ||
:: | ||
|
||
jobs: | ||
- job: myJob | ||
|
||
|
@@ -302,6 +315,7 @@ This pipeline compares two versions of the reference data. It's triggered manual | |
the Azure Pipelines web UI, or when a TARDIS contributor leaves the following comment | ||
on a pull request: | ||
:: | ||
|
||
/AzurePipelines run compare-refdata | ||
|
||
For brevity, you can comment using ``/azp`` instead of ``/AzurePipelines``. | ||
|
@@ -312,6 +326,7 @@ you want to compare two different labels (SHAs, branches, tags, etc.) uncomment | |
set the ``ref1.hash`` and ``ref2.hash`` variables in | ||
``.github/workflows/compare-refdata.yml`` on your pull request. For example: | ||
:: | ||
|
||
ref1.hash: 'upstream/pr/11' | ||
ref2.hash: 'upstream/master' | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
.. _documentation-guidelines: | ||
|
||
************************ | ||
Documentation Guidelines | ||
************************ | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
.. _running-tests: | ||
|
||
************* | ||
Running tests | ||
************* | ||
|
This file contains 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