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

[CLIENT-3033] Add CI/CD workflow that tests proxy client against a proxy server build from JFrog #329

Closed
wants to merge 111 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
dc54b77
Create workflow that tests proxy client against proxy server
juliannguyen4 Jul 10, 2024
c584ece
Add pr trigger
juliannguyen4 Jul 10, 2024
d812667
Remove invalid tag
juliannguyen4 Jul 10, 2024
f38fe70
Update checkout action
juliannguyen4 Jul 10, 2024
3288e0a
Authenticate with JFrog
juliannguyen4 Jul 11, 2024
4cb8aee
Use the correct link
juliannguyen4 Jul 11, 2024
ea97caf
Get latest tag without latest
juliannguyen4 Jul 11, 2024
9f0cc8e
Fix repo name
juliannguyen4 Jul 11, 2024
501fcc0
Try a different repo name
juliannguyen4 Jul 11, 2024
d3ee9de
Print logs to debug containers, wait for servers to initialize
juliannguyen4 Jul 11, 2024
5c389c4
Always print container logs so we can see them when job fails
juliannguyen4 Jul 11, 2024
7768930
Show all containers' statuses
juliannguyen4 Jul 11, 2024
44ac1af
Run QEMU if image is based on arm
juliannguyen4 Jul 11, 2024
322f16c
Only need to emulate arm64
juliannguyen4 Jul 11, 2024
2c58b70
Fix syntax
juliannguyen4 Jul 11, 2024
6a029b4
Run native server after proxy server
juliannguyen4 Jul 11, 2024
58540b5
Skip if no tests were run
juliannguyen4 Jul 11, 2024
9cb492c
Use Github variable for JFrog repo name
juliannguyen4 Jul 12, 2024
dc9dcb7
Use aerospike-proxy.yml config file
juliannguyen4 Jul 12, 2024
27d8cb9
Forgot to add config file contents, use proper path for docker volume…
juliannguyen4 Jul 12, 2024
5bd5edf
Fix spacing
juliannguyen4 Jul 12, 2024
203a719
Disable security for now
juliannguyen4 Jul 12, 2024
f765054
Revert "Run native server after proxy server"
juliannguyen4 Jul 12, 2024
357b1ae
Print proxy server logs a different way
juliannguyen4 Jul 12, 2024
e3ab967
Don't run deploy code at the end, only use proxy server x86 build
juliannguyen4 Jul 12, 2024
216cff6
Remove unnecessary step, comment
juliannguyen4 Jul 12, 2024
ee02c3a
Try a different test command
juliannguyen4 Jul 12, 2024
f0f5e6b
Just run all suites since SuiteProxy isn't in a pom.xml
juliannguyen4 Jul 12, 2024
f375096
Fix syntax
juliannguyen4 Jul 12, 2024
dd4160e
Why are we skipping the tests?
juliannguyen4 Jul 12, 2024
3668e9f
Revert "Why are we skipping the tests?"
juliannguyen4 Jul 12, 2024
3fcaba0
Don't skip tests when running mvn test
juliannguyen4 Jul 12, 2024
ad0b744
Only run proxy tests
juliannguyen4 Jul 12, 2024
30e05d7
Run proxy server on host so it can access native server through local…
juliannguyen4 Jul 12, 2024
9deccae
See what happens
juliannguyen4 Jul 15, 2024
7b6fed1
Forgot
juliannguyen4 Jul 15, 2024
fce3bff
Configure pom.xml to upload to JFrog when deploying
juliannguyen4 Jul 15, 2024
2d77728
Fix
juliannguyen4 Jul 15, 2024
296f978
Use SNAPSHOT version to upload to snapshot repo
juliannguyen4 Jul 15, 2024
beeda4f
Install xpath
juliannguyen4 Jul 15, 2024
4834eb1
release bundle cmds fail without url
juliannguyen4 Jul 15, 2024
36d7bb9
Try this fix
juliannguyen4 Jul 15, 2024
04ca9d8
Just embed JFrog url for now
juliannguyen4 Jul 15, 2024
9935899
Fix
juliannguyen4 Jul 15, 2024
de9e498
Try using maven token and JFrog username
juliannguyen4 Jul 24, 2024
1038b0c
Create JFrog build
juliannguyen4 Jul 24, 2024
74d7abc
Use clients project for publishing build
juliannguyen4 Jul 24, 2024
14673c2
Run whole maven workflow w/ one command
juliannguyen4 Jul 24, 2024
2d3b694
Configure maven first
juliannguyen4 Jul 24, 2024
80a0e52
Run deploy to call previous steps in lifecycle
juliannguyen4 Jul 24, 2024
2691b99
try unsetting to use default build info json
juliannguyen4 Jul 24, 2024
7e0cd04
Configure repos
juliannguyen4 Jul 24, 2024
b11d7fe
fix repo
juliannguyen4 Jul 24, 2024
b58a254
Set up file spec properly
juliannguyen4 Jul 24, 2024
b54c7c7
fix
juliannguyen4 Jul 24, 2024
2219a35
install
juliannguyen4 Jul 24, 2024
4b6a976
fix
juliannguyen4 Jul 24, 2024
369cc60
Print build info json
juliannguyen4 Jul 25, 2024
978f3dc
Use only the latest build in the release bundle
juliannguyen4 Jul 25, 2024
a087394
Fix build name
juliannguyen4 Jul 25, 2024
d6ea7f0
omit latest
juliannguyen4 Jul 25, 2024
8a29ff0
Change the build name to something valid
juliannguyen4 Jul 25, 2024
4d36873
Build number is required
juliannguyen4 Jul 25, 2024
9884fde
Be specific about build details
juliannguyen4 Jul 25, 2024
8cf5e64
fix
juliannguyen4 Jul 25, 2024
746a59c
Try another build number
juliannguyen4 Jul 25, 2024
8b6ce8a
Only look for artifacts in this repo
juliannguyen4 Jul 25, 2024
c53386a
Insert pattern first
juliannguyen4 Jul 25, 2024
5ca1672
Revert "Insert pattern first"
juliannguyen4 Jul 25, 2024
1ac7c3e
Revert "Only look for artifacts in this repo"
juliannguyen4 Jul 25, 2024
ac0869e
Add project
juliannguyen4 Jul 25, 2024
d6f5a2a
Specify project in filespec
juliannguyen4 Jul 30, 2024
3cbb96f
Add WIP compose.yml
juliannguyen4 Aug 1, 2024
d441d0d
Remove useless env
juliannguyen4 Aug 2, 2024
3629e9b
Run native server first
juliannguyen4 Aug 2, 2024
b07f420
Use default config file. Disable security
juliannguyen4 Aug 5, 2024
b4c8a7f
docker compose up
juliannguyen4 Aug 5, 2024
64992af
fix
juliannguyen4 Aug 5, 2024
6524ca7
debug
juliannguyen4 Aug 5, 2024
95e0dcf
debug
juliannguyen4 Aug 5, 2024
e2e1bc4
works?
juliannguyen4 Aug 5, 2024
8dd3583
whoop
juliannguyen4 Aug 5, 2024
c369aad
run detached
juliannguyen4 Aug 5, 2024
6646ff5
fix yq install
juliannguyen4 Aug 5, 2024
bfe1fca
check if containers are running
juliannguyen4 Aug 5, 2024
550bb6b
comment
juliannguyen4 Aug 5, 2024
8707206
comment
juliannguyen4 Aug 5, 2024
7349036
Use container ip address instead of localhost
juliannguyen4 Aug 5, 2024
3be5fe3
Clean up proxy client ci/cd code
juliannguyen4 Aug 9, 2024
29eec58
add missing todo
juliannguyen4 Aug 9, 2024
1102dc7
Merge branch 'stage-jdk8' into CLIENT-3033-proxy-client-cicd
juliannguyen4 Aug 9, 2024
9b8bff6
Use latest tag in compose file
juliannguyen4 Aug 9, 2024
b7c915f
Fix syntax
juliannguyen4 Aug 9, 2024
5d147ec
Fix logs
juliannguyen4 Aug 9, 2024
efa5164
setup-gpg
juliannguyen4 Aug 13, 2024
f28d70e
Setup gpg
juliannguyen4 Sep 5, 2024
4086a15
fix
juliannguyen4 Sep 5, 2024
648c31c
sign
juliannguyen4 Sep 5, 2024
23f8f8f
Merge remote-tracking branch 'origin/stage-jdk8' into CLIENT-3033-pro…
juliannguyen4 Sep 5, 2024
cf2e028
Just do the same as in asx
juliannguyen4 Sep 5, 2024
bab9a5f
Revert "Just do the same as in asx"
juliannguyen4 Sep 5, 2024
fac45e7
idk
juliannguyen4 Sep 5, 2024
47ef3e2
Fix
juliannguyen4 Sep 16, 2024
e6cc45b
Skip tests for now
juliannguyen4 Sep 16, 2024
1f54599
Add?
juliannguyen4 Sep 16, 2024
9cbcf4a
Merge remote-tracking branch 'origin/stage-jdk8' into CLIENT-3033-pro…
juliannguyen4 Sep 16, 2024
c24d00a
fix
juliannguyen4 Sep 16, 2024
ef27de9
Use passphrase from file
juliannguyen4 Sep 16, 2024
ba4b4ce
Use abs path
juliannguyen4 Sep 16, 2024
27af9ea
rm
juliannguyen4 Sep 17, 2024
ca7062d
Fix
juliannguyen4 Sep 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "Run native server after proxy server"
This reverts commit 6a029b4.
  • Loading branch information
juliannguyen4 committed Jul 12, 2024
commit f765054e459e4c612a145a0f8e9478e618c3106e
6 changes: 3 additions & 3 deletions .github/workflows/build-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
- name: Build Java client
run: mvn install

- name: Run Aerospike server
run: docker run -d --name aerospike -p 3000:3000 aerospike/aerospike-server

- run: docker login aerospike.jfrog.io --username ${{ secrets.JFROG_USERNAME }} --password ${{ secrets.JFROG_DOCKER_TOKEN }}

# TODO: change to use "latest" tag
Expand Down Expand Up @@ -49,9 +52,6 @@ jobs:
run: docker run -d --name aerospike-proxy -p 4000:4000 -v ./aerospike-proxy.yml:/etc/aerospike-proxy/aerospike-proxy.yml ${{ vars.JFROG_PROXY_SERVER_DOCKER_REPO }}:${{ env.LATEST_TAG }}
working-directory: .github/workflows/test-configs

- name: Run Aerospike server
run: docker run -d --name aerospike -p 3000:3000 aerospike/aerospike-server

- name: Wait for native and proxy server to start
run: sleep 3

Expand Down
Loading