Skip to content

Commit 1677131

Browse files
authored
Merge pull request #514 from code0-tech/drop-image-builds
Drop image builds from sagittarius pipeline
2 parents f91466f + 4f0ded7 commit 1677131

File tree

3 files changed

+0
-154
lines changed

3 files changed

+0
-154
lines changed

.dockerignore

Lines changed: 0 additions & 31 deletions
This file was deleted.

.gitlab-ci.yml

Lines changed: 0 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -50,26 +50,6 @@ graphql_docs:
5050
- git add docs
5151
- git diff --exit-code --staged
5252

53-
build-image:
54-
image:
55-
name: gcr.io/kaniko-project/executor:v1.23.2-debug # Debug Image because a shell is required for GitLab Runner
56-
entrypoint: [ "" ]
57-
stage: build
58-
parallel:
59-
matrix:
60-
- EDITION:
61-
- ce
62-
- ee
63-
script:
64-
- '[[ "$EDITION" = "ee" ]] || rm -rf extensions/ee/'
65-
- mkdir -p /kaniko/.docker
66-
- echo "{\"auths\":{\"ghcr.io\":{\"auth\":\"$(printf "%s:%s" "$" "${C0_GH_TOKEN}" | base64 | tr -d '\n')\"}}}" > /kaniko/.docker/config.json
67-
- >-
68-
/kaniko/executor
69-
--context "${CI_PROJECT_DIR}"
70-
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
71-
--destination "ghcr.io/code0-tech/sagittarius/ci-builds:${CI_COMMIT_SHA}-${EDITION}"
72-
7353
rspec:
7454
extends:
7555
- .rails
@@ -146,45 +126,6 @@ boot:production-mode:
146126
- bin/rails s &
147127
- curl --fail -sv --retry 20 --retry-delay 3 --retry-connrefused http://127.0.0.1:3000/health/liveness
148128

149-
boot:docker:
150-
stage: test
151-
image: docker:28.2.1
152-
services:
153-
- docker:28.2.1-dind
154-
parallel:
155-
matrix:
156-
- EDITION:
157-
- ce
158-
- ee
159-
variables:
160-
DOCKER_TLS_CERTDIR: /certs
161-
DOCKER_HOST: tcp://docker:2376
162-
SAGITTARIUS_IMAGE: ghcr.io/code0-tech/sagittarius/ci-builds:${CI_COMMIT_SHA}-${EDITION}
163-
CURL_IMAGE: curlimages/curl:8.5.0
164-
script:
165-
- docker compose -f docker-compose.dev.yml up -d
166-
- docker pull ${SAGITTARIUS_IMAGE}
167-
- docker pull ${CURL_IMAGE}
168-
- >
169-
docker run
170-
--name sagittarius
171-
--network sagittarius_default
172-
--network-alias sagittarius
173-
-v $(pwd)/tooling/pipeline/sagittarius.yml:/rails/config/sagittarius.yml
174-
${SAGITTARIUS_IMAGE} &
175-
- >
176-
docker run
177-
--rm
178-
--network sagittarius_default
179-
${CURL_IMAGE}
180-
curl
181-
--fail
182-
-sv
183-
--retry 20
184-
--retry-delay 3
185-
--retry-connrefused
186-
http://sagittarius:3000/health/liveness
187-
188129
npm-types:generate-graphql:
189130
extends:
190131
- .rails

Dockerfile

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)