Checking in code for rt 7.27.10 and xray 3.35.0 version

This commit is contained in:
Giridharan Ramasamy
2021-12-02 21:29:06 +05:30
parent dfb3ee0eda
commit 57390ace44
389 changed files with 29988 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
# asciidoctor image
FROM asciidoctor/docker-asciidoctor
LABEL "version"="1.0"
# Setup entrypoint
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

View File

@@ -0,0 +1,33 @@
# Asciidoctor GitHub Action
To use this action add the below config to **.github/workflows/adocs-build.yml**
```
name: build adocs
on:
push:
branches:
- master
- main
jobs:
adoc_build:
runs-on: ubuntu-18.04
name: asciidoctor -D docs --backend=html5 -o index.html -a toc2 docs/index.adoc
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Get build container
id: adocbuild
uses: path-to-/.actions/asciidoctor-action
with:
program: "asciidoctor -D docs --backend=html5 -o index.html docs/index.adoc"
- name: Print execution time
run: echo "Time ${{ steps.adocbuild.outputs.time }}"
- name: Deploy docs to ghpages
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_branch: gh-pages
publish_dir: ./
```

View File

@@ -0,0 +1,20 @@
name: 'build asciidoctor action'
author: 'Tony Vattathil'
description: 'asciidoctor Build action'
branding:
icon: 'file'
color: 'green'
inputs:
program:
description: 'asciidoctor '
required: true
default: 'asciidoctor -D docs --backend=html5 -o index.html -a toc2 ddocs/index.adoc'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.program }}
outputs:
time:
description: 'Action Completed'

View File

@@ -0,0 +1,4 @@
#!/bin/bash
# entrypoint.sh
set -e
bash -c "$@"

View File

@@ -0,0 +1,4 @@
FROM python:3.8-buster
RUN pip install cfn-lint
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

View File

@@ -0,0 +1,19 @@
name: 'Customized cfn-lint action for AWS Quick Start org use'
author: 'Andrew Glenn'
branding:
icon: 'file-text'
color: 'green'
inputs:
program:
description: "cfnlint"
required: true
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.program }}
outputs:
time:
description: 'Action Completed'

View File

@@ -0,0 +1,3 @@
#!/bin/bash
set -e
bash -c "$@"

View File

@@ -0,0 +1,24 @@
name: main-documentation
on:
push:
branches:
- develop
jobs:
lint:
runs-on: ubuntu-18.04
name: lint CFN templates
steps:
- name: Checkout (develop)
uses: actions/checkout@v2
with:
path: checked_out_repo
- name: Checkout (custom rules)
uses: actions/checkout@v2
with:
path: team_custom_rules
- name: Run local actions
id: cfnlint_custom
uses: ./docs/boilerplate/.actions/cfnlint-action
with:
program: "./docs/boilerplate/.utils/cfnlint_custom.sh"

View File

@@ -0,0 +1,38 @@
name: main-documentation
on:
push:
branches:
- master
- main
jobs:
build-adocs:
runs-on: ubuntu-18.04
name: asciidoc builder
steps:
- name: Checkout (main)
uses: actions/checkout@v2
- name: Get new doc updates
run: |
wget https://raw.githubusercontent.com/aws-quickstart/quickstart-documentation-base-common/main/.utils/configure_git_env.sh
chmod +x configure_git_env.sh
./configure_git_env.sh
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Generate dynamic content.
run: ./docs/boilerplate/.utils/generate_dynamic_content.sh
- name: Run local actions
id: adoc
uses: ./docs/boilerplate/.actions/asciidoctor-action
with:
program: "./docs/boilerplate/.utils/build_docs.sh"
- name: Stage and Push changes to gh-pages branch.
run: ./docs/boilerplate/.utils/commit_and_push_to_ghpages.sh
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Configure gh-pages source and trigger build if necessary.
run: ./docs/boilerplate/.utils/config_and_trigger_gh-pages.sh
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"