Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CD : secrets 변수 인식 못함 #11

Closed
yooniversal opened this issue Jul 26, 2023 · 0 comments · Fixed by #12
Closed

CD : secrets 변수 인식 못함 #11

yooniversal opened this issue Jul 26, 2023 · 0 comments · Fixed by #12
Labels
🐞 BugFix Something isn't working

Comments

@yooniversal
Copy link
Contributor

  • secretsapplication.yml, application-oauth.yml 값을 저장해 불러와서 쓰는 용도로 사용중이었으나 불러오는 과정 중 문제 발생
  • 환경변수 선언 및 초기화 후 활용해볼 예정
  • deliver application.yml 에러 내용
echo "***
    ***
          **
...
      ***
  " > ./src/main/resources/application.yml
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    AWS_REGION: ap-northeast-2
    S3_BUCKET_NAME: fittering-bucket-test
    CODE_DEPLOY_APPLICATION_NAME: fittering-codedeploy-app
    CODE_DEPLOY_DEPLOYMENT_GROUP_NAME: fittering-codedeploy-group
    JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.7-7/x64
    JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.7-7/x64
    GRADLE_BUILD_ACTION_CACHE_RESTORED: true
    AWS_DEFAULT_REGION: ap-northeast-2
    AWS_ACCESS_KEY_ID: ***
    AWS_SECRET_ACCESS_KEY: ***
/home/runner/work/_temp/103966c5-f671-435c-bc34-a73f8c8b58c9.sh: line 100: ***
...
      ***
: bad substitution
Error: Process completed with exit code 1.

References

@yooniversal yooniversal linked a pull request Jul 26, 2023 that will close this issue
@yooniversal yooniversal added the 🐞 BugFix Something isn't working label Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 BugFix Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant