-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7ad2aa6
commit 6025c84
Showing
110 changed files
with
69,871 additions
and
450 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
* @aksatlanta | ||
* @Azure/aks-atlanta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: "Create release PR" | ||
name: Create release PR | ||
|
||
on: | ||
workflow_dispatch: | ||
|
@@ -8,49 +8,7 @@ on: | |
required: true | ||
|
||
jobs: | ||
createPullRequest: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Check if remote branch exists | ||
env: | ||
BRANCH: releases/${{ github.event.inputs.release }} | ||
run: | | ||
echo "##[set-output name=exists;]$(echo $(if [[ -z $(git ls-remote --heads origin ${BRANCH}) ]]; then echo false; else echo true; fi;))" | ||
id: extract-branch-status | ||
# these two only need to occur if the branch exists | ||
- name: Checkout proper branch | ||
if: ${{ steps.extract-branch-status.outputs.exists == 'true' }} | ||
env: | ||
BRANCH: releases/${{ github.event.inputs.release }} | ||
run: git checkout ${BRANCH} | ||
- name: Reset promotion branch | ||
if: ${{ steps.extract-branch-status.outputs.exists == 'true' }} | ||
run: | | ||
git fetch origin main:main | ||
git reset --hard main | ||
- name: Install packages | ||
run: | | ||
rm -rf node_modules/ | ||
npm install --no-bin-links | ||
npm run build | ||
- name: Remove node_modules from gitignore | ||
run: | | ||
sed -i '/node_modules/d' ./.gitignore | ||
- name: Create branch | ||
uses: peterjgrainger/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
branch: releases/${{ github.event.inputs.release }} | ||
- name: Create pull request | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
commit-message: Add node modules and new code for release | ||
title: ${{ github.event.inputs.release }} new release | ||
base: releases/${{ github.event.inputs.release }} | ||
branch: create-release | ||
delete-branch: true | ||
release-pr: | ||
uses: OliverMKing/javascript-release-workflow/.github/workflows/release-pr.yml@main | ||
with: | ||
release: ${{ github.event.inputs.release }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: Tag and create release draft | ||
|
||
on: | ||
push: | ||
branches: | ||
- releases/* | ||
|
||
jobs: | ||
tag-and-release: | ||
uses: OliverMKing/javascript-release-workflow/.github/workflows/tag-and-release.yml@main |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -327,3 +327,5 @@ ASALocalRun/ | |
|
||
# MFractors (Xamarin productivity tool) working folder | ||
.mfractor/ | ||
|
||
# Transpiled JS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
name: 'Kubectl tool installer' | ||
description: 'Install a specific version of kubectl binary. Acceptable values are latest or any semantic version string like 1.15.0' | ||
inputs: | ||
name: "Kubectl tool installer" | ||
description: "Install a specific version of kubectl binary. Acceptable values are latest or any semantic version string like 1.15.0" | ||
inputs: | ||
version: | ||
description: 'Version of kubectl' | ||
description: "Version of kubectl" | ||
required: true | ||
default: 'latest' | ||
default: "latest" | ||
outputs: | ||
kubectl-path: | ||
description: 'Path to the cached kubectl binary' | ||
description: "Path to the cached kubectl binary" | ||
branding: | ||
color: 'blue' | ||
color: "blue" | ||
runs: | ||
using: 'node12' | ||
main: 'lib/run.js' | ||
using: "node12" | ||
main: "lib/index.js" |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.