Skip to content

adding skip_push option and tags option#1

Merged
vishnuchalla merged 2 commits intovishnuchalla:push_pullsfrom
Marcusk19:registry-proxy-load
Oct 1, 2024
Merged

adding skip_push option and tags option#1
vishnuchalla merged 2 commits intovishnuchalla:push_pullsfrom
Marcusk19:registry-proxy-load

Conversation

@Marcusk19
Copy link

Description

Adds two new options SKIP_PUSH and TAGS to help with load testing of the registry proxy.

  • SKIP_PUSH can be set to true when TEST_PHASES=PUSH_PULL to skip the first step of pushing tags to the registry.
  • TAGS is a list of tags in a comma-separated string.

Example config:

- name: TEST_PHASES
  value: "PUSH_PULL"
- name: TAGS
  value: "registry.stage.redhat.io/ubi9/ubi,registry.stage.redhat.io/ubi9/podman" 
- name: SKIP_PUSH
  value: "true"

Fixes

]
tags.extend(repo_tags)

explicit_tags = env_config["tags"].split(",")
Copy link
Owner

@vishnuchalla vishnuchalla Sep 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right above this block, there is logic to generate repo tags which is redundant. Can we create branching here so that when we specify explicit tags, there is only one loop?

@vishnuchalla vishnuchalla merged commit d9b0637 into vishnuchalla:push_pulls Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants