Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
0314bd8
Create linter
RaulKenyu May 14, 2024
aeffb16
Update lint.yml
RaulKenyu May 14, 2024
043f115
Update lint.yml
RaulKenyu May 14, 2024
14f5e2a
downgrade lint.yml
RaulKenyu May 14, 2024
e984750
upgrade lint.yml
RaulKenyu May 14, 2024
9baf4e1
Update lint.yml bash sev
RaulKenyu May 14, 2024
1a4e9b4
Update lint.yml
RaulKenyu May 14, 2024
3d22fa3
Validate lint.yml
RaulKenyu May 14, 2024
54ce638
Revalidate lint.yml
RaulKenyu May 14, 2024
9ef223e
Unvalidate lint.yml
RaulKenyu May 14, 2024
9ab9749
Update lint.yml
RaulKenyu May 14, 2024
1ed990b
Reupdate lint.yml
RaulKenyu May 14, 2024
8e5c61a
Comment line of lint.yml
RaulKenyu May 16, 2024
ab97a63
Uncomment and validate python in lint.yml
RaulKenyu May 16, 2024
a549157
Update python lint.yml
RaulKenyu May 16, 2024
21b0fa7
Update lint.yml
RaulKenyu May 16, 2024
afe3079
Delete MtdrSpring/backend/undeploy.sh
RaulKenyu May 16, 2024
44c6914
Delete MtdrSpring/env.sh
RaulKenyu May 16, 2024
605c069
Update index.css
RaulKenyu May 16, 2024
cea9d2b
Update index.css unquote
RaulKenyu May 16, 2024
8721ec3
Update index.css modern-color-function-notation
RaulKenyu May 16, 2024
f8db6e1
Update index.css whitespace and 0s
RaulKenyu May 16, 2024
3611bcc
Update index.css color line
RaulKenyu May 16, 2024
19adf02
Update index.css zeros
RaulKenyu May 16, 2024
8752a4d
Update generate-unique-key.py blanklines
RaulKenyu May 16, 2024
6c06bc9
Update generate-unique-key.py -line
RaulKenyu May 16, 2024
43b9738
Update process-cluster-ocid-json.py remove e
RaulKenyu May 17, 2024
13a8933
Update process-cluster-ocid-json.py reorder imports
RaulKenyu May 17, 2024
cb9c82f
Update lint.yml python
RaulKenyu May 17, 2024
bcbb324
Update and rename generate-unique-key.py to generate_unique_key.py
RaulKenyu May 17, 2024
548f453
Rename process-cluster-ocid-json.py to process_cluster_ocid_json.py
RaulKenyu May 17, 2024
7ca313c
Update lint.yml
RaulKenyu May 17, 2024
f2b5036
Update lint.yml
RaulKenyu May 17, 2024
3559c9e
Update lint.yml
RaulKenyu May 17, 2024
17897db
Update lint.yml
RaulKenyu May 17, 2024
f605960
Update lint.yml _
RaulKenyu May 17, 2024
cf710a5
Update lint.yml
RaulKenyu May 17, 2024
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
57 changes: 57 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@

name: Lint

on: # yamllint disable-line rule:2
push: null
pull_request: null

permissions: { }

jobs:
build:
name: Lint
runs-on: ubuntu-latest

permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0

- name: Super-linter
uses: super-linter/super-linter@v6 # x-release-please-version
env:
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
YAML_ON_ERROR_WARNING: true
VALIDATE_ALLCODEBASE: false
VALIDATE_SHELL_SMFT: false
VALIDATE_CHECKOV: false
VALIDATE_BASH: false
VALIDATE_BASH_EXEC: false
VALIDATE_CSS: false
VALIDATE_GOOGLE_JAVA_FORMAT: false
VALIDATE_JAVA: false
VALIDATE_JAVASCRIPT_STANDARD: false
VALIDATE_JSCPD: false
VALIDATE_KUBERNETES_KUBECONFORM: false
VALIDATE_MARKDOWN: false
VALIDATE_NATURAL_LANGUAGE: false
VALIDATE_PYTHON_BLACK: false
VALIDATE_PYTHON_PYLINT: false
VALIDATE_FLAKE8: false
VALIDATE_ISORT: false
VALIDATE_PYTHON_RUFF: false
VALIDATE_SHELL_SHFMT: false
VALIDATE_TERRAFORM_FMT: false
VALIDATE_TERRAFORM_TFLINT: false
VALIDATE_YAML: false
BASH_SEVERITY: error
14 changes: 7 additions & 7 deletions MtdrSpring/backend/src/main/frontend/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ body {
background-color: #3A3632; /* Set the background color */
width: 100%;
color: #FEF9F2;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
Expand All @@ -19,7 +19,7 @@ body {
align-items: center;
}

.App {
.app {
background: #201E1C; /* Background color for the app */
color: #FEF9F2;
display: flex;
Expand All @@ -29,7 +29,7 @@ body {
margin: 1em auto; /* Center the .App container vertically and horizontally */
padding: 1rem;
position: relative;
box-shadow: 0 10px 18px 0 rgba(0, 0, 0, 0.2), 0 4.5rem 8rem 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 10px 18px 0 #0003, 0 4.5rem 8rem 0 #0000001a;
border-radius: 0.5rem;
width: 100%; /* Full width */
max-width: 50rem; /* Max width, adjust as needed */
Expand Down Expand Up @@ -59,7 +59,7 @@ div#newinputform form {
margin: 0 auto;
}

table#itemlistNotDone, table#itemlistDone {
table#itemlist-not-done, table#itemlist-done {
margin-bottom: 2rem; /* Uniform bottom margin for tables */
}

Expand Down Expand Up @@ -95,12 +95,12 @@ input, button, input[type="text"] {
padding-left: 10px;
}

button.AddButton, button.DeleteButton, button.DoneButton {
button.add-button, button.delete-button, button.done-button {
font-size: max(8px, min(2vw, 12px));
padding: 1.5em 0.5em;
background-color: #5F7D4F; /* Primary button background color */
}

button.AddButton:hover, button.DeleteButton:hover, button.DoneButton:hover {
button.add-button:hover, button.delete-button:hover, button.done-button:hover {
background-color: #6F915D; /* Hover color for buttons */
}
3 changes: 0 additions & 3 deletions MtdrSpring/backend/undeploy.sh

This file was deleted.

64 changes: 0 additions & 64 deletions MtdrSpring/env.sh

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import random
import string


def get_random_key(length):
letters = string.ascii_lowercase
digits = string.digits
length = length
result_str = ''.join(random.choice(letters + digits) for i in range(length))
print(result_str)

get_random_key(5)

get_random_key(5)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import sys
import json
import sys

# This simple python file reads JSON and tries to access the lab_oke_cluster_id value
# and prints the OCID for processing. The JSON is expected
Expand All @@ -10,9 +10,9 @@
try:
OCID = system_input["lab_oke_cluster_id"]["value"]
print(OCID)
except KeyError as e:
except KeyError:
print("Error: Failed to access expected JSON key lab_oke_cluster_id or value")
except json.decoder.JSONDecodeError as e:
except json.decoder.JSONDecodeError:
print("Error: Failed to decode JSON")
except Exception as e:
except Exception:
print("Error: Encountered unexpected error")