-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CLIENT-1837] CI/CD: Use dev-stage-master pipeline (#522)
- Lock all operating system versions - Remove Alpine Linux build script - Add option to disable macOS x86 testing since it is unstable - Make valgrind take in a boolean for the use-server-rc input - Fix invalid version format - Use variable for JFrog repo name in case we need to change it later
- Loading branch information
1 parent
88b4fb1
commit 611bdb6
Showing
25 changed files
with
1,309 additions
and
563 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
.github/actions/run-ee-server-for-ext-container/action.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: 'Run EE server for another Docker container' | ||
description: 'Run EE server and configure tests to connect to it from another Docker container' | ||
inputs: | ||
# All inputs in composite actions are strings | ||
use-server-rc: | ||
required: true | ||
default: false | ||
server-tag: | ||
required: true | ||
default: 'latest' | ||
# Github Composite Actions can't access secrets | ||
# so we need to pass them in as inputs | ||
docker-hub-username: | ||
required: false | ||
docker-hub-password: | ||
required: false | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Run EE server | ||
uses: ./.github/actions/run-ee-server | ||
with: | ||
use-server-rc: ${{ inputs.use-server-rc }} | ||
server-tag: ${{ inputs.server-tag }} | ||
docker-hub-username: ${{ inputs.docker-hub-username }} | ||
docker-hub-password: ${{ inputs.docker-hub-password }} | ||
|
||
- name: Get IP address of Docker container hosting server | ||
id: get-server-ip-address | ||
run: echo server-ip=$(docker container inspect -f '{{ .NetworkSettings.IPAddress }}' aerospike) >> $GITHUB_OUTPUT | ||
shell: bash | ||
|
||
- name: Configure tests to connect to that Docker container | ||
run: crudini --existing=param --set config.conf enterprise-edition hosts ${{ steps.get-server-ip-address.outputs.server-ip }}:3000 | ||
working-directory: test | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.