Compare commits

...

11 Commits

Author SHA1 Message Date
Patel (US), Pratik
019208ad0e Fix typo
All checks were successful
build / docker-build (push) Successful in 58s
2025-10-17 15:14:24 -05:00
pratik
af4fd324eb Fix another typo
All checks were successful
build / docker-build (push) Successful in 1m6s
2025-10-17 15:07:35 -05:00
pratik
3d30c84497 add echo statements
All checks were successful
build / docker-build (push) Successful in 59s
2025-10-17 15:04:50 -05:00
pratik
6f8247e4fd Another typo
All checks were successful
build / docker-build (push) Successful in 58s
2025-10-17 14:57:12 -05:00
pratik
014dcb5b09 Another typo
Some checks failed
build / docker-build (push) Has been cancelled
2025-10-17 14:56:57 -05:00
pratik
2f786aa14f Fix typo -- again
All checks were successful
build / docker-build (push) Successful in 58s
2025-10-17 14:51:32 -05:00
pratik
2e9d2ca143 update ci
All checks were successful
build / docker-build (push) Successful in 1m0s
2025-10-17 14:48:03 -05:00
pratik
4f0e7013e4 Update ci 2025-10-17 14:47:05 -05:00
Patel (US), Pratik
c1df449f57 Fix buildah typo
All checks were successful
build / docker-build (push) Successful in 1m0s
2025-10-17 14:36:09 -05:00
Patel (US), Pratik
a07c3ccd9c Pull and push container
All checks were successful
build / docker-build (push) Successful in 59s
2025-10-17 14:31:05 -05:00
5fe92cde25 Merge pull request 'f/sidebar' (#6) from f/sidebar into main
All checks were successful
build / docker-build (push) Successful in 59s
Reviewed-on: #6
2025-10-17 14:02:57 -05:00

View File

@@ -1,19 +1,23 @@
stages:
- build
- deploy
# build_container:
# stage: build
# image: deps.global.bsf.tools/quay.io/buildah/stable:latest
# variables:
# IMAGE_NAME: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME"
# before_script:
# - mkdir -p /tmp/buildah-storage
# - export BUILDAH_ROOT="/tmp/buildah-storage"
# - echo "$CI_REGISTRY_PASSWORD" | buildah login -u "$CI_REGISTRY_USER" --password-stdin "$CI_REGISTRY"
# script:
build_container:
stage: build
image: deps.global.bsf.tools/quay.io/buildah/stable:latest
variables:
IMAGE_NAME: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA"
before_script:
- mkdir -p /tmp/buildah-storage
- export BUILDAH_ROOT="/tmp/buildah-storage"
- echo "$CI_REGISTRY_PASSWORD" | buildah login -u "$CI_REGISTRY_USER" --password-stdin "$CI_REGISTRY"
script:
# - buildah bud --build-arg NPM_REGISTRY=https://deps.global.bsf.tools/artifactory/api/npm/registry.npmjs.org/ --storage-driver vfs --isolation chroot -t $IMAGE_NAME .
# - buildah push --storage-driver vfs $IMAGE_NAME
- buildah pull git.bitstorm.ca/bitforge/warehouse13:latest
- buildah tag git.bitstorm.ca/bitforge/warehouse13:latest $IMAGE_NAME
- echo "Pushing $IMAGE_NAME"
- buildah push $IMAGE_NAME
deploy_helm_charts:
stage: deploy
@@ -33,5 +37,6 @@ deploy_helm_charts:
# ONLY: ["branches", "!main"]
script:
- kubectl config use-context $CONTEXT
- echo "Deploy - $CI_REGISTRY_NAME - $CI_COMMIT_REF_SLUG - $CI_COMMIT_SHORT_SHA"
- |
helm upgrade --install warehouse13-$CI_COMMIT_REF_NAME ./helm/warehouse13 --namespace $NAMESPACE -f $VALUES_FILE
helm upgrade --install warehouse13-dev ./helm/warehouse13 --namespace $NAMESPACE -f $VALUES_FILE --set app.image.repository=$CI_REGISTRY_IMAGE --set app.image.tag=$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA