Commit 8ead6ae7 authored by El Mghazli Yacine's avatar El Mghazli Yacine

cleanup

parent 6e915cd6
......@@ -2,7 +2,6 @@ stages:
- install
- build
- publish
- deploy
variables:
TRION_CLI_VERSION: 12.2.4
......@@ -63,45 +62,3 @@ on-gitlab:
only:
- dev
- master
on-heroku:
stage: publish
dependencies:
- build
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
before_script:
- mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"registry.heroku.com\":{\"username\":\"_\",\"password\":\"$HEROKU_API_KEY\"}}}" > /kaniko/.docker/config.json
script:
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile Dockerfile --destination registry.heroku.com/$HEROKU_APP_NAME/web
only:
- dev
herokuapp:
stage: deploy
image: node:lts-alpine
before_script:
- apk update && apk add curl bash
- rm -rf /var/cache/apk/*
- curl https://cli-assets.heroku.com/install.sh | sh
script:
- heroku container:release web --app $HEROKU_APP_NAME
environment:
name: heroku-dev
url: https://lsdngx.herokuapp.com
only:
- dev
on-gke:
stage: deploy
image: alpine/k8s:1.20.7
script:
- kubectl config use-context lsd5/k8s:gke-agent
- kubectl apply -f k8s/manifest.yaml --namespace=$NAMESPACE
environment:
name: gke-master
url: https://lsd.nutridata.io
only:
- master
{
"name": "lsdngx",
"name": "ngx",
"version": "2.0.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "lsdngx",
"name": "ngx",
"version": "2.0.0",
"dependencies": {
"@angular/animations": "~13.2.6",
{
"name": "lsdngx",
"name": "ngx",
"version": "2.0.0",
"scripts": {
"lint": "ng lint",
......
......@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>LsdNgx</title>
<title>ngx</title>
<base href="/" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="favicon.ico" />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment