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

CERTEU deploy pipeline #127

Open
barrjam opened this issue Nov 25, 2022 · 0 comments
Open

CERTEU deploy pipeline #127

barrjam opened this issue Nov 25, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@barrjam
Copy link
Contributor

barrjam commented Nov 25, 2022

Add or modify deploy pipeline to also run on a CERT-EU subscription

[Yesterday 09:13] COLLE Augustin (DIGIT-EXT)
Sure, we can set a second pipeline. It requires you to register an application in your tenant and give this application the correct rights to perform the task

[Yesterday 09:21] COLLE Augustin (DIGIT-EXT)
If I remember correctly, you have to create it using Azure cli, command is az ad sp create-for-rbac (with few parameters). It will return a json like {"clientId": "123-1234-567-567890", "secret": "mySecret", ...} and this json can be saved in GitHub secrets with an easy to remember name such as CERT-EU_CREDENTIALS. Then you can duplicate the "deploy.yml" action and replace ${{secrets.AZURE_CREDENTIALS}} with your own secret.

[Yesterday 09:22] COLLE Augustin (DIGIT-EXT)
Note: Do it yourself, we as DIGIT.C1 will not be able to retrieve the secret from GitHub, good for your security posture

@barrjam barrjam self-assigned this Nov 25, 2022
@augustincolle-digit augustincolle-digit added the bug Something isn't working label Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants