Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into scurl-improvements
- Loading branch information
Showing
73 changed files
with
7,071 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: docker build | ||
# on: [push] | ||
on: | ||
push: | ||
paths: | ||
- 'usr/bin/installer-dist' | ||
- '.github/workflows/builds.yml' | ||
|
||
jobs: | ||
changes: | ||
runs-on: ubuntu-22.04 | ||
permissions: | ||
pull-requests: read | ||
outputs: | ||
builds: ${{ steps.filter.outputs.builds }} | ||
installer: ${{ steps.filter.outputs.installer }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: dorny/paths-filter@v2 | ||
id: filter | ||
with: | ||
filters: | | ||
installer: | ||
- 'usr/bin/installer-dist' | ||
builds: | ||
- '.github/workflows/builds.yml' | ||
build: | ||
needs: changes | ||
# if: ${{ (needs.changes.outputs.installer == 'true') }} | ||
# if: ${{ (needs.changes.outputs.builds == 'true') }} | ||
if: ${{ (needs.changes.outputs.installer == 'true' || needs.changes.outputs.builds == 'true') }} | ||
## Github takes too long to set the current latest image, this is | ||
## why we set it manually. | ||
## https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- image: debian:oldstable | ||
- image: debian:stable | ||
- image: ubuntu:latest | ||
- image: linuxmintd/mint21-amd64:latest | ||
|
||
container: | ||
image: ${{ matrix.image }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: System Basic Packages | ||
run: apt-get update -y && apt-get install -y shellcheck sudo | ||
- name: System information | ||
run: cat /etc/os-release; uname -a; echo "${PATH}"; cat /etc/sudoers; ls /etc/sudoers.d; | ||
- name: Normal user with sudo privileges | ||
run: | | ||
adduser --gecos "" --disabled-password user | ||
usermod -aG sudo user | ||
echo "%sudo ALL=(ALL) NOPASSWD: ALL" | tee /etc/sudoers.d/user | ||
- name: Run Installer | ||
run: su -s /bin/bash user -- usr/bin/installer-dist -n -l debug -k -D --ci | ||
- name: Run Installer ShellCheck | ||
run: shellcheck usr/bin/installer-dist | ||
|
||
# vim: sw=4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
*.swp | ||
debian/debhelper-build-stamp | ||
debian/files | ||
debian/*.debhelper* | ||
debian/*.postinst.debhelper | ||
debian/*.postrm.debhelper | ||
debian/*.preinst.debhelper | ||
debian/*.prerm.debhelper | ||
debian/*.substvars | ||
debian/usability-misc/ | ||
*-build-deps_*.deb | ||
*-build-deps_*.buildinfo | ||
*-build-deps_*.changes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.