Expand .dockerignore and CI exclusions
Change-Id: Ib794bdd386b9fe6803d811585ce220e57ab56290
diff --git a/.dockerignore b/.dockerignore
index c31e1cc..3c7f02d 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -1,8 +1,27 @@
-Dockerfile
-
-/build/
+# Waf build system
+build/
.waf-*-*/
.waf3-*-*/
.lock-waf*
-/VERSION.info
+# Compiled python code
+**/__pycache__/
+**/*.py[cod]
+
+# Qt Creator
+*.creator
+*.creator.user
+.qtc_clangd/
+
+# Visual Studio Code
+.vscode/
+
+# macOS
+**/.DS_Store
+**/.AppleDouble
+**/.LSOverride
+**/._*
+
+# Other
+Dockerfile
+VERSION.info
diff --git a/.editorconfig b/.editorconfig
index 624ad9b..f9b3c4d 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -26,3 +26,4 @@
[*.{yaml,yml}]
indent_style = space
indent_size = 2
+trim_trailing_whitespace = true
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c407cd1..a3500bd 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -2,10 +2,14 @@
on:
push:
paths-ignore:
- - 'docs/**'
- '*.conf.sample*'
- - '*.md'
+ - 'Dockerfile'
+ - '.dockerignore'
+ - 'docs/**'
+ - '.editorconfig'
+ - '.gitignore'
- '.mailmap'
+ - '*.md'
workflow_dispatch:
permissions: {}
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index f7c59de..53554df 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -1,18 +1,19 @@
-name: Publish Docker image
+name: Docker
on:
push:
branches:
- master
paths-ignore:
- - '*.md'
+ - '.editorconfig'
- '.jenkins'
- '.jenkins.d/**'
+ - 'launchd/**'
- '.mailmap'
+ - 'systemd/**'
- 'tests/**'
workflow_dispatch:
permissions:
- contents: read
packages: write
env:
diff --git a/.gitignore b/.gitignore
index 8850587..dc40a00 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,20 @@
-# Emacs
+# Backup files
*~
+*.bak
+*.orig
+*.rej
+
+# Waf build system
+/build/
+.waf-*-*/
+.waf3-*-*/
+.lock-waf*
+
+# Compiled python code
+__pycache__/
+*.py[cod]
+
+# Emacs
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
@@ -15,15 +30,5 @@
.LSOverride
._*
-# Waf build system
-/build/
-.waf-*-*/
-.waf3-*-*/
-.lock-waf*
-
-# Compiled python code
-__pycache__/
-*.py[cod]
-
# Other
/VERSION.info