Skip to content
Snippets Groups Projects
Commit aeea5475 authored by Matthew K Defenderfer's avatar Matthew K Defenderfer
Browse files

hopefully fixed syntax

parent ff468d43
No related branches found
No related tags found
No related merge requests found
...@@ -4,20 +4,19 @@ default: ...@@ -4,20 +4,19 @@ default:
- docker:dind - docker:dind
before_script: before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
interruptible: true interruptible: true
variables:
- SECURE_FILES_DOWNLOAD_PATH='.secure'
stages: stages:
- pre-build - pre-build
- build - build
get-credentials: get-credentials:
stage: pre-build stage: pre-build
variables:
- SECURE_FILES_DOWNLOAD_PATH: '.secure'
script: script:
- echo "Copying secure file with FeBio login ..." - echo "Copying secure file with FeBio login ..."
- curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
- export USERNAME=$(grep 'username:' ${SECURE_FILE_DOWNLOAD_PATH}/febio_login.txt | cut -d ':' -f2 | tr -d ' ') - export USERNAME=$(grep 'username:' ${SECURE_FILE_DOWNLOAD_PATH}/febio_login.txt | cut -d ':' -f2 | tr -d ' ')
- export PASSWORD=$(grep 'password:' ${SECURE_FILE_DOWNLOAD_PATH}/febio_login.txt | cut -d ':' -f2 | tr -d ' ') - export PASSWORD=$(grep 'password:' ${SECURE_FILE_DOWNLOAD_PATH}/febio_login.txt | cut -d ':' -f2 | tr -d ' ')
- echo "Extracted username $USERNAME" - echo "Extracted username $USERNAME"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment