Compare commits

11 Commits
v0.0.3 ... main

Author SHA1 Message Date
c5ff158ce1 v0.0.8
All checks were successful
Build And Test / build-and-push (push) Successful in 2m50s
2025-10-22 19:21:50 +09:00
0052ab2f15 update
All checks were successful
Build And Test / build-and-push (push) Successful in 2m37s
2025-10-22 11:22:34 +09:00
b28f08ab22 test complete
All checks were successful
Build And Test / build-and-push (push) Successful in 3m4s
2025-10-22 10:57:11 +09:00
4b69ca4866 test6
All checks were successful
Build And Test / build-and-push (push) Successful in 6s
2025-10-22 10:55:10 +09:00
bc992e2897 test5
All checks were successful
Build And Test / build-and-push (push) Successful in 7s
2025-10-22 10:54:33 +09:00
0b2b68e3a2 test4
Some checks failed
Build And Test / build-and-push (push) Failing after 7s
2025-10-22 10:53:42 +09:00
d4aef31b4b test3
Some checks failed
Build And Test / build-and-push (push) Failing after 5s
2025-10-22 10:53:04 +09:00
ab2e69c1ae update
All checks were successful
Build And Test / build-and-push (push) Successful in 6s
2025-10-22 10:49:31 +09:00
5afc08d278 tag change test1
All checks were successful
Build And Test / build-and-push (push) Successful in 2m56s
2025-10-22 10:40:48 +09:00
8616dcea74 tag change test
All checks were successful
Build And Test / build-and-push (push) Successful in 2m49s
2025-10-22 10:32:41 +09:00
017cf265ce update ENV
All checks were successful
Build And Test / build-and-push (push) Successful in 3m17s
2025-10-13 14:34:52 +09:00
4 changed files with 26 additions and 6 deletions

View File

@ -24,7 +24,7 @@ jobs:
uses: juliangruber/read-file-action@v1
with:
path: ./version
### off-test ###
- name: Install Docker // Docker 설치
run: |
curl -fsSL https://get.docker.com -o get-docker.sh
@ -43,7 +43,7 @@ jobs:
- name: Push to Docker
run: docker push harbor.icurfer.com/msa-demo/msa-django-ansible:${{ steps.img-ver.outputs.content }}
### off-test ###
## pre cd
- name: Setup Kustomize
uses: yokawasa/action-setup-kube-tools@v0.9.2
@ -63,6 +63,26 @@ jobs:
cd cd-msa-django-ansible/overlays/dev/
kustomize edit set image harbor.icurfer.com/msa-demo/msa-django-ansible:${{ steps.img-ver.outputs.content }}
cat kustomization.yaml
# - name: Update Kubernetes resources
# run: |
# cd cd-msa-django-ansible/overlays/dev/
# echo "✅ Updating image tag..."
# kustomize edit set image harbor.icurfer.com/msa-demo/msa-django-ansible:${{ steps.img-ver.outputs.content }}
# echo "✅ Installing yq..."
# wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/download/v4.44.3/yq_linux_amd64
# chmod +x /usr/local/bin/yq
# echo "✅ Updating container name in patch-deployment.yaml..."
# yq e -i '.spec.template.spec.containers[0].name = "msa-django-ansible-${{ steps.img-ver.outputs.content }}"' patch-deployment.yaml
# echo "✅ Final patch-deployment.yaml content:"
# cat patch-deployment.yaml
# echo "✅ Final kustomization.yaml content:"
# cat kustomization.yaml
## cd commit
- name: Commit files

View File

@ -8,7 +8,7 @@ from .models import AnsibleTask
def get_ssh_key_from_auth_server(access_token: str) -> str:
url = settings.AUTH_VERIFY_URL + "/api/auth/ssh-key/view/"
url = settings.AUTH_APP_URL + "/api/auth/ssh-key/view/"
print(url)
headers = {"Authorization": f"Bearer {access_token}"}
response = requests.get(url, headers=headers)

View File

@ -102,7 +102,7 @@ LOGGING = {
if DEBUG:
LOGGING['loggers']['django.db.backends']['level'] = 'DEBUG'
AUTH_VERIFY_URL = os.environ.get('AUTH_VERIFY_URL', 'NONE')
AUTH_APP_URL = os.environ.get('AUTH_APP_URL', 'NONE')
ALLOWED_HOSTS = ["*"]

View File

@ -1 +1 @@
v0.0.3
v0.0.8