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

Restore Functionality With SWR Action #6

Merged
merged 3 commits into from
Sep 1, 2022
Merged

Conversation

fredyolarte
Copy link
Collaborator

@fredyolarte fredyolarte commented Aug 31, 2022

What problem is this solving?

Restoration of the functionality in gh-action-huawei-swr-policy and stabilized master brach.

Types of changes

  • Fix and Modify entrypoint.sh file.
  • Do a rollback to rename variables huawei_access_key_id and huawei_secret_access_key
  • Modify the policy with protection for production tags

Checklist

  • Bug fix (entrypoint.sh file and stabilized master brach)
  • New feature (the policy with protection for production tags)

Screenshots

In this image you can see a use action reusable in a test branch

https://github.com/smu-chile/harness-poc/actions/runs/2966466894
Screen Shot 2022-08-31 at 3 17 56 PM

In this image you can see a use action gh action huawei swr directly.

https://github.com/smu-chile/harness-poc/runs/8120483137?check_suite_focus=true
Screen Shot 2022-08-31 at 3 27 10 PM

In this image you can see the creation of the new policy and your respect ID.

Screen Shot 2022-08-31 at 3 29 16 PM

In this image you can see the policy created in HUAWEI Console.

https://la-south-2-console.huaweicloud.com/swr/?region=la-south-2#/app/warehouse/warehouseMangeDetail/hwc22830784/smu-chile/harness-poc?type=ownImage
Screen Shot 2022-08-31 at 3 38 16 PM

@fredyolarte fredyolarte changed the title Fix/gh action images RESTORE FUNCTIONALITY WITH SWR ACTION Aug 31, 2022
@fredyolarte fredyolarte changed the title RESTORE FUNCTIONALITY WITH SWR ACTION Restore Functionality With SWR Action Aug 31, 2022
@jveraduran
Copy link

Y porque falla esto https://github.com/smu-chile/gh-action-huawei-swr-policy/runs/8122569889?check_suite_focus=true @fredyolarte 👀

@fredyolarte
Copy link
Collaborator Author

@jveraduran esto falla debido al sanitize del entrypoint que valida la existencia de las variables pero como este es un action test que no encontrara variables sensibles siempre fallara en ese paso.

@fredyolarte fredyolarte merged commit 30cf07d into master Sep 1, 2022
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.

5 participants