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

MVP DX actions including continuous deployment #66

Closed
2 tasks
hannelita opened this issue Jul 20, 2020 · 14 comments
Closed
2 tasks

MVP DX actions including continuous deployment #66

hannelita opened this issue Jul 20, 2020 · 14 comments
Assignees
Milestone

Comments

@hannelita
Copy link
Contributor

Acceptance

  • Team adopting DX as dev/staging environment
  • README instructions (simplified version)

Tasks

@mbeilin
Copy link
Contributor

mbeilin commented Jul 21, 2020

getting started with aircan-dev DX

We have two main repos:

  1. https://gitlab.com/viderum/cloud-ckan-aircan
    Cloude image: standard CKAN portal + ckanext-aircan installed in it.

  2. https://gitlab.com/datopian/tech/dx-helm-ckan-aircan
    Helm chart managing the cloud image from above.

Ckan portal url:https://ckan.aircan.dev.datopian.com/

Basically, once you update the cloud image, e.g update ckanext-aircan version in Dockerfile, after the pipeline finished succesfully, the Helm chart (dx-helm-ckan-aircan) should synchronize with your last changes(by pulling latest image) automatically.

@hannelita
Copy link
Contributor Author

@mbeilin I don't access to the first URL

@hannelita
Copy link
Contributor Author

@mbeilin Could you give a bit more detailed instructions? Like, imagine I have just jumped into the aircan project. How/where can I find instructions to update the cloud imagine in order to test a new feature I'm implementing? If you could add a few more sentences with these details that'd be awesome!

@mbeilin
Copy link
Contributor

mbeilin commented Jul 21, 2020

@mbeilin I don't access to the first URL

@hannelita please try now

@hannelita
Copy link
Contributor Author

@mbeilin I don't access to the first URL

@hannelita please try now

Now it works! 🎉

@mbeilin
Copy link
Contributor

mbeilin commented Jul 21, 2020

@mbeilin Could you give a bit more detailed instructions? Like, imagine I have just jumped into the aircan project. How/where can I find instructions to update the cloud imagine in order to test a new feature I'm implementing? If you could add a few more sentences with these details that'd be awesome!

@hannelita but the nature of DX is all about hosting project with all its dependencies (aka ckan plugins) and
to react properly to changes you push to this repo (https://gitlab.com/viderum/cloud-ckan-aircan).
So you will continue working on ckanext-aircan,
push the changes,
add a new tag,
update version of the extension in Dockerfile,
the pipeline will start automatically,
once the pipeline finished, the latest image will be deployed to the cluster by dx-helm-ckan-aircan,
and you should be able to get the portal with your changes ckanext-aircan in this particular case.

From what I see it's more reliable for staging/prod envs (aka GitOps)

@mbeilin
Copy link
Contributor

mbeilin commented Jul 21, 2020

@mbeilin I don't access to the first URL

@hannelita please try now

Now it works!

cloud images repos are private

@shubham-mahajan
Copy link
Member

@hannelita @mbeilin It is throwing internal server error now.

@hannelita
Copy link
Contributor Author

@mbeilin is there a way to see the logs?

@mbeilin
Copy link
Contributor

mbeilin commented Jul 22, 2020

@mbeilin
Copy link
Contributor

mbeilin commented Jul 27, 2020

@hannelita I've created an issue in DevOps for 500 error we are getting here:
https://gitlab.com/datopian/tech/devops/-/issues/206

@hannelita hannelita changed the title Docs for getting started with DX Pending DX actions Jul 31, 2020
@rufuspollock rufuspollock changed the title Pending DX actions MVP DX actions including continuous deployment Jul 31, 2020
@hannelita hannelita modified the milestones: August 3rd, Aug 17 Aug 10, 2020
@hannelita
Copy link
Contributor Author

@shubham-mahajan Is there any update on this?

@shubham-mahajan
Copy link
Member

@hannelita @mbeilin The Aircan instance is up and running now.

@hannelita
Copy link
Contributor Author

healm-chart is ready for use!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants