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: Ic46423521fa8664cab1dd2ba2ca7dc43a45caa6f
(cherry picked from commit c21041b487)
(cherry picked from commit b06fa0d668)
This commit is contained in:
Takashi Kajinami 2023-08-11 00:45:58 +09:00
parent 2a046d22f6
commit 6f071438dc
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