Releases, images and licenses
This page describes how a GlassOps release is cut, which image tags exist, and how the license scan and the third party notices work.
What is in which release
v1.0.0 is the first final release, v1.0.1 and v1.0.2 are patch releases, and v1.1.0, v1.2.0 and v1.4.0 are minor releases. There is no v1.3.0. The earlier tags v0.3.0, v0.4.0, v1.0.0-rc.1, v1.0.0-rc.2, v1.0.0-rc.3, v1.1.0-rc.1, v1.2.0-rc.1, v1.2.0-rc.2, v1.3.0-rc.1 and v1.4.0-rc.1 are prereleases, listed on the releases page. This table says which tag first has each command or feature, so you can tell what an older pinned version lacks. Everything in it is in v1.4.0, except rows marked unreleased, which are on main and not in a tag yet. v1.0.2 is a fix release on the 1.0 line, and what it first has is in v1.4.0 too. The rows for v1.3.0-rc.1 first reached a final release in v1.4.0.
The 1.0 line is frozen. v1.0.2 is its last release, and fixes go to the newest minor release only. If you pin a 1.0 version, move to v1.4.0 or @v1.
| Command or feature | First release |
|---|---|
init, doctor, describe, plan, validate |
v0.3.0 |
gate, permit verify, deploy, report |
v0.3.0 |
env create, env delete, env sweep |
v0.4.0 |
test, check, analyze and the glassops-analyzer image |
v0.4.0 |
run and the default pr and deploy pipelines |
v0.4.0 |
| The reusable GitHub workflows and the consumer example | v0.4.0 |
verify, and verify in the default deploy pipeline |
v1.0.0-rc.1 |
Provider exec and the engine result schema |
v1.0.0-rc.1 |
| The Bitbucket and GitLab CI layers | v1.0.0-rc.1 |
env create applying definition settings |
v1.0.0-rc.1 |
test.coverage.class_scope |
v1.0.0-rc.1 |
The hardened PERMIT: change_set_sha256, the lifetime and key checks, gate --deploy-command |
v1.0.0-rc.1 |
deploy refusing a tree that is not the PERMIT commit, the window cap on expires_at, and --resume limits |
v1.0.0-rc.1 |
The YAML limits on glassops.yaml |
v1.0.0-rc.1 |
The license scan, THIRD_PARTY_NOTICES and the release tag rules below |
v1.0.0-rc.1 |
permit verify --deploy-command, a PERMIT ending when a blackout for its tier begins, and the change set hash that validate records |
v1.0.0-rc.2 |
RunRelevantTests: verify passes a change set with no Apex that ran no tests, and gate does not bind such a validation for a quick deploy |
v1.0.0-rc.2 |
Test classes decided by the @IsTest annotation, and Apex interfaces and enums exempt from coverage_min |
v1.0.0-rc.3 |
verify matching GlobalValueSet members that a deploy reports with a __gvs suffix |
v1.0.0-rc.3 |
RunRelevantTests accepted as a test_level in glassops.yaml. Before this, the config check refused it |
v1.0.1 |
validate waiting for the final status when the Salesforce CLI stops watching a validate that is still running |
v1.0.1 |
A login that fails with fetch failed, a connection failure, is retried like the other network errors |
v1.0.1 |
Sigstore signing of PERMITs, with policy.permit |
v1.1.0-rc.1 |
Opt-in Rego rules, with policy.rego |
v1.1.0-rc.1 |
The pull request comment, with report --pr-comment and report.pr_comment |
v1.1.0-rc.1 |
OpenTelemetry export, with telemetry.otlp |
v1.1.0-rc.1 |
cosign and opa in both images |
v1.1.0-rc.1 |
The reusable workflows asking for id-token: write (deploy) and pull-requests: write (PR), which the calling job must grant |
v1.1.0-rc.1 |
validate_passed: gate denies the PERMIT when the validate of this plan for this target did not pass, on prod by default |
v1.0.2 |
coverage_min reading skipped when the change set has no Apex class with coverage to measure |
v1.0.2 |
targets.<name>.plan.scope and plan --scope, to plan the whole source or a delta per target, and doctor printing each target's plan scope |
v1.2.0-rc.1 |
plan --target accepting a name that is only under environments |
v1.2.0-rc.1 |
deploy leaving glassops/deployed/<target> alone for a tier ephemeral target |
v1.2.0-rc.1 |
Exec steps with a target: a pipeline exec step that runs logged in to a target, bound by the PERMIT with gate --exec-command |
v1.2.0-rc.2 |
| The session's access token revoked at the target when an exec step with a target ends | v1.2.0-rc.2 |
The ephemeral automatic PERMIT only for tier ephemeral. A drill or uat target on a scratch org runs every rule of its tier |
v1.3.0-rc.1 |
The signed validate_result in the PERMIT, naming the validate that stood behind the decision |
v1.3.0-rc.1 |
Named logins on one target, targets.<name>.logins and login on an exec step or operation, with doctor --auth checking each one against the target's org Id |
v1.3.0-rc.1 |
The Dev Hub reserve check in env create, set with environments.<name>.reserve.api_requests |
v1.3.0-rc.1 |
Operations: the operations block, policy.operations, gate --ops, op on exec steps, and deploy refusing an operations PERMIT |
v1.3.0-rc.1 |
permit.kind in the facts document, deploy or operations, for Rego rules |
v1.3.0-rc.1 |
policy.operations.identity and issuer, so operations signed with Sigstore in their own workflow verify |
v1.3.0-rc.1 |
gate refusing to sign with Sigstore when its own signature would not verify against the configured identity, issuer and repository |
v1.3.0-rc.1 |
The Salesforce community plugin (sf community publish) installed in the glassops image, so an exec step never installs it on first use |
v1.3.0-rc.1 |
Operation params: a list run that runs with no shell, params with enum, pattern, file and default, and gate --ops --param |
v1.4.0-rc.1 |
operation_params in the PERMIT, the argv:v1 digest of a list run, the permit.params.<operation>.<param> facts, and the values in the PR comment and permit verify |
v1.4.0-rc.1 |
glassops op, to run one operation that gate --ops has already allowed |
v1.4.0-rc.1 |
tools.sf.plugins at exact versions, glassops setup to install them, doctor reporting their versions, and steps with a target refusing when one is missing |
v1.4.0-rc.1 |
GLASSOPS_PERMIT_KEY, ACTIONS_ID_TOKEN_REQUEST_URL and ACTIONS_ID_TOKEN_REQUEST_TOKEN removed from every sf command GlassOps runs, every exec step with a target and every plugin install |
v1.4.0-rc.1 |
targets.<name>.kind, checked by the guard, and kind_source: declared in the PERMIT target and the target.kind_source fact when gate --no-connect records a kind from the config |
unreleased |
Release tags
A release starts when a tag such as v1.2.3 is pushed. The release workflow only starts for tags that begin like v1.2.3. scripts/release/tags.sh accepts vMAJOR.MINOR.PATCH with an optional suffix such as -rc1, and exits 2 for anything else, such as v1.2.3.4, so the plan job fails and nothing is published. It decides what a tag publishes, and scripts/release/test-tags.sh tests those rules.
| Tag | Kind | Image tags | GitHub release | Git tag moved |
|---|---|---|---|---|
v1.2.3-rc1 |
prerelease | 1.2.3-rc1, v1.2.3-rc1 |
marked as a prerelease | none |
v0.4.0 |
prerelease, because the major version is 0 | 0.4.0, v0.4.0 |
marked as a prerelease | none |
v1.2.3 |
final | 1.2.3, v1.2.3, v1, latest |
a draft you publish yourself | v1 moves to the release commit |
v1.0.2 after v1.1.0 |
final, on an older line | 1.0.2, v1.0.2 |
a draft you publish yourself, not marked latest | none |
Details:
- The binaries go to a draft GitHub release. Publishing it stays a deliberate step.
- The images
ghcr.io/glassops-platform/glassopsandghcr.io/glassops-platform/glassops-analyzerare built forlinux/amd64andlinux/arm64. - The moving tags
v1andlatestchange only on a final release, so a prerelease never becomes what@v1runs. - They also never move back.
v1moves only for the highest final version of major 1, andlatestonly for the highest final version of all, so a fix released on an older line, such asv1.0.2afterv1.1.0, leaves both where they are. The plan job reads the repository's tags to decide. - The
v1git tag moves last, after both images and the binaries exist. A caller of@v1never gets a workflow whose image is missing. - The images carry the OCI labels
source,version,revisionandlicenses.
Which image a workflow runs
The reusable workflows and the glassops-platform/glassops action choose their default image from the tag they were called at. A call to @v1 runs the image of the current v1.x.y release, and @v1.2.3 runs the image of v1.2.3. When the reference is a branch or a commit, the image is latest. Pass the image input to override this. For a run you must reproduce exactly, pin a full version or an image digest.
Tools in the images
Both images, built from this repository, hold two more programs that GlassOps runs as separate commands:
| Program | Version | Used for |
|---|---|---|
cosign |
v2.5.3 | Sigstore signing of PERMITs, when policy.permit.signing is sigstore |
opa |
1.22.0, the static build | Rego rules, when policy.rego is set |
Both are Apache-2.0 programs copied from their official images, which are pinned by digest in the Dockerfiles. They are not linked into glassops, and they do nothing unless you turn those features on. They are listed in THIRD_PARTY_NOTICES like every other package in the images. The image ghcr.io/glassops-platform/glassops:0.4.0 does not hold them.
License scan
Every pull request, every push to main and every release runs the License Scan workflow. It builds both images, writes a software bill of materials for each with syft, and fails when an image holds a package under the AGPL, GPL or LGPL that the allowlist does not list. The release workflow publishes no image unless the scan passes.
How a package is judged:
- The scan reads the license expression each package declares.
- In
A OR B, one free side is enough, because the user may choose it. InA AND B, both sides must be free. - An allowlist line is
type:name-glob = license text. It matches only a package whose declared expression equals the text. A package whose license changes comes back into the report. - AGPL can never be allowlisted.
The allowlist is scripts/notices/allowlist.txt. It lists the Java runtime of the analyzer image (GPLv2 with the Classpath Exception), and the Alpine base layer packages that the images contain and that GlassOps runs as separate programs, such as git, busybox and coreutils. They are not linked into glassops. The list is reviewed whenever the base image changes.
The scan is an ordinary check and not a required one. Making it required is a branch protection setting.
Run it yourself against an image you built:
scripts/notices/sbom.sh glassops:local glassops.sbom.json
python3 scripts/notices/licenses.py check glassops.sbom.json --allow scripts/notices/allowlist.txt
The second command exits 1 when it finds a package the allowlist does not cover.
Third party notices
THIRD_PARTY_NOTICES lists the packages in both images with their licenses. The same scan workflow checks that the file still matches what the images contain, and fails when a package was added or removed and the file was not regenerated.
The notices and the project license are inside the images at /usr/share/doc/glassops/, and the release archives include THIRD_PARTY_NOTICES next to LICENSE and README.md:
docker run --rm --entrypoint cat ghcr.io/glassops-platform/glassops:v1 /usr/share/doc/glassops/THIRD_PARTY_NOTICES
Tested here, and not
The tag rules, the license check and the planted-package test run in the workflow license-scan.yml. Pushing a real release tag has not happened with these rules yet, so the sequence of the release workflow on GitHub is untested on a real tag.