github.com/coreos/mantle@v0.13.0/cmd/plume/README.md (about)

     1  # plume
     2  
     3  CoreOS release utility
     4  
     5  ## Testing
     6  
     7  ### Build a release image with the SDK
     8  
     9  ```sh
    10  export COREOS_BUILD_ID=$(date +%Y-%m-%d-%H%M)
    11  KEYID="<keyid>"
    12  gpg2 --armor --export "$KEYID" > ~/keyfile
    13  ./build_packages
    14  ./build_image --upload --sign="$KEYID" prod
    15  for format in ami_vmdk azure gce; do
    16      ./image_to_vm.sh --format=$format --upload --sign="$KEYID"
    17  done
    18  ```
    19  
    20  ### Perform the "release"
    21  
    22  ```sh
    23  bin/plume pre-release -C user --verify-key ~/keyfile -V $version-$COREOS_BUILD_ID
    24  bin/plume release -C user -V <version>-$COREOS_BUILD_ID
    25  ```
    26  
    27  ### Clean up
    28  
    29  Delete:
    30  
    31  - Stuff uploaded into `gs://users.developer.core-os.net/$USER`
    32  - GCE image in `coreos-gce-testing`
    33  - AWS AMIs and snapshots in `us-west-1`, `us-west-2`, and `us-east-2`