Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:MetaCell/cloud-harness into feat…
Browse files Browse the repository at this point in the history
…ure/CH-110
  • Loading branch information
filippomc committed Sep 3, 2024
2 parents 7126e57 + b570cc6 commit 734d410
Show file tree
Hide file tree
Showing 263 changed files with 7,194 additions and 12,674 deletions.
25 changes: 15 additions & 10 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,29 @@
Closes #
Closes [CH-X](https://metacell.atlassian.net/browse/CH-X)

Implemented solution: ...
# Implemented solution

How to test this PR: ...
...

### Sanity checks:
# How to test this PR

...

# Sanity checks:
- [ ] The pull request is explicitly linked to the relevant issue(s)
- [ ] The issue is well described: clearly states the problem and the general proposed solution(s)
- [ ] From the issue and the current PR it is explicitly stated how to test the current change
- [ ] In this PR it is explicitly stated how to test the current change
- [ ] The labels in the issue set the scope and the type of issue (bug, feature, etc.)
- [ ] The relevant components are indicated in the issue (if any)
- [ ] All the automated test checks are passing
- [ ] All the linked issues are included in one milestone
- [ ] All the linked issues are in the Review/QA column of the [board](https://app.zenhub.com/workspaces/cloud-harness-5fdb203b7e195b0015a273d7/board)
- [ ] All the linked issues are included in one Sprint
- [ ] All the linked issues are in the Review state
- [ ] All the linked issues are assigned

### Breaking changes (select one):
# Breaking changes (select one):
- [ ] The present changes do not change the preexisting api in any way
- [ ] This PR and the issue are tagged as a `breaking-change`
- [ ] This PR and the issue are tagged as a `breaking-change` and the migration procedure is well described [above](#implemented-solution)

### Possible deployment updates issues (select one):
# Possible deployment updates issues (select one):
- [ ] There is no reason why deployments based on CloudHarness may break after the current update
- [ ] This PR and the issue are tagged as `alert:deployment`

Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ skaffold.yaml
/deployment.yaml
.hypothesis
__pycache__
.env
.env
/.venv
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Python 3.9 must be installed.
It is recommended to setup a virtual environment.
With conda:
```bash
conda create --name ch python=3.9
conda create --name ch python=3.12
conda activate ch
```

Expand Down Expand Up @@ -108,7 +108,6 @@ A JRE is needed to run the code generators based on openapi-generator.

For more info, see [here](https://openapi-generator.tech/docs/installation).


## CloudHarness command line tools
To use the cli tools, install requirements first:

Expand Down
73 changes: 73 additions & 0 deletions application-templates/base/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
.travis.yaml
.openapi-generator-ignore
README.md
tox.ini
git_push.sh
test-requirements.txt

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/
venv/
.python-version

# Translations
*.mo
*.pot

# Django stuff:
*.log

# Sphinx documentation
docs/_build/

# PyBuilder
target/

#Ipython Notebook
.ipynb_checkpoints

.git
4 changes: 2 additions & 2 deletions application-templates/base/test/e2e/landing.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe("End to end test", () => {
return el.textContent;
});

expect(await page.title()).toEqual("Samples");
expect(title).toEqual("Sample React application is working!");
expect(await page.title()).not.toBeNull();
expect(title).not.toBeNull();
});
});
1 change: 1 addition & 0 deletions application-templates/django-app/.dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
dist
.git
2 changes: 2 additions & 0 deletions application-templates/flask-server/backend/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@ target/

#Ipython Notebook
.ipynb_checkpoints

.git
75 changes: 73 additions & 2 deletions application-templates/webapp/.dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,73 @@
node_modules
dist
.travis.yaml
.openapi-generator-ignore
README.md
tox.ini
git_push.sh
test-requirements.txt

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/
venv/
.python-version

# Translations
*.mo
*.pot

# Django stuff:
*.log

# Sphinx documentation
docs/_build/

# PyBuilder
target/

#Ipython Notebook
.ipynb_checkpoints

.git
20 changes: 0 additions & 20 deletions application-templates/webapp/frontend/.babelrc

This file was deleted.

1 change: 0 additions & 1 deletion application-templates/webapp/frontend/.dockerignore

This file was deleted.

2 changes: 0 additions & 2 deletions application-templates/webapp/frontend/.eslintignore

This file was deleted.

19 changes: 19 additions & 0 deletions application-templates/webapp/frontend/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs', 'src/rest/*'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
'@typescript-eslint/no-explicit-any': 'off',
}
}
49 changes: 0 additions & 49 deletions application-templates/webapp/frontend/.eslintrc.yml

This file was deleted.

4 changes: 0 additions & 4 deletions application-templates/webapp/frontend/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion application-templates/webapp/frontend/README.md

This file was deleted.

2 changes: 0 additions & 2 deletions application-templates/webapp/frontend/build.yaml

This file was deleted.

16 changes: 16 additions & 0 deletions application-templates/webapp/frontend/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html lang="en">

<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CloudHarness sample application</title>
</head>

<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>

</html>
Loading

0 comments on commit 734d410

Please sign in to comment.