Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daniel-simpson/Cloudflare-Enterprise-Workers
https://github.com/daniel-simpson/Cloudflare-Enterprise-Workers
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/daniel-simpson/Cloudflare-Enterprise-Workers
- Owner: daniel-simpson
- Created: 2018-08-06T05:17:44.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-06T05:45:41.000Z (over 6 years ago)
- Last Synced: 2024-08-03T03:04:13.751Z (4 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Cloudflare workers scripts
This repo contains a versioned list of scripts for use with cloudflare's workers.
## CI/CD
Automated deployments are handled using bitbucket pipelines, the detail of which can be seen in `bitbucket-pipelines.yml` in the root of the repo (pretty simple to repurpose for Gitlab CI). This runner runs two tasks:
- Deploy updated scripts to cloudflare, using the [Enterprise API](https://developers.cloudflare.com/workers/api/config-api-for-enterprise/)
- Deploy json configuration to azure blob storage using the SAS key generated on this container.In order to use this functionality you will need to add the following variables to Bitbucket pipelines:
- AZURE_ACCESS_KEY
- AZURE_CONTAINER_NAME
- AZURE_STORAGE_ACCOUNT
- CF_ACCOUNT_TAG (found in Cloudflare dashboard)
- CF_AUTH_KEY (found in Cloudflare portal auth)
- CF_LOGIN_EMAIL