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

Make new Release DEV -> PROD #158

Closed
7 tasks done
p-a-s-c-a-l opened this issue Jul 6, 2020 · 8 comments
Closed
7 tasks done

Make new Release DEV -> PROD #158

p-a-s-c-a-l opened this issue Jul 6, 2020 · 8 comments
Assignees
Labels
Best practice enhancement New feature or request SHOWSTOPPER Feature or bug, that, if not addressed, renders the CSIS essentially useless
Milestone

Comments

@p-a-s-c-a-l
Copy link
Member

p-a-s-c-a-l commented Jul 6, 2020

We've fixed several bugs in DEV instance, changed content and implemented some new features. There are also some security updates to Drupal Core & Modules available, which have to be applied. Now it's time to make a new release.

This is also the prerequisite for making the system accessible by the public. Once this is done, @DenoBeno, @Andrea4ad and others can advertise public CSIS during Webinars, etc.

We have to make sure that the process is well documented and can be repeated even when key personnel may not available any more after September 2020.

The required steps are described here:


Once the updated PROS system is available, we'll start the final round of internal acceptance tests and can invite external users for testing the system.

Note: The following features are currently still missing in DEV and are being worked on:

@p-a-s-c-a-l p-a-s-c-a-l added enhancement New feature or request SHOWSTOPPER Feature or bug, that, if not addressed, renders the CSIS essentially useless Best practice labels Jul 6, 2020
@p-a-s-c-a-l p-a-s-c-a-l added this to the CSIS Release milestone Jul 6, 2020
@patrickkaleta
Copy link
Contributor

As discussed during today's telco, I've now synchronized the configuration and the content. Now waiting for @fgeyer16 to upgrade Drupal on the DEV instance, so that we can fully complete the synchronization.

Sadly, the config_split module is not suitable for handling different user permissions on two Drupal instances. Therefore, during the synchronization the user permissions from DEV were loaded into PROD and I then manually changed it back to how it should be. We will need to find another solution for that (I would suggest handling the user's add/edit rights inside the csis_helpers module).

Question:
The csis_helpers module is also up-to-date on PROD but I noticed that the map component could be updated. @therter will you do that? How is it done? For the csis_helpers module it's enough to pull the latest code from the git repository and clear the cache in Drupal. Does the map component require any additional steps?

@p-a-s-c-a-l
Copy link
Member Author

I've updated the description above and included a description on how to release new Map and Table Components.

Table and Map are now up-to-date on PROD.

@p-a-s-c-a-l
Copy link
Member Author

p-a-s-c-a-l commented Jul 8, 2020

@fgeyer16 I've update docker containers on DEV to the lasted Apache, PHP, Postgres, etc. version. Drupal Core and Modules have to be updated separately:

sudo su docker
docker exec -it --user 999 csis-drupal bash
# composer ...

CSIS-DEV is now also monitored by UI integrations tests. Please watch csis-technical-validation so that you'll get a notification when the tests fail. When the tests have passed, we can proceed upgrading PROD.

@fgeyer16
Copy link

fgeyer16 commented Jul 8, 2020

I can not enter docker seems, that I have no permission.

docker exec -it --user 999 csis-drupal bash
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/csis-drupal/json: dial unix /var/run/docker.sock: connect: permission denied

tried to update locally before tried to update csis-dev so

  1. remove '"Issue #2994155": "patches/business_rules_2994155.patch" from composer.patche.json
  2. run composer update
  3. run vendor/bin/drush updb

should work.

CSIS-DEV is now also monitored by UI integrations tests

Is there something to do do to trigger that tests or so?

@p-a-s-c-a-l
Copy link
Member Author

p-a-s-c-a-l commented Jul 9, 2020

I can not enter docker seems, that I have no permission.

I've added you to the docker group. Now it will work. Don't forget to impersonate as docker user otherwise permissions will be messed up.

should work.

should? 😲

Is there something to do do to trigger that tests or so?

Tests are triggered automatically every hour in cismet private ci. If you want to trigger them manually you can commit something (e.g. update readme) to csis-technical-validation/csis-dev-cypress branch.

ATM all tests are failing anyway because EMIKAT seems to have lost the study data. 😞

@p-a-s-c-a-l
Copy link
Member Author

p-a-s-c-a-l commented Jul 9, 2020

I've upgraded DEV to Drupal 8.9.2. I'm not going to upgrade PROD until our integration tests are working again.

@fgeyer16
Copy link

fgeyer16 commented Jul 9, 2020

should? astonished
Having to move a webpage to Europeans commisions servers made very cautious to say will. ;-). Test it thousand times and it works and when it goes live it does not...

@p-a-s-c-a-l p-a-s-c-a-l pinned this issue Jul 13, 2020
@p-a-s-c-a-l
Copy link
Member Author

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Best practice enhancement New feature or request SHOWSTOPPER Feature or bug, that, if not addressed, renders the CSIS essentially useless
Projects
None yet
Development

No branches or pull requests

5 participants