Skip to content

Commit af72d86

Browse files
committed
1 parent b32d8c2 commit af72d86

26 files changed

+6848
-57
lines changed

.github/workflows/dotnet.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: .NET
2+
3+
on:
4+
push:
5+
tags: [ "*" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
permissions:
10+
contents: write
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: Setup .NET
20+
uses: actions/setup-dotnet@v3
21+
with:
22+
dotnet-version: 7.0.x
23+
- name: Restore dependencies
24+
run: dotnet restore
25+
- name: Build
26+
run: dotnet build --no-restore -c Release
27+
- name: Test
28+
run: dotnet test --no-build --verbosity normal -c Release
29+
working-directory: template-parser
30+
31+
- name: Publish Linux
32+
run: dotnet publish --no-restore --no-build -r linux-x64 -c Release
33+
working-directory: template-parser
34+
35+
- name: Publish Windows
36+
run: dotnet publish -r win-x64 -c Release
37+
38+
- name: Release
39+
uses: softprops/action-gh-release@v1
40+
if: startsWith(github.ref, 'refs/tags/')
41+
with:
42+
files: |
43+
./template-parser/bin/Release/net7.0/linux-x64/publish/Template.Parser.Cli
44+
./template-parser/bin/Release/net7.0/win-x64/publish/Template.Parser.Cli.exe
45+

.gitignore

Lines changed: 2 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Ignore Visual Studio temporary files, build results, and
22
## files generated by popular Visual Studio add-ons.
33
##
4-
## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
4+
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
55

66
# User-specific files
77
*.rsuser
@@ -23,7 +23,6 @@ mono_crash.*
2323
[Rr]eleases/
2424
x64/
2525
x86/
26-
[Ww][Ii][Nn]32/
2726
[Aa][Rr][Mm]/
2827
[Aa][Rr][Mm]64/
2928
bld/
@@ -62,9 +61,6 @@ project.lock.json
6261
project.fragment.lock.json
6362
artifacts/
6463

65-
# ASP.NET Scaffolding
66-
ScaffoldingReadMe.txt
67-
6864
# StyleCop
6965
StyleCopReport.xml
7066

@@ -90,7 +86,6 @@ StyleCopReport.xml
9086
*.tmp_proj
9187
*_wpftmp.csproj
9288
*.log
93-
*.tlog
9489
*.vspscc
9590
*.vssscc
9691
.builds
@@ -142,11 +137,6 @@ _TeamCity*
142137
.axoCover/*
143138
!.axoCover/settings.json
144139

145-
# Coverlet is a free, cross platform Code Coverage Tool
146-
coverage*.json
147-
coverage*.xml
148-
coverage*.info
149-
150140
# Visual Studio code coverage results
151141
*.coverage
152142
*.coveragexml
@@ -294,17 +284,6 @@ node_modules/
294284
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
295285
*.vbw
296286

297-
# Visual Studio 6 auto-generated project file (contains which files were open etc.)
298-
*.vbp
299-
300-
# Visual Studio 6 workspace and project file (working project files containing files to include in project)
301-
*.dsw
302-
*.dsp
303-
304-
# Visual Studio 6 technical files
305-
*.ncb
306-
*.aps
307-
308287
# Visual Studio LightSwitch build output
309288
**/*.HTMLClient/GeneratedArtifacts
310289
**/*.DesktopClient/GeneratedArtifacts
@@ -361,9 +340,6 @@ ASALocalRun/
361340
# Local History for Visual Studio
362341
.localhistory/
363342

364-
# Visual Studio History (VSHistory) files
365-
.vshistory/
366-
367343
# BeatPulse healthcheck temp database
368344
healthchecksdb
369345

@@ -372,27 +348,4 @@ MigrationBackup/
372348

373349
# Ionide (cross platform F# VS Code tools) working folder
374350
.ionide/
375-
376-
# Fody - auto-generated XML schema
377-
FodyWeavers.xsd
378-
379-
# VS Code files for those working on multiple tools
380-
.vscode/*
381-
!.vscode/settings.json
382-
!.vscode/tasks.json
383-
!.vscode/launch.json
384-
!.vscode/extensions.json
385-
*.code-workspace
386-
387-
# Local History for Visual Studio Code
388-
.history/
389-
390-
# Windows Installer files from build outputs
391-
*.cab
392-
*.msi
393-
*.msix
394-
*.msm
395-
*.msp
396-
397-
# JetBrains Rider
398-
*.sln.iml
351+
template-parser/Properties/launchSettings.json

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
# Project
1+
# ARM Template Parser
22

3-
> This repo has been populated by an initial template to help get you started. Please
4-
> make sure to update the content to build a great experience for community-building.
3+
## What is it?
54

6-
As the maintainer of this project, please make a few updates:
5+
This is a tool that leverages Microsoft libraries to parse ARM templates offline. It fills out the parameters and interprets any statements to produce an array of resources in json format. The use case for the tool is local parsing of templates as part of automation. Specifically for copying policy assignments from upstream modules to modules written in other IaC languages, such as Terraform and Bicep.
76

8-
- Improving this README.MD file to provide a great experience
9-
- Updating SUPPORT.MD with content about this project's support experience
10-
- Understanding the security reporting process in SECURITY.MD
11-
- Remove this section from the README
7+
## How to use it?
8+
9+
TBC
1210

1311
## Contributing
1412

0 commit comments

Comments
 (0)