Skip to content

Commit

Permalink
ci fix: add new folders for certificate generation, adjusted script f…
Browse files Browse the repository at this point in the history
…or copying csms certificates, add everest scripts to e2e test script
  • Loading branch information
usuletw022 committed Mar 22, 2024
1 parent 2045508 commit 4a80a26
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 3 deletions.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
2 changes: 1 addition & 1 deletion e2e_tests/everest/scripts/copy-csms-cert.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
default_csms_dir="${script_dir}"/../../../../maeve-csms
default_csms_dir="${script_dir}"/../../..
csms_dir="${1:-$default_csms_dir}"

cp "$csms_dir"/config/certificates/csms.pem "$script_dir"/../config/certificates
Expand Down
4 changes: 2 additions & 2 deletions e2e_tests/run-e2e-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ start_docker_compose_for_maeve_csms() {

# Function to start Docker Compose
start_docker_compose_for_everest() {
source "$SCRIPT_DIR/everest/scripts/copy-csms-cert.sh"
source "$SCRIPT_DIR/everest/scripts/setup-everest.sh"
cd "$EVEREST_DIR"
make up
echo "PRINT CURRENT DIRECTORY"
pwd
ls everest/config/everest/certs
if [ $? -ne 0 ]; then
echo "Failed to start Docker Compose for tests"
Expand Down

0 comments on commit 4a80a26

Please sign in to comment.