Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
jefeish committed Jun 10, 2024
1 parent b99a8ae commit 18387bd
Show file tree
Hide file tree
Showing 16 changed files with 2,463 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.166.1/containers/ubuntu/.devcontainer/base.Dockerfile

# [Choice] Ubuntu version: bionic, focal
ARG VARIANT="focal"
FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT}

RUN apt-get update && apt-get upgrade --yes \
&& apt-get install curl git-lfs python3-pip awscli gnupg2 --yes \
&& curl -fsSL https://get.pulumi.com | bash \
&& mv ~/.pulumi/bin/* /usr/bin \
&& mkdir -p /root/.aws \
&& export EDITOR=/usr/bin/vi
2 changes: 2 additions & 0 deletions .devcontainer/container.example.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export AWS_ACCESS_KEY_ID=<AWS ACCESS ID>
export AWS_SECRET_ACCESS_KEY=<AWS SECRET KEY>
40 changes: 40 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.166.1/containers/ubuntu
{
"name": "Ubuntu",
"build": {
"dockerfile": "Dockerfile",
// Update 'VARIANT' to pick an Ubuntu version: focal, bionic
"args": { "VARIANT": "focal" }
},

// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},

// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ms-python.python"
],

"mounts": [
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.aws,target=/root/.aws,type=bind,consistency=cached"
],

/*
"remoteEnv": {
"AWS_ACCESS_KEY_ID": "${containerEnv:AWS_ACCESS_KEY_ID}Identity",
"AWS_SECRET_ACCESS_KEY": "${containerEnv:AWS_SECRET_ACCESS_KEY}Key"
},
*/

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "/workspaces/Apple-ACI-AWSInfra/.devcontainer/postcreate.sh",

// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
// "remoteUser": "vscode"
}
15 changes: 15 additions & 0 deletions .devcontainer/postcreate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

set -e

if [ -f '/workspaces/Apple-ACI-AWSInfra/.devcontainer/container.env' ]; then
echo "Adding container.env to /root/.bashrc"
echo "" >> /root/.bashrc
cat /workspaces/Apple-ACI-AWSInfra/.devcontainer/container.env >> /root/.bashrc
else
echo "container.env not found, ignoring"
fi

pushd ghes-cluster
pip install -r requirements.txt
popd
30 changes: 30 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Python-docs-action
on:
push:
branches:
- master

env:
VERSION: 1.0
ENV: alpha

jobs:
build-terraform-validate:
runs-on: ubuntu-latest

steps:

- name: Checkout repository
uses: actions/checkout@v2

- name: Setup python
uses: actions/setup-python@v2
with:
python-version: 3.8 #install the python needed

- name: Install 'Pdoc'
run: pip3 install pdoc

- name: Generate API Docs
run: pdoc --html

219 changes: 219 additions & 0 deletions docs/__pycache__.html

Large diffs are not rendered by default.

231 changes: 231 additions & 0 deletions docs/index.html

Large diffs are not rendered by default.

225 changes: 225 additions & 0 deletions docs/modules.html

Large diffs are not rendered by default.

478 changes: 478 additions & 0 deletions docs/modules/create_issue.html

Large diffs are not rendered by default.

355 changes: 355 additions & 0 deletions docs/modules/notification.html

Large diffs are not rendered by default.

338 changes: 338 additions & 0 deletions docs/modules/template.html

Large diffs are not rendered by default.

36 changes: 36 additions & 0 deletions docs/search.js

Large diffs are not rendered by default.

227 changes: 227 additions & 0 deletions docs2/index.html

Large diffs are not rendered by default.

36 changes: 36 additions & 0 deletions docs2/search.js

Large diffs are not rendered by default.

219 changes: 219 additions & 0 deletions docs2/src.html

Large diffs are not rendered by default.

Empty file modified src/WebhookEventServer.py
100644 → 100755
Empty file.

0 comments on commit 18387bd

Please sign in to comment.