Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: [not for review yet] setting up Airlock repositories #3214

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

suztomo
Copy link
Member

@suztomo suztomo commented Sep 18, 2024

Command to use the Airlock trusted repository:

suztomo@suztomo2:~/sdk-platform-java$ T=$(mktemp -d)
suztomo@suztomo2:~/sdk-platform-java$ echo $T
/tmp/tmp.o9TlWoaeQ6
suztomo@suztomo2:~/sdk-platform-java$ mvn -Dmaven.repo.local=$T clean install -DskipTests -Pairlock-trusted -P=-default-repositories

Thank you for opening a Pull Request! Before submitting your PR, please read our contributing guidelines.

There are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> ☕️

@product-auto-label product-auto-label bot added the size: m Pull request size is medium. label Sep 18, 2024
@suztomo suztomo changed the title ci: setting up Airlock repositories ci: setting up Airlock repositories [not for review yet] Sep 18, 2024
@suztomo suztomo changed the title ci: setting up Airlock repositories [not for review yet] ci: [not for review yet] setting up Airlock repositories Sep 18, 2024
@suztomo
Copy link
Member Author

suztomo commented Oct 8, 2024

Current error: ```
[ERROR] Failed to execute goal on project api-common: Could not resolve dependencies for project com.google.api:api-common:jar:2.36.1-SNAPSHOT: Failed to collect dependencies at javax.annotation:javax.annotation-api:jar:1.3.2: Failed to read artifact descriptor for javax.annotation:javax.annotation-api:jar:1.3.2: Could not find artifact net.java:jvnet-parent:pom:3 in central (artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p-trusted) -> [Help 1]

Command to use the Airlock trusted repository:

```
mvn clean install -DskipTests -Pairlock-trusted -P=-default-repositories
```
Copy link

sonarcloud bot commented Nov 11, 2024

Copy link

sonarcloud bot commented Nov 11, 2024

Quality Gate Passed Quality Gate passed for 'java_showcase_integration_tests'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant