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

Update build workflow bicep #45

Merged
merged 16 commits into from
Jul 2, 2024

Conversation

sk593
Copy link
Contributor

@sk593 sk593 commented Jun 24, 2024

No description provided.

@sk593 sk593 force-pushed the update-build-workflow-bicep branch 5 times, most recently from 64c0c97 to 58a4d7d Compare July 1, 2024 17:14
@sk593 sk593 changed the base branch from main to feature-bicep-compiler-merge July 1, 2024 17:28
@sk593 sk593 force-pushed the update-build-workflow-bicep branch from 58a4d7d to be1c636 Compare July 1, 2024 18:56
@sk593 sk593 marked this pull request as ready for review July 1, 2024 19:10
- name: Publish bicep types
if: github.repository == 'radius-project/bicep-types-aws' && ((startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main'))
run: |
bicep publish-provider ./artifacts/bicep/index.json --target br:${{ env.BICEP_TYPES_REGISTRY }}/aws:${{ env.REL_VERSION == 'edge' && 'latest' || env.REL_VERSION }} --force
update-types:

Choose a reason for hiding this comment

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

not part of this PR but i'm seeing that 'set-output' on line 103, 104 is deprecated.
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
maybe we can update it in this or another PR

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch, this will eventually be deleted but I updated it for now so the workflow runs fine

@sk593 sk593 changed the base branch from feature-bicep-compiler-merge to main July 1, 2024 22:57
@sk593 sk593 changed the base branch from main to feature-bicep-compiler-merge July 1, 2024 23:00
@lakshmimsft
Copy link

pls check all checks go through. thanks!

@sk593 sk593 changed the base branch from feature-bicep-compiler-merge to main July 2, 2024 18:39
@sk593 sk593 force-pushed the update-build-workflow-bicep branch 4 times, most recently from cc183e1 to 8771db2 Compare July 2, 2024 20:29
@sk593
Copy link
Contributor Author

sk593 commented Jul 2, 2024

pls check all checks go through. thanks!

Tested this through a PR to main first and the tests passed. Will also be tested as part of this larger PR: #43

@sk593 sk593 changed the base branch from main to feature-bicep-compiler-merge July 2, 2024 20:33
@sk593 sk593 force-pushed the update-build-workflow-bicep branch from 8771db2 to b0eacb4 Compare July 2, 2024 20:33
@sk593 sk593 changed the base branch from feature-bicep-compiler-merge to main July 2, 2024 20:41
@sk593 sk593 changed the base branch from main to feature-bicep-compiler-merge July 2, 2024 20:56
@sk593 sk593 force-pushed the update-build-workflow-bicep branch from be2dbe1 to b2b2f3d Compare July 2, 2024 20:56
sk593 added 11 commits July 2, 2024 13:57
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
@sk593 sk593 force-pushed the update-build-workflow-bicep branch from b2b2f3d to 47ad11c Compare July 2, 2024 20:57
update-types:
if: github.event_name == 'pull_request' && github.base_ref == 'main'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated so this only runs on pulls from main. We don't want this running on pushes

@sk593 sk593 merged commit 3597307 into feature-bicep-compiler-merge Jul 2, 2024
1 check passed
sk593 added a commit that referenced this pull request Jul 2, 2024
* update workflows

---------

Signed-off-by: sk593 <[email protected]>
sk593 added a commit that referenced this pull request Jul 22, 2024
* update workflows

---------

Signed-off-by: sk593 <[email protected]>
sk593 added a commit that referenced this pull request Aug 6, 2024
* update workflows

---------

Signed-off-by: sk593 <[email protected]>
sk593 added a commit that referenced this pull request Aug 6, 2024
* Update aws generator to use bicep-types and new contract (#40)

* updating aws generator to use bicep-types and new contract

---------
Signed-off-by: sk593 <[email protected]>

* Update build and publish workflow bicep (#45)

* update workflows

---------

Signed-off-by: sk593 <[email protected]>

* Update publish trigger during releases (#47)

* update to trigger workflow on release

Signed-off-by: sk593 <[email protected]>

* update to push to acr on tag creation

Signed-off-by: sk593 <[email protected]>

* update workflow

Signed-off-by: sk593 <[email protected]>

---------

Signed-off-by: sk593 <[email protected]>

---------

Signed-off-by: sk593 <[email protected]>
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