https://www.runatlantis.io/ logo
Title
i

Ilia Kovalev

03/18/2023, 9:02 PM
Hi everyone! We need to run
atlantis plan
on every project every day, is there any good way to do it?
r

RB

03/18/2023, 9:11 PM
--enable-regexp-cmd
create
atlantis.yaml
in the repo with every project defined with a project
name
then run
atlantis plan -p .*
k

krrrr38

03/18/2023, 10:27 PM
every day
1. create PR by vcs api using vcs scheduler 2. then kick atlantis plan via atlantis api using ci https://www.runatlantis.io/docs/api-endpoints.html#post-api-plan
👍 1
i

Ilia Kovalev

03/19/2023, 10:27 AM
thank you guys for your responses its very helpful!
AFAIK Atlantis locks projects/workspaces when running plan/apply, can we run atlantis plan without locking projects/workspaces?
k

krrrr38

03/19/2023, 10:59 AM
It's possible per repository config by setting repo_locking https://www.runatlantis.io/docs/server-side-repo-config.html#example-server-side-repo. But not possible per PR. see also https://github.com/runatlantis/atlantis/issues/2237
👍 1
i

Ilia Kovalev

03/19/2023, 12:32 PM
thank you, gonna try it!