Skip to content

Commit

Permalink
[DEVOPS-495] Add git submodule support in AKS deploy workflow (#140)
Browse files Browse the repository at this point in the history
<details open>
<summary><a href="https://amuniversal.atlassian.net/browse/DEVOPS-495"
title="DEVOPS-495" target="_blank">DEVOPS-495</a></summary>
  <br />
  <table>
    <tr>
      <th>Summary</th>
<td>Add Git submodule support in reusable GitHub Actions workflows</td>
    </tr>
    <tr>
      <th>Type</th>
      <td>
<img alt="Story"
src="https://amuniversal.atlassian.net/images/icons/issuetypes/story.png"
/>
        Story
      </td>
    </tr>
    <tr>
      <th>Status</th>
      <td>In Development Env</td>
    </tr>
    <tr>
      <th>Points</th>
      <td>N/A</td>
    </tr>
    <tr>
      <th>Labels</th>
      <td>-</td>
    </tr>
  </table>
</details>
<!--
do not remove this marker as it will break action-jira-linter's
functionality.
  added_by_jira_lint
-->
---

<!-- Please make sure you read the contribution guidelines and then fill
out the blanks below.

Please format the PR title appropriately based on the type of change:
  [JIRA-XXX]: <description>
-->

## Description

- Add git submodule support in AKS deploy workflow

## Related Links

<!-- List any links related to this pull request here

Replace "JIRA-XXX" with the your Jira issue key -->

- Jira Issue: DEVOPS-495
- Testing environment: [![🚀
Deploy](https://github.com/Andrews-McMeel-Universal/reusable_workflows-test/actions/workflows/deploy.yml/badge.svg?branch=story%2FDEVOPS-495%2Fadd-git-submodule-support)](https://github.com/Andrews-McMeel-Universal/reusable_workflows-test/actions/workflows/deploy.yml)
  • Loading branch information
ebronson68 authored Aug 20, 2024
1 parent 588b79d commit 0e538eb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/aks-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ on:
type: string
description: "The webhook URL for the deployment status"
default: ${{ vars.MSTEAMS_DEPLOYMENT_WEBHOOK }}
checkoutSubmodules:
required: false
type: string
description: "Check out submodules"
default: ${{ vars.GIT_CHECKOUT_SUBMODULES }}
secrets:
azureClusterName:
required: true
Expand All @@ -98,6 +103,8 @@ on:
required: false
webAuthenticationUsername:
required: false
PAT_ACTION_CI:
required: false

jobs:
build:
Expand All @@ -108,6 +115,8 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ inputs.checkoutRef }}
submodules: ${{ inputs.checkoutSubmodules }}
token: ${{ secrets.PAT_ACTION_CI || github.token }}

- name: Extract Helm values
id: setenvs
Expand Down

0 comments on commit 0e538eb

Please sign in to comment.