Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions salt/buildbot/init.sls
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

{% set buildbot_python_version = '3.13' %}
include:
- nginx
- postgresql.client
Expand All @@ -11,8 +11,8 @@ buildbot-deps:
pkg.installed:
- pkgs:
- git
- python3.9-dev
- python3.9-venv
- python{{ buildbot_python_version }}-dev
- python{{ buildbot_python_version }}-venv
- build-essential
- libpq-dev
- require:
Expand Down Expand Up @@ -70,10 +70,12 @@ update-master:
cmd.run:
- runas: buildbot
- cwd: /srv/buildbot
- name: make update-master
- name: make update-master PYTHON_VERSION={{ buildbot_python_version }}
- require:
- pkg: buildbot-deps
- git: /srv/buildbot
- onchanges:
- pkg: buildbot-deps
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm unsure if this is specified correctly, but my goal is to make sure this is run after this is merged (and after any future updates). Do both require and onchanges need to be set?

- git: /srv/buildbot

/srv/buildbot/buildbot.sh start -q /srv/buildbot/master:
Expand Down