An ide docker image to test ide.
It has installed:
- shpec
- bats
- docker daemon
- docker-compose
Example Idefile:
IDE_DOCKER_IMAGE="xmik/ideide:3.0.2"
# --privileged is for docker daemon
IDE_DOCKER_OPTIONS="--privileged"
Example Idefile:
IDE_DOCKER_IMAGE="xmik/ideide-alpine:3.0.2"
# --privileged is for docker daemon
IDE_DOCKER_OPTIONS="--privileged"
Current directory in docker container is /ide/work and docker daemon
is running. Example commands:
$ ide shpec
$ ide docker ps -a
$ ide docker-compose --version
$ ide bats --versionThose files are used inside ideide docker image:
~/.ssh/config-- will be generated on docker container start~/.ssh/id_rsa-- if exists locally, will be copied~/.gitconfig-- if exists locally, will be copied
- Bash
- Docker daemon
- Bats
- Ide
- You make changes in a feature branch and git push it.
- You build docker images and test them:
./tasks build./tasks itest./tasks build_alpine./tasks itest_alpine
- If you decide that your code is ready, create a PR. Your job as a contributor is done.
Then:
- Maintainer merges PR(s) into master branch.
- Maintainer runs locally:
./tasks bumpto bump the patch version fragment by 1 OR- e.g.
./tasks bump 1.2.3to bump to a particular version Version is bumped in Changelog, variables.sh file and OVersion backend.
- Everything is pushed to master onto private git server.
- CI server (GoCD) tests and releases.
- After successful CI server pipeline, maintainer:
- pushes master code to github
- triggers build on docker hub
- tags ideide-alpine image as xmik/ideide-alpine and pushes to docker hub