Skip to content

Commit

Permalink
Initial commit for testing doc
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaltom committed Aug 7, 2024
1 parent 8e84134 commit 1fc4699
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ package/obs/.osc
package/obs/rmt-cli.8.gz
package/obs/_link
package/systemsmanagement:SCC:RMT
repo

vendor/
coverage/
Expand Down
16 changes: 16 additions & 0 deletions engines/instance_verification/TESTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

Start RMT with pubcloud engines enabled:

```
bin/rmt-cli products enable sles/15.6/x86_64
bin/rmt-cli mirror product 2609,2626,2683,2618 # mirror SLE 15.6
RMT_LOAD_ENGINES=1 bin/rails s -b 0.0.0.0
```

```bash
docker run --rm -ti --privileged registry.suse.com/suse/sle15:15.6 /bin/bash

$ zypper rm -y container-suseconnect
$ zypper in -y suseconnect
suseconnect --url http://172.17.0.1:4224
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# :nocov:
module InstanceVerification
class Application < Rails::Application
config.cache_config_file = Rails.root.join('engines/registry/spec/data/rmt-cache-trim.sh')
config.repo_cache_dir = 'repo/cache'
config.registry_cache_dir = 'registry/cache'
end
end
# :nocov:

0 comments on commit 1fc4699

Please sign in to comment.