-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore some files we lost when migrating the repository (#3)
The logic we used to migrate there repository did not copy over any of the hidden files at the root of the repository. This changes re-adds these missing files.
- Loading branch information
Showing
18 changed files
with
1,022 additions
and
0 deletions.
There are no files selected for viewing
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,2 @@ | ||
*.go text eol=lf | ||
*.txt text eol=lf |
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 @@ | ||
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#codeowners-syntax | ||
|
||
* @jongio @ellismg | ||
/cli/ @ellismg @wbreza @vhvb1989 @hemarina @jongio @weikanglim | ||
/ext/ @karolz-ms @ellismg @jongio | ||
/generators/repo/ @wbreza @ellismg @danieljurek | ||
/.github/ @danieljurek @ellismg | ||
/eng/ @danieljurek @ellismg | ||
/schemas/ @jongio @karolz-ms @ellismg | ||
/templates/ @jongio @wbreza |
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,30 @@ | ||
--- | ||
name: Issue report | ||
about: Create a report to help us improve | ||
title: '[Issue]' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
- [ ] Make sure you've installed the latest version using [instructions in the wiki](../wiki/install) | ||
|
||
**Output from `azd version`** | ||
Run `azd version` and copy and paste the output here: | ||
|
||
**Describe the bug** | ||
Description of issue you're seeing... | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior... | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Environment** | ||
Information on your environment: | ||
* Language name and version | ||
* IDE and version : [e.g. Visual Studio 16.3] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
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,51 @@ | ||
name: Issue report | ||
description: Create a report to help us improve | ||
title: "[Issue]" | ||
|
||
body: | ||
- type: textarea | ||
id: background | ||
attributes: | ||
label: Describe the bug | ||
description: Please provide the description of issue you're seeing. | ||
placeholder: Description | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected-behavior | ||
attributes: | ||
label: Expected behavior | ||
description: | | ||
Provide a description of the expected behavior. | ||
placeholder: Expected behavior | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: actual-behavior | ||
attributes: | ||
label: Actual behavior | ||
description: | | ||
Provide a description of the actual behavior observed. If applicable please include any error messages, exception stacktraces or memory dumps. | ||
placeholder: Actual behavior | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: repro-steps | ||
attributes: | ||
label: Reproduction Steps | ||
description: | | ||
Please include minimal steps to reproduce the problem if possible. E.g.: the smallest possible code snippet; or a small project, with steps to run it. If possible include text as text rather than screenshots (so it shows up in searches). | ||
placeholder: Minimal Reproduction | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: environment | ||
attributes: | ||
label: Environment | ||
description: | | ||
Please provide more information on your environment: | ||
* Language name and version | ||
* IDE and version : [e.g. Visual Studio 16.3] | ||
placeholder: Environment | ||
validations: | ||
required: false |
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,43 @@ | ||
name: cli-ci | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- "cli/**" | ||
- ".github/workflows/cli-ci.yml" | ||
- "go.mod" | ||
branches: [main] | ||
|
||
permissions: | ||
contents: read | ||
pull-requests: write | ||
|
||
jobs: | ||
azd-lint: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: "1.18.0" | ||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v2 | ||
with: | ||
args: -v --timeout 5m0s | ||
working-directory: cli/azd | ||
|
||
cspell-lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
name: Run spell check for project and for azd | ||
with: | ||
node-version: "16" | ||
- run: npm install -g cspell | ||
- run: cspell lint '**/*' --config ./.vscode/cspell.yaml --relative --no-progress | ||
- run: cspell lint '**/*.go' --config ./cli/azd/.vscode/cspell.yaml --root ./cli/azd --no-progress | ||
- run: cspell lint '**/*.ts' --config ./ext/vscode/.vscode/cspell.yaml --root ./ext/vscode --no-progress | ||
|
||
bicep-lint: | ||
uses: ./.github/workflows/lint-bicep.yml |
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,11 @@ | ||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
bicep-lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Lint .bicep files | ||
run: $ErrorActionPreference='Continue'; eng/scripts/Test-BicepLint.ps1 | ||
shell: pwsh |
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,56 @@ | ||
# One way sync wiki from source to target | ||
|
||
name: sync-wiki | ||
|
||
on: | ||
- gollum | ||
- workflow_dispatch | ||
|
||
env: | ||
SOURCE_REPO: ${{ secrets.WIKI_SYNC_SOURCE }} | ||
TARGET_REPO: ${{ secrets.WIKI_SYNC_TARGET }} | ||
|
||
permissions: | ||
# Read secrets | ||
id-token: write | ||
|
||
jobs: | ||
sync-wiki: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Log in with Azure | ||
uses: azure/login@v1 | ||
with: | ||
client-id: ${{ secrets.AZURE_CLIENT_ID }} | ||
tenant-id: ${{ secrets.AZURE_TENANT_ID }} | ||
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} | ||
|
||
- name: Fetch PAT from Key Vault | ||
uses: Azure/get-keyvault-secrets@v1 | ||
with: | ||
keyvault: ${{ secrets.AZ_ENGSYS_KV_NAME }} | ||
secrets: 'azuresdk-github-pat' | ||
id: EngSysSecrets | ||
|
||
- name: Set Git Configurations and Credentials | ||
run: | | ||
git config --global user.name "azure-sdk" | ||
git config --global user.email "[email protected]" | ||
echo "https://azure-sdk:[email protected]" > ~/.git-credentials | ||
git config --global credential.helper "store" | ||
env: | ||
GH_PAT_SECRET: ${{ steps.EngSysSecrets.outputs.azuresdk-github-pat }} | ||
|
||
- name: Sync source repo to target | ||
shell: pwsh | ||
run: | | ||
git clone $env:SOURCE_REPO source --origin source | ||
Set-Location source | ||
git remote add target $env:TARGET_REPO | ||
# Get default branch name | ||
$defaultTargetBranch = (git remote show target | Out-String) -replace "(?ms).*HEAD branch: (\w+).*", '$1' | ||
Write-Host "Default branch for target: $defaultTargetBranch" | ||
# Overwrite any existing changes in target | ||
git push -f target $defaultTargetBranch |
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,18 @@ | ||
name: templates-ci | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: [main] | ||
paths: | ||
- "templates/**" | ||
- ".github/workflows/templates-ci.yml" | ||
|
||
|
||
permissions: | ||
contents: read | ||
pull-requests: write | ||
|
||
jobs: | ||
bicep-lint: | ||
uses: ./.github/workflows/lint-bicep.yml |
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,69 @@ | ||
name: vscode-ci | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- "ext/vscode/**" | ||
- ".github/workflows/vscode-ci.yml" | ||
branches: [main] | ||
|
||
permissions: | ||
actions: read | ||
contents: read | ||
id-token: write | ||
|
||
jobs: | ||
build-test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
node-version: [14.x] | ||
os: [macos-latest, ubuntu-latest, windows-latest] | ||
include: | ||
- os: ubuntu-latest | ||
upload-artifact: true | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
# On push to `main` name the file `azure-dev-latest.vsix` instead of | ||
# `azure-dev-<version>.vsix` | ||
- name: Set package additional arguments | ||
id: package-arguments | ||
uses: actions/github-script@v5 | ||
with: | ||
result-encoding: string | ||
script: | | ||
let packageArguments = '' | ||
if (context.eventName == 'workflow_dispatch' || context.eventName == 'push') { | ||
packageArguments = '--out azure-dev-latest.vsix' | ||
} | ||
return packageArguments | ||
- name: Install dependencies | ||
run: | | ||
npm install -g npm | ||
npm ci --no-optional | ||
working-directory: ./ext/vscode | ||
|
||
- name: Test | ||
run: ./ci-test.ps1 | ||
shell: pwsh | ||
working-directory: ./ext/vscode | ||
|
||
- run: ./ci-package.ps1 -PackageArguments "${{ steps.package-arguments.outputs.result }}" | ||
if: matrix.upload-artifact == true | ||
shell: pwsh | ||
working-directory: ./ext/vscode | ||
|
||
- name: 'Upload azd binary to artifact store (upload-artifact: true only)' | ||
if: matrix.upload-artifact == true | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: package | ||
path: ./ext/vscode/azure-dev*.vsix |
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,36 @@ | ||
# Binaries for programs and plugins | ||
*.exe | ||
*.exe~ | ||
*.dll | ||
*.so | ||
*.dylib | ||
|
||
# Test binary, built with `go test -c` | ||
*.test | ||
|
||
/bin | ||
/.envrc | ||
|
||
# GoLand temp files | ||
.idea | ||
|
||
# Output of the go coverage tool, specifically when used with LiteIDE | ||
*.out | ||
|
||
# Dependency directories (remove the comment below to include it) | ||
# vendor/ | ||
|
||
# Python temporary files | ||
[.]venv/ | ||
*.py[co] | ||
__pycache__/ | ||
|
||
.env | ||
.azure | ||
/cli/azd/bin | ||
*env/ | ||
obj/ | ||
bin/ | ||
node_modules/ | ||
test-results/ | ||
playwright-report/ |
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,6 @@ | ||
{ | ||
"default": true, | ||
"MD013": false, | ||
"MD029": false, | ||
"MD033": false | ||
} |
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,15 @@ | ||
fatih | ||
ellismg | ||
joho | ||
karolz | ||
sethvargo | ||
stretchr | ||
mattn | ||
isatty | ||
briandowns | ||
envsubst | ||
otiai10 | ||
AlecAivazis | ||
pbnj | ||
multierr | ||
theckman |
Oops, something went wrong.