Add .pdkignore to exclude some files from tar ball

We've seen release job failures caused by too large tarball, which
contains irrelevant files like git history.

Let's exclude these files to reduce size of the archive.

The file is copied from the puppetlabs repositories with some files
specific to OpenStack projects added.

Change-Id: I5f46b0420899c0a7ca649cec47360cb24783a63b
(cherry picked from commit 2129602ffd)
(cherry picked from commit 1136897701)
This commit is contained in:
Takashi Kajinami 2023-08-11 00:43:00 +09:00
parent c730f1ffec
commit a1a788dc48
1 changed files with 51 additions and 0 deletions

51
.pdkignore Normal file
View File

@ -0,0 +1,51 @@
# common list used in puppetlabs repos
.git/
.*.sw[op]
.metadata
.yardoc
.yardwarns
*.iml
/.bundle/
/.idea/
/.vagrant/
/coverage/
/bin/
/doc/
/Gemfile.local
/Gemfile.lock
/junit/
/log/
/pkg/
/spec/fixtures/manifests/
/spec/fixtures/modules/*
/tmp/
/vendor/
/convert_report.txt
/update_report.txt
.DS_Store
.project
.envrc
/inventory.yaml
/spec/fixtures/litmus_inventory.yaml
/.fixtures.yml
/Gemfile
/.gitattributes
/.gitignore
/.pdkignore
/.puppet-lint.rc
/Rakefile
/rakelib/
/.rspec
/..yml
/.yardopts
/spec/
/.vscode/
/.sync.yml
/.devcontainer/
# OpenStack-specific files
/bindep.txt
/.gitreview
/setup.cfg
/setup.py
/tox.ini
/.zuul.yaml