Document advanced use cases for GitLab CI/CD and private container image registries
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- Half a day
- Newbie friendliness
- 42/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- aws, docker, gitlab
- Domain
- ci-cd, cloud, documentation
Research direction
Start from the issue checklist and YAML workflow example, then locate the existing documentation section covering GitLab CI/CD and private container registries. Document AWS instance profiles and workflow-variable configuration, including the shown registry authentication and image workflow; done means both checklist items are covered with usable examples.
Written by the indexing model from the issue text.
Description
- AWS instance profiles as per https://github.com/iterative/terraform-provider-iterative/issues/602#issuecomment-1145964625
- Configuration as part of the workflow variables, as in e.g.
variables: AWS_ACCOUNT: 000000000000 AWS_DEFAULT_REGION: us-east-1 AWS_REGISTRY: ${AWS_ACCOUNT}.dkr.ecr.${AWS_DEFAULT_REGION}.amazonaws.com AWS_CONTAINER_IMAGE: ${AWS_REGISTRY}/example:latest DOCKER_AUTH_CONFIG: '{"credHelpers": {"${AWS_REGISTRY}": "ecr-login"}}' build: rules: - changes: [Dockerfile, .gitlab-ci.yml] services: - docker:dind image: docker script: - docker run --env AWS_ACCESS_KEY_ID --env AWS_SECRET_ACCESS_KEY --env AWS_SESSION_TOKEN --env AWS_DEFAULT_REGION amazon/aws-cli ecr get-login-password | docker login --username AWS --password-stdin ${AWS_REGISTRY} - docker build --tag ${AWS_CONTAINER_IMAGE} . - docker push ${AWS_CONTAINER_IMAGE} launch: image: iterativeai/cml:0-dvc2-base1 script: > cml runner launch --cloud=aws --cloud-region=$AWS_DEFAULT_REGION --cloud-type=m5.2xlarge --cloud-hdd-size=32 --labels=cml train: needs: [launch] tags: [cml] image: ${AWS_CONTAINER_IMAGE} script: - echo hello world
- Dominant language
- TypeScript
- Stars
- 13
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from iterative/cml.dev
-
Difficulty 5/5 Over a week Newbie friendliness 48/100
-
Link Checker ReportOpenlink-check-all
Difficulty 2/5 1-3 hours Newbie friendliness 40/100
-
Link Checker ReportOpenlink-check-all
Difficulty 1/5 Under an hour Newbie friendliness 45/100
-
crossref DVCLiveMay be free again @casperdcl claimed this 1390 days ago, and no pull request is open. OpenC: guide C: ref documentation p1-important
-
docs: driver token timeoutMay be free again @dacbd claimed this 1403 days ago, and no pull request is open. OpenC: guide C: ref documentation
All issues in iterative/cml.dev
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Vessel9817/onion-site-template#512 ·
Maintainers usually reply within 1 day
-
nightly-tests
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
BlackBeltTechnology/pi-agent-dashboard#1256 ·
Maintainers usually reply within 1 day
-
approved
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
fritzprix/libr-agent#3266 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
better-auth/better-auth#13101 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day