Skip to content

Commit

Permalink
Expand .dockerignore and CI exclusions
Browse files Browse the repository at this point in the history
Change-Id: Ib794bdd386b9fe6803d811585ce220e57ab56290
  • Loading branch information
Pesa committed Apr 9, 2024
1 parent 95d63b1 commit 183e188
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 20 deletions.
27 changes: 23 additions & 4 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ trim_trailing_whitespace = true
[*.{yaml,yml}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@ name: CI
on:
push:
paths-ignore:
- 'docs/**'
- '*.conf.sample*'
- '*.md'
- 'Dockerfile'
- '.dockerignore'
- 'docs/**'
- '.editorconfig'
- '.gitignore'
- '.mailmap'
- '*.md'
workflow_dispatch:

permissions: {}
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
27 changes: 16 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -15,15 +30,5 @@
.LSOverride
._*

# Waf build system
/build/
.waf-*-*/
.waf3-*-*/
.lock-waf*

# Compiled python code
__pycache__/
*.py[cod]

# Other
/VERSION.info

0 comments on commit 183e188

Please sign in to comment.