96 Commits
Author SHA1 Message Date
fheinecke 24ff0d6f7b Bump macOS runner version in GitHub workflows (#61678)
* Bump macOS runner version in GitHub workflows

* bump e ref

Signed-off-by: Fred Heinecke <[email protected]>

---------

Signed-off-by: Fred Heinecke <[email protected]>
2025-11-21 19:45:51 +00:00
fheinecke b2d6d5b1e6 Remove workflows requiring GHAS (#59657)
* Remove workflows requiring GHAS

* e ref bump
2025-09-26 18:28:17 +00:00
fheinecke a991e9a33b Bump e ref (#57117)
Signed-off-by: Fred Heinecke <[email protected]>
2025-07-23 21:39:06 +00:00
fheinecke 6b524a367f Bump e ref (#55438)
Signed-off-by: Fred Heinecke <[email protected]>
2025-06-04 21:03:22 +00:00
fheinecke 5f81bc3ca4 Bump purego dependency to fix build issues (#54970)
Signed-off-by: Fred Heinecke <[email protected]>
2025-05-20 22:56:42 +00:00
fheinecke 416c6b326c Group makefile $(VERSRC) targets (#54288) 2025-04-24 21:27:01 +00:00
fheinecke 666e60e40a Fix dependency review workflow (#53815)
Signed-off-by: Fred Heinecke <[email protected]>
2025-04-08 19:12:18 +00:00
fheinecke 5c646a292c Update CI runner lable to 'macos-13-xlarge' (#52590)
* Update CI runner lable to 'macos-13-xlarge'

* Fix misconfigured skip workflow

* more workflow fixes

* revert workflow changes
2025-02-27 21:39:14 +00:00
fheinecke e3615114b6 Add support for JSON format to '/webapi/auth/export' endpoint (#50193)
* Add support for HTTP 'Accept' header to '/webapi/auth/export' endpoint

Signed-off-by: Fred Heinecke <[email protected]>

* Switch PR to use new `format` parameter

---------

Signed-off-by: Fred Heinecke <[email protected]>
2025-02-19 21:41:35 +00:00
fheinecke e35c8047c6 Fix wrong list indentation on ca-rotation page (#52232) 2025-02-18 09:06:49 +00:00
fheinecke aeeedd84f3 Migrate release pipelines to env-loader (#51567)
* Migrate release pipelines to env-loader

Signed-off-by: Fred Heinecke <[email protected]>

* remove old build/promote references

* bump e ref

Signed-off-by: Fred Heinecke <[email protected]>

---------

Signed-off-by: Fred Heinecke <[email protected]>
2025-02-14 20:49:16 +00:00
fheinecke 71f7a777c2 Fail AMI publishing when AWS quota is reached (#51922)
Signed-off-by: Fred Heinecke <[email protected]>
2025-02-06 17:58:25 +00:00
fheinecke ed46e87321 Remove CI-specific UID/GID to appease GH's breaking change (#50176)
* Remove CI-specific UID/GID to appease GH's breaking change

Signed-off-by: Fred Heinecke <[email protected]>

* rm comment

Signed-off-by: Fred Heinecke <[email protected]>

---------

Signed-off-by: Fred Heinecke <[email protected]>
2024-12-12 23:12:24 +00:00
fheineckeandDenis Pudov 1b29bc9f2e fix(helm-chart): adjust to entrypoint within dockerfile (#44607)
Signed-off-by: Fred Heinecke <[email protected]>
Co-authored-by: Denis Pudov <[email protected]>
2024-07-25 19:53:43 +00:00
fheinecke b082fc418a Add missing entitlements directory to container image builds (#44522) 2024-07-22 16:35:30 +00:00
fheinecke 70849a67f6 Fixed access plugins tarballs containing the build directory (#44296) 2024-07-16 18:57:36 +00:00
fheinecke cc68374263 Fix workflow issues (#44230) 2024-07-16 15:48:32 +00:00
fheinecke 72bdd781d0 Added markdown doc with artifact signing info (#43723) 2024-07-02 12:26:22 +00:00
fheinecke 5c0a83c5fe [master] Add support for building fdpass-teleport (#42731) (#42875)
* Add support for building `fdpass-teleport` (#42731)

* Add support for building `fdpass-teleport`

* bumped e ref

* bump e ref
2024-06-25 19:11:47 +00:00
fheinecke 0722133db0 Publish Windows artifacts with manifest publishing (#43077)
* Publish Windows artifacts with manifest publishing

* bump e ref
2024-06-25 18:31:58 +00:00
fheinecke 6c1be32b9a Remove libfido2 found, setting FIDO2=dynamic message from makefile (#43458) 2024-06-25 17:43:55 +00:00
fheinecke 9b7bccb117 Fix linting errors in install scripts (#43459) 2024-06-25 09:41:43 +00:00
fheinecke b3f46c4cd9 Migrated install scripts to Teleport repo (#43428) 2024-06-25 04:26:11 +00:00
fheinecke 36f2e2fce3 Skip checks on elfutils (#43075) 2024-06-17 15:19:48 +00:00
fheinecke 552e700e9c Fixed plugins using arm64 binaries in all container images (#43031)
* Fixed plugins using arm64 binaries in all container images

* bumped e ref
2024-06-17 09:37:51 +00:00
fheinecke c2d9a051ad Add rustc to ARM buildbox (#42662) 2024-06-07 23:00:08 +00:00
fheineckeandGrzegorz Zdunek 02cd20e1a9 Invoke signing function for Windows Connect binary (#41963)
* Invoke signing function for Windows Connect binary

* Update web/packages/teleterm/electron-builder-config.js

Co-authored-by: Grzegorz Zdunek <[email protected]>

* fmt fix

---------

Co-authored-by: Grzegorz Zdunek <[email protected]>
2024-06-04 21:13:02 +00:00
fheinecke 1118933acb Added multiarch image support to teleport plugins images (#42001)
* Added multiarch image support to teleport plugins images

* e ref bump
2024-05-28 20:11:42 +00:00
fheinecke 82427de09c Add support for signing Windows binaries without a destination path (#42067) 2024-05-28 18:32:47 +00:00
fheinecke 4d3b141ad5 Restructured teleport-plugins makefile variables to match plugins (#41506) 2024-05-14 02:35:02 +00:00
fheinecke a9a5a959c1 Bumped e ref (#41503) 2024-05-14 00:52:29 +00:00
fheinecke 8e20220f17 Removed old Drone pipelines (#37526)
* Removed old Drone pipelines

* Removed docs webhook and buildbox pipelines
2024-02-01 20:50:47 +00:00
fheinecke b76ee973ba Migrated docs webhook to GHA (#37114)
* Migrated docs webhook to GHA

* reverted accidental e change

* revert accidental actionbuttons change

* fix attempt
2024-01-29 20:52:16 +00:00
fheinecke b4bdc01f7d Update release server CLI image (#37050) 2024-01-23 22:32:08 +00:00
fheinecke 48609ee973 Set PIV build tag on Windows native builds (#35863) 2023-12-18 20:21:10 +00:00
fheinecke cc7608b9da Add Apache-2.0 license to api/ (#35338) 2023-12-04 22:09:57 +00:00
fheinecke 3683b89564 Fixed "fix-license" makefile target for AGPL-v3 change (#35267) 2023-12-01 20:25:25 +00:00
fheinecke b178b8b732 Updated Teleport codebase to AGPL3 license (#35259)
Signed-off-by: Fred Heinecke <[email protected]>
2023-12-01 17:48:14 +00:00
fheinecke 45cde4bc57 Added OSS to APT/YUM/Zypper repos when private releases are published (#34827) 2023-11-29 19:04:03 +00:00
fheinecke 4918253032 Updated generated event schemas (#34767) 2023-11-21 22:32:02 +00:00
fheinecke 828d796d35 Fixed writeMovie tests not cleaning up after themselves (#34739)
* Fixed `writeMovie` tests not cleaning up after themselves

* Added gitignore for *.avi

* require.Equal -> require.ErrorIs

* os.MkdirTemp -> t.TempDir
2023-11-20 01:20:33 +00:00
fheinecke 3760686ac3 Additional license format fixes (#34738) 2023-11-17 22:58:02 +00:00
fheinecke 83b6062220 Fixed additional license format issues (#34726) 2023-11-17 21:14:08 +00:00
fheinecke 87ee52de27 Made formatter_test.go TestOutput test line agnostic (#34732) 2023-11-17 20:54:52 +00:00
fheinecke e5e8d45385 Additional license file typo fixes (#34694)
* Additional license file typo fixes

* lib/services/userpreferences.go fix
2023-11-17 16:31:59 +00:00
fheinecke 95209ea0cf Minor license typo fix (#34683)
* Minor license typo fix

* Additional license typo fixes

* build-test-compat.sh
2023-11-16 23:29:44 +00:00
fheinecke 79c35dda81 Fixed tag builds using commit instead of tag ref (#34668) 2023-11-16 18:59:54 +00:00
fheineckeandCam Hutchison 2dd1abbf58 Added release server publishing retry (#34605)
* Added release server publishing retry

* dronegen: Run auto_publish 10 times (from 3) in a loop

Change the drone generation to use a loop to run the `auto_publish`
relcli command instead of listing them one-by-one and loop 10 times
instead of 3. The loop will terminate the first time `relcli` succeeds.

The loop has an `|| false` at the end to ensure the loop command fails
if all invocations of `relcli` fail. With `set -e`, even though the exit
status of the loop is non-zero, the shell seems to continue. With the
`|| false` at the end, it makes it exit on failure. I'm not sure exactly
how drone runs the commands so this may not be necessary but it seems
safer.

e.g.

    set -e
    for i in $(seq 10); do false && break; done
    echo hello

This will echo "hello" even though all invocations inside the loop
failed.

    set -e
    for i in $(seq 10); do false && break; done || false
    echo hello

This will not echo "hello" - `set -e` causes an exit before that command
due to the `|| false`.

---------

Co-authored-by: Cam Hutchison <[email protected]>
2023-11-16 01:40:33 +00:00
fheinecke c03aa1d581 [master] Bumped e ref (#34549) 2023-11-13 20:21:37 +00:00
fheinecke 74e41d0379 Update repo for Windows artifact build pipeline GHA migration (#34273)
* Update repo for Windows artifact build pipeline GHA migration

* Remove base64 encoding of release server private key

* Compress-archive path fix

* Updated e ref and resigned dronegen
2023-11-09 04:56:26 +00:00
fheinecke d9f89c12a7 Moved changelog workflow to pull_request trigger and configured concurrency (#33842) 2023-10-24 20:07:44 +00:00
fheinecke 25c7ba6d73 Set -reviewers="${{ secrets.reviewers }}" on changelog workflow (#33787) 2023-10-23 15:36:42 +00:00
fheinecke 9f8530e8db Added workflow to check changelog entries (#32775)
* Added workflow to check changelog entries

* Addressed PR comments
2023-10-20 22:16:51 +00:00
fheinecke 3f340f7bc1 Minor docs typo fix (#33558) 2023-10-17 14:51:14 +00:00
fheinecke f01acfdd1c Fixed integration test issue causing unnecessary runs (#32853) 2023-10-02 16:54:17 +00:00
fheinecke d20606f54e Cut CI unit test runtime in half (#32706) 2023-09-27 23:17:19 +00:00
fheinecke 2322e007cf Fixed issue where prerelease container image tags can overwrite production container image tags (#32699) 2023-09-27 22:14:11 +00:00
fheineckeandReed Loden ad059049e0 Updated Packer versions to fix tag builds (#32524)
* Updated packer version to fix tag builds

* Update packer version for enterprise builds as well.

---------

Co-authored-by: Reed Loden <[email protected]>
2023-09-26 01:38:27 +00:00
fheinecke d858a14cde Removed deb/RPM publishing to legacy deb/rpm repos (#32172) 2023-09-20 19:29:08 +00:00
fheinecke 6f462dec48 Updated OS package repo docs (#31541)
* Updated OS package repo docs

* Fixed linter issues

* Added table for repo channel info on ent installations

* Fixed import path
2023-09-18 21:43:01 +00:00
fheinecke 3e7182c4a2 Updated master branch makefile version to 15.0.0-dev (#31220)
* Updated master branch makefile version to 15.0.0-dev

* Updated `docs/config.json`

* Revert "Updated `docs/config.json`"

This reverts commit 4d4c8846b1.

* Updated `docs/config.json`

* Revert e ref update

* revert docs git property removal

* Fixed version check integration test

* Re-ordered imports

* Reverted accidental format change by IDE
2023-09-11 19:54:40 +00:00
fheinecke 85c49b0980 Added parallel OS package publishing and rolling release channel (#28659)
* Added parallel OS package publishing and rolling release channel

* Bump `e` for test

* Fixed parallelism issue

* Re-ran make dronegen

* Addressed PR comments

* reverted accidental e ref change

* Linter fix

* Bumped `e` to `gravitational/teleport` master ref
2023-08-08 04:52:03 +00:00
fheinecke 90e93e3dfe Increased the gh-trigger-workflow polling period (#28779) 2023-07-06 19:31:24 +00:00
fheinecke ee93fd8cda Fixed CPIO digest mismatch on RHEL 8 (#28745)
* Fixed CPIO digest mismatch on RHEL 8

* bumped `e`
2023-07-06 00:30:01 +00:00
fheinecke c90c5fc299 [master] Bumped e ref (#28143) 2023-06-22 14:56:19 +00:00
fheinecke 541fb41fe7 Set UID/GID for ARC runner builds (#27638)
* Set UID/GID for ARC runner builds

* Set GOCACHE

* Reverted GOCACHE change

* Remove accidental changes

* Removed unnecessary change
2023-06-09 03:47:08 +00:00
fheinecke be477555af Fixed trailing whitespace on makefile vars (#27653) 2023-06-09 03:28:06 +00:00
fheinecke 25f2731a07 Updated promotion pipelines to publish OS packages in series (#24753) 2023-04-18 23:12:38 +00:00
fheinecke 7262c14f54 Added flag to gh-trigger-workflow tool to wait for pre-existing runs (#24696)
* Added flag to `gh-trigger-workflow tool` to wait for pre-existing runs

* Addressed PR comments

* workflowId -> workflowID

* Id -> ID
2023-04-17 21:40:53 +00:00
fheinecke 4d3145b5bf Fixed OPRT migration issues (#24655)
* Fixed OPRT migration issues

* Removed package-to-test from unsupported teleport-ent-updater package
2023-04-16 20:32:20 +00:00
fheinecke af97f525e2 Flipped environment logic for OS package promotion (#24639) 2023-04-16 13:34:27 +00:00
fheinecke 4c0113df9e Removed "workflow-tag" argument from OPRT GHA call (#24637) 2023-04-15 19:38:49 +00:00
fheinecke 5001cfb5ac Added missing mkdir call when determining if a release is a pre-release. (#24634)
* Added missing mkdir call

* Updated to calculate dirname at dronegen time
2023-04-15 15:10:01 +00:00
fheinecke 5690cb007e Migrate publishing of new APT and YUM repos to GHA (#24350)
* Deleted OPRT from this repo

* Migrated dronegen to call gha workflow

* Removed dead pipelines

* Removed unused function to appease linter

* Accounted for private repo promotions

* Updated to use package name filter

* Accounted for teleport-ent-updater publishing
2023-04-14 19:42:53 +00:00
fheinecke a86aeb8c93 Fixed Drone syntax related to private repo publishing (#23536) 2023-03-24 17:57:26 +00:00
fheinecke 3e85eb64a6 Fixed enterprise and fips OS packages not uploading to OS package repositories when promoting in the context of private git repos (#21163) 2023-03-09 19:17:45 +00:00
fheinecke 866ec12165 Added --artifact-version flag to OS package repo tool (#22104)
* Added `--target-cloud` flag to OS package repo tool

* Updated OS package repo tool to use "version channel" instead of "artifact version"

* Added help flag examples
2023-02-28 19:04:44 +00:00
fheinecke 810a89c0f0 Add OSS repo name to github actions trigger (#21439)
* Add OSS repo name to github actinons trigger

* Bumped 'e' reference
2023-02-09 23:57:58 +00:00
04aa91367f Updated Dronegen for v12 cron jobs (#21357)
* Updated dronegen for v12 cron jobs

* Stamp .drone.yml

* Stamp .drone.yml

---------

Co-authored-by: Roman Tkachenko <[email protected]>
Co-authored-by: Marco Dinis <[email protected]>
2023-02-07 16:28:07 +00:00
fheinecke 87e9d10d1c Fixed issue where container image tag and push step would fail due to missing docker pull --platform argument (#20855) 2023-01-27 21:18:53 +00:00
fheinecke a86f53ca03 Fixed incorrect container image branch version numbers (#20585) 2023-01-24 02:08:36 +00:00
fheinecke c23532cc00 Added Apple env var check (#20214) 2023-01-13 20:57:52 +00:00
fheinecke bbb652bf25 Added binary signing for darwin tarballs (#18719)
Added binary signing for darwin tarballs
2023-01-12 04:58:50 +00:00
fheinecke 29d18c9349 Added selective prerelease check to container images promotion pipeline (#18833)
Added selective prerelease check to container images promotion pipeline
2022-12-06 20:03:51 +00:00
fheinecke 742213a8a9 Fixed container images dockerfile download using hardcoded repo name (#19020) 2022-12-05 22:20:20 +00:00
fheinecke d07c088926 Fix regression from multiarch containers where {DRONE_TAG is replaced with (echo v1.2.3-fred.1) (#18461) 2022-11-15 19:22:56 +00:00
fheinecke e773e9c442 Removed prerelease check for container images on promote (#18392) 2022-11-14 12:22:24 -06:00
fheinecke 5e786bd68b Fix cron jobs updating teleport operator on v9 (#18281) 2022-11-08 22:44:26 +00:00
fheinecke 1472e9cf9e Added multiarch build support for Teleport (#17597) 2022-10-31 18:00:55 +00:00
fheinecke 633b9582e7 Added multiarch build support for teleport-operator (#16688)
* Added multiarch build support for teleport oss, ent, and fips

* Exported image/imageTag types

* Resigned dronegen

* Removed remainder of testing changes

* Removed changes to submodules

* Reverted dockerfile-fips change

* FIxed docs wording

* Un-exported most constants

* Removed teleport.e makefile deb call

* Moved "sed | cut magic" to files

* Re-added `mkdir -pv /go/cache` to push.go

* Command deterministic order fix

* Added staging-only tag pipeline

* Moved PR to teleport operator to minimize potential issue impact

* Updated promote to pull and push without build

* Made cron triggers not affect canonical tags

* Added check for pre-existing tags on immutable CRs

* Added immutability check to manifests

* Updated staging ecr to only apply $TIMESTAMP tag on cron triggers

* Updated triggerinfo struct to use a triggerflag struct

* Fixed makefile after git mistake

* Makefile fix

* PR fixes

* Moved internal tools Go version to constant

* Separated container images gofile into multiple files

* Moved testing comment

* Added licenses

* Reorganized and added docs for container images

* Moved const to correct file

* Tag trigger logic test

* Testing specific fix

* Moved testing to v10.3.2

* Make semver dirs

* Refactored local registry name/socket

* Merged previous dockerfile changes

* Added TARGETOS TARGETARCH args

* Updatd tag to testing tag

* Promotion logic test

* Promotion fixes

* Testing specific fix

* Removed prerelease check for testing

* Added staging login commands to promote

* Fixed missing credentials on promotion pull

* Rerun tag test with new "full" semver

* Made staging builds only publish full semver

* Added semver logging command

* Empty commit to trigger Drone

* Promotion test

* Fixed preceeding v on promote pull

* Empty commit to trigger Drone

* Re-enabled verify not prerelease step on promote

* Cron trigger test

* Testing fix

* Testing fix 2

* Added sleep timer on docker buildx build

* Testing cleanup
2022-10-19 02:31:22 +00:00
fheinecke 9ff2df0539 Added docs for new RPM repos (#15268)
* Added docs for new RPM repos

* Fixed typos

* Added/fixed supported version links

* Updated docs to use gpg key in new APT repos
2022-08-13 15:25:49 +00:00
fheinecke b022fea56b Added YUM implementation of OS package build tool (#14203)
* Added YUM implementation of OS package build tool

* Addressed PR comments

* Added YUM migrations

* Added curl to YUM dependencies

* Changed pipelines to use golang:1.18.4-bullseye for Go

* Implemented proper repo downloading logic

* Fixed other merge conflicts

* Added artifacts cleanup

* Removed delete on s3 sync

* Added RPM migrations

* v8 migrations

* Partial v8 migration

* Migration remainder

* Reduced requested resources

* Updated resource limits per step

* Added k8s stage resource limits to drone

* Fixed format issue

* Removed resource requests

* Added `depends_on` support to dronegen

* v8.3 migrations

* Fixed parallelism

* Removed migration parallelism

* Fixed RPM base arch lookup

* v6 and v7 YUM migration

* Fixed missing ISA

* Updated repo file path

* Added logging

* Removed vars from repo file

* v8.3 migration first batch

* v8.3 migration second batch

* v9.0 migration

* v9.1 migration

* v9.2 migration

* v9.3 first migration

* v9.3 second migration

* v10.0 migration

* Removed migrations

* Disabled shell linting non-issues

* Fixed linter problem

* More linter fixes
2022-08-02 21:32:59 +00:00
fheineckeandRoman Tkachenko a82e241b16 Update docs for new APT repos (#12959)
* Updated docs for new APT repos

* Added upgrade notes

* Reworded upgrade details

* Update docs/pages/includes/install-linux.mdx

Co-authored-by: Roman Tkachenko <[email protected]>

* Added APT "legacy" docs

* Bumped major version

Co-authored-by: Roman Tkachenko <[email protected]>
2022-07-13 18:28:31 +00:00
fheinecke f688365efa Added migrations for latest release (#13498)
* Added migrations for latest release

* Removed migrations post run
2022-06-16 23:30:47 +00:00
fheinecke b1b3e947bf Fixed AWS 'teleport-generate-config' script when IMDSV2 is used (#13417) 2022-06-15 16:57:49 +00:00
fheineckeandGus Luxton 1daf7d2302 [master forward-port] Fixed RPMs using artifacts compiled against a too-new version of glibc (#11026)
* Fixed RPMs using artifacts compiled against a too-new version of glibc

* Fixed RPM naming issue

* Apply suggestions from code review

Co-authored-by: Gus Luxton <[email protected]>

Co-authored-by: Gus Luxton <[email protected]>
2022-03-25 20:55:31 +00:00