Fakultas Ilmu Komputer UI

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

Fix the URL targeted by BDD test

parent 88e0c11c
No related branches found
No related tags found
No related merge requests found
......@@ -108,10 +108,6 @@ deploy:
SSH_PRIVATE_KEY: $DOKKU_SSH_PRIVATE_KEY
GIT_DEPTH: "0"
rules: !reference [.upstream-deploy-production-rules, rules]
before_script:
- chmod +x .gitlab/dokku-ci-pre-deploy.sh
- mkdir -p ./bin
- cp .gitlab/dokku-ci-pre-deploy.sh ./bin/ci-pre-deploy
script:
- dokku-deploy
after_script:
......@@ -134,7 +130,7 @@ bdd-test:
before_script:
- apt-get update && apt-get install -y firefox
- sed -i "s#headless.mode = false#headless.mode = true#" src/test/resources/serenity.conf
- sed -i "s#http://localhost:8080#http://sitodo-pmpl.dokku-ppl.cs.ui.ac.id#" src/test/resources/serenity.conf
- sed -i "s#http://localhost:8080#http://sitodo-pmpl.dokku-ppl.cs.ui.ac.id:8080#" src/test/resources/serenity.conf
script:
- mvn -P bdd clean verify
dependencies: []
......
#!/bin/sh -l
# Based on: https://github.com/dokku/ci-docker-image/pull/28
# TODO: Allow custom SPRING_PROFILES_ACTIVE set from the CI
ssh "$SSH_REMOTE" -- config:set "$APP_NAME" "SPRING_PROFILES_ACTIVE=hsqldb"
echo "Configured the app to run using hsqldb profile"
ssh "$SSH_REMOTE" -- config:set "$APP_NAME" "SPRING_PROFILES_ACTIVE=postgresql"
echo "Configured the app to run using postgresql profile"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment