Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit b1cd135a authored by Daya Adianto's avatar Daya Adianto
Browse files

Prepare codebase for SQA course

parent 452aa06a
Branches
No related tags found
No related merge requests found
......@@ -28,7 +28,6 @@ include:
stages:
- build
- test
- deploy
- report
.upstream-deploy-production-rules:
......@@ -86,29 +85,6 @@ test:
junit:
- target/surefire-reports/TEST-*.xml
deploy:
stage: deploy
image: docker.io/dokku/ci-docker-image:0.9.3
rules: !reference [.upstream-deploy-production-rules, rules]
variables:
APP_NAME: spring-petclinic-rest
GIT_DEPTH: "0"
SSH_REMOTE: "ssh://dokku@dokku-ppl.cs.ui.ac.id:22"
GIT_REMOTE_URL: "$SSH_REMOTE/$APP_NAME"
SSH_PRIVATE_KEY: $PRODUCTION_SSH_PRIVATE_KEY
BRANCH: $CI_DEFAULT_BRANCH
script:
- dokku-deploy
- sh .gitlab/dokku-ci-post-deploy.sh
after_script:
- dokku-unlock
environment:
name: production
url: "https://$APP_NAME.dokku-ppl.cs.ui.ac.id"
needs:
- test
dependencies: []
visualize-coverage:
stage: report
image: registry.gitlab.com/haynes/jacoco2cobertura:1.0.9
......
# REST version of Spring PetClinic Sample Application (spring-framework-petclinic extend )
# REST version of Spring PetClinic Sample Application (spring-framework-petclinic extend)
[![Build Status](https://github.com/spring-petclinic/spring-petclinic-rest/actions/workflows/maven-build.yml/badge.svg)](https://github.com/spring-petclinic/spring-petclinic-rest/actions/workflows/maven-build.yml)
[![pipeline status](https://gitlab.cs.ui.ac.id/pmpl/examples/spring-petclinic-rest/badges/csui/pipeline.svg)](https://gitlab.cs.ui.ac.id/pmpl/examples/spring-petclinic-rest/-/commits/csui)
[![coverage report](https://gitlab.cs.ui.ac.id/pmpl/examples/spring-petclinic-rest/badges/csui/coverage.svg)](https://gitlab.cs.ui.ac.id/pmpl/examples/spring-petclinic-rest/-/commits/csui)
This backend version of the Spring Petclinic application only provides a REST API. **There is no UI**.
The [spring-petclinic-angular project](https://github.com/spring-petclinic/spring-petclinic-angular) is a Angular front-end application which consumes the REST API.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment