From 9f2434fa5a5bbe26b8b9889afe96fd0cf22e6abd Mon Sep 17 00:00:00 2001
From: Takashi Kajinami <tkajinam@redhat.com>
Date: Fri, 11 Aug 2023 00:53:01 +0900
Subject: [PATCH] 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: I8b599f5fddabe6a6cf5c5a670ed82a9eefdb481f
---
 .pdkignore | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)
 create mode 100644 .pdkignore

diff --git a/.pdkignore b/.pdkignore
new file mode 100644
index 00000000..37ffc8d0
--- /dev/null
+++ b/.pdkignore
@@ -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