File tree Expand file tree Collapse file tree 3 files changed +33
-10
lines changed Expand file tree Collapse file tree 3 files changed +33
-10
lines changed Original file line number Diff line number Diff line change @@ -45,14 +45,30 @@ jobs:
45
45
ansible-galaxy collection build -vvv
46
46
ansible-galaxy collection install galaxy-galaxy-1.0.0.tar.gz -vvv
47
47
48
- - name : Spin up a standalone galaxy_ng installation
48
+ # - name: Spin up a standalone galaxy_ng installation
49
+ # run: |
50
+ # echo "COMPOSE_PROFILE=standalone" > .compose.env
51
+ # echo "DEV_SOURCE_PATH=galaxy_ng" >> .compose.env
52
+ # make docker/all
53
+ # ./compose up -d
54
+ # pip3 install --upgrade requests pyyaml
55
+ # python3 dev/common/poll.py
56
+
57
+ - name : set env vars
58
+ run : |
59
+ echo "OCI_ENV_PATH=${HOME}/work/galaxy_ng/oci_env" >> $GITHUB_ENV
60
+ echo "COMPOSE_INTERACTIVE_NO_CLI=1" >> $GITHUB_ENV
61
+ echo "OCI_VERBOSE=1" >> $GITHUB_ENV
62
+ echo "GH_DUMP_LOGS=0" >> $GITHUB_ENV
63
+
64
+ - name : setup oci-env
49
65
run : |
50
- echo "COMPOSE_PROFILE=standalone" > .compose.env
51
- echo "DEV_SOURCE_PATH=galaxy_ng" >> .compose.env
52
- make docker/all
53
- ./compose up -d
54
- pip3 install --upgrade requests pyyaml
55
- python3 dev/common/poll.py
66
+ git clone https://github.com/pulp/oci_env.git $OCI_ENV_PATH
67
+ pip install -e $OCI_ENV_PATH/client/
68
+ mkdir $OCI_ENV_PATH/db_backup/
69
+
70
+ - name : run the standalone stack detached
71
+ run : OCI_COMPOSE_DETACH=1 make oci/standalone
56
72
57
73
- name : Test the user playbook
58
74
run : ansible-playbook dev/galaxy_collection_plays/user.yml -vvv
Original file line number Diff line number Diff line change 1
- ah_host : http://localhost:5001
1
+ ah_host : http://localhost:55001
2
2
ah_username : iqe_admin
3
3
ah_password : redhat
4
- ah_path_prefix : automation-hub
4
+ ah_path_prefix : galaxy
5
5
ah_artifact_runner_absolute_path : /home/runner/work/galaxy_ng/galaxy_ng/galaxy_collection/galaxy-galaxy-1.0.0.tar.gz
Original file line number Diff line number Diff line change @@ -9,7 +9,14 @@ echo "USING PROFILE ${profile}"
9
9
OCI_ENV_PATH=$( dirname $( pip show oci-env | egrep ^Location | awk ' {print $2}' ) )
10
10
echo " FOUND OCI_ENV_PATH: ${OCI_ENV_PATH} "
11
11
12
+
13
+ if [[ -n $OCI_COMPOSE_DETACH ]]; then
14
+ DETACH_ARGS=" --detach"
15
+ else
16
+ DETACH_ARGS=" "
17
+ fi
18
+
12
19
export COMPOSE_INTERACTIVE_NO_CLI=1
13
20
env_path=dev/oci_env_integration/oci_env_configs/$profile .compose.env
14
21
oci-env -e ${env_path} compose build --progress=plain
15
- oci-env -e ${env_path} compose up
22
+ oci-env -e ${env_path} compose up ${DETACH_ARGS}
You can’t perform that action at this time.
0 commit comments