GithubHelp home page GithubHelp logo

attest-release-scripts's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

attest-release-scripts's Issues

Release script breaks if CHANGELOG.md does not exist

When testing out changes from #12, I noticed this:

~/dev/src/github.com/dequelabs/testing-repo on master ∴ CIRCLE_PROJECT_REPONAME=testing-repo CIRCLE_PROJECT_USERNAME=dequelabs ../attest-release-scripts/src/java-github-release.sh
Releasing v3.5.1
../attest-release-scripts/src/java-github-release.sh: line 10: CHANGELOG.md: No such file or directory

This isn't a blocker right now, but it will cause issues when we run the scripts on a new project.

Add a script for nodejs canary versions

We have something like the following copied into countless repos. It'd be nice if we could just grab it (or something similar) from here rather than rewriting it for every new project.

#!/usr/bin/env node

const fs = require('fs')
const pkg = require('../client/package.json')

if (!process.env.CIRCLE_SHA1) {
  throw new Error('No CIRCLE SHA available.')
}

const next = pkg.version + '-next.' + process.env.CIRCLE_SHA1.substring(0, 8)
pkg.version = next
fs.writeFileSync('./client/package.json', JSON.stringify(pkg, null, 2))

docker-push-to-ecr: Add support for providing a custom ECR address

auth-service (and potentially others) will soon be deploying two Docker images to ECR (a "regular" image for us to use in production and an "on prem" image for customers). We could support this by using the --suffix flag (--suffix=onprem), but ideally we'd just have separate ECRs (auth-service and auth-service-on-prem). In order to support this here, we should create an --ecr= (or --repo=?) argument which will override the {env}_ECR environment variables.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.