Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/scripts/src/build-images/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const { ver, shouldUpload } = await yargs(hideBin(process.argv))
.strict()
.parse();

const targets = ["pg-az"] as const;
const targets = ["pg-az", "gerrit"] as const;

export async function main() {
const { dockerHubPat, dockerHubUsername } = parseCiEnv();
Expand Down
3 changes: 3 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
build-pg-az:
docker build --platform linux/amd64 -t Patina-Network/pg-az -f src/pg-az/Dockerfile .

build-gerrit:
docker build --platform linux/amd64 -t Patina-Network/gerrit -f src/gerrit/Dockerfile .

install-pre-scripts:
just install-pre-commit && just install-pre-push

Expand Down
14 changes: 14 additions & 0 deletions src/gerrit/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# thin layer over `gerritcodereview/gerrit` that will install plugins as well.

ARG GERRIT_VERSION=3.13.4
FROM gerritcodereview/gerrit:${GERRIT_VERSION}
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed

# make sq happy
USER gerrit

# add plugins here

ADD --chown=gerrit:gerrit \
https://github.com/davido/gerrit-oauth-provider/releases/download/v3.13.4/gerrit-oauth-provider.jar \
/var/gerrit/plugins/gerrit-oauth-provider.jar

Loading