https://docs.docker.com/engine/install/ — Docker Desktop
https://code.visualstudio.com/download — VSCode Editor
services:
ft:
https://docs.docker.com/engine/install/ — Docker Desktop
https://code.visualstudio.com/download — VSCode Editor
services:
ft:
The following demonstrates how to load environment variables and secret values into a software project for local development.
Step 1
]: Create secret records in Google Secret ManagerStep 2
]: Save environment variables and secret references to .env
file(s)Step 3
]: Add a call to loadEnv(environment, options)
where you need those variablesI hereby claim:
To claim this, I am signing this object:
<!-- | |
Craft a meaningful explanation for why this tweak matters and outline the awesome updates you've implemented. Feel free to toss in some snazzy screenshots if you've got 'em. ✨ | |
--> | |
### 🚀 What's new | |
- [ ] Some change... | |
- [ ] | |
### 📣 Special notes for reviewer |
Install got
and oauth-1.0a
NPM dependencies.
import { TwitterClient } from "./twitter";
// Initializes a new Twitter client using OAuth 1.0a credentials
const twitter = new TwitterClient({
// Twitter App credentials (API key and secret)
Assuming you have the root-level main.yml
and a couple of reusable workflows main-a.yml
and main-b.yml
.
Your goal is to run the the workflows A and B automatically as part of the main (root) workflow as well as being able to fire up them manually one by one for different environments.
The top-level (root) workflow would looks something like this:
# GitHub Actions Workflow (example) | |
# .github/workflows/main.yml | |
name: CI/CD | |
on: | |
push: | |
branches: [main] | |
tags: | |
- "v*" |
Allow retrieving an OAuth 2.0 authentication token for interacting with Google services using the service account key.
Base64-encode your service account JSON key and save it to *.env
files (GOOGLE_CLOUD_CREDENTIALS
)
import { getAuthToken, Env } from "core";
export default {
interface PluginConfigTypes { | |
gtag: { | |
trackingID: string | |
} | |
otherPlugin: { | |
test: number | |
} | |
} | |
type Config<K extends keyof PluginConfigTypes> = { |