Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
809 commits
Select commit Hold shift + click to select a range
90c49a4
chore(deps): bump react-router and react-router-dom in /balancer/ui
dependabot[bot] Apr 25, 2025
ac11fd2
chore(deps): bump the golang-dependencies group
dependabot[bot] Apr 28, 2025
fb55057
chore(deps): bump the golang-dependencies group
dependabot[bot] Apr 28, 2025
0c57ea5
chore(deps): bump the golang-dependencies group
dependabot[bot] Apr 28, 2025
443c1ef
chore(deps): bump motion
dependabot[bot] Apr 28, 2025
bffbcf0
chore(deps-dev): bump vite in /balancer/ui in the npm-dependencies group
dependabot[bot] Apr 28, 2025
11fa1d3
Group dev & prod npm deps and include a separate group for major / br…
J12934 Apr 30, 2025
6285a6d
Update default JuiceShop version to v17.3.0
J12934 Apr 30, 2025
88fd9cc
Update helm shapshots
J12934 Apr 30, 2025
20ce741
chore(deps): bump the npm-dependencies group
dependabot[bot] Apr 30, 2025
b889217
chore(deps): bump the npm-dependencies group
dependabot[bot] May 5, 2025
a68d005
chore(deps): bump golang.org/x/crypto
dependabot[bot] May 12, 2025
882f320
chore(deps): bump the npm-dependencies group
dependabot[bot] May 12, 2025
41d09ea
chore(deps): bump the golang-dependencies group
dependabot[bot] May 19, 2025
f5de3b1
chore(deps): bump the golang-dependencies group
dependabot[bot] May 19, 2025
6642f1e
chore(deps): bump the golang-dependencies group
dependabot[bot] May 19, 2025
64d6f72
chore(deps): bump the npm-dependencies group
dependabot[bot] May 19, 2025
0a5c7fa
Update kubectl path to the generic install page
J12934 May 20, 2025
4a5d455
Correct link for grafana sidecar to current grafana chart
J12934 May 20, 2025
0ab23ad
chore(deps): bump the npm-dependencies group across 1 directory with …
dependabot[bot] Jun 2, 2025
228a580
Updating k8s guide load balancer target port to 8080
kaitoz11 Jun 8, 2025
9968437
chore(deps): bump golang.org/x/crypto
dependabot[bot] Jun 9, 2025
e7baeb1
chore(deps): bump the npm-dependencies group
dependabot[bot] Jun 9, 2025
bd72a24
chore(deps): bump the npm-dependencies group
dependabot[bot] Jun 16, 2025
2c61d60
Bump to JuiceShop v18
J12934 Jun 17, 2025
f3bc8bc
Update snapshots for newer juice-shop image tag
J12934 Jun 17, 2025
2f68bd5
Update DigitalOcean guide to use 'REGIONAL' load balancer
jub0bs Jun 18, 2025
6a6b2c7
chore(deps-dev): bump the npm-dependencies group
dependabot[bot] Jun 23, 2025
2467739
chore(deps): bump the golang-dependencies group
dependabot[bot] Jun 23, 2025
25d5c62
chore(deps): bump the golang-dependencies group
dependabot[bot] Jun 23, 2025
cb2ad28
chore(deps): bump the golang-dependencies group
dependabot[bot] Jun 23, 2025
1ab5c18
adding new challenge detail API for specific challenge and all list o…
AyushRajSinghParihar Jun 22, 2025
82c63b4
added routing
AyushRajSinghParihar Jun 23, 2025
4b0bd86
added new scoreboard - issues persist
AyushRajSinghParihar Jun 24, 2025
ef952d6
removed cheat score
AyushRajSinghParihar Jun 24, 2025
6bba556
fixed tests
AyushRajSinghParihar Jun 24, 2025
662ee99
edited tests and frontend changes
AyushRajSinghParihar Jun 26, 2025
4e6e864
added lazy imports and translation stuff
AyushRajSinghParihar Jun 28, 2025
316320d
chore(deps-dev): bump vite
dependabot[bot] Jun 30, 2025
ff8fbe2
chore(deps): bump the npm-dependencies group
dependabot[bot] Jun 30, 2025
0a55409
added live activity
AyushRajSinghParihar Jul 1, 2025
7a3b617
changed scoreboard name
AyushRajSinghParihar Jul 1, 2025
9ab67ee
removed red text
AyushRajSinghParihar Jul 1, 2025
e25a48c
Addressed the concerns
AyushRajSinghParihar Jul 4, 2025
717d6de
added some tests
AyushRajSinghParihar Jul 6, 2025
0b15a1e
changed first blood to first solves
AyushRajSinghParihar Jul 6, 2025
dcc14ac
removed all blood mentions with solve
AyushRajSinghParihar Jul 6, 2025
5c02760
test edited
AyushRajSinghParihar Jul 6, 2025
edcfb12
chore(deps): bump the npm-dependencies group
dependabot[bot] Jul 7, 2025
da7eaed
added polling logic to backend and removed unnecessary comments
AyushRajSinghParihar Jul 9, 2025
b2ceb76
Added frontend fetching for subscription
AyushRajSinghParihar Jul 9, 2025
1b416ce
removed files from this commit
AyushRajSinghParihar Jul 9, 2025
f21abb4
followed the other polling for consistency
AyushRajSinghParihar Jul 9, 2025
b4f9fe3
chore(deps): bump golang.org/x/crypto
dependabot[bot] Jul 14, 2025
3adfe58
chore(deps): bump the npm-dependencies group
dependabot[bot] Jul 14, 2025
154702d
layoutV2 added
AyushRajSinghParihar Jul 14, 2025
42ce8c0
extract duplicated code into it's own component
J12934 Jul 16, 2025
6633e63
add a small gap between navbar pills
J12934 Jul 16, 2025
3d3efe3
increase logo size slightly
J12934 Jul 16, 2025
1c0c17b
Add link to the team management page
J12934 Jul 16, 2025
000dae7
Rename to more consistent scoreboard
J12934 Jul 16, 2025
f85f0cb
chore(deps): bump the golang-dependencies group
dependabot[bot] Jul 21, 2025
025010d
chore(deps): bump the golang-dependencies group
dependabot[bot] Jul 21, 2025
7160c6b
chore(deps): bump the golang-dependencies group
dependabot[bot] Jul 21, 2025
3aea090
chore(deps): bump the npm-dependencies group across 1 directory with …
dependabot[bot] Jul 28, 2025
f4463cc
fixed light mode issue, html rendering of challenge page and top 3 teams
AyushRajSinghParihar Jul 17, 2025
e21430c
Sanitize description to avoid potential for XSS throught the
J12934 Jul 29, 2025
c96cb88
Remove Statistics from navbar for now
J12934 Jul 29, 2025
7ab613e
Add prettier setup
J12934 Jul 29, 2025
7f6eea7
Add a lint fix task
J12934 Jul 29, 2025
6b0c792
Configure prettier import order plugin
J12934 Jul 29, 2025
58bc0d5
Add lint / test pipeline for balancer ui
J12934 Jul 29, 2025
05d025f
Ensure that tests are run in non-interactive mode
J12934 Jul 29, 2025
71beced
Try a different way to specify lts version
J12934 Jul 29, 2025
d150bee
Prettier auto-fixes
J12934 Jul 29, 2025
7b95ca1
Add import alias and enfore import order using eslint
J12934 Jul 29, 2025
a280322
npm audit fix
J12934 Jul 29, 2025
4678ce4
Add vitest resolve alias config
J12934 Jul 29, 2025
b7381a0
chore(deps): bump github.com/prometheus/client_golang
dependabot[bot] Aug 4, 2025
cd11d83
chore(deps): bump the npm-dependencies group
dependabot[bot] Aug 4, 2025
30fd5c1
Bump eslint typescript dependencies for compatibility
J12934 Aug 4, 2025
5e18b30
Update to latest tailwind version
J12934 Aug 4, 2025
e70ec48
Minor go staticcheck bump
J12934 Aug 4, 2025
f3b3cee
Update to helm unittests v1.0.0
J12934 Aug 4, 2025
76a3e36
Add github action dependabot config
J12934 Aug 4, 2025
f876b9c
chore(deps): bump the github-actions-dependencies group with 2 updates
dependabot[bot] Aug 4, 2025
91f93f3
Move custom columns file to an inline custom columns kubectl command
J12934 Aug 5, 2025
d0d3ff4
chore(deps): bump golang.org/x/crypto
dependabot[bot] Aug 11, 2025
dfe4cab
chore(deps): bump the npm-dependencies group
dependabot[bot] Aug 11, 2025
4e151a8
chore(deps-dev): bump @vitejs/plugin-react
dependabot[bot] Aug 11, 2025
cc8bea3
chore(deps): bump the npm-dependencies group
dependabot[bot] Aug 18, 2025
32413ba
chore(deps): bump the golang-dependencies group
dependabot[bot] Aug 18, 2025
25660f6
chore(deps): bump the golang-dependencies group
dependabot[bot] Aug 18, 2025
385f3ab
chore(deps): bump actions/checkout
dependabot[bot] Aug 18, 2025
27ccc4d
chore(deps): bump the golang-dependencies group
dependabot[bot] Aug 18, 2025
34eb9bc
chore(deps): bump github.com/stretchr/testify
dependabot[bot] Aug 25, 2025
19b900f
chore(deps): bump the npm-dependencies group
dependabot[bot] Aug 25, 2025
1b210ce
chore(deps): bump github.com/stretchr/testify
dependabot[bot] Aug 25, 2025
853ddfa
chore(deps): bump the npm-dependencies group
dependabot[bot] Sep 8, 2025
4f7feeb
chore(deps): bump the golang-dependencies group
dependabot[bot] Sep 8, 2025
4b44973
chore(deps): bump the golang-dependencies group
dependabot[bot] Sep 8, 2025
744d07b
chore(deps): bump the golang-dependencies group
dependabot[bot] Sep 8, 2025
7c94031
chore(deps): bump the github-actions-dependencies group with 2 updates
dependabot[bot] Sep 8, 2025
40dd89e
Update Juice Shop image tag to v19.0.0
bkimminich Sep 8, 2025
7eb6960
chore(deps): bump the golang-dependencies group
dependabot[bot] Sep 15, 2025
54746f2
chore(deps-dev): bump jsdom
dependabot[bot] Sep 15, 2025
f057580
chore(deps): bump the golang-dependencies group
dependabot[bot] Sep 15, 2025
776d966
chore(deps): bump the golang-dependencies group
dependabot[bot] Sep 15, 2025
c8bb3d7
chore(deps): bump the npm-dependencies group across 1 directory with …
dependabot[bot] Sep 22, 2025
f3066c6
chore(deps): bump the npm-dependencies group
dependabot[bot] Oct 6, 2025
226cbfd
chore(deps): bump golang.org/x/crypto
dependabot[bot] Oct 13, 2025
168d635
chore(deps): bump stefanzweifel/git-auto-commit-action
dependabot[bot] Oct 13, 2025
25729ec
chore(deps): bump the npm-dependencies group
dependabot[bot] Oct 13, 2025
9ac3316
chore(deps): bump the npm-dependencies group
dependabot[bot] Oct 20, 2025
bda4d67
chore(deps): bump actions/setup-node
dependabot[bot] Oct 20, 2025
7833c4c
Speed up builds of golang images by mounting a buid cache volume
J12934 Oct 26, 2025
b086fce
Upgrade to golang 1.25
J12934 Oct 26, 2025
fee20fc
npm audit fix
J12934 Oct 27, 2025
4aa62dc
Remove irrelevant comments
J12934 Oct 26, 2025
987871c
Include language selector in layout
J12934 Oct 26, 2025
0a4b88e
Ensure layoutv2 is also properly translated
J12934 Oct 26, 2025
d100c24
Exclude ui from builder copy to avoid cache invalidations
J12934 Oct 27, 2025
111f86d
Use proper links in layoutv2
J12934 Oct 27, 2025
a5bc773
Make layout v2 the default layout
J12934 Oct 27, 2025
ecc377f
Remove unused statistics page
J12934 Oct 27, 2025
6667301
Simplify score board and go back to original table view
J12934 Oct 27, 2025
29d3abb
Fix first solve not being displayed properly in activity feed
J12934 Oct 27, 2025
4844cff
Properly center line of activity feed
J12934 Oct 27, 2025
41972b7
Fix issue with long polling not updating properly
J12934 Oct 27, 2025
8dc7b6e
Properly cancel requests when leaving a page to properly stop the
J12934 Oct 27, 2025
3829075
Update to nodejs 24 for react build
J12934 Oct 27, 2025
dcebeca
Cancel in flight requests across all pages
J12934 Oct 27, 2025
a094346
Update helm snapshots
J12934 Oct 27, 2025
dd027d4
Move v2 to the new default
J12934 Oct 27, 2025
4d75212
Bring back the PositionDisplay
J12934 Oct 27, 2025
675dd4e
Rename scoreboard component to score over view to avoid confusions with
J12934 Oct 28, 2025
78ad5c6
Move logout button to context menu
J12934 Oct 28, 2025
57bd123
Move passcode reset to context menu
J12934 Oct 28, 2025
24629c5
Remove the typescript check from the build.
J12934 Oct 28, 2025
f1a6564
Try improving docker build speed even more by including npm and vite
J12934 Oct 28, 2025
191890e
Fix linting errors in layout
J12934 Oct 28, 2025
27030ee
Highlight the active team on the score overview page again
J12934 Oct 28, 2025
32be2f2
Style table header simmilarly to the score overview tables
J12934 Oct 28, 2025
6a7ed19
Actually go back to 3 sec
J12934 Oct 28, 2025
9fd5b32
Extract generic http polling logic into a custom hook
J12934 Oct 28, 2025
9a03352
Try to also unify the server long-poll implementation
J12934 Oct 28, 2025
6e81788
Include some (auto-generated) architecture docs
J12934 Oct 28, 2025
3df436b
Add a default & configurable CSP
J12934 Oct 28, 2025
f5210f1
regen helm docs
J12934 Oct 28, 2025
e34b5f1
Update translation strings
J12934 Oct 28, 2025
01b6d70
Include csp in helm snapshots
J12934 Oct 28, 2025
ccb15cd
Format timestamps in the selected language
J12934 Oct 28, 2025
fcae32e
Fix consistency issue with new translation strings
J12934 Oct 28, 2025
b6fdc46
Fix sentance structure of live activity sidebar
J12934 Oct 28, 2025
eac2389
Persist selected language across reloads
J12934 Oct 28, 2025
5320699
Fix flaky test
J12934 Oct 29, 2025
c09107f
chore(deps-dev): bump vitest from 3.2.4 to 4.0.3 in /balancer/ui
dependabot[bot] Oct 29, 2025
6fe3f7d
chore(deps): bump the npm-dependencies group across 1 directory with …
dependabot[bot] Oct 29, 2025
a4018bb
Update helm unit test version in CI
J12934 Oct 29, 2025
b7af3e9
Add missing translation for instance status
J12934 Oct 29, 2025
ca42b0c
Show logout button for admin teams too
J12934 Oct 29, 2025
f80a760
Ignore scripts during install to lesses the impact of potential supply
J12934 Oct 29, 2025
542e793
Add react hooks eslint rule
J12934 Oct 29, 2025
02e2e70
Enable react compiler for automated useMemo and other performance
J12934 Oct 29, 2025
621d609
Track and display cheat score in admin page
J12934 Oct 29, 2025
430b247
chore(deps-dev): bump the npm-dependencies group
dependabot[bot] Nov 3, 2025
e4b9622
chore(deps): bump the npm-dependencies group
dependabot[bot] Nov 10, 2025
26cb8e6
chore(deps-dev): bump js-yaml from 4.1.0 to 4.1.1 in /balancer/ui
dependabot[bot] Nov 15, 2025
395c49c
chore(deps): bump golang.org/x/crypto from 0.43.0 to 0.45.0 in /balancer
dependabot[bot] Nov 20, 2025
b847f5d
Simplify status and individual score endpoints by combining them into
J12934 Nov 8, 2025
fb434e1
Make activity feed also use the long-poll mechanism
J12934 Nov 8, 2025
340f2ba
Use import alias consistently
J12934 Nov 8, 2025
42c2e28
Fix minor typescript warning
J12934 Nov 8, 2025
85171f8
Fix minor go linting warnings
J12934 Nov 8, 2025
9c023fb
Make passcode length configuable and default to 12 instead of 8
J12934 Nov 8, 2025
e286261
Update browser list
J12934 Nov 8, 2025
f25dd95
Improve navbar layout on mobile devices
J12934 Nov 8, 2025
22de2a8
Update error to conform to go staticcheck
J12934 Nov 8, 2025
a8478e0
Update helm snapshots
J12934 Nov 8, 2025
0c12fb8
Restructure passcode display to break into muliple rows when overflowing
J12934 Nov 8, 2025
7c42e8d
remove accidentally generated lock file on the wrong level
J12934 Nov 8, 2025
9f053b4
Add seccomp profiles to all pods by default
J12934 Nov 8, 2025
356aac9
Update feature list in the readme with some of the "newer" feature
J12934 Nov 8, 2025
d81407e
Update helm snapshots with seccomp profiles
J12934 Nov 8, 2025
8029a62
Update / remove package json
J12934 Nov 8, 2025
12c0493
Chown the binaries and other files to be owned by root instead of the
J12934 Nov 8, 2025
1164608
Remove some boilerplate comments
J12934 Nov 8, 2025
13dd8cb
Switch to OpemMoji Icon for first solve icon
J12934 Nov 22, 2025
a5e6676
Modernize passcode copying by having a join link which can be shared to
J12934 Nov 22, 2025
070407f
Rename translation strings to be more clear
J12934 Nov 22, 2025
275f349
Remove upgrade-insecure-requests from default CSP.
J12934 Nov 22, 2025
cdfe8d7
Remove broad https img-src
J12934 Nov 22, 2025
2d7108b
Update to JuiceShop v19.1.1
J12934 Nov 22, 2025
db14b36
Regenerate helm docs
J12934 Nov 22, 2025
54fc971
Add task to regenerate helm docs
J12934 Nov 22, 2025
d68f58a
Update chown to 755 to ensure that files are readable, but not writable
J12934 Nov 22, 2025
5552104
Update helm shapshots
J12934 Nov 22, 2025
4fc7c04
chore(deps): bump the golang-dependencies group
dependabot[bot] Nov 24, 2025
52a2238
chore(deps): bump the golang-dependencies group
dependabot[bot] Nov 24, 2025
3c03726
chore(deps): bump the npm-dependencies group
dependabot[bot] Nov 24, 2025
a51c3b6
chore(deps): bump the golang-dependencies group
dependabot[bot] Nov 24, 2025
db67559
chore(deps): bump actions/checkout
dependabot[bot] Nov 24, 2025
dd71130
Add Romanian language support
bogminic Nov 25, 2025
b2bdb2c
Auto-format translation file
J12934 Nov 25, 2025
b353122
chore(deps): bump the npm-dependencies group
dependabot[bot] Dec 1, 2025
1ba05c1
Update code with new prettier rules
J12934 Dec 3, 2025
6eb6f87
chore(deps): bump the npm-dependencies group
dependabot[bot] Dec 8, 2025
8f89140
chore(deps): bump the golang-dependencies group
dependabot[bot] Dec 15, 2025
5d57c80
chore(deps): bump the npm-dependencies group
dependabot[bot] Dec 15, 2025
5c04620
chore(deps): bump the golang-dependencies group
dependabot[bot] Dec 15, 2025
43c2a8e
chore(deps): bump the golang-dependencies group
dependabot[bot] Dec 15, 2025
18370e8
chore(deps-dev): bump @types/node from 24.10.1 to 25.0.2 in /balancer/ui
dependabot[bot] Dec 15, 2025
08a998a
chore(deps): bump the npm-dependencies group
dependabot[bot] Dec 22, 2025
b028e1a
chore(deps): bump stefanzweifel/git-auto-commit-action
dependabot[bot] Dec 22, 2025
cb05bc1
chore(deps): bump react-intl from 7.1.14 to 8.0.6 in /balancer/ui
dependabot[bot] Dec 27, 2025
a81c1df
chore(deps): bump the golang-dependencies group
dependabot[bot] Dec 22, 2025
3217092
Replace depracated client ser builder
J12934 Dec 27, 2025
dc2f37f
chore(deps): bump the golang-dependencies group
dependabot[bot] Dec 22, 2025
d652228
Update clientset init for the cleaner
J12934 Dec 27, 2025
1b66b66
chore(deps): bump the golang-dependencies group
dependabot[bot] Dec 22, 2025
9503adb
Add a list challenges endpoint
J12934 Dec 28, 2025
b002505
chore(deps-dev): bump the npm-dependencies group
dependabot[bot] Dec 29, 2025
310a24f
Add CTF PoC to MultiJuicer
J12934 Jan 1, 2026
8c2f93d
Migrate CTF styles to tailwind
J12934 Jan 2, 2026
9f593a7
Remove distracting pulse animation
J12934 Jan 2, 2026
d7ad4fb
Each team gets it's own unique geometric background on the scoreboard.
J12934 Jan 13, 2026
b7a0aba
graph add
sawankshrma Jan 15, 2026
dd80b66
Decrease delay for when the popup shows up
J12934 Jan 20, 2026
b191f5c
Remove manuall useMemo calls
J12934 Jan 20, 2026
4d6003e
Translate all user facing strings
J12934 Jan 20, 2026
af9fbfd
Add a small explanation for single cheat scores to explain why there …
J12934 Jan 20, 2026
662d8f0
prettier and go fmt
J12934 Jan 20, 2026
6d047e1
prettier again
J12934 Jan 20, 2026
dd75632
chore(deps): bump golang.org/x/crypto
dependabot[bot] Jan 19, 2026
a053aed
Directly color in the countries patterns when a challenge gets newly
J12934 Jan 23, 2026
9622375
Fix THREE.WebGLProgram shader warning
J12934 Jan 23, 2026
42dceed
fmt
J12934 Jan 23, 2026
f47a2f3
Fix issues with some country with jagged edges not being filled in
J12934 Jan 23, 2026
d4b4e9d
Fix: Use Chart.AppVersion for image tags to support Flux OCIRepository
kass-soptim Jan 21, 2026
dfcb90a
Fix duplicate key in release note generator config
J12934 Jan 25, 2026
4233128
Implement basic notification to post to all users
J12934 Feb 1, 2026
8162fd7
Add very basic markdown support for the messages
J12934 Feb 1, 2026
6f00d63
Add translation string to for the newly added UI texts
J12934 Feb 1, 2026
3105e8a
Ensure that the wait-for-update-after remains at the latest recieved
J12934 Feb 1, 2026
5f2917c
Fix issue with long poll when clearing notifications
J12934 Feb 1, 2026
90fbd68
Prettier
J12934 Feb 1, 2026
71c7abe
Merge branch 'main' into feature/ctf
J12934 Feb 1, 2026
2a500ee
Show warning if clipboard access is denied
J12934 Feb 1, 2026
fa8d8c8
chore(deps-dev): bump globals from 16.5.0 to 17.0.0 in /balancer/ui
dependabot[bot] Feb 1, 2026
1d0c8ce
Move service interfaces to bundle to allow them to also be injected v…
J12934 Feb 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
81 changes: 81 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
version: 2
updates:
- package-ecosystem: "gomod"
directory: "/balancer"
schedule:
interval: "weekly"
commit-message:
prefix: "chore"
include: "scope"
groups:
golang-dependencies:
patterns:
- "*"

- package-ecosystem: "gomod"
directory: "/cleaner"
schedule:
interval: "weekly"
commit-message:
prefix: "chore"
include: "scope"
groups:
golang-dependencies:
patterns:
- "*"

- package-ecosystem: "gomod"
directory: "/progress-watchdog"
schedule:
interval: "weekly"
commit-message:
prefix: "chore"
include: "scope"
groups:
golang-dependencies:
patterns:
- "*"

- package-ecosystem: "npm"
directory: "/balancer/ui"
schedule:
interval: "weekly"
commit-message:
prefix: "chore"
include: "scope"
groups:
npm-dependencies:
patterns:
- "*"
update-types:
- "minor"
- "patch"
npm-breaking-updates-dependencies:
patterns:
- "*"
update-types:
- "major"

- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "chore"
include: "scope"
groups:
docker-dependencies:
patterns:
- "*"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "chore"
include: "scope"
groups:
github-actions-dependencies:
patterns:
- "*"
23 changes: 0 additions & 23 deletions .github/release-drafter.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
changelog:
categories:
- title: "🚀 Features"
labels:
- "feature"
- "enhancement"
- title: "🐛 Bug Fixes"
labels:
- "fix"
- "bugfix"
- "bug"
- title: "📚 Docs"
label: "documentation"
- title: "🌐 I18N"
label: "i18n"
- title: "🧰 Maintenance"
label: "maintenance"
99 changes: 66 additions & 33 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,67 +1,100 @@
name: "Release Build"
on:
release:
types: [published]
name: "Publish Docker Images"
env:
CONTAINER_REGISTRY: ghcr.io/juice-shop
jobs:
helmRelease:
name: "Package Helm Chart"
name: "Publish Helm Chart"
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v1
- name: "Install yq"
run: |
sudo snap install yq
- name: "Patch Chart.yaml to the current released version"
working-directory: helm/multi-juicer/
- uses: actions/checkout@v6

- id: release-version
name: Parse Release Version
run: |
RELEASE_VERSION="${GITHUB_REF#refs/*/}"
# Remove leading 'v' from git tag to create valid semver
RELEASE_VERSION="${RELEASE_VERSION//v}"
# patch the version & appVersion in the Chart.yaml to the release version
yq eval -i ".version = \"$RELEASE_VERSION\", .appVersion = \"$RELEASE_VERSION\"" Chart.yaml
- uses: J12934/[email protected]
with:
access-token: ${{ secrets.ACCESS_TOKEN }}
charts-folder: helm
deploy-branch: gh-pages
echo "version=$RELEASE_VERSION" >> "$GITHUB_OUTPUT"

- name: "Login to Package Registry"
run: 'echo "${{ secrets.GITHUB_TOKEN }}" | helm registry login --username ${{ github.actor }} --password-stdin ${{ env.CONTAINER_REGISTRY }}'

- name: "Package Helm Chart"
working-directory: helm/multi-juicer/
run: |
helm package --version "${{ steps.release-version.outputs.version }}" --app-version "${{ steps.release-version.outputs.version }}" .

- name: "Push Helm Chart"
working-directory: helm/multi-juicer/
run: |
helm push "multi-juicer-${{ steps.release-version.outputs.version }}.tgz" oci://${{ env.CONTAINER_REGISTRY }}/multi-juicer/helm

dockerBuilds:
name: "Build"
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write # needed for signing the images with GitHub OIDC Token
strategy:
matrix:
component:
- progress-watchdog
- cleaner
- juice-balancer
- balancer
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v6

- name: Install Cosign
uses: sigstore/cosign-installer@v3

- name: Docker Meta
id: docker_meta
uses: docker/metadata-action@v3
- id: image-metadata
name: Container Image Metadata
uses: docker/metadata-action@v5
with:
images: iteratec/${{ matrix.component }}
images: ${{ env.CONTAINER_REGISTRY }}/multi-juicer/${{ matrix.component }}
tags: |
type=semver,pattern={{raw}}

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/setup-buildx-action@v3
- name: Login to Container Registry
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: ${{ env.CONTAINER_REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract JuiceShop Version from Helm Values
id: extract-juice-shop-version
run: |
JUICE_SHOP_VERSION=$(yq eval '.config.juiceShop.tag' helm/multi-juicer/values.yaml)
echo "version=$JUICE_SHOP_VERSION" >> "$GITHUB_OUTPUT"

- name: Build and Push
uses: docker/build-push-action@v3
- id: build-and-push
name: Build and Push
uses: docker/build-push-action@v6
with:
context: ./${{ matrix.component }}
file: ./${{ matrix.component }}/Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
tags: ${{ steps.image-metadata.outputs.tags }}
labels: ${{ steps.image-metadata.outputs.labels }}
build-args: |
JUICE_SHOP_VERSION=${{ steps.extract-juice-shop-version.outputs.version }}

- name: Sign the images with GitHub OIDC Token
env:
DIGEST: ${{ steps.build-and-push.outputs.digest }}
TAGS: ${{ steps.image-metadata.outputs.tags }}
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}
17 changes: 0 additions & 17 deletions .github/workflows/release-notes.yaml

This file was deleted.

Loading