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

cleanup

parent 6e915cd6
...@@ -2,7 +2,6 @@ stages: ...@@ -2,7 +2,6 @@ stages:
- install - install
- build - build
- publish - publish
- deploy
variables: variables:
TRION_CLI_VERSION: 12.2.4 TRION_CLI_VERSION: 12.2.4
...@@ -63,45 +62,3 @@ on-gitlab: ...@@ -63,45 +62,3 @@ on-gitlab:
only: only:
- dev - dev
- master - 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", "version": "2.0.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "lsdngx", "name": "ngx",
"version": "2.0.0", "version": "2.0.0",
"dependencies": { "dependencies": {
"@angular/animations": "~13.2.6", "@angular/animations": "~13.2.6",
{ {
"name": "lsdngx", "name": "ngx",
"version": "2.0.0", "version": "2.0.0",
"scripts": { "scripts": {
"lint": "ng lint", "lint": "ng lint",
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<title>LsdNgx</title> <title>ngx</title>
<base href="/" /> <base href="/" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="favicon.ico" /> <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