Skip to content

Jreamz/its_cdktf_base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

A base package which defines all of our cdktf for our customer stacks.

Requirements

See also the Getting started wiki for further detailed instructions

Test, Synthesize & Deploy

  • ** The below commands are for reference, synthesis and deployments are done within stacks that consume this package **
  • Testing resource synthesis and deployment is done using the cdktf-cli
  • Basic synthesis: cdktf synth
  • Basic deployment: cdktf deploy
  • You can run cat help inside this package to learn more
  • You can also run cdktf -help for further guidance

Pipeline - Build and Publish

  • This package is published to an Azure artifact feed, so it can be consumed by other customer stacks
  • Changes are built and then published to an Azure Artifacts feed via a build pipeline
  • The Azure Artifact feed is its-cdktf-base
  • You still need to run 'poetry version patch' and include the pyproject.toml in your commit
  • It is important you follow the above step, otherwise the version in the pipeline and feed will not have parity

Manual - Build & Publish

  • This should be avoided generally speaking
  • To build and publish this package locally to the Azure artifact feed:
    • You will need to install twine, keyring, artifacts-keyring
    • Within your poetry virtualenv you can poetry add twine keyring artifacts-keyring
    • Then run poetry install
  • Steps to manually build and publish are quite simple
    • Run poetry version patch
    • Run poetry build
    • Run twine upload -r its-cdktf-base dist/*
  • If you're using Linux, ensure you've installed the prerequisites, which are required for artifacts-keyring.

CDKTF references

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published