Issue with REPO_USERNAME and REPO_PASSWORD
Hi @heurtemattes , I have opened this topic to avoid email threads and for the whole team to follow up in Gitlab. I have put the body of Gorka's email below.
This is my testing repo: https://gitlab.eclipse.org/eclipse-research-labs/datamite-project/data-sharing/idsa-gaia-x-connectors-and-components/logging-service-extension
I am trying to deploy the extension in the central maven repo, so I have put the repositories in gradle.build.kts. Something like this
repositories { maven { name = "eclipseReleases" url = uri("https://repo.eclipse.org/content/repositories/project-releases/") credentials { username = System.getenv("REPO_USERNAME") ?: "" password = System.getenv("REPO_PASSWORD") ?: "" } } Although I don't really get to that point, as it fails in the CICD pipeline
repo.eclipse.org: stage: deploy image: eclipse-temurin:21 secrets: REPO_USERNAME: vault: <project_id>/repo.eclipse.org/username@cbi file: false REPO_PASSWORD: vault: <project_id>/repo.eclipse.org/password@cbi file: false script: - ./gradlew publish My problem right now is where to retrieve those REPO_USERNAME and REPO_PASSWORD variables???? This is the problem that throws me
/cc @zarate , @geonikolai , @vasisiop