Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assign the owner as a label to the project #946

Merged
merged 5 commits into from
Jul 13, 2021

Conversation

felipecruz91
Copy link
Contributor

# Labels do not allow the '@' char so let's replace it with '_at_'
# For instance, [email protected] will be converted to foo_at_bar.com
# resulting in the following label: ods.project.owner=foot_at_bar.com
namespace_owner=$(echo "${PROJECT_ADMINS}" | cut -d "," -f1 | sed -r 's/@/_at_/g')
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm assuming PROJECT_ADMINS is a comma-separated list of email addresses, could anyone confirm?

Copy link
Member

Choose a reason for hiding this comment

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

@metmajer metmajer added the enhancement New feature or request label Feb 23, 2021
@metmajer
Copy link
Member

metmajer commented Mar 2, 2021

@felipecruz91 would be great to have this in ODS 4.0. Any open questions?

@felipecruz91
Copy link
Contributor Author

@metmajer No questions from my side. I just have to update the PR to reflect the new label name suggested by @segator here:
opendevstack/ods-provisioning-app#668 (comment)

Copy link
Member

@stitakis stitakis left a comment

Choose a reason for hiding this comment

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

looks good to me

stitakis
stitakis previously approved these changes Mar 3, 2021
metmajer
metmajer previously approved these changes Mar 3, 2021
Copy link
Member

@metmajer metmajer left a comment

Choose a reason for hiding this comment

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

👍

@metmajer
Copy link
Member

@felipecruz91 please resolve the conflicts, then squash and merge into a single commit. Thanks

@felipecruz91 felipecruz91 dismissed stale reviews from metmajer and stitakis via 6d0e655 July 13, 2021 06:23
@felipecruz91 felipecruz91 merged commit 02c9bc8 into master Jul 13, 2021
@metmajer metmajer deleted the label-ods-project-with-owner branch July 13, 2021 09:21
stitakis added a commit that referenced this pull request Jul 21, 2021
stitakis added a commit that referenced this pull request Jul 21, 2021
…build-failed-due-to-missing-permission-by-reverting-PR-946

Revert "Assign the owner as a label to the project (#946)" to fix ODS AMI bulid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants