Skip to content

feat(gitlab): authenticate self-hosted GitLab via ASPECT_GITLAB_TOKEN#1237

Open
b3cramer wants to merge 1 commit into
mainfrom
feat/gitlab-self-hosted-auth
Open

feat(gitlab): authenticate self-hosted GitLab via ASPECT_GITLAB_TOKEN#1237
b3cramer wants to merge 1 commit into
mainfrom
feat/gitlab-self-hosted-auth

feat(gitlab): authenticate self-hosted GitLab via ASPECT_GITLAB_TOKEN

a2a298a
Select commit
Loading
Failed to load commit list.
Aspect Workflows / aspect / delivery (delivery-cci) completed Jun 16, 2026 in 16s

⚠️ delivery //examples/deliverable:bash_deliverable… · 4 skipped, 2 warnings

⚠️ Flagged · 📅 Tue Jun 16 04:02:39 UTC 2026 · ⏱ 15.6s · 🚚 Deliver 1.4s | 🔧 Setup 1.4s · 🎯 Resolve 1.4s · 🔨 Build 3.2s · 💯 Checksum 5.6s · 📝 Record 802ms · 🔬 Detect 885ms · 📥 Download 773ms
👤 Matt Cramer · 🖥 ip-10-0-80-100 · 💎 aspect-cli v0.0.0-dev
:octocat: aspect-cli · ⎇ feat/gitlab-self-hosted-auth · ✏️ a2a298a - feat(gitlab): authenticate self-hosted GitLab via ASPECT_GIT… · 🏃 Branch push run
📦 6 targets · ⚡ 8 of 1,932 actions executed (99% cached) · 🔧 bazel v9.0.1 build · 🎯 x86_64 · ⚙️ fastbuild
🚀 Workflows runner v5.18.10 · ☁️ AWS · 📍 us-west-2c · 💠 m6id.xlarge · 🤖 i-0f5d866ef2bc67040
🔗 Docs · 🔗 Website · 🏷 dev · 🏷 local · 🏷 axl-testing · 🏷 COMPONENT=aspect-cli · 🏷 ENV=dev
Aspect · ⭕ CircleCI

⚙️ Mode: selective
💬 Last update: delivery task complete

💡 TIP: Click through for invocation details and logs

Aspect Web UI — invocation details, test logs, build logs, and timing
CircleCI — raw CI logs for this job

Silence by adding "click-through-links" to ctx.features["tips"].args.silence in .aspect/config.axl, or pass --tips:silence=click-through-links on the command line.

Details

🚀 Delivery results

Summary

  • 0 delivered
  • 4 skipped (already delivered this hash)
  • ⚠️ 2 warnings
  • 0 failed
⚠️ 2 Warnings
Target                                             Key                        Reason
-------------------------------------------------  -------------------------  --------------------------------------------------------------------------------
//examples/deliverable:non_executable_deliverable  delivery-cci:30a9b64b22af  tagged 'deliverable' but not runnable: no runfiles directory at /mnt/ephemera...
//examples/deliverable:py_deliverable              -                          no digest: non-cacheable upstream action(s) (PyWriteBuildData); likely non-he...
⚡ 4 Skipped (same hash)
Target                                          Key                        Previously delivered by
----------------------------------------------  -------------------------  -----------------------------------------------------
//examples/deliverable:bash_deliverable         delivery-cci:9a1a58f775cd  https://circleci.com/gh/aspect-build/aspect-cli/11403
//examples/deliverable:custom_deliverable       delivery-cci:857ea000b555  https://circleci.com/gh/aspect-build/aspect-cli/11403
//examples/deliverable:deliverable_with_digest  delivery-cci:9d9891b76e57  https://circleci.com/gh/aspect-build/aspect-cli/11857
//examples/deliverable:sh_deliverable           delivery-cci:85e33c72c155  https://circleci.com/gh/aspect-build/aspect-cli/11403

🔁 Reproduce

# --mode=always --track-state=false for off-runner with no state backend.
aspect delivery \
  --commit-sha=a2a298aaef8190ec6f57b03cd85e9f44838698ea \
  --mode=always \
  --track-state=false \
  --dry-run=true

Install aspect: docs.aspect.build/cli/install

📎 Artifacts

Artifacts · Profile · BEP · delivery-manifest.json · delivery-images.yml

⏱️ Task timing

   Phase    | Description                      | Duration
------------+----------------------------------+---------
   Setup    | Prepare the task environment     | 1.4s    
   Resolve  | Resolve targets to deliver       | 1.4s    
   Build    | Build delivery targets           | 3.2s    
   Checksum | Checksum delivery digests        | 5.6s    
   Record   | Record delivery digests          | 802ms   
   Detect   | Detect already-delivered targets | 885ms   
   Download | Download runfiles                | 773ms   
-> Deliver  | Deliver targets (active)         | 1.4s    
------------+----------------------------------+---------
   Total    |                                  | 15.7s   

🎯 Bazel targets (6)

✅ 6 Targets Built
Label                                             | Target Type         
--------------------------------------------------+---------------------
//examples/deliverable:bash_deliverable           | bash_deliverable    
//examples/deliverable:custom_deliverable         | custom_deliverable  
//examples/deliverable:deliverable_with_digest    | oci_like_deliverable
//examples/deliverable:non_executable_deliverable | genrule             
//examples/deliverable:py_deliverable             | py_binary           
//examples/deliverable:sh_deliverable             | sh_binary           

🧮 Bazel details

📟 Command line · bazel build //examples/deliverable:bash_deliverable //examples/deliverable:custom_deliverable //examples/deliverable:de…
bazel build \
  --show_result=20 \
  --action_env='DUMMY_DB_PASSWORD=<REDACTED>' \
  --action_env=DUMMY_BUILD_MODE_ON=1 \
  --repo_env=DUMMY_FEATURE_FLAG=true \
  --action_env='GIT_URL=https://<REDACTED>@github.com/acme/example.git' \
  --build_metadata=TAGS=dev,local,axl-testing \
  --build_metadata=TAG_ENV=dev \
  --build_metadata=TAG_COMPONENT=aspect-cli \
  --build_metadata='ASPECT_WORKFLOWS_LINKS=[Docs](https://docs.aspect.build),[Website](https://aspect.build/)' \
  --generate_json_trace_profile=1 \
  --experimental_profile_include_target_label \
  --profile=/workflows/7911f751-d454-4445-bcd1-c149cc0ee278.profile.gz \
  --color=yes \
  --remote_upload_local_results \
  --heap_dump_on_oom \
  --generate_json_trace_profile=1 \
  --experimental_repository_cache_hardlinks \
  --remote_accept_cached \
  --disk_cache='' \
  --remote_timeout=3600 \
  --remote_retries=360 \
  --grpc_keepalive_timeout=30s \
  --noremote_cache_compression \
  --remote_cache=unix:///mnt/ephemeral/buildbarn/.cache/bb_clientd/grpc \
  --remote_bytestream_uri_prefix=aw-remote.oss.aspect.build \
  --repository_cache=/mnt/ephemeral/caches/repository \
  --build_metadata=CI_HOST=CIRCLE_CI \
  --build_metadata=COMMIT_SHA=a2a298aaef8190ec6f57b03cd85e9f44838698ea \
  --build_metadata=USER=b3cramer \
  --build_metadata=BRANCH_NAME=feat/gitlab-self-hosted-auth \
  --build_metadata=REPO_OWNER=aspect-build \
  --build_metadata=REPO_NAME=aspect-cli \
  --build_metadata=REPO_URL=https://github.com/aspect-build/aspect-cli \
  --build_metadata=VCS=GITHUB \
  --build_metadata=RUN_TYPE=BRANCH_PUSH \
  --build_metadata=BUILD_URL=https://circleci.com/gh/aspect-build/aspect-cli/12345 \
  --build_metadata='COMMIT_AUTHOR_NAME=Matt Cramer' \
  --build_metadata=COMMIT_AUTHOR_EMAIL=matt@aspect.build \
  --build_metadata='COMMIT_AUTHOR=Matt Cramer <matt@aspect.build>' \
  --build_metadata='COMMIT_MESSAGE=feat(gitlab): authenticate self-hosted GitLab via ASPECT_GITLAB_TOKEN' \
  --build_metadata=COMMIT_TIMESTAMP=2026-06-15T17:29:37-06:00 \
  --build_metadata=ASPECT_TASK_DISPLAY_NAME=Delivery \
  --build_metadata=ASPECT_TASK_NAME=delivery \
  --build_metadata=ASPECT_TASK_KEY=delivery-cci \
  --build_metadata=ASPECT_TASK_ID=d7f910cd-5944-41ec-9345-6ce17aebee17 \
  --nokeep_state_after_build \
  --remote_download_outputs=minimal \
  --build_event_publish_all_actions \
  --build_event_binary_file_upload_mode=fully_async \
  --build_event_binary_file=/tmp/build-event-out-06c90103-c3c0-4c3b-b2bc-9d0109525dcb.bin \
  --execution_log_compact_file=/tmp/execlog-out-3e7a0925-6bd3-42a5-8b9d-ee293b0912f0.bin \
  -- \
  //examples/deliverable:bash_deliverable \
  //examples/deliverable:custom_deliverable \
  //examples/deliverable:deliverable_with_digest \
  //examples/deliverable:non_executable_deliverable \
  //examples/deliverable:py_deliverable \
  //examples/deliverable:sh_deliverable
ℹ️ Invocation details
  • Invocation ID: 0d9511f0-76b9-438b-a9e6-8595fd5eff92
  • Command: build
  • Bazel version: 9.0.1
  • Start time: Tue Jun 16 04:02:39 UTC 2026
  • End time: Tue Jun 16 04:02:42 UTC 2026
  • User: aspect-runner
  • Host name: ip-10-0-80-100
  • CPU Target: x86_64
  • Mode: fastbuild
  • Working directory: /mnt/ephemeral/workdir
  • Workspace directory: /mnt/ephemeral/workdir
  • Server PID: 14028
⏱ Timing
  • Elapsed time: 2.3s
  • Analysis time: 2.1s
  • Execution time: 2.1s
  • Bazel server time: 8.2 cpu-seconds
📦 Build graph
  • Targets: 6 targets (27,618 configured, 47 aspect applications)
  • Actions: 8 actions (1,932 created)
  • Packages: 224 packages loaded
💾 Cache stats
  • Actions: 1,924 of 1,932 cached (99%)
⚡ Actions by mnemonic (4)
Mnemonic                   | Count | %    
---------------------------+-------+------
RepoMappingManifest        | 5     | 62.5%
BazelWorkspaceStatusAction | 1     | 12.5%
PyCopyWithoutCaching       | 1     | 12.5%
PyWriteBuildData           | 1     | 12.5%
🏃 Actions by runner (2)
Runner                | Count | %    
----------------------+-------+------
internal              | 7     | 87.5%
linux-sandbox · Local | 1     | 12.5%
🏠 Workspace status (4)
  • BUILD_HOST: ip-10-0-80-100
  • BUILD_TIMESTAMP: 1781582560
  • BUILD_USER: aspect-runner
  • FORMATTED_DATE: 2026 Jun 16 04 02 40 Tue
🏷️ Build metadata (23)
  • ASPECT_TASK_DISPLAY_NAME: Delivery
  • ASPECT_TASK_ID: d7f910cd-5944-41ec-9345-6ce17aebee17
  • ASPECT_TASK_KEY: delivery-cci
  • ASPECT_TASK_NAME: delivery
  • ASPECT_WORKFLOWS_LINKS: [Docs](https://docs.aspect.build),[Website](https://aspect.build/)
  • BRANCH_NAME: feat/gitlab-self-hosted-auth
  • BUILD_URL: https://circleci.com/gh/aspect-build/aspect-cli/12345
  • CI_HOST: CIRCLE_CI
  • COMMIT_AUTHOR: Matt Cramer <matt@aspect.build>
  • COMMIT_AUTHOR_EMAIL: matt@aspect.build
  • COMMIT_AUTHOR_NAME: Matt Cramer
  • COMMIT_MESSAGE: feat(gitlab): authenticate self-hosted GitLab via ASPECT_GITLAB_TOKEN
  • COMMIT_SHA: a2a298aaef8190ec6f57b03cd85e9f44838698ea
  • COMMIT_TIMESTAMP: 2026-06-15T17:29:37-06:00
  • REPO_NAME: aspect-cli
  • REPO_OWNER: aspect-build
  • REPO_URL: https://github.com/aspect-build/aspect-cli
  • RUN_TYPE: BRANCH_PUSH
  • TAGS: dev,local,axl-testing
  • TAG_COMPONENT: aspect-cli
  • TAG_ENV: dev
  • USER: b3cramer
  • VCS: GITHUB
🎛️ Startup options (11)
--connect_timeout_secs=30
--failure_detail_out=/mnt/ephemeral/output/aspect-cli/workdir/failure_detail.rawproto
--idle_server_tasks
--max_idle_secs=10800
--noclient_debug
--nofatal_event_bus_exceptions
--noshutdown_on_low_sys_mem
--nowindows_enable_symlinks
--output_base=/mnt/ephemeral/output/aspect-cli/workdir
--output_user_root=/mnt/ephemeral/bazel/aspect-cli/workdir
--write_command_log
🎛️ Command options (67)
--action_env=DUMMY_BUILD_MODE_ON=1
--action_env='DUMMY_DB_PASSWORD=<REDACTED>'
--action_env='GIT_URL=https://<REDACTED>@github.com/acme/example.git'
--build_event_binary_file=/tmp/build-event-out-06c90103-c3c0-4c3b-b2bc-9d0109525dcb.bin
--build_event_binary_file_upload_mode=fully_async
--build_event_publish_all_actions
--build_metadata=ASPECT_TASK_DISPLAY_NAME=Delivery
--build_metadata=ASPECT_TASK_ID=d7f910cd-5944-41ec-9345-6ce17aebee17
--build_metadata=ASPECT_TASK_KEY=delivery-cci
--build_metadata=ASPECT_TASK_NAME=delivery
--build_metadata='ASPECT_WORKFLOWS_LINKS=[Docs](https://docs.aspect.build),[Website](https://aspect.build/)'
--build_metadata=BRANCH_NAME=feat/gitlab-self-hosted-auth
--build_metadata=BUILD_URL=https://circleci.com/gh/aspect-build/aspect-cli/12345
--build_metadata=CI_HOST=CIRCLE_CI
--build_metadata='COMMIT_AUTHOR=Matt Cramer <matt@aspect.build>'
--build_metadata=COMMIT_AUTHOR_EMAIL=matt@aspect.build
--build_metadata='COMMIT_AUTHOR_NAME=Matt Cramer'
--build_metadata='COMMIT_MESSAGE=feat(gitlab): authenticate self-hosted GitLab via ASPECT_GITLAB_TOKEN'
--build_metadata=COMMIT_SHA=a2a298aaef8190ec6f57b03cd85e9f44838698ea
--build_metadata=COMMIT_TIMESTAMP=2026-06-15T17:29:37-06:00
--build_metadata=REPO_NAME=aspect-cli
--build_metadata=REPO_OWNER=aspect-build
--build_metadata=REPO_URL=https://github.com/aspect-build/aspect-cli
--build_metadata=RUN_TYPE=BRANCH_PUSH
--build_metadata=TAGS=dev,local,axl-testing
--build_metadata=TAG_COMPONENT=aspect-cli
--build_metadata=TAG_ENV=dev
--build_metadata=USER=b3cramer
--build_metadata=VCS=GITHUB
--color=yes
--disk_cache=''
--enable_platform_specific_config
--execution_log_compact_file=/tmp/execlog-out-3e7a0925-6bd3-42a5-8b9d-ee293b0912f0.bin
--experimental_fetch_all_coverage_outputs
--experimental_profile_include_target_label
--experimental_repository_cache_hardlinks
--generate_json_trace_profile=1
--grpc_keepalive_timeout=30s
--heap_dump_on_oom
--host_platform=//bazel/platforms:linux_host_platform
--incompatible_default_to_explicit_init_py
--incompatible_enforce_starlark_utf8=error
--incompatible_modify_execution_info_additive
--module_mirrors=https://bcr.cloudflaremirrors.com
--nobuild_runfile_links
--noexperimental_check_external_repository_files
--nokeep_state_after_build
--noremote_cache_compression
--noremote_upload_local_results
--nosandbox_default_allow_network
--profile=/workflows/7911f751-d454-4445-bcd1-c149cc0ee278.profile.gz
--remote_accept_cached
--remote_bytestream_uri_prefix=aw-remote.oss.aspect.build
--remote_cache=unix:///mnt/ephemeral/buildbarn/.cache/bb_clientd/grpc
--remote_download_outputs=minimal
--remote_retries=360
--remote_timeout=3600
--remote_upload_local_results
--repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
--repo_env=BAZEL_NO_APPLE_CPP_TOOLCHAIN=1
--repo_env=DUMMY_FEATURE_FLAG=true
--repo_env='JAVA_HOME=<REDACTED>'
--repository_cache=/mnt/ephemeral/caches/repository
--reuse_sandbox_directories
--show_result=20
--test_output=errors
--workspace_status_command=tools/githooks/check-config.sh

⚙️ Runner metadata

🚀 Workflows runner
  • Workflows version: 5.18.10
  • Cloud provider: AWS
  • Region: us-west-2
  • Availability zone: us-west-2c
  • Cloud account: 127214192506
  • Instance type: m6id.xlarge
  • Instance name: aw-cci-runner--default
  • Instance ID: i-0f5d866ef2bc67040
  • Image ID: ami-0805a1fea1ef81f49
  • Group name: default
  • Group queue: <?xml version="1.0" encoding="iso-8859-1"?>
  • Resource type: c6id_xlarge
  • Aspect launcher version: 2026.22.29
  • Aspect CLI version: 0.0.0-dev
  • CI agent version: 3.1.9
  • NVMe storage: yes
  • Preemptible: no
  • Warming enabled: yes
  • Warming complete: yes
  • Warming cache version: 1779178089

⏱ Last updated Tue Jun 16 04:02:51 UTC 2026 · 📊 GitHub API quota 679/15,000 (5% used, resets in 57m, throttle 10×)
🚀 Powered by Aspect CLI (v0.0.0-dev)  |  Aspect Build · X · LinkedIn · YouTube