Skip to content

Commit

Permalink
Merge pull request #79 from Azure/legal_guidance_updates
Browse files Browse the repository at this point in the history
Legal guidance updates
  • Loading branch information
utkarshayachit authored Oct 11, 2023
2 parents 8436794 + 1235946 commit ce6d75e
Show file tree
Hide file tree
Showing 43 changed files with 149 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Microsoft Open Source Code of Conduct

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).

Resources:

- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
- Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns
6 changes: 3 additions & 3 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
MIT License

Copyright (c) Microsoft Corporation.

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand All @@ -12,7 +12,7 @@ furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
Expand Down
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,23 @@ Latest documentation is hosted on [Github Pages](https://azure.github.io/bacc/).
Copyright (c) Microsoft Corporation. All rights reserved.

Licensed under the [MIT License](./LICENSE)

# Microsoft Open Source Code of Conduct

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
Refer to [CODE_OF_CONDUCT.md](./CODE_OF_CONDUCT.md) for details.

# Contributing

This project welcomes contributions and suggestions. Most contributions require you to
agree to a Contributor License Agreement (CLA) declaring that you have the right to,
and actually do, grant us the rights to use your contribution. For details, visit
https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need
to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the
instructions provided by the bot. You will only need to do this once across all repositories using our CLA.

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
2 changes: 2 additions & 0 deletions cli/src/bacc/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
3 changes: 3 additions & 0 deletions cli/src/bacc/__main__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os.path
import sys

Expand Down
3 changes: 3 additions & 0 deletions cli/src/bacc/azfinsim.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

from knack.commands import CommandGroup
from knack.arguments import ArgumentsContext
from knack.help_files import helps
Expand Down
3 changes: 3 additions & 0 deletions cli/src/bacc/commands.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

from knack.commands import CLICommandsLoader, CommandGroup
from knack.arguments import ArgumentsContext
from knack.help_files import helps
Expand Down
3 changes: 3 additions & 0 deletions cli/src/bacc/mpi_bm.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

from knack.commands import CommandGroup
from knack.arguments import ArgumentsContext
from knack.help_files import helps
Expand Down
3 changes: 3 additions & 0 deletions cli/src/bacc/tools_json.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

from knack.commands import CommandGroup
from knack.arguments import ArgumentsContext
from knack.help_files import helps
Expand Down
3 changes: 3 additions & 0 deletions cli/src/bacc/utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import os

from azure.identity import DefaultAzureCredential
Expand Down
2 changes: 2 additions & 0 deletions cli/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
3 changes: 3 additions & 0 deletions examples/azfinsim-linux/deployment.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

targetScope = 'subscription'

//------------------------------------------------------------------------------
Expand Down
3 changes: 3 additions & 0 deletions examples/azfinsim-windows/deployment.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

targetScope = 'subscription'

//------------------------------------------------------------------------------
Expand Down
3 changes: 3 additions & 0 deletions examples/azfinsim-windows/start_task.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

# download Python
$url = "https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe"
$destination = "$env:TEMP\python-3.10.11-amd64.exe"
Expand Down
3 changes: 3 additions & 0 deletions examples/mpi-benchmarks/deployment.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

targetScope = 'subscription'

//------------------------------------------------------------------------------
Expand Down
3 changes: 3 additions & 0 deletions examples/mpi-benchmarks/start_task.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/usr/bin/env bash

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

# This script installs Mellanox OFED drivers on RHEL 8.4
set -x -e

Expand Down
3 changes: 3 additions & 0 deletions examples/secured-batch/deployment.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

targetScope = 'subscription'

//------------------------------------------------------------------------------
Expand Down
3 changes: 3 additions & 0 deletions examples/vizer/deployment.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

targetScope = 'subscription'

//------------------------------------------------------------------------------
Expand Down
3 changes: 3 additions & 0 deletions examples/vizer/vizer-hub.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

//------------------------------------------------------------------------------
// Options: parameters having broad impact on the deployement.
//------------------------------------------------------------------------------
Expand Down
3 changes: 3 additions & 0 deletions modules/batch.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

/**
Deploys core resources needed for batch.
*/
Expand Down
3 changes: 3 additions & 0 deletions modules/containerImages.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

param images array = []
param acrLoginServer string = ''

Expand Down
3 changes: 3 additions & 0 deletions modules/endpoints.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

/**
@allowed([
{
Expand Down
3 changes: 3 additions & 0 deletions modules/infrastructure.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

targetScope = 'subscription'

//------------------------------------------------------------------------------
Expand Down
3 changes: 3 additions & 0 deletions modules/mountConfigurations.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

param mounts object
param storageConfigurations object
param isWindows bool
Expand Down
3 changes: 3 additions & 0 deletions modules/nsgRules.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

/**
Simply builds a list of NSG security rules objects from a list of NSG rule names
*/
Expand Down
3 changes: 3 additions & 0 deletions modules/peering.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

param vnetName string
param targetConfig object
param enableGateway bool = false
Expand Down
3 changes: 3 additions & 0 deletions modules/privateEndpoint.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

/**
Helper to deploy a private endpoint together with a DNS zone / group etc.
*/
Expand Down
3 changes: 3 additions & 0 deletions modules/roleAssignments.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

targetScope = 'subscription'

param miConfig object
Expand Down
3 changes: 3 additions & 0 deletions modules/roles.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

@allowed([
'acr'
'ba'
Expand Down
3 changes: 3 additions & 0 deletions modules/spoke.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

/**
Deploy a vnet for our use.
*/
Expand Down
3 changes: 3 additions & 0 deletions modules/startTasks.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

param commands array
param isWindows bool
param environmentSettings array
Expand Down
3 changes: 3 additions & 0 deletions modules/storage.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

/**
Deploys storage accounts for the given environment.
*/
Expand Down
3 changes: 3 additions & 0 deletions modules/storageAccount.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

/// deploys a single storage account
/// this code can either deploy a new one or "process" and existing one

Expand Down
3 changes: 3 additions & 0 deletions modules/vnetLinks.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

param dnsZoneName string
param vnetInfo object = {
group: null
Expand Down
3 changes: 3 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

cmake_minimum_required(VERSION 3.22)
project(tests LANGUAGES NONE)

Expand Down
3 changes: 3 additions & 0 deletions tests/CTestConfig.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

## This file should be placed in the root directory of your project.
## Then modify the CMakeLists.txt file in the root directory of your
## project to incorporate the testing dashboard.
Expand Down
3 changes: 3 additions & 0 deletions tests/cmake/acr_import.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

# test script to import container image to ACR

# get ACR name from deployment
Expand Down
3 changes: 3 additions & 0 deletions tests/cmake/azfinsim_tests.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

## This modules adds various test for azfinsim application demo.

#=======================================================================================================================
Expand Down
3 changes: 3 additions & 0 deletions tests/cmake/jumpbox_script.sh.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/usr/bin/env bash

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

# exit if any command fails
set -e

Expand Down
3 changes: 3 additions & 0 deletions tests/cmake/secured_batch_tests.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

# include common utilities
include(utils)

Expand Down
3 changes: 3 additions & 0 deletions tests/cmake/utils.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

function(bacc_get_config_files out_var config_name)
set(config_files "${SB_SOURCE_DIR}/examples/${config_name}/config.jsonc")
set(${out_var} ${config_files} PARENT_SCOPE)
Expand Down
2 changes: 2 additions & 0 deletions tests/cmake/validation_tests.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

## This module adds various deployment validate tests
## to the CTest suite. These tests are run after the
Expand Down
3 changes: 3 additions & 0 deletions tests/cmake/variables.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

#-------------------------------------------------------------------------------
# These variables are core deployment variables
set(SB_SUBSCRIPTION_ID "" CACHE STRING "The subscription ID to use for testing")
Expand Down

0 comments on commit ce6d75e

Please sign in to comment.