Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NyxUI.jl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nyx
NyxUI.jl
Commits
a51f464f
Commit
a51f464f
authored
5 months ago
by
François LAURENT
Browse files
Options
Downloads
Patches
Plain Diff
fix: all pipelines run on gitlab.pasteur.fr only
parent
1898c99a
No related branches found
No related tags found
1 merge request
!2
UX improvements
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-6
4 additions, 6 deletions
.gitlab-ci.yml
with
4 additions
and
6 deletions
.gitlab-ci.yml
+
4
−
6
View file @
a51f464f
...
@@ -57,8 +57,6 @@ build dev on gitlab.pasteur.fr:
...
@@ -57,8 +57,6 @@ build dev on gitlab.pasteur.fr:
-
envsubst < k8s/front-deployment.yaml | kubectl apply -n "$NAMESPACE" -f -
-
envsubst < k8s/front-deployment.yaml | kubectl apply -n "$NAMESPACE" -f -
-
envsubst < k8s/front-service.yaml | kubectl apply -n "$NAMESPACE" -f -
-
envsubst < k8s/front-service.yaml | kubectl apply -n "$NAMESPACE" -f -
-
envsubst < k8s/ingress.yaml | kubectl apply -n "$NAMESPACE" -f -
-
envsubst < k8s/ingress.yaml | kubectl apply -n "$NAMESPACE" -f -
rules
:
-
if
:
$CI_PROJECT_ID == $GITLAB_PASTEUR_PROJECT_ID
# gitlab.pasteur.fr only
.deploy-with-helm
:
.deploy-with-helm
:
stage
:
deploy
stage
:
deploy
...
@@ -78,8 +76,6 @@ build dev on gitlab.pasteur.fr:
...
@@ -78,8 +76,6 @@ build dev on gitlab.pasteur.fr:
--set ingress.hosts[0].host="$PUBLIC_URL"
--set ingress.hosts[0].host="$PUBLIC_URL"
--set ingress.hosts[0].paths[0].path="/"
--set ingress.hosts[0].paths[0].path="/"
--set ingress.hosts[0].paths[0].pathType="Prefix"
--set ingress.hosts[0].paths[0].pathType="Prefix"
rules
:
-
if
:
$CI_PROJECT_ID == $GITLAB_PASTEUR_PROJECT_ID
# gitlab.pasteur.fr only
deploy to pasteur.cloud
:
deploy to pasteur.cloud
:
extends
:
.deploy-with-manifests
extends
:
.deploy-with-manifests
...
@@ -90,7 +86,8 @@ deploy to pasteur.cloud:
...
@@ -90,7 +86,8 @@ deploy to pasteur.cloud:
name
:
k8sprod-02/nyx-prod
name
:
k8sprod-02/nyx-prod
url
:
https://nyx.pasteur.cloud
url
:
https://nyx.pasteur.cloud
rules
:
rules
:
-
if
:
$CI_COMMIT_BRANCH == "main"
-
if
:
($CI_COMMIT_BRANCH == "main" &&
$CI_PROJECT_ID == $GITLAB_PASTEUR_PROJECT_ID)
# gitlab.pasteur.fr only
when
:
manual
when
:
manual
deploy to dev.pasteur.cloud
:
deploy to dev.pasteur.cloud
:
...
@@ -102,5 +99,6 @@ deploy to dev.pasteur.cloud:
...
@@ -102,5 +99,6 @@ deploy to dev.pasteur.cloud:
name
:
k8sdev-01/nyx-dev
name
:
k8sdev-01/nyx-dev
url
:
https://nyx.dev.pasteur.cloud
url
:
https://nyx.dev.pasteur.cloud
rules
:
rules
:
-
if
:
$CI_COMMIT_BRANCH == "dev"
-
if
:
($CI_COMMIT_BRANCH == "dev" &&
$CI_PROJECT_ID == $GITLAB_PASTEUR_PROJECT_ID)
# gitlab.pasteur.fr only
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment