Rebuild and push the imagess to test the pipeline
This commit is contained in:
parent
e4bf087ce5
commit
6f16d462fb
@ -38,7 +38,7 @@ steps:
|
|||||||
from_secret: DOCKER_USERNAME
|
from_secret: DOCKER_USERNAME
|
||||||
password:
|
password:
|
||||||
from_secret: DOCKER_PASSWORD
|
from_secret: DOCKER_PASSWORD
|
||||||
|
|
||||||
update-values-frontend:
|
update-values-frontend:
|
||||||
name: Update frontend tag in values.yaml
|
name: Update frontend tag in values.yaml
|
||||||
image: alpine:3.19
|
image: alpine:3.19
|
||||||
@ -55,7 +55,7 @@ steps:
|
|||||||
- apk add --no-cache git yq
|
- apk add --no-cache git yq
|
||||||
- git config --global user.name "woodpecker-bot"
|
- git config --global user.name "woodpecker-bot"
|
||||||
- git config --global user.email "ci@dvirlabs.com"
|
- git config --global user.email "ci@dvirlabs.com"
|
||||||
- git clone "https://${GIT_USERNAME}:${GIT_TOKEN}@git.dvirlabs.com/dvirlabs/my-apps.git"
|
- git clone "https://$${GIT_USERNAME}:$${GIT_TOKEN}@git.dvirlabs.com/dvirlabs/my-apps.git"
|
||||||
- cd my-apps
|
- cd my-apps
|
||||||
- yq -i '.frontend.tag = "${CI_COMMIT_SHA:0:7}"' manifests/labmap/values.yaml
|
- yq -i '.frontend.tag = "${CI_COMMIT_SHA:0:7}"' manifests/labmap/values.yaml
|
||||||
- git add manifests/labmap/values.yaml
|
- git add manifests/labmap/values.yaml
|
||||||
@ -78,7 +78,7 @@ steps:
|
|||||||
- apk add --no-cache git yq
|
- apk add --no-cache git yq
|
||||||
- git config --global user.name "woodpecker-bot"
|
- git config --global user.name "woodpecker-bot"
|
||||||
- git config --global user.email "ci@dvirlabs.com"
|
- git config --global user.email "ci@dvirlabs.com"
|
||||||
- git clone "https://${GIT_USERNAME}:${GIT_TOKEN}@git.dvirlabs.com/dvirlabs/my-apps.git"
|
- git clone "https://$${GIT_USERNAME}:$${GIT_TOKEN}@git.dvirlabs.com/dvirlabs/my-apps.git"
|
||||||
- cd my-apps
|
- cd my-apps
|
||||||
- yq -i '.backend.tag = "${CI_COMMIT_SHA:0:7}"' manifests/labmap/values.yaml
|
- yq -i '.backend.tag = "${CI_COMMIT_SHA:0:7}"' manifests/labmap/values.yaml
|
||||||
- git add manifests/labmap/values.yaml
|
- git add manifests/labmap/values.yaml
|
||||||
|
|||||||
@ -24,7 +24,7 @@ DATA_FILE = "diagram.json"
|
|||||||
|
|
||||||
@app.get("/")
|
@app.get("/")
|
||||||
def root():
|
def root():
|
||||||
return {"message": "Check if the server is running"}
|
return {"message": "Check if the backend is running"}
|
||||||
|
|
||||||
@app.get("/diagram/fetch")
|
@app.get("/diagram/fetch")
|
||||||
def fetch_diagram():
|
def fetch_diagram():
|
||||||
|
|||||||
@ -4,4 +4,4 @@ function App() {
|
|||||||
return <Diagram />;
|
return <Diagram />;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default App;
|
export default App;
|
||||||
Loading…
x
Reference in New Issue
Block a user