kaniko/integration/dockerfiles
Tinjo Schöni 5f4e2f1366
Fix .dockerignore for build context copies in later stages (#1447)
* Extend .dockerignore integration test with copies in later stages

.dockerignore should continue to apply when copying from the build context in later stages, but it currently doesn't

* Replace excluded global with passed along FileContext struct

This new FileContext struct allows much cleaner handling of context specific file exclusions.
The global excluded file state is no longer needed.

Additionally this also fixes the issue where excluded files aren't being applied for build context copies in later build stages.
2020-10-08 12:47:14 -07:00
..
1097 Add secondary group impersonation w/ !cgo support 2020-03-28 22:01:20 -07:00
Dockerfile_dockerignore_relative Fix integration tests for #776 2019-10-04 10:31:40 +02:00
Dockerfile_dockerignore_relative.dockerignore Fix integration tests for #776 2019-10-04 10:31:40 +02:00
Dockerfile_git_buildcontext Improve git buildcontext integration test 2019-05-23 16:12:20 +02:00
Dockerfile_hardlink_base Extract filesystem in order rather than in reverse 2018-08-29 15:44:38 -07:00
Dockerfile_onbuild_base Run integration tests in Travis CI 2020-01-19 22:33:04 -08:00
Dockerfile_registry_mirror image: fix registry mirror setup 2020-02-16 11:41:51 +01:00
Dockerfile_relative_copy fix #1092 TestRelativePaths 2020-02-29 21:16:07 -08:00
Dockerfile_test_add rename whitelist to ignorelist 2020-06-02 15:56:27 -07:00
Dockerfile_test_add_404 add should fail on 40x 2020-06-20 09:49:11 +02:00
Dockerfile_test_add_dest_symlink_dir Add new test for copy to symlink which should fail 2019-11-15 11:23:04 -08:00
Dockerfile_test_add_url_with_arg Add integration test for add url with arg 2019-11-15 14:44:39 -08:00
Dockerfile_test_arg_blank_with_quotes Issue #439 add additional tests for quotes 2019-10-25 16:08:57 -07:00
Dockerfile_test_arg_from_quotes Issue #439 add additional tests for quotes 2019-10-25 16:08:57 -07:00
Dockerfile_test_arg_from_single_quotes Issue #439 add additional tests for quotes 2019-10-25 16:08:57 -07:00
Dockerfile_test_arg_multi Fix arg handling for multi-stage images in COPY instructions. (#621) 2019-03-22 12:24:43 -05:00
Dockerfile_test_arg_multi_empty_val Fix quote strip behavior for ARG values 2019-11-08 14:28:31 -08:00
Dockerfile_test_arg_multi_with_quotes Issue #439 double quotes in ARG value 2019-10-24 16:30:25 -07:00
Dockerfile_test_arg_secret Expand build argument from environment when no value specified 2020-01-30 12:01:06 +01:00
Dockerfile_test_arg_two_level Added integration test for multi level argument 2020-05-24 13:04:31 +02:00
Dockerfile_test_cache Run integration tests in Travis CI 2020-01-19 22:33:04 -08:00
Dockerfile_test_cache_copy Adding missing integration test file 2019-11-04 09:30:58 -08:00
Dockerfile_test_cache_install Run integration tests in Travis CI 2020-01-19 22:33:04 -08:00
Dockerfile_test_cache_perm Fix file mode bug (#618) 2019-03-18 13:28:24 -05:00
Dockerfile_test_cmd Run integration tests in Travis CI 2020-01-19 22:33:04 -08:00
Dockerfile_test_complex_substitution Don't generate cache key, if not caching builds. 2020-04-13 16:50:13 -06:00
Dockerfile_test_copy Don't copy same files twice in copy integration tests (#273) 2018-08-03 10:01:29 -07:00
Dockerfile_test_copy_bucket Don't copy same files twice in copy integration tests (#273) 2018-08-03 10:01:29 -07:00
Dockerfile_test_copy_reproducible Don't copy same files twice in copy integration tests (#273) 2018-08-03 10:01:29 -07:00
Dockerfile_test_copy_same_file_many_times Always snapshot files in COPY and RUN commands 2018-08-23 18:23:39 -07:00
Dockerfile_test_copy_symlink create correct link across Multistage builds 2020-03-07 11:28:16 -08:00
Dockerfile_test_daemons Deflake the daemon test (#532) 2019-01-17 15:30:08 -05:00
Dockerfile_test_dangling_symlink Ignore the target of dangling symlinks. 2020-04-13 16:26:19 -06:00
Dockerfile_test_deleted_file_cached GetFSFromLayers 2020-01-17 13:36:23 -08:00
Dockerfile_test_dockerignore Fix .dockerignore for build context copies in later stages (#1447) 2020-10-08 12:47:14 -07:00
Dockerfile_test_env Run integration tests in Travis CI 2020-01-19 22:33:04 -08:00
Dockerfile_test_expose Run integration tests in Travis CI 2020-01-19 22:33:04 -08:00
Dockerfile_test_extract_fs Run integration tests in Travis CI 2020-01-19 22:33:04 -08:00
Dockerfile_test_extraction Update test for link and file extraction to non-empty dir 2018-10-13 08:04:27 +09:00
Dockerfile_test_from_multistage_capital Fix #519 capital letter in stage names 2020-01-20 15:57:05 -08:00
Dockerfile_test_hardlink fixed digests for integration test 2018-11-19 15:26:02 -05:00
Dockerfile_test_ignore Add --ignore flag 2018-10-12 12:09:59 -07:00
Dockerfile_test_issue_519 add integration tests from GH issues 2020-02-27 11:04:55 -08:00
Dockerfile_test_issue_647 add integration tests from GH issues 2020-02-27 11:04:55 -08:00
Dockerfile_test_issue_684 add integration tests from GH issues 2020-02-27 11:04:55 -08:00
Dockerfile_test_issue_704 add integration tests from GH issues 2020-02-27 11:04:55 -08:00
Dockerfile_test_issue_1039 Resolve filepaths before scanning for changes 2020-02-20 09:45:44 -08:00
Dockerfile_test_label Run integration tests in Travis CI 2020-01-19 22:33:04 -08:00
Dockerfile_test_maintainer Handle `MAINTAINERS` when passing `--single-snapshot`. 2020-04-13 15:54:27 -06:00
Dockerfile_test_meta_arg Run integration tests in Travis CI 2020-01-19 22:33:04 -08:00
Dockerfile_test_metadata Run integration tests in Travis CI 2020-01-19 22:33:04 -08:00
Dockerfile_test_multistage rename whitelist to ignorelist 2020-06-02 15:56:27 -07:00
Dockerfile_test_mv_add Extract filesystem in order rather than in reverse 2018-08-29 15:44:38 -07:00
Dockerfile_test_onbuild Integration test refactoring (#126) 2018-05-15 13:42:35 -07:00
Dockerfile_test_parent_dir_perms Fix parent directory permissions (#619) 2019-03-19 12:40:15 -05:00
Dockerfile_test_registry Fully qualify images in dockerfile tests (#257) 2018-07-25 17:56:17 -07:00
Dockerfile_test_replaced_hardlinks Enable overwriting of links (solves #351) (#360) 2018-09-26 07:14:35 -07:00
Dockerfile_test_replaced_symlinks Fix #1067 - image no longer available 2020-02-20 08:40:38 -08:00
Dockerfile_test_run Run integration tests in Travis CI 2020-01-19 22:33:04 -08:00
Dockerfile_test_run_2 Run integration tests in Travis CI 2020-01-19 22:33:04 -08:00
Dockerfile_test_run_new lint 2020-06-06 00:30:07 -07:00
Dockerfile_test_run_redo add integration tests 2020-06-06 00:53:08 -07:00
Dockerfile_test_scratch Resolve env replacement for FROM command 2018-06-04 11:51:33 -07:00
Dockerfile_test_target Add --target flag for multistage builds (#255) 2018-07-30 09:43:23 -07:00
Dockerfile_test_user Run integration tests in Travis CI 2020-01-19 22:33:04 -08:00
Dockerfile_test_user_home run: user LookupId 2020-03-05 16:44:55 +01:00
Dockerfile_test_user_run Run integration tests in Travis CI 2020-01-19 22:33:04 -08:00
Dockerfile_test_volume Run integration tests in Travis CI 2020-01-19 22:33:04 -08:00
Dockerfile_test_volume_2 Run integration tests in Travis CI 2020-01-19 22:33:04 -08:00
Dockerfile_test_volume_3 Fix a bug in volume handling for multi-stage images. (#554) 2019-02-07 09:01:49 -06:00
Dockerfile_test_volume_4 This fixes a bug in the interaction between volumes in base images (#555) 2019-02-08 14:40:37 -06:00
Dockerfile_test_whitelist Only return filepath.SkipDir for directories 2018-11-19 15:56:11 -05:00
Dockerfile_test_workdir Make sure integration test has a relative workdir 2020-05-04 09:48:09 -07:00