Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial #1

Merged
merged 1 commit into from
Jul 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
charset = utf-8
end_of_line = crlf
files.encoding = "utf8"
indent_size = 4
indent_style = tab
insert_final_newline = true
max_line_length = 80
trim_trailing_whitespace = true
9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

* text=auto

## Enforce text mode and CRLF line breaks
*.editorconfig text eol=crlf
*.gitattributes text eol=crlf
*.gitignore text eol=crlf
*.md text eol=crlf
*.txt text eol=crlf
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

#* @Gesugao-san
1 change: 1 addition & 0 deletions CODE_OF_CONDUCT.md → .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

# Contributor Covenant Code of Conduct

## Our Pledge
Expand Down
27 changes: 27 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

# CONTRIBUTING

[Back](../README.md)

> Guide to contributing to [foo/bar](https://github.com/foo/bar) repo.

### Table of content
- [CONTRIBUTING](#contributing)
- [Table of content](#table-of-content)
- [Pull Request Process](#pull-request-process)
- [Banned content](#banned-content)

## Pull Request Process

There is no strict process when it comes to merging pull requests. Pull requests will sometimes take a while before they are looked at by a maintainer; the bigger the change, the more time it will take before they are accepted.

Please feel free to:
* fix mistakes through a [Pull Requests (PR is short)](https://github.com/foo/bar/pulls).

## Banned content

Do not add any of the following in a Pull Request or risk getting the PR closed:

* Code which violates GitHub's [terms of service](https://github.com/site/terms).

---
34 changes: 34 additions & 0 deletions .github/DOWNLOAD.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

# DOWNLOADING

[Back](../README.md)

> Guide to download from [foo/bar](https://github.com/foo/bar) repo.

### Table of content
- [DOWNLOADING](#downloading)
- [Table of content](#table-of-content)
- [Browser](#browser)
- [git bash](#git-bash)

## Browser

Download the source code as a zip by clicking the ZIP button in the code tab of https://github.com/foo/bar (note: this will use a lot of bandwidth if you wish to update and is a lot of hassle if you want to make any changes at all, so it's not recommended)

![Browser download](/.github/static/browser_download.png)

For more info check [official Github guide](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories), please.

## git bash

You can use any Git client to "clone" the repository, downloading a copy to your machine. You can also use Git to "pull", which updates your copy to match recent changes.

```shell
$ git clone https://github.com/foo/bar
```

![Browser download](/.github/static/mintty_download.png)

For more info check [official Github guide](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories), please.

---
17 changes: 17 additions & 0 deletions .github/TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

# TODO

[Back](../README.md)

> ToDo list.

### Table of content

- [TODO](#todo)
- [Table of content](#table-of-content)
- [ToDo table](#todo-table)

## ToDo table

- [ ] ~~Example entry (not marked as done)~~;
- [x] ~~Example entry (marked as done)~~.
5 changes: 3 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
** Changes **
A brief description of the changes

**Changes**
A brief description of the changes.

1. Did X
2. Tested Y
Expand Down
1 change: 1 addition & 0 deletions .github/static/License-MIT-yellow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .github/static/Made_in-VS_Code-1f425f.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/static/browser_download.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/static/mintty_download.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 50 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# This is a basic workflow to help you get started with Actions

name: "CI Template"

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
#types: [opened, synchronize, closed]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
ci_job_cancel_test_win:
name: CI job cancel test (OS Windows)
runs-on: windows-latest
steps:
- name: Job cancel
shell: cmd
run: |
ECHO Hello world!
ECHO ----------------------------------------
EXIT 0

ci_job_cancel_test_lin:
name: CI job cancel test (OS *nux)
runs-on: ubuntu-latest
steps:
- name: Job cancel
shell: bash
run: |
echo "Hello world!"
echo "----------------------------------------"
exit 0

ci_job_cancel_test_mac:
name: CI job cancel test (macOS)
runs-on: macos-latest
steps:
- name: Job cancel
shell: sh
run: |
echo "Hello world!"
echo "----------------------------------------"
exit 0
49 changes: 49 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@

# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig

# Created by https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode
# Edit at https://www.toptal.com/developers/gitignore?templates=windows,visualstudiocode

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace

### VisualStudioCode Patch ###
# Ignore all local history of files
.history
.ionide

### Windows ###
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

# End of https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode

# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)

21 changes: 21 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"recommendations": [
"andreabbondanza.ignoregit",
"codezombiech.gitignore",
"eamodio.gitlens",
"github.vscode-pull-request-github",
"ibm.output-colorizer",
"icrawl.discord-vscode",
"jasonnutter.vscode-codeowners",
"knisterpeter.vscode-github",
"oderwat.indent-rainbow",
"pflannery.vscode-versionlens",
"piotrpalarz.vscode-gitignore-generator",
"shan.code-settings-sync",
"shd101wyy.markdown-preview-enhanced",
"usernamehw.errorlens",
"wwm.better-align",
"xshrim.txt-syntax",
"yzhang.markdown-all-in-one",
]
}
21 changes: 21 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"editor.detectIndentation": false,
"editor.insertSpaces": false,
"editor.tabSize": 4,
"files.encoding": "utf8",
"files.eol": "\r\n",
"files.insertFinalNewline": true,
"files.trimFinalNewlines": false,
"files.trimTrailingWhitespace": true,
"files.exclude": {
"**/.classpath": true,
"**/.DS_Store": true,
"**/.factorypath": true,
"**/.git": true,
"**/.hg": true,
"**/.project": true,
"**/.settings": true,
"**/.svn": true,
"**/CVS": true,
},
}
1 change: 0 additions & 1 deletion CODEOWNERS

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 BYOND
Copyright (c) 2021 Gesugao-san

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
67 changes: 67 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@

<p align="center">
<h2 align="center">
<a href="https://github.com/Gesugao-san/infrastructure-template-repository">Infrastructure</a> template
</h2>
<p align="center">
Origin:
<a href="https://github.com/BYOND/infrastructure-template-repository">
BYOND/infrastructure-template-repository
</a>
</p>
</p>

<p align="center">
<!--
Static Badges
-->
<a href="https://code.visualstudio.com/">
<img alt="[Made in VS Code]"
src="./.github/static/Made_in-VS_Code-1f425f.svg"/>
</a>˙
<a href="https://opensource.org/licenses/MIT">
<img alt="[License MIT]"
src="./.github/static/License-MIT-yellow.svg"/>
</a>
<br>
<!--
Dinamic Badges
-->
<a href="./actions/workflows/main.yml">
<img alt="[CI status]"
src="./actions/workflows/main.yml/badge.svg"/>
</a>˙
<a href="./commits/">
<img alt="[Last Commit]"
src="https://img.shields.io/github/last-commit/Gesugao-san/infrastructure-template-repository"/>
</a>
</p>

---

> [Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis scelerisque aliquam nibh, sed accumsan ipsum malesuada a. Mauris a facilisis erat. ](https://lipsum.com/)

## Table of Contents

- [Table of Contents](#table-of-contents)
- [Details](#details)
- [For contributors](#for-contributors)

## Details

<details>
<summary><b>[ Click on me ]</b></summary>
Hello there!
</details>

## For contributors

1. [Contributing](./.github/CONTRIBUTING.md)
1. [ToDo list](./.github/TODO.md)
1. [Download](./.github/DOWNLOAD.md)

---

<p align="center">
<img src="https://2ip.io/bar/ip3.gif"/>
</p>
14 changes: 0 additions & 14 deletions SECURITY.md

This file was deleted.