mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Remove Ansible and Terraform custom installation scripts
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
This commit is contained in:
parent
523e78170f
commit
e7edcceefb
6 changed files with 21 additions and 78 deletions
37
README.md
37
README.md
|
|
@ -11,10 +11,10 @@ various parts of GitLab:
|
|||
|
||||
There are two methods to adding a new image:
|
||||
|
||||
1. Use a docker buildfile.
|
||||
1. Use a Dockerfile.
|
||||
1. Use a custom image with versioned features.
|
||||
|
||||
### Use a docker buildfile
|
||||
### Use a Dockerfile
|
||||
|
||||
A bespoke image is one that uses it's own Dockerfile. In the interests of
|
||||
avoiding repetition, it's better to use the custom docker build if possible.
|
||||
|
|
@ -37,34 +37,35 @@ The name is defined as `[feature]-[version]` pairs, separated by `-`.
|
|||
|
||||
Here are some example build names:
|
||||
|
||||
1. `ruby-2.1-git-2.7`
|
||||
1. `ruby-2.3.3-golang-1.8-git-2.7-chrome-60.0-node-7.1-postgresql-9.6`
|
||||
1. `ruby-2.4.1-golang-1.8-git-2.7-node-7.1-postgresql-9.6`
|
||||
1. `ruby-2.7-golang-1.15-git-2.29`
|
||||
1. `ruby-3.0.0-git-2.29-lfs-2.9-node-14.15-yarn-1.22-graphicsmagick-1.3.34`
|
||||
1. `ruby-3.0.0.patched-golang-1.14-git-2.29-lfs-2.9-chrome-87-node-14.15-yarn-1.22-postgresql-12-graphicsmagick-1.3.34`
|
||||
|
||||
The first pair represents the base image and version. So `ruby-2.1-...` will use the `ruby:2.1` base image, while
|
||||
`golang-1.8` will use the `golang:1.8` base image.
|
||||
The first pair represents the base image and version. So `ruby-3.0-...` will use the `ruby:3.0` base image, while
|
||||
`golang-1.15` will use the `golang:1.15` base image.
|
||||
|
||||
Each of the following parts represents another feature and version. Available
|
||||
options are:
|
||||
|
||||
1. `golang`
|
||||
1. `git`
|
||||
1. `chrome`
|
||||
1. `node`
|
||||
1. `yarn`
|
||||
1. `postgres`
|
||||
1. `terraform`
|
||||
1. `ansible`
|
||||
1. `docker`
|
||||
1. `git`
|
||||
1. `golang`
|
||||
1. `graphicsmagick`
|
||||
1. `lfs`
|
||||
1. `node`
|
||||
1. `pgbouncer`
|
||||
1. `postgresql`
|
||||
1. `ruby`
|
||||
1. `yarn`
|
||||
|
||||
#### Adding a new build
|
||||
|
||||
As an example, if you want to add new image for Ruby 2.4 with `git` 2.14 and `golang` 1.9,
|
||||
the name would be `ruby-2.4-golang-1.9-git-2.14`.
|
||||
As an example, if you want to add new image for Ruby 3.0 with `git` 2.29 and `golang` 1.15,
|
||||
the name would be `ruby-3.0-golang-1.15-git-2.29`.
|
||||
|
||||
1. Add a test task: `ruby-2.4-golang-1.9-git-2.14 test: *test_custom`
|
||||
1. Add a new build task: `ruby-2.4-golang-1.9-git-2.14: *build_and_deploy_custom`
|
||||
1. Add a test task: `ruby-3.0-golang-1.15-git-2.29 test: *test_custom`
|
||||
1. Add a new build task: `ruby-3.0-golang-1.15-git-2.29 push: *build_and_deploy_custom`
|
||||
|
||||
#### Pushing a rebuild image
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue