Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
IEM - IaC Executor Manager
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
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PIACERE
public
The Platform
IEM - IaC Executor Manager
Commits
ce03f5e1
Commit
ce03f5e1
authored
2 years ago
by
Diaz de Arcaya Serrano, Josu
Browse files
Options
Downloads
Patches
Plain Diff
format code blocks as rst
parent
9672d005
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/docs_files/02-iem.rst
+19
-28
19 additions, 28 deletions
docs/docs_files/02-iem.rst
with
19 additions
and
28 deletions
docs/docs_files/02-iem.rst
+
19
−
28
View file @
ce03f5e1
...
...
@@ -4,43 +4,34 @@
IaC Execution Manager
*********************
Running the server
```bash
uvicorn main:app --reload
```
Running the server::
uvicorn main:app --reload
###### Containers
Containerize the IEM
```bash
docker build --build-arg API_KEY=$API_KEY -t optima-piacere-docker-dev.artifact.tecnalia.com/wp5/iem-api:y1 .
```
Containerize the IEM::
docker build --build-arg API_KEY=$API_KEY -t optima-piacere-docker-dev.artifact.tecnalia.com/wp5/iem-api:y1 .
Similarly, docker compose can be used to build both::
docker-compose build
It can also be used to push them to the registry::
Similarly, docker compose can be used to build both
```bash
docker-compose build
```
docker-compose push
It can also be used to push them to the registry
```bash
docker-compose push
```
Run the IEM::
Run the IEM
```bash
docker run -p 8000:8000 optima-piacere-docker-dev.artifact.tecnalia.com/wp5/iem-api:y1
```
docker run -p 8000:8000 optima-piacere-docker-dev.artifact.tecnalia.com/wp5/iem-api:y1
###### Tests
Run all tests
Run all tests
::
```bash
nose2 -v
```
nose2 -v
Run a single test
Run a single test
::
```bash
nose2 -v tests.core.test_iem.TestIem.test_deploy_destroy_openstack
```
nose2 -v tests.core.test_iem.TestIem.test_deploy_destroy_openstack
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