Skip to content

Commit

Permalink
(PE-36512) Use production forge for testing
Browse files Browse the repository at this point in the history
And delete tests not worth porting. These are in two categories,
one that needs a premium license (we could in theory add these
back once we acquire one for testing) and the other is forge modules
that have releases pulled/deleted.
  • Loading branch information
justinstoller committed Jul 25, 2023
1 parent 0e2528c commit cbcd985
Show file tree
Hide file tree
Showing 25 changed files with 1 addition and 453 deletions.
3 changes: 0 additions & 3 deletions integration/pre-suite/10_git_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
fail_test('This pre-suite requires PE 3.7 or above!') if pe_version < 3.7

#Setup
step 'Stub Forge on Master'
stub_forge_on(master)

step 'Read module path'
on(master, puppet('config print basemodulepath')) do |result|
(result.stdout.include? ':') ? separator = ':' : separator = ';'
Expand Down

This file was deleted.

128 changes: 0 additions & 128 deletions integration/tests/basic_functionality/proxy_with_pe_only_module.rb

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ class { 'motd':
end

#Setup
step 'Stub Forge on Master'
stub_forge_on(master)

step 'Inject New "site.pp" to the "production" Environment'
inject_site_pp(master, site_pp_path, site_pp)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ class { 'motd':
end

#Setup
step 'Stub Forge on Master'
stub_forge_on(master)

step 'Inject New "site.pp" to the "production" Environment'
inject_site_pp(master, site_pp_path, site_pp)

Expand Down
3 changes: 0 additions & 3 deletions integration/tests/git_source/git_source_repeated_remote.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@
clean_up_r10k(master, last_commit, git_environments_path)
end

step 'Stub the forge'
stub_forge_on(master)

step 'Backup Current "r10k" Config'
on(master, "mv #{r10k_config_path} #{r10k_config_bak_path}")

Expand Down
3 changes: 0 additions & 3 deletions integration/tests/purging/content_not_purged_at_root.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@
clean_up_r10k(master, last_commit, git_environments_path)
end

step 'Stub the forge'
stub_forge_on(master)

step 'Backup Current "r10k" Config'
on(master, "mv #{r10k_config_path} #{r10k_config_bak_path}")

Expand Down
3 changes: 0 additions & 3 deletions integration/tests/purging/default_purging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@
fake_file_c_to_be_purged = "#{fake_environment_path_c}/fakefile3.txt"

# initalize file content
step 'Stub the forge'
stub_forge_on(master)

step 'Backup Current "r10k" Config'
on(master, "mv #{r10k_config_path} #{r10k_config_bak_path}")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
end

# initalize file content
step 'Stub the forge'
stub_forge_on(master)

step 'Backup Current "r10k" Config'
on(master, "mv #{r10k_config_path} #{r10k_config_bak_path}")

Expand Down
63 changes: 0 additions & 63 deletions integration/tests/purging/invalid_whitelist_types.rb

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ class { 'motd':
end

#Setup
step 'Stub Forge on Master'
stub_forge_on(master)

env_names.each do |env|
if env == 'production'
step "Checkout \"#{env}\" Branch"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ class { 'motd':
end

#Setup
step 'Stub Forge on Master'
stub_forge_on(master)

env_names.each do |env|
if env == 'production'
step "Checkout \"#{env}\" Branch"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,6 @@ class { 'helloworld': }
end

#Setup
step 'Stub Forge on Master'
stub_forge_on(master)

step 'Backup Current "r10k" Config'
on(master, "mv #{r10k_config_path} #{r10k_config_bak_path}")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
end

#Setup
step 'Stub Forge on Master'
stub_forge_on(master)

step 'Checkout "production" Branch'
git_on(master, 'checkout production', git_environments_path)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
end

#Setup
step 'Stub Forge on Master'
stub_forge_on(master)

step 'Checkout "production" Branch'
git_on(master, 'checkout production', git_environments_path)

Expand Down
Loading

0 comments on commit cbcd985

Please sign in to comment.