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: Ia67f9fb228cba8d16d9a1ed05afd61074cfda2aa
(cherry picked from commit 9a12156cc2)
This commit is contained in:
Takashi Kajinami 2023-08-11 00:53:20 +09:00
parent b5c621fbea
commit b9dd028af5
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