Commit graph

198 commits

Author SHA1 Message Date
wizzdom
244f6bc354 fix typo 2023-12-15 23:09:06 +00:00
wizzdom
cc23af5889
Merge pull request #15 from redbrick/solar-racing-site
add Solar Racing website
2023-12-15 22:21:10 +00:00
wizzdom
2712348c85 add Solar Racing website 2023-12-15 21:49:53 +00:00
wizzdom
6ee5c15f57
Merge pull request #10 from JedHazaymeh/patch-1
Add webgroup/blockbot job
2023-12-05 23:10:10 +00:00
James Hackett
ad27b805af
Update README.md 2023-12-05 04:50:20 +00:00
James Hackett
5a560250f1
Add Johnson host to ansible hosts.sample (#13) 2023-12-05 04:47:29 +00:00
wizzdom
1f2d26d244
Merge pull request #12 from redbrick/wizzdom-patch-1
Update sshd_config.j2
2023-12-05 03:13:35 +00:00
wizzdom
66670721a9
Update sshd_config.j2 2023-12-05 03:12:47 +00:00
Jed Hazaymeh
054846690f
Remove redundant entrypoint 2023-11-13 11:09:55 +00:00
Jed Hazaymeh
1c99aa36f6
Add webgroup/blockbot job 2023-11-12 20:56:44 +00:00
wizzdom
496ba56469
Merge pull request #9 from novanai/master
Add redis task to nova-timetable job
2023-10-22 17:11:55 +01:00
Nova
511c393578 Add redis task 2023-10-22 16:44:46 +01:00
wizzdom
4108c27db1
Merge pull request #6 from redbrick/add_nova_timetable
Add job for a nova-timetable user project
2023-10-11 01:26:49 +01:00
wizzdom
e5ffb4033c add health check on /healthcheck 2023-10-11 01:14:58 +01:00
wizzdom
22ec9cc020
Merge pull request #8 from redbrick/update-ams-v2-port
prod yay :) git statusgit status
2023-10-09 09:59:31 +01:00
leath-dub
8c0f8df53b prod yay :) git statusgit status 2023-10-09 09:49:34 +01:00
James Hackett
ffa64c2791 Adds script to fix perms on user and group 2023-10-08 02:28:03 +01:00
James Hackett
2a7d91e333 Update after some testing and validation
No "200" status for our healthchecks to validate job readiness.
Workaround is to remove the check.
2023-10-08 02:17:55 +01:00
cathalogue
d464dc87da
Merge pull request #7 from redbrick/ams-v2
Ams v2
2023-10-06 13:00:10 +01:00
leath-dub
09f990067f oops 2023-10-06 12:56:37 +01:00
leath-dub
1b5c5c97b8 removed redundant block 2023-10-06 12:49:02 +01:00
leath-dub
b1b4a3ca0a consul does dynamic port map, removed redundant traefik line 2023-10-05 19:27:47 +01:00
leath-dub
ae1896f5ce added env var for dynamic port ? 2023-10-05 19:24:43 +01:00
leath-dub
013f39c7a8 added resource block because react ... 2023-10-05 19:16:06 +01:00
leath-dub
a28ddc29ae oops 2023-10-05 19:06:17 +01:00
leath-dub
68e85d1d86 oops 2023-10-05 19:02:27 +01:00
leath-dub
7f579e9a9d added traefik map to 3000 2023-10-05 19:01:22 +01:00
leath-dub
8b33e2b0a2 changed image and mapped ports to 3000 2023-10-05 18:41:27 +01:00
distrobyte
4d3c69a710 Add job for a nova-timetable user project
This file directory structure can be used for 4th year projects
(user-projects/(third/fourth)-year-project)

I can't validate this, but checkout this branch on one of the hosts and
run `nomad job validate <path>` to ensure the config is okay, followed
by `nomad job plan <path>` to plan it. Run the job at that point using
the check-id. Once you're happy that it runs, return to the master
branch and merge this PR.

nova@redbrick.dcu.ie requested this to be deployed.

A DNS entry will need to be made before planning to ensure that the cert
can be generated by traefik.
2023-10-04 19:34:42 +01:00
DistroByte
8945418b2a
Merge branch 'master' of github.com:redbrick/nomad 2023-09-01 01:14:47 +01:00
DistroByte
dded8a94f6
Update nomad base template to include metrics 2023-09-01 01:13:46 +01:00
James Hackett
4ccb3e461e
Merge pull request #4 from VoyTechnology/ansible-nomad-telemetry
ansible/templates: Enable Nomad Telemetry
2023-08-08 03:21:46 +01:00
distrobyte
917571a140 More fixes
- Rename a task in the consul role to better reflect the actions being
  taken
- Add passwordless sudo as a configurable option to the ssh role,
  include base configuration for that
2023-08-04 14:10:04 +01:00
DistroByte
6a6be89cc2
Merge branch 'master' of https://github.com/redbrick/nomad 2023-08-04 13:50:10 +01:00
distrobyte
944be27ce0 Multiple fixes
- Update apt default packages to include dnsutils
- Update the consul task to set up dns resolution through consul and
  systemd-resolved
- Update the consul server config file to auto join hostnames instead of
  IP addresses, this makes the configuration for the playbook much
  easier
- Add a docker task to install docker (works on arm devices also)
- Updates the hashicorp apt role to allow arm devices to pull from the
  correct upstream repo
2023-08-04 13:43:59 +01:00
cathalogue
2f72e0162d
Merge pull request #5 from leath-dub/master
re enabled http port on 80
2023-07-14 13:06:39 +01:00
leath-dub
10fd62be48 re enabled http port on 80 2023-07-14 13:05:02 +01:00
DistroByte
67c41a862e
add elastic 2023-05-23 21:51:15 +01:00
DistroByte
a8c0dc7880
update ansible roles 2023-05-23 21:50:25 +01:00
James Hackett
4cc6fa82fd
Update cipher suites 2023-05-16 23:29:16 +01:00
James Hackett
c9b1ea69c9 Add minecraft servers and update traefik to allow users to connect 2023-05-15 23:21:57 +01:00
James Hackett
37b648df97 Add minecraft job spec
Add a local user and let them tunnel a port and connect to localhost

ssh -L 25565:10.10.0.4:<exposed port> <user>@glados.redbrick.dcu.ie -p
80

Then in the minecraft server settings on the client, type localhost
2023-05-02 13:26:20 +01:00
James Hackett
7a91784e9e Upgrade Traefik TLS cipher suites 2023-04-15 13:44:26 +01:00
Wojtek Bednarzak
ec497ff457
ansible/templates: Enable Nomad Telemetry
Enable Telemetry with prometheus metrics so that Nomad metrics can be
scraped and alerts can be created if there's an issue.
2023-03-22 23:42:11 +00:00
Wojtek Bednarzak
6683ba6283
jobs/monitoring: Add Prometheus
The change adds the Prometheus job. I had to go with certain assumptions
regarding the host constraint, as well as lack of volumes, but I hope
this serves as the base for running the monitoring stack on Nomad
itself.

The Prometheus instance is on purpose left unexposed, so that we can use
Grafana and additional authentication in that layer later.
2023-03-22 23:13:39 +00:00
James Hackett
5d75e7287e remove extra config 2023-03-22 01:41:21 +00:00
James Hackett
ccdb45b861 fix perms 2023-03-22 01:40:32 +00:00
James Hackett
2e72a9a628 change resource alloc and fix networking configs 2023-03-22 01:38:22 +00:00
James Hackett
850ac39e02 add second job for more examples 2023-03-18 15:02:39 +00:00
James Hackett
96528a57bd
fix ip address command 2023-03-18 14:13:40 +00:00