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

Run shared RP automation using container and Makefile #3815

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

razo7
Copy link
Collaborator

@razo7 razo7 commented Sep 3, 2024

Which issue this PR addresses:

Fixes ARO-7754

What this PR does / why we need it:

  • Follow tutorial logic and run it in a container

Test plan for issue:

Is there any documentation that needs to be updated for this PR?

How do you know this will function as expected in production?

@razo7 razo7 force-pushed the automate-shared-rp branch 2 times, most recently from b884d3b to 0e86bc2 Compare September 3, 2024 15:25
@github-actions github-actions bot added the needs-rebase branch needs a rebase label Sep 4, 2024
Copy link

github-actions bot commented Sep 4, 2024

Please rebase pull request.

@github-actions github-actions bot removed the needs-rebase branch needs a rebase label Sep 10, 2024
Follow tutorial logic and run it in a container
Use 'log', fix env file, bash linting and better cleanup
@razo7 razo7 changed the title [WIP] Run shared RP automation using container and Makefile Run shared RP automation using container and Makefile Oct 1, 2024
Comment on lines +306 to +307
# TODO: How to get the PULL_SECRET - We can pass it to the container...
# TODO: How to get the USER_PULL_SECRET
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This has to be investigated, as for now it uses a dummy variables.

Comment on lines +184 to +190
log "Admin-consent premission $permission_id"
log -n "Are you admin? (y/N): "
read answer
if [[ "$answer" == "y" ]]; then
az ad app permission admin-consent \
--id "$AZURE_CLIENT_ID"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Consider adding user input here or at the beginning of the automation to continue with or without this consent.

@github-actions github-actions bot added the needs-rebase branch needs a rebase label Oct 10, 2024
Copy link

Please rebase pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-rebase branch needs a rebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant