-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1242 from bcgov/dev-rook-RQ-FOIMOD-3551
Added templates for openinfo publishing cronjobs
- Loading branch information
Showing
11 changed files
with
63 additions
and
228 deletions.
There are no files selected for viewing
14 changes: 0 additions & 14 deletions
14
computingservices/OpenInfoServices/Dockerfile.enqueueforpublish.local
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
computingservices/OpenInfoServices/Dockerfile.enqueueforunpublish.local
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 0 additions & 14 deletions
14
computingservices/OpenInfoServices/Dockerfile.sitemap.local
This file was deleted.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
openshift/templates/openinfoservice/openinfoservice-cronjobs-publish.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: batch/v1 | ||
kind: CronJob | ||
metadata: | ||
name: openinfo-publish-rook | ||
spec: | ||
schedule: "*/30 * * * *" # Runs every 30 minutes | ||
timeZone: America/Vancouver | ||
jobTemplate: | ||
spec: | ||
template: | ||
spec: | ||
containers: | ||
- name: openinfo-publish-job-rook | ||
image: d106d6-tools/reviewer-openinfoservice:dev-rook | ||
args: ["enqueueforpublish"] | ||
envFrom: | ||
- secretRef: | ||
name: openinfo-secret-rook # Reference to the secret containing env variables | ||
imagePullPolicy: Always | ||
restartPolicy: OnFailure |
20 changes: 20 additions & 0 deletions
20
openshift/templates/openinfoservice/openinfoservice-cronjobs-sitemap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: batch/v1 | ||
kind: CronJob | ||
metadata: | ||
name: openinfo-sitemap-rook | ||
spec: | ||
schedule: "*/30 * * * *" # Runs every 30 minutes | ||
timeZone: America/Vancouver | ||
jobTemplate: | ||
spec: | ||
template: | ||
spec: | ||
containers: | ||
- name: openinfo-sitemap-job-rook | ||
image: d106d6-tools/reviewer-openinfoservice:dev-rook | ||
args: ["sitemap"] | ||
envFrom: | ||
- secretRef: | ||
name: openinfo-secret-rook # Reference to the secret containing env variables | ||
imagePullPolicy: Always | ||
restartPolicy: OnFailure |
20 changes: 20 additions & 0 deletions
20
openshift/templates/openinfoservice/openinfoservice-cronjobs-unpublish.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: batch/v1 | ||
kind: CronJob | ||
metadata: | ||
name: openinfo-unpublish-rook | ||
spec: | ||
schedule: "*/30 * * * *" # Runs every 30 minutes | ||
timeZone: America/Vancouver | ||
jobTemplate: | ||
spec: | ||
template: | ||
spec: | ||
containers: | ||
- name: openinfo-unpublish-job-rook | ||
image: d106d6-tools/reviewer-openinfoservice:dev-rook | ||
args: ["enqueueforunpublish"] | ||
envFrom: | ||
- secretRef: | ||
name: openinfo-secret-rook # Reference to the secret containing env variables | ||
imagePullPolicy: Always | ||
restartPolicy: OnFailure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 0 additions & 61 deletions
61
openshift/templates/openinfoservice/openinfoservice-enqueueforpublish-build.yaml
This file was deleted.
Oops, something went wrong.
61 changes: 0 additions & 61 deletions
61
openshift/templates/openinfoservice/openinfoservice-enqueueforunpublish-build.yaml
This file was deleted.
Oops, something went wrong.
61 changes: 0 additions & 61 deletions
61
openshift/templates/openinfoservice/openinfoservice-sitemap-build.yaml
This file was deleted.
Oops, something went wrong.