Skip to content

Commit 5365a69

Browse files
authored
Merge pull request #45 from yambottle/master
DEV-58 cert renewal caller
2 parents fe6b0bd + c814ae8 commit 5365a69

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Auto Cert Renewal
2+
3+
on:
4+
workflow_dispatch:
5+
# schedule:
6+
# - cron: '0 0 1 * *'
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
11+
jobs:
12+
call-cert-renewal:
13+
uses: datajoint/.github/.github/workflows/cert-renewal.yaml@main
14+
with:
15+
CERT_CONTACT_EMAIL: "[email protected]"
16+
CERT_STAGING: "True"
17+
# CERT_STAGING: "False"
18+
ROUTE53_ZONE_NAME: "datajoint.io"
19+
ROUTE53_RECORD_NAME: "auto-letsencrypt"
20+
# ROUTE53_RECORD_NAME: "fakeservices"
21+
MANUAL_LETSENCRYPT_REPO: "datajoint/manual-letsencrypt"
22+
MANUAL_LETSENCRYPT_BRANCH: "master"
23+
CALLER_REPO_SUBPATH_FOR_CERT: "./nginx"
24+
PR_REVIEWERS: "yambottle"
25+
# PR_REVIEWERS: "yambottle,ethho,jverswijver"
26+
secrets:
27+
ROUTE53_ZONE_ID: ${{ secrets.ROUTE53_ZONE_ID }}
28+
INSTANCE_VPC_SECURITY_GROUP_IDS: ${{ secrets.INSTANCE_VPC_SECURITY_GROUP_IDS }}
29+
INSTANCE_SUBNET_ID: ${{ secrets.INSTANCE_SUBNET_ID }}
30+
AWS_REGION: ${{ secrets.AWS_REGION }}
31+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
32+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
33+
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}

.github/workflows/development.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Docker Image CI
22

33
on:
44
push:
5+
tags:
6+
- 'v*.*.*'
57
pull_request:
68

79
jobs:

0 commit comments

Comments
 (0)