change willaspace.com to meshkee.com globally.

This commit is contained in:
Moradi
2025-03-04 12:06:21 +03:30
parent da9f6dbee4
commit 505c176dad
4 changed files with 18 additions and 18 deletions
+11 -11
View File
@@ -8,12 +8,12 @@ clone:
# npm config set _auth token add command # npm config set _auth token add command
steps: steps:
- name: clone - name: clone
image: docker.willaspace.com/repository/docker-hosted/alpine/git image: docker.meshkee.com/repository/docker-hosted/alpine/git
commands: commands:
- git clone $DRONE_GIT_HTTP_URL . - git clone $DRONE_GIT_HTTP_URL .
- git checkout $DRONE_COMMIT - git checkout $DRONE_COMMIT
- name: Build docker image - name: Build docker image
image: docker.willaspace.com/repository/docker-hosted/plugins/docker image: docker.meshkee.com/repository/docker-hosted/plugins/docker
environment: environment:
REGISTRY_USER_NAME: REGISTRY_USER_NAME:
from_secret: registry_username from_secret: registry_username
@@ -24,8 +24,8 @@ steps:
- latest - latest
- ${DRONE_BUILD_NUMBER} - ${DRONE_BUILD_NUMBER}
dockerfile: Dockerfile dockerfile: Dockerfile
registry: docker.willaspace.com registry: docker.meshkee.com
repo: docker.willaspace.com/repository/docker-hosted/external-projects/cssd-back repo: docker.meshkee.com/repository/docker-hosted/external-projects/cssd-back
build_args_from_env: build_args_from_env:
- REGISTRY_USER_NAME - REGISTRY_USER_NAME
- REGISTRY_PASSWORD - REGISTRY_PASSWORD
@@ -40,14 +40,14 @@ steps:
- push - push
- name: Build docker nginx image - name: Build docker nginx image
image: docker.willaspace.com/repository/docker-hosted/plugins/docker image: docker.meshkee.com/repository/docker-hosted/plugins/docker
settings: settings:
tags: tags:
- nginx-latest - nginx-latest
- nginx-${DRONE_BUILD_NUMBER} - nginx-${DRONE_BUILD_NUMBER}
dockerfile: Dockerfile.nginx dockerfile: Dockerfile.nginx
registry: docker.willaspace.com registry: docker.meshkee.com
repo: docker.willaspace.com/repository/docker-hosted/external-projects/cssd-back repo: docker.meshkee.com/repository/docker-hosted/external-projects/cssd-back
username: username:
from_secret: registry_username from_secret: registry_username
password: password:
@@ -59,7 +59,7 @@ steps:
- push - push
- name: deploy - name: deploy
image: docker.willaspace.com/repository/docker-hosted/pelotech/drone-helm3:latest image: docker.meshkee.com/repository/docker-hosted/pelotech/drone-helm3:latest
environment: environment:
USERNAME: USERNAME:
from_secret: registry_username from_secret: registry_username
@@ -77,13 +77,13 @@ steps:
release: cssd-production-back release: cssd-production-back
namespace: cssd namespace: cssd
add_repos: add_repos:
- willaspace=https://$USERNAME:$PASSWORD@repo.willaspace.com/repository/willaspace-charts/ - willaspace=https://$USERNAME:$PASSWORD@repo.meshkee.com/repository/willaspace-charts/
values_files: values_files:
- .values.yaml - .values.yaml
values: values:
- deployment.image.tag=nginx-$DRONE_BUILD_NUMBER - deployment.image.tag=nginx-$DRONE_BUILD_NUMBER
- deployment.additionalContainers[0].image=docker.willaspace.com/repository/docker-hosted/external-projects/cssd-back:$DRONE_BUILD_NUMBER - deployment.additionalContainers[0].image=docker.meshkee.com/repository/docker-hosted/external-projects/cssd-back:$DRONE_BUILD_NUMBER
- deployment.initContainers.init-artisan.image=docker.willaspace.com/repository/docker-hosted/external-projects/cssd-back:$DRONE_BUILD_NUMBER - deployment.initContainers.init-artisan.image=docker.meshkee.com/repository/docker-hosted/external-projects/cssd-back:$DRONE_BUILD_NUMBER
timeout: 3000 timeout: 3000
when: when:
branch: branch:
+4 -4
View File
@@ -84,7 +84,7 @@ deployment:
name: cssd-production-back-configmap name: cssd-production-back-configmap
- secretRef: - secretRef:
name: cssd-production-back-secret name: cssd-production-back-secret
image: docker.willaspace.com/repository/docker-hosted/external-projects/cssd-back:latest image: docker.meshkee.com/repository/docker-hosted/external-projects/cssd-back:latest
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
# Additional labels for Deployment # Additional labels for Deployment
@@ -193,7 +193,7 @@ deployment:
# Image of the app container # Image of the app container
image: image:
repository: docker.willaspace.com/repository/docker-hosted/external-projects/cssd-back repository: docker.meshkee.com/repository/docker-hosted/external-projects/cssd-back
tag: nginx-latest tag: nginx-latest
digest: '' # if set to a non empty value, digest takes precedence on the tag digest: '' # if set to a non empty value, digest takes precedence on the tag
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
@@ -258,7 +258,7 @@ deployment:
# Add additional containers besides init and app containers # Add additional containers besides init and app containers
additionalContainers: additionalContainers:
- name: php-fpm - name: php-fpm
image: docker.willaspace.com/repository/docker-hosted/external-projects/cssd-back:latest image: docker.meshkee.com/repository/docker-hosted/external-projects/cssd-back:latest
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
envFrom: envFrom:
- configMapRef: - configMapRef:
@@ -315,7 +315,7 @@ deployment:
podLabels: podLabels:
# env: prod # env: prod
image: docker.willaspace.com/repository/docker-hosted/external-projects/cssd-back:latest image: docker.meshkee.com/repository/docker-hosted/external-projects/cssd-back:latest
command: command:
- /usr/bin/supervisord - /usr/bin/supervisord
- -n - -n
+2 -2
View File
@@ -1,4 +1,4 @@
FROM docker.willaspace.com/repository/docker-hosted/standard-laravel:8.2-fpm FROM docker.meshkee.com/repository/docker-hosted/standard-laravel:8.2-fpm
WORKDIR /var/www/html WORKDIR /var/www/html
@@ -11,7 +11,7 @@ COPY database /var/www/html/database
COPY composer.* /var/www/html/ COPY composer.* /var/www/html/
RUN composer config --global http-basic.repo.willaspace.com $REGISTRY_USER_NAME $REGISTRY_PASSWORD RUN composer config --global http-basic.repo.meshkee.com $REGISTRY_USER_NAME $REGISTRY_PASSWORD
RUN composer install --no-scripts RUN composer install --no-scripts
+1 -1
View File
@@ -1,3 +1,3 @@
FROM docker.willaspace.com/repository/docker-hosted/nginx:alpine FROM docker.meshkee.com/repository/docker-hosted/nginx:alpine
COPY public /var/www/html/public COPY public /var/www/html/public