Skip to content
Open
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
1 change: 1 addition & 0 deletions .github/workflows/test_docker_debian_codename_sub_v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ jobs:
USER_GROUP=${{ env.TEST_USER_GROUP }}
GIT_BRANCH=${{ github.head_ref || github.ref_name }}
GIT_USER=${{ github.event.pull_request.head.user.login || github.repository_owner }}
GIT_REPO_NAME=${{ github.event.pull_request.head.repo.name || github.event.repository.name }}

# Build new image with updates packages based on base image. Layers will NOT be chached. Result is written to file.
- name: Build Image - Update
Expand Down
3 changes: 2 additions & 1 deletion ci/ci-debian.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ ENV XDG_RUNTIME_DIR=/run/user/$USER_ID DBUS_SESSION_BUS_ADDRESS=unix:path=/run/u
FROM test-user as test-code
ARG GIT_BRANCH
ARG GIT_USER
ARG GIT_REPO_NAME

ENV GIT_BRANCH=$GIT_BRANCH GIT_USER=$GIT_USER
ENV GIT_BRANCH=$GIT_BRANCH GIT_USER=$GIT_USER GIT_REPO_NAME=$GIT_REPO_NAME

COPY --chown=root:$TEST_USER_GROUP --chmod=770 packages-core.txt ./

Expand Down
4 changes: 2 additions & 2 deletions installation/install-jukebox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
#
# If you want to get a specific branch or a different repository (mainly for developers)
# you may specify them like this
# cd; GIT_USER='MiczFlor' GIT_BRANCH='future3/develop' bash <(wget -qO- https://raw.githubusercontent.com/MiczFlor/RPi-Jukebox-RFID/future3/develop/installation/install-jukebox.sh)
# cd; GIT_USER='MiczFlor' GIT_REPO_NAME='RPi-Jukebox-RFID' GIT_BRANCH='future3/develop' bash <(wget -qO- https://raw.githubusercontent.com/MiczFlor/RPi-Jukebox-RFID/future3/develop/installation/install-jukebox.sh)
#
export LC_ALL=C

# Set Repo variables if not specified when calling the script
GIT_USER=${GIT_USER:-"MiczFlor"}
GIT_REPO_NAME=${GIT_REPO_NAME:-"RPi-Jukebox-RFID"}
GIT_BRANCH=${GIT_BRANCH:-"future3/main"}

# Constants
GIT_REPO_NAME="RPi-Jukebox-RFID"
GIT_URL="https://github.com/${GIT_USER}/${GIT_REPO_NAME}"
echo GIT_BRANCH $GIT_BRANCH
echo GIT_URL $GIT_URL
Expand Down
Loading