Skip to content

Commit

Permalink
Staging url update (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
keijoraamat authored May 26, 2021
1 parent f91c30c commit 55a56b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_deploy_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
rm kubeconfig
echo "server obs.tld.ee
zone pilv.tld.ee
update add rwhois-"$PR_REF".riigi.pilv.tld.ee. 3600 CNAME riigi.pilv.tld.ee.
update add rwhois-"$PR_REF".pilv.tld.ee. 3600 CNAME riigi.pilv.tld.ee.
send
" | nsupdate -k ~/Kgh-runner.infra.tld.ee.+165+27011.key
if [ "$?" -eq "0" ]; then
Expand All @@ -128,6 +128,6 @@ jobs:
"text": "##### Build and deploy from pull request has been succesful :tada:\n
| Project | Branch | :net: |
|:-----------|:----------------------:|:------------------------------------------:|
| **'$REPO'**|'${{ github.head_ref }}'| https://rwhois-'$PR_REF'.riigi.pilv.tld.ee |
| **'$REPO'**|'${{ github.head_ref }}'| https://rwhois-'$PR_REF'.pilv.tld.ee |
"
}' $NOTIFICATION_URL
4 changes: 2 additions & 2 deletions .github/workflows/remove_st_after_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
rm -rf "$PR_REF"
echo "server obs.tld.ee
zone pilv.tld.ee
update delete rwhois-"$PR_REF".riigi.pilv.tld.ee.
update delete rwhois-"$PR_REF".pilv.tld.ee.
send
" | nsupdate -k ~/Kgh-runner.infra.tld.ee.+165+27011.key
if [ "$?" -eq "0" ]; then
Expand All @@ -96,6 +96,6 @@ jobs:
"text": "##### Pull request was succesful, it has been merged :bowtie:\n
| Project | Branch | :net: |
|:-----------|:----------------------:|:------------------------------------------:|
| **'$REPO'**|'${{ github.head_ref }}'| ~~https://rwhois-'$PR_REF'.riigi.pilv.tld.ee~~ |
| **'$REPO'**|'${{ github.head_ref }}'| ~~https://rwhois-'$PR_REF'.pilv.tld.ee~~ |
"
}' $NOTIFICATION_URL

0 comments on commit 55a56b8

Please sign in to comment.