Skip to content

Add SSH_KEY secret to CI workflow#541

Merged
PierreMartinon merged 6 commits intobreaking/ctmodels-0.7from
ct-registry-ci
Feb 2, 2026
Merged

Add SSH_KEY secret to CI workflow#541
PierreMartinon merged 6 commits intobreaking/ctmodels-0.7from
ct-registry-ci

Conversation

@ocots
Copy link
Copy Markdown
Member

@ocots ocots commented Jan 28, 2026

@PierreMartinon To use the ct-registry with the CI, you need to add in .github/workflows/CI.yml:

    with:
      use_ct_registry: true
    secrets:
      SSH_KEY: ${{ secrets.SSH_KEY }}

To disable, either you remove these lines

    with:
      use_ct_registry: false
    secrets:
      SSH_KEY: ${{ secrets.SSH_KEY }}

@ocots
Copy link
Copy Markdown
Member Author

ocots commented Jan 28, 2026

An example of a CI.yml to trigger on GPU and/or CPU. But moonshot is not available anymore. We need to switch to kkt: CI.yml.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 28, 2026

Breakage test results
Date: 2026-01-30 15:22:42

Name Latest Stable
OptimalControl compat: v0.17.5-beta compat: v0.17.5-beta

@ocots ocots closed this Jan 28, 2026
@ocots ocots reopened this Jan 28, 2026
@ocots
Copy link
Copy Markdown
Member Author

ocots commented Jan 28, 2026

@PierreMartinon Note that the local registry is not added on Windows.

Updated GPU backend options and added Julia registry setup step.
@ocots ocots added the run GPU Trigger GPU Github action label Jan 30, 2026
@ocots ocots changed the base branch from main to breaking/ctmodels-0.7 January 30, 2026 15:01
@PierreMartinon PierreMartinon merged commit e5fb986 into breaking/ctmodels-0.7 Feb 2, 2026
9 of 12 checks passed
@PierreMartinon PierreMartinon deleted the ct-registry-ci branch February 5, 2026 14:43
PierreMartinon added a commit that referenced this pull request Feb 11, 2026
* chore: add CTBase v0.17 compat

* chore: bump version to 0.17.5-beta

* Refactor: restructure discretization architecture

- Remove extension files (ADNLP, Exa, Ipopt, Knitro, MadNLP)
- Add new discretization API and core types
- Implement collocation method in separate module
- Update main module structure and solve interface
- Modify Project.toml dependencies

* Migrating interfacing code from CTSolvers to CTDirect

* resync with previous branch ctsolvers (removing lagrange_to_mayer transformation)

* packahe compilation and unit tests (no solving) ok

* add new solve test

* basic manual DOCP solve ok for beam/adnlp/ipopt

* no display

* empty init as () instead of nothing; todo: pass kwargs to check_problem

* prepare exa builder

* julia 1.12

* exa cpu

* common docp

* ipopt beam ok with adnlp / exa

* shared docp and exa_getter in collocation

* grid size and scheme options ok

* discretization tests ok

* madnlp ok

* tests for modeler/solver options; starting to unify solution builder for adnlp/exa with new generic getter for adnlp

* unified parsing for primal variables and box multipliers

* todo: check initial guess and adnlp_backend

* adnlp: initial guess ok except interpolations and warm start

* warm start and continuation ok

* initial guess with interpolations ok

* CPU tests ok

* put back gpu tests if available

* updated GPU tests

* unified high level getter for primal and dual variables (ADNLP)

* tests ok after unified getter and dual variables parsing

* regroup source code in collocation files

* code cleanup for collocation main functions

* pass exa backend for gpu tests

* fix exa_backend option name: backend

* Add SSH_KEY secret to CI workflow (#541)

Updated GPU backend options and added Julia registry setup step.

* Add SSH_KEY secret to CI workflow

* Modify GPU workflow to use 'kkt' backend, removed 'amdgpu' for now

* keep DOCP in Collocation

* local tests ok

* fix gpu test goddard2

* update docs

* update docs

* docs build ok

* complete doc files

* update to CTParser 0.8

* compat

* reorg sourc files

* update doc files

* test init macro

* force ocp_model getter use; aqua test ok

* update for latest CTSolvers

* local tests ok

* fix gpu tests (grid size)

* Update documentation workflow to use CT registry

* Fix coverage workflow: add SSH_KEY secret reference

* update local benchmark

---------

Co-authored-by: Pierre Martinon <pierrecmartinon@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run GPU Trigger GPU Github action

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants