Skip to content

Commit 281f408

Browse files
committed
fork bullseye to a branch
1 parent 4dd4e7b commit 281f408

File tree

8 files changed

+38
-38
lines changed

8 files changed

+38
-38
lines changed

.github/CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
## Readme
2525

2626
If you would like to change our readme, please __**do not**__ directly edit the readme, as it is auto-generated on each commit.
27-
Instead edit the [readme-vars.yml](https://github.com/linuxserver/docker-baseimage-debian/edit/master/readme-vars.yml).
27+
Instead edit the [readme-vars.yml](https://github.com/linuxserver/docker-baseimage-debian/edit/bullseye/readme-vars.yml).
2828

2929
These variables are used in a template for our [Jenkins Builder](https://github.com/linuxserver/docker-jenkins-builder) as part of an ansible play.
3030
Most of these variables are also carried over to [docs.linuxserver.io](https://docs.linuxserver.io)
@@ -115,7 +115,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
115115

116116
## Update the changelog
117117

118-
If you are modifying the Dockerfiles or any of the startup scripts in [root](https://github.com/linuxserver/docker-baseimage-debian/tree/master/root), add an entry to the changelog
118+
If you are modifying the Dockerfiles or any of the startup scripts in [root](https://github.com/linuxserver/docker-baseimage-debian/tree/bullseye/root), add an entry to the changelog
119119

120120
```yml
121121
changelogs:

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
------------------------------
2323

24-
- [ ] I have read the [contributing](https://github.com/linuxserver/docker-baseimage-debian/blob/master/.github/CONTRIBUTING.md) guideline and understand that I have made the correct modifications
24+
- [ ] I have read the [contributing](https://github.com/linuxserver/docker-baseimage-debian/blob/bullseye/.github/CONTRIBUTING.md) guideline and understand that I have made the correct modifications
2525

2626
------------------------------
2727

.github/workflows/external_trigger.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ on:
44
workflow_dispatch:
55

66
jobs:
7-
external-trigger-master:
7+
external-trigger-bullseye:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/[email protected]
1111

1212
- name: External Trigger
13-
if: github.ref == 'refs/heads/master'
13+
if: github.ref == 'refs/heads/bullseye'
1414
run: |
1515
echo "**** No external release, exiting ****"
1616
echo "No external release, exiting" >> $GITHUB_STEP_SUMMARY

.github/workflows/greetings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ jobs:
99
- uses: actions/first-interaction@v1
1010
with:
1111
issue-message: 'Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.'
12-
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-baseimage-debian/blob/master/.github/PULL_REQUEST_TEMPLATE.md)!'
12+
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-baseimage-debian/blob/bullseye/.github/PULL_REQUEST_TEMPLATE.md)!'
1313
repo-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/package_trigger.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,28 @@ on:
44
workflow_dispatch:
55

66
jobs:
7-
package-trigger-master:
7+
package-trigger-bullseye:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/[email protected]
1111

1212
- name: Package Trigger
13-
if: github.ref == 'refs/heads/master'
13+
if: github.ref == 'refs/heads/bullseye'
1414
run: |
15-
if [ -n "${{ secrets.PAUSE_PACKAGE_TRIGGER_BASEIMAGE_DEBIAN_MASTER }}" ]; then
16-
echo "**** Github secret PAUSE_PACKAGE_TRIGGER_BASEIMAGE_DEBIAN_MASTER is set; skipping trigger. ****"
17-
echo "Github secret \`PAUSE_PACKAGE_TRIGGER_BASEIMAGE_DEBIAN_MASTER\` is set; skipping trigger." >> $GITHUB_STEP_SUMMARY
15+
if [ -n "${{ secrets.PAUSE_PACKAGE_TRIGGER_BASEIMAGE_DEBIAN_BULLSEYE }}" ]; then
16+
echo "**** Github secret PAUSE_PACKAGE_TRIGGER_BASEIMAGE_DEBIAN_BULLSEYE is set; skipping trigger. ****"
17+
echo "Github secret \`PAUSE_PACKAGE_TRIGGER_BASEIMAGE_DEBIAN_BULLSEYE\` is set; skipping trigger." >> $GITHUB_STEP_SUMMARY
1818
exit 0
1919
fi
20-
if [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-baseimage-debian/job/master/lastBuild/api/json | jq -r '.building') == "true" ]; then
20+
if [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-baseimage-debian/job/bullseye/lastBuild/api/json | jq -r '.building') == "true" ]; then
2121
echo "**** There already seems to be an active build on Jenkins; skipping package trigger ****"
2222
echo "There already seems to be an active build on Jenkins; skipping package trigger" >> $GITHUB_STEP_SUMMARY
2323
exit 0
2424
fi
25-
echo "**** Package trigger running off of master branch. To disable, set a Github secret named \"PAUSE_PACKAGE_TRIGGER_BASEIMAGE_DEBIAN_MASTER\". ****"
26-
echo "Package trigger running off of master branch. To disable, set a Github secret named \`PAUSE_PACKAGE_TRIGGER_BASEIMAGE_DEBIAN_MASTER\`" >> $GITHUB_STEP_SUMMARY
25+
echo "**** Package trigger running off of bullseye branch. To disable, set a Github secret named \"PAUSE_PACKAGE_TRIGGER_BASEIMAGE_DEBIAN_BULLSEYE\". ****"
26+
echo "Package trigger running off of bullseye branch. To disable, set a Github secret named \`PAUSE_PACKAGE_TRIGGER_BASEIMAGE_DEBIAN_BULLSEYE\`" >> $GITHUB_STEP_SUMMARY
2727
response=$(curl -iX POST \
28-
https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-baseimage-debian/job/master/buildWithParameters?PACKAGE_CHECK=true \
28+
https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-baseimage-debian/job/bullseye/buildWithParameters?PACKAGE_CHECK=true \
2929
--user ${{ secrets.JENKINS_USER }}:${{ secrets.JENKINS_TOKEN }} | grep -i location | sed "s|^[L|l]ocation: \(.*\)|\1|")
3030
echo "**** Jenkins job queue url: ${response%$'\r'} ****"
3131
echo "**** Sleeping 10 seconds until job starts ****"

Jenkinsfile

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,10 @@ pipeline {
148148
}
149149
}
150150
}
151-
// If this is a master build use live docker endpoints
151+
// If this is a bullseye build use live docker endpoints
152152
stage("Set ENV live build"){
153153
when {
154-
branch "master"
154+
branch "bullseye"
155155
environment name: 'CHANGE_ID', value: ''
156156
}
157157
steps {
@@ -174,7 +174,7 @@ pipeline {
174174
// If this is a dev build use dev docker endpoints
175175
stage("Set ENV dev build"){
176176
when {
177-
not {branch "master"}
177+
not {branch "bullseye"}
178178
environment name: 'CHANGE_ID', value: ''
179179
}
180180
steps {
@@ -248,7 +248,7 @@ pipeline {
248248
// Use helper containers to render templated files
249249
stage('Update-Templates') {
250250
when {
251-
branch "master"
251+
branch "bullseye"
252252
environment name: 'CHANGE_ID', value: ''
253253
expression {
254254
env.CONTAINER_NAME != null
@@ -259,13 +259,13 @@ pipeline {
259259
set -e
260260
TEMPDIR=$(mktemp -d)
261261
docker pull ghcr.io/linuxserver/jenkins-builder:latest
262-
docker run --rm -e CONTAINER_NAME=${CONTAINER_NAME} -e GITHUB_BRANCH=master -v ${TEMPDIR}:/ansible/jenkins ghcr.io/linuxserver/jenkins-builder:latest
262+
docker run --rm -e CONTAINER_NAME=${CONTAINER_NAME} -e GITHUB_BRANCH=bullseye -v ${TEMPDIR}:/ansible/jenkins ghcr.io/linuxserver/jenkins-builder:latest
263263
# Stage 1 - Jenkinsfile update
264264
if [[ "$(md5sum Jenkinsfile | awk '{ print $1 }')" != "$(md5sum ${TEMPDIR}/docker-${CONTAINER_NAME}/Jenkinsfile | awk '{ print $1 }')" ]]; then
265265
mkdir -p ${TEMPDIR}/repo
266266
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/repo/${LS_REPO}
267267
cd ${TEMPDIR}/repo/${LS_REPO}
268-
git checkout -f master
268+
git checkout -f bullseye
269269
cp ${TEMPDIR}/docker-${CONTAINER_NAME}/Jenkinsfile ${TEMPDIR}/repo/${LS_REPO}/
270270
git add Jenkinsfile
271271
git commit -m 'Bot Updating Templated Files'
@@ -288,7 +288,7 @@ pipeline {
288288
mkdir -p ${TEMPDIR}/repo
289289
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/repo/${LS_REPO}
290290
cd ${TEMPDIR}/repo/${LS_REPO}
291-
git checkout -f master
291+
git checkout -f bullseye
292292
for i in ${TEMPLATES_TO_DELETE}; do
293293
git rm "${i}"
294294
done
@@ -309,7 +309,7 @@ pipeline {
309309
mkdir -p ${TEMPDIR}/repo
310310
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/repo/${LS_REPO}
311311
cd ${TEMPDIR}/repo/${LS_REPO}
312-
git checkout -f master
312+
git checkout -f bullseye
313313
cd ${TEMPDIR}/docker-${CONTAINER_NAME}
314314
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/workflows
315315
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/ISSUE_TEMPLATE
@@ -346,7 +346,7 @@ pipeline {
346346
// Exit the build if the Templated files were just updated
347347
stage('Template-exit') {
348348
when {
349-
branch "master"
349+
branch "bullseye"
350350
environment name: 'CHANGE_ID', value: ''
351351
environment name: 'FILES_UPDATED', value: 'true'
352352
expression {
@@ -359,10 +359,10 @@ pipeline {
359359
}
360360
}
361361
}
362-
// If this is a master build check the S6 service file perms
362+
// If this is a bullseye build check the S6 service file perms
363363
stage("Check S6 Service file Permissions"){
364364
when {
365-
branch "master"
365+
branch "bullseye"
366366
environment name: 'CHANGE_ID', value: ''
367367
environment name: 'EXIT_STATUS', value: ''
368368
}
@@ -405,7 +405,7 @@ pipeline {
405405
// Add package to Scarf.sh and set permissions
406406
stage("Scarf.sh package registry"){
407407
when {
408-
branch "master"
408+
branch "bullseye"
409409
environment name: 'EXIT_STATUS', value: ''
410410
}
411411
steps{
@@ -530,7 +530,7 @@ pipeline {
530530
// Take the image we just built and dump package versions for comparison
531531
stage('Update-packages') {
532532
when {
533-
branch "master"
533+
branch "bullseye"
534534
environment name: 'CHANGE_ID', value: ''
535535
environment name: 'EXIT_STATUS', value: ''
536536
}
@@ -553,7 +553,7 @@ pipeline {
553553
echo "Package tag sha from current packages in buit container is ${NEW_PACKAGE_TAG} comparing to old ${PACKAGE_TAG} from github"
554554
if [ "${NEW_PACKAGE_TAG}" != "${PACKAGE_TAG}" ]; then
555555
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/${LS_REPO}
556-
git --git-dir ${TEMPDIR}/${LS_REPO}/.git checkout -f master
556+
git --git-dir ${TEMPDIR}/${LS_REPO}/.git checkout -f bullseye
557557
cp ${TEMPDIR}/package_versions.txt ${TEMPDIR}/${LS_REPO}/
558558
cd ${TEMPDIR}/${LS_REPO}/
559559
wait
@@ -577,7 +577,7 @@ pipeline {
577577
// Exit the build if the package file was just updated
578578
stage('PACKAGE-exit') {
579579
when {
580-
branch "master"
580+
branch "bullseye"
581581
environment name: 'CHANGE_ID', value: ''
582582
environment name: 'PACKAGE_UPDATED', value: 'true'
583583
environment name: 'EXIT_STATUS', value: ''
@@ -591,7 +591,7 @@ pipeline {
591591
// Exit the build if this is just a package check and there are no changes to push
592592
stage('PACKAGECHECK-exit') {
593593
when {
594-
branch "master"
594+
branch "bullseye"
595595
environment name: 'CHANGE_ID', value: ''
596596
environment name: 'PACKAGE_UPDATED', value: 'false'
597597
environment name: 'EXIT_STATUS', value: ''
@@ -793,7 +793,7 @@ pipeline {
793793
// If this is a public release tag it in the LS Github
794794
stage('Github-Tag-Push-Release') {
795795
when {
796-
branch "master"
796+
branch "bullseye"
797797
expression {
798798
env.LS_RELEASE != env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
799799
}
@@ -805,17 +805,17 @@ pipeline {
805805
sh '''curl -H "Authorization: token ${GITHUB_TOKEN}" -X POST https://api.github.com/repos/${LS_USER}/${LS_REPO}/git/tags \
806806
-d '{"tag":"'${META_TAG}'",\
807807
"object": "'${COMMIT_SHA}'",\
808-
"message": "Tagging Release '${EXT_RELEASE_CLEAN}'-ls'${LS_TAG_NUMBER}' to master",\
808+
"message": "Tagging Release '${EXT_RELEASE_CLEAN}'-ls'${LS_TAG_NUMBER}' to bullseye",\
809809
"type": "commit",\
810810
"tagger": {"name": "LinuxServer Jenkins","email": "[email protected]","date": "'${GITHUB_DATE}'"}}' '''
811811
echo "Pushing New release for Tag"
812812
sh '''#! /bin/bash
813813
echo "Updating base packages to ${PACKAGE_TAG}" > releasebody.json
814814
echo '{"tag_name":"'${META_TAG}'",\
815-
"target_commitish": "master",\
815+
"target_commitish": "bullseye",\
816816
"name": "'${META_TAG}'",\
817817
"body": "**LinuxServer Changes:**\\n\\n'${LS_RELEASE_NOTES}'\\n\\n**OS Changes:**\\n\\n' > start
818-
printf '","draft": false,"prerelease": false}' >> releasebody.json
818+
printf '","draft": false,"prerelease": true}' >> releasebody.json
819819
paste -d'\\0' start releasebody.json > releasebody.json.done
820820
curl -H "Authorization: token ${GITHUB_TOKEN}" -X POST https://api.github.com/repos/${LS_USER}/${LS_REPO}/releases -d @releasebody.json.done'''
821821
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- DO NOT EDIT THIS FILE MANUALLY -->
2-
<!-- Please read the https://github.com/linuxserver/docker-baseimage-debian/blob/master/.github/CONTRIBUTING.md -->
2+
<!-- Please read the https://github.com/linuxserver/docker-baseimage-debian/blob/bullseye/.github/CONTRIBUTING.md -->
33

44
[linuxserverurl]: https://linuxserver.io
55
[forumurl]: https://forum.linuxserver.io

jenkins-vars.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
# jenkins variables
44
project_name: docker-baseimage-debian
55
external_type: os
6-
release_type: stable
6+
release_type: prerelease
77
release_tag: bullseye
8-
ls_branch: master
8+
ls_branch: bullseye
99
build_armhf: false
1010
repo_vars:
1111
- BUILD_VERSION_ARG = 'OS'

0 commit comments

Comments
 (0)