Skip to content

Commit

Permalink
Merge pull request #11 from lanl/brryan-patch-1
Browse files Browse the repository at this point in the history
Update README.md to better describe Darwin CI
  • Loading branch information
adamdempsey90 authored Nov 14, 2024
2 parents 6496d7b + 55c4a2c commit 6dcec0b
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,27 @@ with an empty commit, do
git commit --allow-empty -m "trigger pipeline" && git push

A portion of the CI is run on LANL's internal Darwin platform. To launch this CI job, someone with
Darwin access (usually a LANL employee) must first create a Github Personal Access Token and store
it securely in their own environment as `ARTEMIS_GITHUB_TOKEN`, e.g. in their `~/.bashrc`:
Darwin access (usually a LANL employee) must first create a Github Personal Access Token, like so:

- `github.com` profile -> `Settings` -> `Developer Settings` -> `Personal Access Tokens` -> `Tokens (classic)`
- Click the `Generate New Token` button -> `Generate New Token (classic)`
- Name it something like `artemis_token` in the `Note` box
- Click the `workflow` checkbox (which will also check the `repo` boxes)
- `Generate token`
- You only get to see the token once, so immediately copy it.

Store the token securely in your own environment as `ARTEMIS_GITHUB_TOKEN`, e.g. in your Darwin `~/.bashrc`:

export ARTEMIS_GITHUB_TOKEN=[token]

and then log in to Darwin and manually launch the CI runner:
and then, again from Darwin, manually launch the CI runner:

cd artemis
./tst/launcher_ci_runner.py [Number of the github PR]
./tst/launch_ci_runner.py [Number of the github PR]

Note that `launch_ci_runner.py` will create a temporary checkout of the current state of the branch associated
with this PR according to the `origin` remote, so you don't need to worry about the state of your local checkout
of `artemis`.

## Release

Expand Down

0 comments on commit 6dcec0b

Please sign in to comment.