Giter Club home page Giter Club logo

aemc-ansible's People

Contributors

jan-kowalczyk-wttech avatar krystian-panek-wttech avatar piotr-andruszkiewicz-wttech avatar piotr-orwat-wttech avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

aemc-ansible's Issues

Change root in Packer example

from /opt/aem to /opt/aemc/aem to allow execution from CWD = /opt/aemc ; right now CWD is /opt which is not looking so nice / logical

Integrate AMS dispatcher config with app classic files

sh aemw init --project-kind app_classic

should use/copy file from https://github.com/adobe/aem-dispatcher-docker/blob/main/Dockerfile
instead of having/maintaining a separate https://github.com/wttech/aemc/blob/main/pkg/project/app_classic/dispatcher/Dockerfile

depending on how often that file will be changed

  • if rarely - just copy and adapt files from Adobe repo and paste under app_classic setup
  • if more frequently - consider some sync mechanism

@tomasz-sobczyk-wttech , @maciej-majchrzak-wttech WDYT?

Don't download aemc from GH

Currently, aemc-ansible downloads aemc from GitHub. This is not fine for production-type environments. aemc-ansible should allow to deliver aemc binary in other ways, e.g. download from S3 or other place.

Instance stopped on the playbook end

ansible/ansible#33410

looks like examples/packer is affected by the issue above.

I observed that when AEM is started by wttech.aem.instance module with the start command then the instance is properly started. When some other tasks are run after they are also correctly executed (instance is still running in a standard way). However immediately after when last task is finished, then in crx-quickstart/error.log file it is visible:

image

which means that the OSGi framework received SIGTERM and the instance is about to stop.

to prevent that we need to spawn AEM instances differently. maybe we could somehow spawn the AEM CLI process differently from Python/Ansible module so that it will not be tracked/ be available on the child process list to terminate by Ansible anymore.

alternatively, AEM CLI could run a start script using nohup or in a similar way to also cut off the parent/child relationship to eliminate that unintended auto-stopping instance behavior.

Create release on tag push

https://localheinz.com/articles/2022/01/24/creating-releases-with-github-actions/#content-release-workflow

      - name: "Create release"
        uses: "actions/github-script@v6"
        with:
          github-token: "${{ secrets.GITHUB_TOKEN }}"
          script: |
            try {
              const response = await github.rest.repos.createRelease({
                draft: false,
                generate_release_notes: true,
                name: process.env.RELEASE_TAG,
                owner: context.repo.owner,
                prerelease: false,
                repo: context.repo.repo,
                tag_name: process.env.RELEASE_TAG,
              });

              core.exportVariable('RELEASE_ID', response.data.id);
              core.exportVariable('RELEASE_UPLOAD_URL', response.data.upload_url);
            } catch (error) {
              core.setFailed(error.message);
            }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.