Skip to content

[DNA-1200] Add GHA workflow for sbt publish#1

Open
akash-sri92 wants to merge 1 commit into
masterfrom
feature/DNA-1200/publish-to-new-artifactory
Open

[DNA-1200] Add GHA workflow for sbt publish#1
akash-sri92 wants to merge 1 commit into
masterfrom
feature/DNA-1200/publish-to-new-artifactory

Conversation

@akash-sri92
Copy link
Copy Markdown

Summary

Add a GitHub Actions workflow to automate sbt artifact publishing to the new Careem Artifactory (artifact.careem-engineering.com). Migrate build configuration to use the updated Artifactory host.

Changes

  • New Workflow: .github/workflows/publish.yml — manually-triggered sbt publish workflow using Temurin JDK 11 on self-hosted ci-micro runner with dependency caching.
  • Build Config: Updated build.sbt Artifactory credentials and publishTo URL from old artifactory-pro.careem-internal.com to new artifact.careem-engineering.com.

Type of Change

  • Infra / CI-CD
  • Feature / Bug fix / Refactor / Docs

Deployment Notes

Prerequisites for GitHub Actions to work:

  • Set ARTIFACT_USER and ARTIFACT_PASS as repository secrets (Settings → Secrets and variables → Actions).
  • Ensure the repository has access to the ci-micro self-hosted runner via DEVX_GITHUB_RUNNERS_CONFIG variable.

How to use:

  1. Go to Actions tab → "sbt publish" workflow
  2. Click "Run workflow" to trigger a manual publish

Additional Notes

  • Cross-build via +publish as configured in build.sbt:8
  • Artifact destination: https://artifact.careem-engineering.com/artifactory/sbt-local

- Add manually-triggered GitHub Actions workflow to publish sbt
  artifacts to artifact.careem-engineering.com.
- Switch build.sbt Artifactory host from artifactory-pro.careem-internal.com
  to artifact.careem-engineering.com.
- Runs on the DevX self-hosted ci-micro runner with Temurin JDK 11.
@careem-jira-in-prs
Copy link
Copy Markdown

🚀 DNA-1200 Oncall Fixes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant