Comments (2)
I think a variant of this idea might be best:
Another avenue may to be establish a githib workflow that runs on a scheduled
cron
interval, pulls changes from salt usingsalt-cp
, and creates a pull request using create-pull-request action.
I don't think we can use salt-cp
since GitHub Actions runners aren't part of.... and I don't think we want to add them to... our salt installation.
Rather, we could potentially publish files over HTTP from the salt-master that we want to fetch. Similar to the way that we have the salt-master respond to LetsEncrypt acme-challenges in
Lines 60 to 81 in 24fae9b
- Create a new
/srv/public
directory - Change the
psf_known_hosts
andsalt-server-list.rst
managed files to be created in that directory - Add an nginx config and consul-service that serves that directory over HTTP
- Add a service to our loadbalancer that exposes that HTTP service to the world
- Outside of salt, we would add a DNS record pointing to that domain on the loadbalancer
Then our scheduled GitHub Action can access the files via HTTP, see if they've changed, and use the create-pull-request action to open a PR when they do.
from psf-salt.
This is complete. #343
from psf-salt.
Related Issues (20)
- Infra(OS): `buildbot` to Ubuntu 24.04 HOT 5
- Infra(OS): `hg` to Ubuntu 24.04 HOT 7
- Infra(OS): `loadbalancer` to Ubuntu 24.04
- Infra(OS): `codespeed` to Ubuntu 24.04 HOT 1
- Infra(OS): `consul` to Ubuntu 24.04 HOT 1
- Docs: Provide contact/troubleshooting information for `psfmember.org`
- Infra(OS): `bugs` to Ubuntu 24.04 HOT 2
- Infra(OS): `downloads` to Ubuntu 24.04 HOT 1
- Infra(OS): `docs` to Ubuntu 24.04 HOT 3
- Infra(OS): `mail` to Ubuntu 24.04 HOT 1
- Infra(OS): `pythontest` to Ubuntu 24.04 HOT 4
- Infra(OS): `cdn-logs` to Ubuntu 24.04
- Docs(migration guide): File transfer instructions fail due to missing keys HOT 2
- hg: Add static files to salt backup state
- python.org/downloads host upgrades
- Infra: Add swap space to hosts
- Backup Server: (noble) New syntax for clients after server upgrade
- docs(PDF) consider adding texlive-fonts-extra dependency for full support of Sphinx 7.4.0+ admonition rendering in PDF
- new hg backups are failing HOT 1
- Docs: Add section on managing/adding backups HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psf-salt.