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/workflows/external_trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
echo "> [!NOTE]" >> $GITHUB_STEP_SUMMARY
echo "> External trigger running off of master branch. To disable this trigger, add \`gitqlient_master\` into the Github organizational variable \`SKIP_EXTERNAL_TRIGGER\`." >> $GITHUB_STEP_SUMMARY
printf "\n## Retrieving external version\n\n" >> $GITHUB_STEP_SUMMARY
EXT_RELEASE=$(curl -u "${{ secrets.CR_USER }}:${{ secrets.CR_PAT }}" -sX GET "https://api.github.com/repos/francescmm/GitQlient/releases/latest" | jq -r '. | .tag_name')
EXT_RELEASE=$(curl -u "${{ secrets.CR_USER }}:${{ secrets.CR_PAT }}" -sX GET "https://api.github.com/repos/francescmaestre/GitQlient/releases/latest" | jq -r '. | .tag_name')
echo "Type is \`github_stable\`" >> $GITHUB_STEP_SUMMARY
if grep -q "^gitqlient_master_${EXT_RELEASE}" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ RUN \

RUN \
echo "**** grab source ****" && \
git clone https://github.com/francescmm/GitQlient.git
git clone https://github.com/francescmaestre/GitQlient.git

RUN \
echo "**** build gitqclient ****" && \
mkdir -p /build-out/usr && \
if [ -z ${GITQLIENT_RELEASE+x} ]; then \
GITQLIENT_RELEASE=$(curl -sX GET "https://api.github.com/repos/francescmm/GitQlient/releases/latest" \
GITQLIENT_RELEASE=$(curl -sX GET "https://api.github.com/repos/francescmaestre/GitQlient/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
fi && \
cd /GitQlient && \
git checkout "${GITQLIENT_RELEASE}" && \
qmake-qt5 GitQlient.pro \
PREFIX=/build-out/usr \
VERSION=${GITQLIENT_RELEASE:1} && \
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ RUN \

RUN \
echo "**** grab source ****" && \
git clone https://github.com/francescmm/GitQlient.git
git clone https://github.com/francescmaestre/GitQlient.git

RUN \
echo "**** build gitqclient ****" && \
mkdir -p /build-out/usr && \
if [ -z ${GITQLIENT_RELEASE+x} ]; then \
GITQLIENT_RELEASE=$(curl -sX GET "https://api.github.com/repos/francescmm/GitQlient/releases/latest" \
GITQLIENT_RELEASE=$(curl -sX GET "https://api.github.com/repos/francescmaestre/GitQlient/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
fi && \
cd /GitQlient && \
git checkout "${GITQLIENT_RELEASE}" && \
qmake-qt5 GitQlient.pro \
PREFIX=/build-out/usr \
VERSION=${GITQLIENT_RELEASE:1} && \
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pipeline {
QUAYIO_API_TOKEN=credentials('quayio-repo-api-token')
GIT_SIGNING_KEY=credentials('484fbca6-9a4f-455e-b9e3-97ac98785f5f')
EXT_GIT_BRANCH = 'master'
EXT_USER = 'francescmm'
EXT_USER = 'francescmaestre'
EXT_REPO = 'GitQlient'
BUILD_VERSION_ARG = 'GITQLIENT_RELEASE'
LS_USER = 'linuxserver'
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ This container is based on [Docker Baseimage Selkies](https://github.com/linuxse
| :----: | --- |
| `CUSTOM_PORT` | Internal HTTP port. Defaults to `3000`. |
| `CUSTOM_HTTPS_PORT` | Internal HTTPS port. Defaults to `3001`. |
| `CUSTOM_WS_PORT` | Internal port the container listens on for websockets if it needs to be swapped from the default 8082. |
| `CUSTOM_USER` | Username for HTTP Basic Auth. Defaults to `abc`. |
| `PASSWORD` | Password for HTTP Basic Auth. If unset, authentication is disabled. |
| `SUBFOLDER` | Application subfolder for reverse proxy configurations. Must include leading and trailing slashes, e.g., `/subfolder/`. |
Expand Down
2 changes: 1 addition & 1 deletion jenkins-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ls_branch: master
build_armhf: false
repo_vars:
- EXT_GIT_BRANCH = 'master'
- EXT_USER = 'francescmm'
- EXT_USER = 'francescmaestre'
- EXT_REPO = 'GitQlient'
- BUILD_VERSION_ARG = 'GITQLIENT_RELEASE'
- LS_USER = 'linuxserver'
Expand Down