Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
comp90024
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mu Lu
comp90024
Commits
8895cf2d
Commit
8895cf2d
authored
1 year ago
by
Luca Morandini
Browse files
Options
Downloads
Patches
Plain Diff
- Added instalation verification
parent
34ba9637
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
installation/README.md
+17
-2
17 additions, 2 deletions
installation/README.md
test/README.md
+3
-0
3 additions, 0 deletions
test/README.md
with
21 additions
and
2 deletions
.gitignore
+
1
−
0
View file @
8895cf2d
...
...
@@ -324,3 +324,4 @@ cython_debug/
/fission/functions/addobservations.zip
/installation/config.test
/installation/config.bak
/installation/config.grp1
This diff is collapsed.
Click to expand it.
installation/README.md
+
17
−
2
View file @
8895cf2d
...
...
@@ -128,7 +128,7 @@ openstack port create --network elastic elastic-bastion
-
Create a VM named "bastion" with the following features (the VM can be created using the MRC Dashboard or with the command below).
-
Flavor:
`uom.mse.1c4g`
;
-
Image:
`NeCTAR Ubuntu 22.04 LTS (Jammy) amd64 (with Docker)`
;
-
Networks:
`qh2-uom-internal`
and
`elatic`
(the Kubernetes cluster network);
-
Networks:
`qh2-uom-internal`
and
`ela
s
tic`
(the Kubernetes cluster network);
-
Security group:
`default`
and
`ssh`
.
```
shell
...
...
@@ -357,13 +357,27 @@ For Windows, you can use the linux binary on WSL, or you can download this windo
## Stack installation test
The following command creates and test a function named
`health`
that returns the status of the ElasticSearch cluster:
```
shell
fission
function
create
--name
health
--env
python
--code
./functions/health.py
fission
env
create
--name
python
--image
fission/python-env
--builder
fission/python-builder
fission
function
create
--name
health
--env
python
--code
./fission/functions/health.py
fission
function
test
--name
health | jq
'.'
```
If the above command returns a JSON object with the ElasticSearch cluster status, the installation is successful, and
the Fission function and environment can be deleted:
```
shell
fission
function
delete
--name
health
fission
env
delete
--name
python
```
## Removal of the software stack
THIS SHOULD BE DONE ONLY IN CASE OF A SERIOUS MISTAKE THAT PREVENTS USE OF THE CLUSTER.
## Fission removal
```
shell
...
...
@@ -412,5 +426,6 @@ helm uninstall elasticsearch -n elastic
### Kubernetes Cluster Removal
```
shell
openstack port delete
$(
openstack port show
-f
value
-c
id
elastic-bastion
)
openstack coe cluster delete elastic
```
This diff is collapsed.
Click to expand it.
test/README.md
0 → 100644
+
3
−
0
View file @
8895cf2d
# Automated tests
This directory contains automated tests for the project. The tests are written in Python and use the
`unittest`
framework.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment