Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ciwrappers
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
Emmanuel Bruno
ciwrappers
Commits
561c64f1
Unverified
Commit
561c64f1
authored
2 years ago
by
Emmanuel Bruno
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
b5091095
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+28
-14
28 additions, 14 deletions
README.md
with
28 additions
and
14 deletions
README.md
+
28
−
14
View file @
561c64f1
...
@@ -28,7 +28,29 @@ export CI_WRAPPER_HOME=${HOME}/.ci-wrappers
...
@@ -28,7 +28,29 @@ export CI_WRAPPER_HOME=${HOME}/.ci-wrappers
## Usage
## Usage
-
`ci-install-software`
<br/>
-
`ci-install-software`
<br/>
Installs GitHub CLI, Docker client, docker compose plugin, vagrant and terraform in $CI_WRAPPERS_HOME
Installs GitHub CLI, Docker client, docker compose plugin, vagrant and terraform in
`$CI_WRAPPERS_HOME`
### Setup docker
-
if you have an http proxy :
-
sets the needed variables
`HTTP_PROXY`
,
`HTTPS_PROXY`
and
`NO_PROXY`
-
and adds the variables
`VAGRANT_HTTP_PROXY`
,
`VAGRANT_HTTPS_PROXY`
and
`VAGRANT_NO_PROXY`
-
install the vagrant plugin for proxies :
<br/>
`vagrant plugin install vagrant-proxyconf`
-
To install a docker engine with http proxy support in a Virtualbox VM with vagrant :
-
run
`provision-docker-engine`
once to create the VM
-
`docker-vagrant`
is a wrapper for this specific Docker vagrant Box.
-
`docker-vagrant up`
and
`docker-vagrant halt`
to create/start and stop the vm.
-
`docker-vagrant ssh`
to log in the VM.
-
`docker-vagrant suspend`
,
`docker-vagrant resume`
and
`docker-vagrant status`
to suspend, resume and get VM
status.
-
`docker-vagrant destroy`
to destroy it (
**docker named volumes will be lost**
).
-
`use-vagrant-docker`
sets $DOCKER_HOST for the docker client in the current shell.
-
to test
`docker run --rm hello-world`
-
`vagrant destroy`
to destroy the VM AND THE DATA.
### Continuous Integration (C.I.)
-
`new-java-project testci fr.univtln.bruno.tests`
<br/>
-
`new-java-project testci fr.univtln.bruno.tests`
<br/>
Creates a new maven projects ready for C.I.
Creates a new maven projects ready for C.I.
-
`docker-mvn`
<br/>
-
`docker-mvn`
<br/>
...
@@ -37,12 +59,4 @@ export CI_WRAPPER_HOME=${HOME}/.ci-wrappers
...
@@ -37,12 +59,4 @@ export CI_WRAPPER_HOME=${HOME}/.ci-wrappers
-
`ci-github-runner-repo`
or
`ci-github-runner-org`
<br/>
-
`ci-github-runner-repo`
or
`ci-github-runner-org`
<br/>
Creates and register a new GitHub runner in a docker container for the current repository
Creates and register a new GitHub runner in a docker container for the current repository
or the organisation (account).
or the organisation (account).
-
A docker engine with http proxy support in VM :
-
`docker-vagrant`
is a wrapper for a specific Docker vagrant Box (Docker in a VBox VM).
-
`docker-vagrant up`
and
`docker-vagrant halt`
to create/start and stop the vm.
-
`docker-vagrant ssh`
to log in the VM.
-
`docker-vagrant suspend`
,
`docker-vagrant resume`
and
`docker-vagrant status`
to suspend, resume and get VM
status.
-
`docker-vagrant destroy`
to destroy it (
**docker named volumes will be lost**
).
-
`use-vagrant-docker`
to sets docker client to used in the current shell (sets $DOCKER_HOST).
-
`vagrant destroy`
to destroy it.
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